Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 18 Oct 2019, 21:43
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Networking » Wireless
Wifi-TrayNet and Wifi-Scanner
Post new topic   Reply to topic View previous topic :: View next topic
Page 8 of 9 [123 Posts]   Goto page: Previous 1, 2, 3, ..., 6, 7, 8, 9 Next
Author Message
stemsee

Joined: 27 Jun 2013
Posts: 2488
Location: In The Way

PostPosted: Fri 01 Mar 2019, 09:11    Post subject:  

bugfix
Wifi-TrayNet-2019.sfs.gz
Description 
gz

 Download 
Filename  Wifi-TrayNet-2019.sfs.gz 
Filesize  176 KB 
Downloaded  116 Time(s) 
Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 2488
Location: In The Way

PostPosted: Sat 02 Mar 2019, 15:31    Post subject:  

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.
Wifi-TrayNet-2019.sfs.gz
Description  fake gz extension
gz

 Download 
Filename  Wifi-TrayNet-2019.sfs.gz 
Filesize  180 KB 
Downloaded  127 Time(s) 
Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 2488
Location: In The Way

PostPosted: Mon 04 Mar 2019, 06:17    Post subject:  

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.
Wifi-TrayNet-2019.sfs.gz
Description 
gz

 Download 
Filename  Wifi-TrayNet-2019.sfs.gz 
Filesize  180 KB 
Downloaded  117 Time(s) 
Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 2488
Location: In The Way

PostPosted: Sat 23 Mar 2019, 08:41    Post subject:  

Wifi-TrayNet GUIs

and extras Menu
wtn.png
 Description   
 Filesize   165.8 KB
 Viewed   491 Time(s)

wtn.png

Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 2488
Location: In The Way

PostPosted: Sun 24 Mar 2019, 11:30    Post subject:  

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
xscreenshot-20190324T152503.png
 Description   
 Filesize   5.55 KB
 Viewed   456 Time(s)

xscreenshot-20190324T152503.png

scrn.png
 Description   
 Filesize   32.72 KB
 Viewed   456 Time(s)

scrn.png


Last edited by stemsee on Sun 24 Mar 2019, 16:41; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 2488
Location: In The Way

PostPosted: Sun 24 Mar 2019, 16:37    Post subject:  

ahh!
Wifi-TrayNet-2019.sfs.gz
Description 
gz

 Download 
Filename  Wifi-TrayNet-2019.sfs.gz 
Filesize  180 KB 
Downloaded  92 Time(s) 
Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 2488
Location: In The Way

PostPosted: Thu 13 Jun 2019, 10:21    Post subject:  

This update is the most polished. So many bugs had crippled much of the smooth functionality, but I didn't have the clarity to deal with them....until now.

A couple of typos corrected. Changes to the trap on Exit function.
Wifi-TrayNet-0619.sfs.gz
Description  fake .gz . dated by month and year
gz

 Download 
Filename  Wifi-TrayNet-0619.sfs.gz 
Filesize  180 KB 
Downloaded  67 Time(s) 
Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 2488
Location: In The Way

PostPosted: Mon 17 Jun 2019, 16:58    Post subject:  

Improvements.

I have changed the handling of ssid displayed in menu to allow all 32 characters if so named. Also ssid with '+' in the name can be handled correctly. Saving profiles by ssid with quotes.

Some work on the bluetooth section.

Quick connect is now in the mainmenu.
Wifi-TrayNet-ssid.sfs.gz
Description 
gz

 Download 
Filename  Wifi-TrayNet-ssid.sfs.gz 
Filesize  180 KB 
Downloaded  68 Time(s) 
Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 2488
Location: In The Way

PostPosted: Wed 26 Jun 2019, 21:12    Post subject:  

I found the problem that stopped TrayNet working as expected on 'Dogs'n'Pups' (FatDog was fine).

I have also implemented an initial roaming function, which connects to open networks or profiled networks.
Wifi-TrayNet-270619.sfs.gz
Description 
gz

 Download 
Filename  Wifi-TrayNet-270619.sfs.gz 
Filesize  180 KB 
Downloaded  74 Time(s) 
Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 2488
Location: In The Way

PostPosted: Wed 10 Jul 2019, 04:11    Post subject:  

The way I want the roaming function to work is quite simple.

First all open networks found during the scan are listed, then all profiled networks are added to the same list then each is connected in sequence until the first one that connects to the internet (external ip) then new connections stop.

If the connection is lost then the external ip test loop re-initiates the roaming function, starting off from the last AP on the list, or even from a refreshed list.

But 'I' can't get it to do what I want!!! Therefore after much effort, I concede. I am giving up on the roaming function for the foreseeable future. At least for Wifi-TrayNet, maybe easier to implement on Wifi-ScannerM.

So this next update is really the final feature set. Features which may be re-implemented in new sequences, such as auto-random-mac on scan, connection, and during connection at random intervals etc
Wifi-TrayNet-080719.sfs.gz
Description 
gz

 Download 
Filename  Wifi-TrayNet-080719.sfs.gz 
Filesize  180 KB 
Downloaded  46 Time(s) 
Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 2488
Location: In The Way

PostPosted: Mon 29 Jul 2019, 03:27    Post subject:  

This update results from much tweaking, and a manual roaming function of sorts added, makes me feel this is the final of Wifi-TrayNet script.

Still work to be done on Wifi-ScannerM and Wifi-HotSpot scripts, but not much.
Wifi-TrayNet-290719.sfs.gz
Description 
gz

 Download 
Filename  Wifi-TrayNet-290719.sfs.gz 
Filesize  180 KB 
Downloaded  41 Time(s) 
Back to top
View user's profile Send private message MSN Messenger 
greengeek


Joined: 20 Jul 2010
Posts: 5623
Location: Republic of Novo Zelande

PostPosted: Mon 29 Jul 2019, 05:00    Post subject:  

Hi Stemsee - can you offer some advice please? What is the best way to use your scripts on a pristine (no savefile) version of either Slacko 5.6 or Bionic64 please?

(I always use pups as they come from the devs - without savefile mods).

Which of your scripts should I install in order to get my wifi running - is wifitraynet all i should need?

cheers!

ps - this is the sort of thing i see in Slacko 5.6:
Code:
/usr/sbin/Wifi-Scanner: line 833: /tmp/Wifi-Scanner/interfaces: No such file or directory
bash: line 1: yad: command not found
xwininfo: error: No window with name "Wifi-Scanner-Multi-Wifi" exists!
xwininfo: error: No window with name "Wifi-Scanner-Multi-Wifi" exists!
/usr/sbin/Wifi-Scanner: line 930: yad: command not found
cat: /root/.wifi-connect/geometry/Wifi-Scanner-Multi-Wifi: No such file or directory
/usr/sbin/Wifi-Scanner: line 939: yad: command not found
cat: /tmp/Wifi-Scanner/net: No such file or directory
/usr/sbin/Wifi-Scanner: line 833: /tmp/Wifi-Scanner/interfaces: No such file or directory
bash: line 1: yad: command not found
xwininfo: error: No window with name "Wifi-Scanner-Multi-Wifi" exists!
xwininfo: error: No window with name "Wifi-Scanner-Multi-Wifi" exists!
xwininfo: error: No window with name "Wifi-Scanner-Multi-Wifi" exists!
xwininfo: error: No window with name "Wifi-Scanner-Multi-Wifi" exists!
/usr/sbin/Wifi-Scanner: line 930: yad: command not found
xwininfo: error: No window with name "Wifi-Scanner-Multi-Wifi" exists!
xwininfo: error: No window with name "Wifi-Scanner-Multi-Wifi" exists!
xwininfo: error: No window with name "Wifi-Scanner-Multi-Wifi" exists!
xwininfo: error: No window with name "Wifi-Scanner-Multi-Wifi" exists!
cat: /root/.wifi-connect/geometry/Wifi-Scanner-Multi-Wifi: No such file or directory
/usr/sbin/Wifi-Scanner: line 939: yad: command not found
Back to top
View user's profile Send private message 
stemsee

Joined: 27 Jun 2013
Posts: 2488
Location: In The Way

PostPosted: Mon 29 Jul 2019, 10:58    Post subject:  

Hi greengeek

Wifi-TrayNet is only a script, or collection of scripts.

The usual neworking packages, which are usually already installed as part of most distros, are; wpasupplicant, wireless-tools, dnsmasq, hostapd (for hotspot), tcp-dump (for wps), tail, tee, yad, awk, either udhcpc (busybox) or dhcpcd.

For hostpot you will also need the devx loaded on first use, or every use if no savefile or remaster is used.

The relevant executables needed are checked by the script.

Give it a test run and please give feedback.

cheers
stemsee
Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 2488
Location: In The Way

PostPosted: Sat 17 Aug 2019, 18:39    Post subject:  

as per Greengeek's post I have updated the dependency checking to use xmessage to show missing deps at app startup.

Also changed ip testing code.
Wifi-TrayNet-190819.sfs.gz
Description  fake .gz
gz

 Download 
Filename  Wifi-TrayNet-190819.sfs.gz 
Filesize  180 KB 
Downloaded  37 Time(s) 
wifi-traynet-190819_7_amd64.deb.gz
Description  .deb fake .gz
gz

 Download 
Filename  wifi-traynet-190819_7_amd64.deb.gz 
Filesize  172.62 KB 
Downloaded  36 Time(s) 
Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 2488
Location: In The Way

PostPosted: Tue 20 Aug 2019, 09:28    Post subject:  

I got around to learning how to properly configure network devices and connections using systemd-networkd. It's funny that my app works regardless of settings implemented by systemd-networkd. But I didn't realize that systemd-networkd (sydned going forward) has its own dhcp server builtin. I was wondering how peasywifi did it on BionicDog. So I will re-sculpt my scripts taking advantage of my new knowledge....before re-writing using wpa_cli instead of verbose statements...ha ha! It was fun though. Of course following the common path will be a massive security compromise as every snoop on the planet will know how your system is functioning. That is the advantage of my app, I suspect.

systemd also has miraclecast available which lets linux use wifidisplay and also allows other devices to cast their screens to a linux display. Control will be added to Wifi-TrayNet.

Another thing will be to include both bluetooth4 and bluetooth5 commands.

Bridging support should also be available as an option.

EDIT: bridgin is already implemented in the hotspot function... i forgot
Back to top
View user's profile Send private message MSN Messenger 
Display posts from previous:   Sort by:   
Page 8 of 9 [123 Posts]   Goto page: Previous 1, 2, 3, ..., 6, 7, 8, 9 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Hardware » Networking » Wireless
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0922s ][ Queries: 13 (0.0398s) ][ GZIP on ]