Wifi-TrayNet and Wifi-Scanner

Message
Author
stemsee

#91 Post by stemsee »

This update provides a beta of Wifi-ScannerM. The simplest of the three.
Last edited by stemsee on Mon 31 Dec 2018, 15:14, edited 1 time in total.

stemsee

#92 Post by stemsee »

Wifi-TrayNet-4.8 fixes and improvements.
1) When randommac is called that is applied and quickreconnect is invoked.
2) Autoconnect functions work properly with variables defined before writing the autoconnect script, instead of within (backtic operations left empty spaces).
3) mac address editor in passwordgui.
4) static ip applied more effectively. I found myself connecting to a router which allowed internet to ip addresses above 100, but allowed lan connection to ips above and below 100. I also found that second attempt to connect to such network with new mac address resulted in correct ip assignment and internet connectivity. First connection would be 192.168.0.105 (no internet) static ip new mac (random mac) gave 192.168.1.105 internet connection.
5) Saved profile connection uses saved static settings.
Last edited by stemsee on Mon 31 Dec 2018, 15:14, edited 1 time in total.

stemsee

#93 Post by stemsee »

For the last three days I worked on Wifi-TrayNet function by function. I found some problems and changed things.

Saved profiles function overhauled and much improved. Using yad list and buttons to preview delete edit and customise profiles.

here is the Wifi-TrayNet script only copy yo /usr/sbin/Wifi-TrayNet.
Last edited by stemsee on Mon 31 Dec 2018, 15:15, edited 1 time in total.

stemsee

#94 Post by stemsee »

apsvg
Attachments
xscreenshot-20181020T234613.png
balloons
(153.52 KiB) Downloaded 264 times

stemsee

#95 Post by stemsee »

I could not connect with eduroam on fatdog using wifi-traynet this addresses the issue. But alas there are other issues.
Last edited by stemsee on Wed 26 Dec 2018, 16:00, edited 1 time in total.

stemsee

#96 Post by stemsee »

I had to review Wifi-TrayNet functions and code flow. I beleive that now this app has matured and will be easy to use for the majority of users.

On starting with X Scan results are available in the menu for selection of available APs. the app connects to the default profile which is created by the last AP connectiony AP availability is first checked,

Wifi interface is determined and selected automatically; manual selection is available in the menu.

Airplanemode is now checked by any functions trying to use the interface.

profiles are created before connection, and are more easily managed.

There are no additional scripts created, only a symlink to either /etc/xdg/Startup or /root/Startup if the menu >Toggle Start with Xs selected.

The code no longer uses 'tr' to convert @ to ", rather backslashes are used to escape each item along with 'echo -e' (seems inedfficient to me).

The menu has fewer options exposed to the user. So too the password entry gui.

Just testing a bit more.

stemsee

stemsee

#97 Post by stemsee »

This works well on FD800 fd721 DebianDog and upupbb.

Testing feedback appreciated.

The password/user entry gui has 11 input fields, from left to right and down.

Password and User id fields are auto-greyed out according to authentication types.

AP selected shows the ssid of AP selected from tray menu. The mac address of the selected AP is shown in the ReSelect AP field. Selecting the down arrow shows all available APs found, select one and click ok to change selected AP.

dhcpc editor shows the udhcpc and dhcpcd strings used for acquiring the ip address from the AP.

Config editor (geany/leafpad) if selected opens selected AP/profile with selected text editor.

Profiles selector, shows saved profiles and selects matching AP with saved profile. If visible, the shown profile will be connected even if password and /or user id has been entered. To create a new profile with updated password/id blank line in the profiles field, enter password/id and click ok.

Driver field for wpa_supplicant. Use wired for ethernet connection, selecting or inputting the network device in the interface field.v Or use wext for wireless devices.

Static ip set, field with examples...for advanced set-ups.

$int mac, shows your hardware mac address. Edits to this mac address will be applied.

Field 12 is a button, that brings up the NetworkBlocks presets in case of editing the Profile or connection config (netsel/qrc/default).

stemsee
Attachments
Wifi-TrayNet-2019.sfs.gz
fixed profiles function and too long names in tray Menu
(140 KiB) Downloaded 224 times
xscreenshot-20181229T190406.png
(25.18 KiB) Downloaded 330 times

stemsee

#98 Post by stemsee »

I have added basic bluetooth functionality to Wifi-TrayNet. Connects/disconnects audio device and phone/obex.
Attachments
xscreenshot-20190110T023410.png
(12.07 KiB) Downloaded 289 times

stemsee

#99 Post by stemsee »

Working...
Attachments
xscreenshot-20190110T201911.png
(27.53 KiB) Downloaded 262 times

stemsee

#100 Post by stemsee »

New version with working bluetooth utility. Now has command input and execution.

There is a roaming function which doesn't work properly, so please ignore it for now.

AP names in the tray menu are limited to display 17 characters.
Attachments
Wifi-TrayNet-2019.sfs.gz
(144 KiB) Downloaded 234 times
xscreenshot-20190111T195026.png
(20.85 KiB) Downloaded 147 times

stemsee

#101 Post by stemsee »

This update has improved process control.

More use of bssid to connect and provide information of AP.

Clearer use of tooltips to indicate status and function use.

Regular updates of available APs in the menu and tooltip.

Indications in the menu AP item list which AP is currently connected.

Auto-connect to default profile if restart X or app.

Bluetooth and command execution function with feedback in the yad panel using cycle-read to feed the 12 fields.
Attachments
Wifi-TrayNet-2019.sfs.gz
This version tested on FatDog only.
(172 KiB) Downloaded 208 times
wifi.png
(79.84 KiB) Downloaded 234 times

stemsee

#102 Post by stemsee »

Bluetooth function updated for bluez5 'bluetoothctl' compatibility.

Main menu simplified to show APs and 4 options.

Extras Menu configured to show only connected AP, and all other functions/options.
Attachments
xscreenshot-20190222T224003.png
(30.79 KiB) Downloaded 180 times
3.png
(34.95 KiB) Downloaded 177 times
screen2.png
(142.88 KiB) Downloaded 181 times

stemsee

#103 Post by stemsee »

Optimised menu item arrangement.

Added 6 more fields to the bluetooth gui for displaying more devices/info.

removed 'Quit' item. Added --no-middle.
Attachments
2.png
(44.42 KiB) Downloaded 147 times
xscreenshot-20190224T093524.png
(21.91 KiB) Downloaded 148 times

stemsee

#104 Post by stemsee »

The Wifi aspects of this app are working as desired. Only gettext left to do.

Bluetooth provides a gui for piecing together connection commands.
Attachments
Wifi-TrayNet-250219.sfs.gz
(176 KiB) Downloaded 184 times

stemsee

#105 Post by stemsee »

Spent all day getting Wifi-HotSpot script working properly. I simplified the options a lot.

it was working great with one wifi card also functioning as hotspot host.

Script now deletes ap* ( iw dev ap1 del) on exit, and after closing the hotspot.

Wifi-ScannerM working properly too.
Attachments
Wifi-TrayNet-2019.sfs.gz
(176 KiB) Downloaded 196 times

stemsee

#106 Post by stemsee »

bugfix
Attachments
Wifi-TrayNet-2019.sfs.gz
(176 KiB) Downloaded 286 times

stemsee

#107 Post by stemsee »

This update deals with the annoying menu or extramenu changing everytime the connection is tested. Now which ever menu is selected it will remain until manually changed.

Added some commands to the bluetooth section.
Revisited ScannerM for a checkup.

Tested on FatDogs, BionicDog, Upupbb acheives same functionality on all.
Attachments
Wifi-TrayNet-2019.sfs.gz
fake gz extension
(180 KiB) Downloaded 322 times

stemsee

#108 Post by stemsee »

Wifi-HotSpot : My script made the assumption that create_ap resided in /usr/sbin but on examining the makefile I see it is /usr/bin so I changed the script accordingly. But also simplified some things, namely only one hotspot can run at a time from the script, cli allows 4 if your hardware can handle it.

Hotspot tray notification closes reliably. lists clients in a properly sized and positioned gui.
Attachments
Wifi-TrayNet-2019.sfs.gz
(180 KiB) Downloaded 318 times

stemsee

#109 Post by stemsee »

Wifi-TrayNet GUIs

and extras Menu
Attachments
wtn.png
(165.8 KiB) Downloaded 586 times

stemsee

#110 Post by stemsee »

What have I done

When editing some functions I simplified their names but forgot to reflect changes in menus and calls, so usb eth1 eth2 probably did not connect. Anyway i removed usb ethernet1 ethernet2 from extrasmenu and replaced with one option, wired. Which opens a gui and uses one function to connect whichever ethernet or usb is selected.

Added a menu entry for Wifi-ScannerM which gives an open gui on the desktop to compliment the tray menu.

I also found a typo for nameserver section.

sorry!

stemsee
Attachments
xscreenshot-20190324T152503.png
(5.55 KiB) Downloaded 528 times
scrn.png
(32.72 KiB) Downloaded 539 times
Last edited by stemsee on Sun 24 Mar 2019, 20:41, edited 1 time in total.

Post Reply