SNApP (System Nonsuch ApP)

Moderator: Forum moderators

User avatar
stemsee
Posts: 655
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 0
Has thanked: 160 times
Been thanked: 104 times
Contact:

Re: SNApP (Simpler Network ApP)

Post by stemsee »

In the meantime, here is release 1.1

After adding several features for 1.0 other basic features seemed to not work. So reworked some code, optimised and intuitive.

Now tray menu shows results of scan.
Traffic starts from the get go.

I no longer hide my mac address because android now has a random mac address generator builtin.

S.N.ApP_1.1.sfs
(352 KiB) Downloaded 55 times
1.1.png
1.1.png (264.04 KiB) Viewed 1214 times
User avatar
stemsee
Posts: 655
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 0
Has thanked: 160 times
Been thanked: 104 times
Contact:

Re: SNApP (Simpler Network ApP)

Post by stemsee »

S.N.ApP-1.2

Last edited by stemsee on Sat Nov 13, 2021 6:00 pm, edited 1 time in total.
User avatar
stemsee
Posts: 655
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 0
Has thanked: 160 times
Been thanked: 104 times
Contact:

Re: SNApP (Simpler Network ApP)

Post by stemsee »

S.N.ApP_1.3 feeds bluetooth scan and wifi scan results to the top of the tray menu! Menu entries to scan wifi or bt will be added, so no need to open gui. Selecting device/AP in menu to connect.

added bluetooth watch.png tv.png input-mouse.png phone.png remote.png

snapp_1.3.png
snapp_1.3.png (182.7 KiB) Viewed 1179 times
User avatar
stemsee
Posts: 655
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 0
Has thanked: 160 times
Been thanked: 104 times
Contact:

Re: SNApP (Simpler Network ApP)

Post by stemsee »

S.N.ApP_1.3

Last edited by stemsee on Sat Nov 13, 2021 6:00 pm, edited 2 times in total.
User avatar
bigpup
Moderator
Posts: 6092
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 694 times
Been thanked: 1231 times

Re: SNApP (Simpler Network ApP)

Post by bigpup »

You really should update the first post, in this topic, when a new version is offered.
Attach the download link there, for the newest version.
Also, update the information in that first post, to reflect the workings of the newest version.

It is really not good, to have people have to dig down into the pages of a software program topic, to find the latest version of a program.

Keeping the first post updated, in a topic offering a new program, makes it easy to understand what the program actually should do.
People do not have to look into the information provided in other posts and try to figure out what post is providing the latest information.
You may go pages in a topic before a newer version is offered, and it will not be always on the last page of the topic.
Depends on when you access the topic.

Thanks for this program!!!!!
A very useful program to add to Puppy Linux! :thumbup:

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
stemsee
Posts: 655
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 0
Has thanked: 160 times
Been thanked: 104 times
Contact:

Re: SNApP (Simpler Network ApP)

Post by stemsee »

I just came across a new flag '[UTF-8]'

So i added an asterix to the case filters.

User avatar
stemsee
Posts: 655
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 0
Has thanked: 160 times
Been thanked: 104 times
Contact:

Re: SNApP (Simpler Network ApP)

Post by stemsee »

Removed the above referenced asterix. Made a full case statement option for the new flag.

Fixed a couple of bugs....one in processfn preventing the preview and connection functions from being invoked. Another bug with the youtubefn, excluding the format code and url from the download command.

Menu entries for bluetooth and wifi scanning. Results in tray menu.

Last edited by stemsee on Sat Nov 13, 2021 6:01 pm, edited 1 time in total.
User avatar
stemsee
Posts: 655
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 0
Has thanked: 160 times
Been thanked: 104 times
Contact:

Re: SNApP (Simpler Network ApP)

Post by stemsee »

Version 1.5 will allow multiple instances of snapp. This allows leaving a maingui window open with your wifi-scan results, another with bluetooth devices showing and another with media lists etc.

User avatar
stemsee
Posts: 655
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 0
Has thanked: 160 times
Been thanked: 104 times
Contact:

Re: SNApP (Simpler Network ApP)

Post by stemsee »

Added bluetooth send file function!

User avatar
stemsee
Posts: 655
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 0
Has thanked: 160 times
Been thanked: 104 times
Contact:

Re: SNApP (Simpler Network ApP)

Post by stemsee »

snapp_1.5 fixed some bugs to do with wpa_cli adding network config, and connection function. Also bluetooth audio connection now sets default soundcard. Connect several speakers simlutaneously and play different streams to each device.

S.N.ApP_1.5.sfs
(356 KiB) Downloaded 65 times
User avatar
stemsee
Posts: 655
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 0
Has thanked: 160 times
Been thanked: 104 times
Contact:

Re: SNApP (Simpler Network ApP)

Post by stemsee »

snapp_1.6

A tidy up!

Updated Help!

only allows one main-gui per instance of snapp.

Allows editing and saving of Profiles in main-gui!

jamesbond
Posts: 511
Joined: Tue Aug 11, 2020 3:02 pm
Location: The Pale Blue Dot
Has thanked: 69 times
Been thanked: 275 times

Re: SNApP (Simpler Network ApP)

Post by jamesbond »

As per we discussed here, I'm quite happy to upload this to Fatdog's contrib repo. However, you seem to be updating every one or two weeks. While this is good for progress, I cannot keep up, and if I upload now the version on the repo will obsoleted very quickly (and people won't know that you have an update).

I will probably wait until you have declared it as "feature complete" and the frequency of release has slowed down.

User avatar
stemsee
Posts: 655
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 0
Has thanked: 160 times
Been thanked: 104 times
Contact:

Re: SNApP (Simpler Network ApP)

Post by stemsee »

That's very encouraging and I appreciate it!

(0.6) will be throughly tested and worked on! In fact it will be feature complete, and RC 1.

So it will have a little more work to make wpa_cli roam function as required at startup. I will use it for two weeks then post it!

cheers!
stemsee

User avatar
stemsee
Posts: 655
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 0
Has thanked: 160 times
Been thanked: 104 times
Contact:

Re: SNApP (Simpler Network ApP)

Post by stemsee »

0.6.png
0.6.png (87.38 KiB) Viewed 1455 times

Send file to Bluetooth device (does not check capability to receive files!). Click on Bluetooth, scan will be performed, wait for Selectables list to be populated. Click on device, then click on ACTION. File chooser will open, navigate to file and click ok to send, or cancel to not send.

Editing profiles by typing EDIT in SSID field, selecting profile in Profiles field, then click 'Preview Profile', perform edits in Viewer....then click on ACTION button. Profile will be saved as content of Profiles field.

Deleting Profiles and removing Networks, type DELP or DELN in SSID field, select Profile or Network, click ACTION button.

User avatar
bigpup
Moderator
Posts: 6092
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 694 times
Been thanked: 1231 times

Re: SNApP (Simpler Network ApP)

Post by bigpup »

It would be really helpful to all, if you could have a download link to the latest version, in the first post of this topic.

In this post you talk about a version 1.6, but no download link to get it.
viewtopic.php?p=41759#p41759

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
mikewalsh
Moderator
Posts: 5458
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 538 times
Been thanked: 1625 times

Re: SNApP (Simpler Network ApP)

Post by mikewalsh »

bigpup wrote: Tue Nov 16, 2021 4:39 pm

It would be really helpful to all, if you could have a download link to the latest version, in the first post of this topic.

In this post you talk about a version 1.6, but no download link to get it.
viewtopic.php?p=41759#p41759

Dear old bigpup! Always wanting to try out the very newest versions of everything.....all the time! :D

(Don't get me wrong. I know 'beta' testing needs doing.....but I just don't have the patience for it!)

Mike. :thumbup:

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

User avatar
stemsee
Posts: 655
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 0
Has thanked: 160 times
Been thanked: 104 times
Contact:

Re: SNApP (Simpler Network ApP)

Post by stemsee »

bigpup wrote: Tue Nov 16, 2021 4:39 pm

It would be really helpful to all, if you could have a download link to the latest version, in the first post of this topic.

In this post you talk about a version 1.6, but no download link to get it.
viewtopic.php?p=41759#p41759

Hi bigpup, it's great that you are eager to try it, but in the second to last post I stated that I would test it myself for two weeks or so, and THEN post it, as it would be added to fatdog contrib packages.

However I still like to post updates to what I'm doing with it here!!

I did say it would not have any new features, but while not adding new features and only adjusting some code I am able to squeeze more functionality out of it. So previously I mentioned DELP (delete profile) and DELN (Remove Network - wpa_cli remove_network 'id'), and EDIT, to edit and save Profiles ... this feature can now be used to create and save notes. simpy by adding path prefx to name in Profiles field e.g. /root/mynote ... instead of 'eduroam+a4:b5:c6:ed:34:6f' and so on! In fact all of these features have COMMAND entries already, and the Execute function, but I feel that this case statement method using keywords in SSID field is much easier to use. And coders can add there own custom entries easily.

regards
stemsee

User avatar
stemsee
Posts: 655
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 0
Has thanked: 160 times
Been thanked: 104 times
Contact:

Re: SNApP (Simpler Network ApP)

Post by stemsee »

Any opinions regarding this help text

"1) To connnect to one of the 'Networks' profiles
select profile in Networks field.

Type CONNECTN in SSID field

Then click on the 'ACTION' button.

2) To connnect to one of the 'Profiles'
select profile in Profiles field.

Type CONNECTP in SSID field

Then click on the 'ACTION' button

3) To connect with user input
Fill in required fields then click 'ACTION' button ...
connection using data fields (SSID, BSSID, Users Password,
Users Identity, and FLAGS) will be attempted.
... in this case no profile is saved.

4) To edit and save a profile, select profile in 'Profiles' field,
click on 'Preview Profile' button
then in 'Viewer' field make required edits.

Type EDIT in SSID field and click ACTION.

Profile will overwrite or create new profile named
using contents of the 'Profile' field.
You can set a path and name... for making notes e.g.
/root/MyNote.txt

5) To delete a profile, type DELP in SSID field, select Profile in
Profiles field, then click ACTION.

6) To remove Network, type DELN in SSID field, select Network in
Network field, then click ACTION.

7) To apply a DNS type DNS in SSID field, type the DNS in DNS field
then click on ACTION. DNS is otherwise automatically set when connecting.

8) To set static ip address and subnet and gateway
Type STATIC in SSID field, then in BSSID field enter static ip
In User Identity field add subnet mask
In frequency field add gateway
then click on ACTION button.

9) To change channel or mode of interface there is a function called channelmode.
Using Command List and Exec Command method... type channelmode with two arguments.
Argument one is the channel to change to, argument two, if supplied, is the
mode of operation ... monitor, managed, master etc.

To change channel, monitor mode must be set .... so like this
'channelmode 11 monitor' then click on Execute button

10) Bluetooth send file

click Bluetooth button, then select device from list, then click ACTION and select file.
The btdevice may not be capable of receiving a file.
This function does not yet check for that capability.

Key Words

CONNECTP or CONNECTN... Profile/Network
EDIT ... Profile
DELP ... delete Profile
DELN ... delete Network
RANMAC ... sets random mac address, and random hostname
DNS ... sets dynamic name server address eg 8.8.8.8
STATIC ... static ip, subnet and gateway (BSSID, User Identity and frequency fields)"

User avatar
mikeslr
Posts: 2736
Joined: Mon Jul 13, 2020 11:08 pm
Has thanked: 166 times
Been thanked: 807 times

Re: SNApP (Simpler Network ApP)

Post by mikeslr »

stemsee, I have to agree with bigpup's sentiments.
The last post on this thread (excluding this) is now 9 posts away from the post with the link to your last published version. Soon, that link won't even be on the same page as the last post to this thread.
Having to first jump thru hoops to test an application or even just try it [something I always do and advise others to do before abandoning 'the old'] is just not conducive to actually undertaking the test or the trial.
May I suggest an alternative to providing a link to your latest version on the first post. It might be simpler and less time-consuming for devs such as yourself to implement.

Edit you OP to include text such as the following:
Latest version can be found here:
Followed by a link to the latest post providing the download-link to that version.
Then when you publish a new version all you have to do is update the link on the OP.

Implementation shouldn't take more than a minute after each new publication.

User avatar
stemsee
Posts: 655
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 0
Has thanked: 160 times
Been thanked: 104 times
Contact:

Re: SNApP (Simpler Network ApP)

Post by stemsee »

The last posted version is also on the first page as per requirements several times dictated in my several posts!

See first post!

User avatar
stemsee
Posts: 655
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 0
Has thanked: 160 times
Been thanked: 104 times
Contact:

Re: SNApP (Simpler Network ApP)

Post by stemsee »

Well ... ! I have steadily worked on this script, and improved it quite a bit, I think. Particularly with connecting Profiles (wpa_supplicant -c"$PROFI") or Networks (wpa_cli enable_network "$ID").

I have added an exit command to the tray menu, which closes the tray and cleans up /tmp . It works per instance of snapp, leaving no hanging processes. Only the gui if open needs to be closed manually, as I don't know how to do it in code! Here is the code snippet. $META is the script process number $$ ....

Code: Select all

echo -e "#!/bin/sh
sleep 0.3
[[ -f /etc/host-*-bak ]] && mv /etc/host-*-bak /etc/hostname &
	echo quit > $track/ayp &
	rm -rf $track &
	pkill $META &
	rm -f /tmp/close_$META &
	" > /tmp/close_"$META"
chmod 755 /tmp/close_"$META"

Another improvement is the change of name to the 'CONNECT' button to 'ACTION'. Which invokes the conpro function. Which saves profiles as well as allowing the creation of notes, edits of profiles, and adding radio station urls or local media to a favourites.lst in /root .

When playing a radio station or local media file, The 'Save Network' button plays the selection using mpg123, whereas in the selectables list column selecting an item ffplay is used.

Dependencies include: yad, ffmpeg, bluez5, wpa-supplicant, wireless-tools, xsel/xclip/clipit.
Optional: mpg123, youtube-dl, python, bluealsa

I had also implemented code to set the desktop wallpaper with the same image as the tray network traffic indicator! And it works well, but ... who would want that?

More work is needed with regard to implementing frisbee functions, as the variables used in this script take the same form as in frisbee to allow using its functions, which are imported if found. I think this will be trivial if desired. And anyway snapp gui acts as a pseudo terminal, so cli users should be able to use said functions already, for modems and wotnot. Even though frisbee is not available in some distros.

Finally, bluetooth, wifi, and now radio / media lists are sent to the tray menu for easy selection!

netlistradiofn.png
netlistradiofn.png (290.4 KiB) Viewed 1601 times

S.N.ApP_1.0 will be available shortly.

User avatar
stemsee
Posts: 655
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 0
Has thanked: 160 times
Been thanked: 104 times
Contact:

Re: SNApP (Simpler Network ApP)

Post by stemsee »

stemsee wrote: Wed Nov 24, 2021 6:18 pm

Well ... ! I have steadily worked on this script, and improved it quite a bit, I think. Particularly with connecting Profiles (wpa_supplicant -c"$PROFI") or Networks (wpa_cli enable_network "$ID").

I have added an exit command to the tray menu, which closes the tray and cleans up /tmp . It works per instance of snapp, leaving no hanging processes. Only the gui if open needs to be closed manually, as I don't know how to do it in code! Here is the code snippet. $META is the script process number $$ ....

Code: Select all

echo -e "#!/bin/sh
sleep 0.3
[[ -f /etc/host-*-bak ]] && mv /etc/host-*-bak /etc/hostname &
	echo quit > $track/ayp &
	rm -rf $track &
	pkill $META &
	rm -f /tmp/close_$META &
	" > /tmp/close_"$META"
chmod 755 /tmp/close_"$META"

Another improvement is the change of name to the 'CONNECT' button to 'ACTION'. Which invokes the conpro function. Which saves profiles as well as allowing the creation of notes, edits of profiles, and adding radio station urls or local media to a favourites.lst in /root .

When playing a radio station or local media file, The 'Save Network' button plays the selection using mpg123, whereas in the selectables list column selecting an item ffplay is used.

Dependencies include: yad, ffmpeg, bluez5, wpa-supplicant, wireless-tools, xsel/xclip/clipit.
Optional: mpg123, youtube-dl, python, bluealsa

I had also implemented code to set the desktop wallpaper with the same image as the tray network traffic indicator! And it works well, but ... who would want that?

More work is needed with regard to implementing frisbee functions, as the variables used in this script take the same form as in frisbee to allow using its functions, which are imported if found. I think this will be trivial if desired. And anyway snapp gui acts as a pseudo terminal, so cli users should be able to use said functions already, for modems and wotnot. Even though frisbee is not available in some distros.

Finally, bluetooth, wifi, and now radio / media lists are sent to the tray menu for easy selection! With the caveat that local media with spaces in name don'T get played because the spaces disappear on the way to the command!

sub|/mnt/sda4/movies/DonJuandeMarco1995.mp4|||||||||

should be

sub|/mnt/sda4/movies/Don Juan de Marco 1995.mp4|||||||||

maybe @misko_2083 knows how to prevent that from happening!

netlistradiofn.png
S.N.ApP_1.0 will be available shortly.

User avatar
misko_2083
Posts: 196
Joined: Wed Dec 09, 2020 11:59 pm
Has thanked: 10 times
Been thanked: 20 times

Re: SNApP (Simpler Network ApP)

Post by misko_2083 »

^You had the same trouble on Tue 30 Jan 2018, 05:47 :mrgreen:
The solution back then @stemsee was to use printf %q to escape spaces before sending them to the notification menu.

As for closing an open dialog killing desendant processes wiill do:

Code: Select all

function _kill_descendant_processes() {
    local pid="$1"
    local and_self="${2:-false}"
    if children="$(pgrep -P "$pid")"; then
        for child in $children; do
            _kill_descendant_processes "$child" true
        done
    fi
    if [[ "$and_self" == true ]]; then
        kill -SIGTERM "$pid"
    fi
}
# then later in the script =>   _kill_descendant_processes $$ 2>/dev/null

Do you want to exit the Circus? The Harsh Truth
https://www.youtube.com/watch?v=ZJwQicZHp_c

User avatar
stemsee
Posts: 655
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 0
Has thanked: 160 times
Been thanked: 104 times
Contact:

Re: SNApP (Simpler Network ApP)

Post by stemsee »

Ahh...! That was it. I lost track of the details I seldom need.

thank you misko.

S.N.ApP_1.0

bluetooth and wifi key words for use in SSID field
WIFI Key Words function in SSID field, click ACTION:

CONNECTP or CONNECTN... Profile/Network
EDIT ... Profile
DELP ... delete Profile
DELN ... delete Network
DEFAULT ... sets profile as default
RANMAC ... sets random mac address, and random hostname (backs up original first)
DNS ... sets dynamic name server address eg 8.8.8.8
STATIC ... static ip, subnet and gateway ... enter data in these fields: BSSID, 'User Identity' and 'frequency'

BT Key Words function in SSID field in btscan function, click ACTION:

CONNECT ... pair and connect $BSSID
DISCONNECT ...
BLOCK ...
UNBLOCK ...
TRUST ... for auto connection to $BSSID
UNTRUST ...
PAIR ...
UNPAIR ...
REMOVE ... remove saved $BSSID
SEND ... send file to device
PAIRABLE ... let other devices pair with your device
DISCOVERABLE ... let other devices discover your device
POWER ... power on your adapter
SELECT ... select which adapter to use
SERIAL ... create serial connection com4

There is now a tray menu entry to initiate the default wifi connection, instead of automatically running itself in the background.

Last edited by stemsee on Wed Dec 01, 2021 2:26 pm, edited 1 time in total.
User avatar
stemsee
Posts: 655
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 0
Has thanked: 160 times
Been thanked: 104 times
Contact:

Re: SNApP (Simpler Network ApP)

Post by stemsee »

S.N.ApP_1.0 ... It's Turing incomplete ... and so is linux!! because it lacks infinite memory!

User avatar
stemsee
Posts: 655
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 0
Has thanked: 160 times
Been thanked: 104 times
Contact:

Re: SNApP (Simpler Network ApP)

Post by stemsee »

One day later! And found some issues,
1) stray '2>/dev/null'
2) changed back "$track"/wpa_supplicant.conf from /etc/wpa_supplicant.conf
3) get $ID ... 'wpa_cli add_network | tail -1 ' missing tail
4) adding new profile does not copy it to default because DEFAULT is now a key word so once set it wont be replaced until user sets another profile as default.
5) btsend "%2" shoud be btsend "$BSSID"

S.N.ApP_1.1.sfs
(360 KiB) Downloaded 47 times
Last edited by stemsee on Wed Dec 01, 2021 2:28 pm, edited 1 time in total.
User avatar
stemsee
Posts: 655
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 0
Has thanked: 160 times
Been thanked: 104 times
Contact:

Re: SNApP (Simpler Network ApP)

Post by stemsee »

Even after researching wpa_cli methodology I have realised improvements but still, I needed to introduce more separation, so now there are two flag filtering functions. Now the script creates /etc/wpa_supplicant directory, if not existent, and stores its configuration there which is no longer routinely deleted or replaced.

This is what I had hoped 1.0 would have been, I guess I rushed it out with too much additional functionality. However, this is improved and consolidated in 1.2
S.N.ApP_1.2

S.N.ApP_1.2.sfs
(360 KiB) Downloaded 38 times

Next there needs to be a refinement in the code; too many repeated lines which should be a function: thinking of the long printf lines that fill the fields. I left them as is so far because there are a lot of small differences between each occurrence. But now I think that not more than 7 versions of that line are needed.

Radio and media playback from selectables and tray improved. Also, at the top of selectables list there is an entry 'SEL' which when selected opens yad directory selection, select a directory and its contents will be appended to the selectables list and the tray menu items....ready for selection. ATM media files (images, audio, and uri streams, epubs) are opened. However could add support to open pdf, odt, docx and other files that appear ...

stemsee

radio-media-tray.png
radio-media-tray.png (246.94 KiB) Viewed 1451 times

radio URIs and local media in tray menu.

User avatar
stemsee
Posts: 655
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 0
Has thanked: 160 times
Been thanked: 104 times
Contact:

Re: SNApP (Simpler Network ApP)

Post by stemsee »

Wifi icons indicate a connection,
bluetooth icons indicate connections,
radio and media icons indicate a connection,

btc.png
btc.png (108.74 KiB) Viewed 1427 times
menuc.png
menuc.png (48.56 KiB) Viewed 1427 times
guic.png
guic.png (100.72 KiB) Viewed 1427 times

killall commands replaced with more finesseful 'kill `pgrep -n ffplay`' etc

Another improvement is that when you leave the radio/media function either by closing the gui or using some other mode like wifi or bluetooth devices, when selecting netlistradiofn and execute as usual, your last media list will be reloaded if in the same session.

I have also reduced errors seen in terminal by redirecting to /dev/null where appropriate, or added test for file existance prior to calling or reading.

User avatar
stemsee
Posts: 655
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 0
Has thanked: 160 times
Been thanked: 104 times
Contact:

Re: SNApP (Simpler Network ApP)

Post by stemsee »

S.N.ApP_1.3

S.N.ApP_1.3.sfs
(380 KiB) Downloaded 39 times
User avatar
stemsee
Posts: 655
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 0
Has thanked: 160 times
Been thanked: 104 times
Contact:

Re: SNApP (Simpler Network ApP)

Post by stemsee »

snapp_1.4.png
snapp_1.4.png (113.98 KiB) Viewed 1580 times

I admit defeat as far as wpa_cli is concerned, I have not been able to get consistent results with it, so I no longer include profiles and connection management using it. The commands are still listed but it's now down to the user to implement usage.

There is now a command for create_ap hotspot and bridging software cli app available from the fatdog repository. This should be extended to show status and further management. Though as seen in the image above bluetooth tether and virtual hotspot interfaces are listed and can be monitored in the tray icon network traffic.

The interface is more compact and simpler with the removal of 'Save Network' and 'Networks' fields.

Fixed a bug to do with radio/media lists and menus not reloading after selection.

Added a section to bluetooth that supposed to allow pin free reception of files. keyword in SSID field NOPIN

Code: Select all

hciconfig hci0 sspmode
bluetoothctl agent off
bluetoothctl power on
bluetoothctl discoverable on
bluetoothctl pairable on
bluetoothctl agent NoInputNoOutput
bluetoothctl default-agent
Post Reply

Return to “Network”