Page 1 of 1

ncurses wifi tools

Posted: Wed 19 Jun 2019, 12:51
by sc0ttman
Here are two scripts for connecting to wifi... (not mine)

They both use wpa_supplicant and ncurses to provide a nice GUI that does not need X :)

I hacked them a bit for Puppy... They *nearly* work fine for me...

But sometimes they connect, sometimes not...

I don't know what other changes to make to them:

https://gitlab.com/sc0ttj/dotfiles/blob ... n/wifi5.sh

https://gitlab.com/sc0ttj/dotfiles/blob ... ypiwifi.sh


I would love it if someone who knows about wpa_supplicant in Puppy could make these work reliably on Puppy...

I tried, but failed.. Don't really know what else needs doing..

Any takers?

Re: ncurses wifi tools

Posted: Wed 19 Jun 2019, 16:52
by s243a
sc0ttman wrote:Here are two scripts for connecting to wifi...

They both use wpa_supplicant and ncurses to provide a nice GUI that does not need X :)

I hacked them a bit for Puppy... They *nearly* work fine for me...

But sometimes the connect, sometimes not...

I don't know what other changes to make to them:

https://gitlab.com/sc0ttj/dotfiles/blob ... n/wifi5.sh

https://gitlab.com/sc0ttj/dotfiles/blob ... ypiwifi.sh


I would love it if someone who knows about wpa_supplicant in Puppy could make these work reliably on Puppy...

I tried, but failed.. Don't really know what else needs doing..

Any takers?
fatdog64 has ncurses based wifi tools. I think it might be called network_wizard.

Posted: Wed 19 Jun 2019, 20:52
by wiak
Nice to know about your wifi tools sc0ttman. The more such tools the better since always useful somewhere since no one tool usually does everything just as we want it.

wiak

Re: ncurses wifi tools

Posted: Wed 19 Jun 2019, 20:59
by s243a
sc0ttman wrote:Here are two scripts for connecting to wifi...

They both use wpa_supplicant and ncurses to provide a nice GUI that does not need X :)

I hacked them a bit for Puppy... They *nearly* work fine for me...

But sometimes they connect, sometimes not...

I don't know what other changes to make to them:

https://gitlab.com/sc0ttj/dotfiles/blob ... n/wifi5.sh

https://gitlab.com/sc0ttj/dotfiles/blob ... ypiwifi.sh


I would love it if someone who knows about wpa_supplicant in Puppy could make these work reliably on Puppy...

I tried, but failed.. Don't really know what else needs doing..

Any takers?
I've found with puppy tools that if you are scanning for 2.5GB networks, that puppy tools historically haven't scanned long enough to find all the wifi networks [1]. The issue is that the 2.5GB band is a bit saturated. This isn't an issue with the 5GB band due to the shorter range of 5GB wifi.

Note that this isn't just an issue with puppy. I also had this issue with the Nintendo Wii. Also it is possible that this issue might be fixed in newer versions of puppy.

P.S.1: I think I'll try adding both Sc0ttman's ncurses wifi tool, and the netsetup.sh (from fatdog64) to my tiny devaun.

P.S.2: darry19662018 has also posted a CLI script to connect to wifi [2].

Notes & References
------------------------------
1 - "Network Wizard Mods" - fix scan for usb dongle, http://www.murga-linux.com/puppy/viewtopic.php?p=981562

2 - "How to configure wifi from the commandline ",http://murga-linux.com/puppy/viewtopic. ... 85#1025185

Posted: Thu 20 Jun 2019, 06:21
by darry19662018
Yes it was originally by goingnuts of Pup'n'go fame.

Posted: Thu 20 Jun 2019, 11:19
by sc0ttman
I should point out these are not my tools ... the authors are probably listed in the scripts... Don't wanna take credit for other peoples work ... When I say I hacked them, I mean like 2 or 3 lines ..

But, I would really like a simple non-X way of making wifi work...

Posted: Tue 25 Jun 2019, 20:11
by sc0ttman
There is also this WLAN tool, which uses Bash-CGI and a web browser based frontend.. I've no idea how complete or "working" it is...

Demo: https://wlan.bashops.sh/

Source code: https://github.com/tinoschroeter/bash_o ... /DEMO/wlan

Re: ncurses wifi tools

Posted: Fri 28 Jun 2019, 22:07
by rufwoof
s243a wrote:P.S.1: I think I'll try adding both Sc0ttman's ncurses wifi tool, and the netsetup.sh (from fatdog64) to my tiny devaun.
network-setup.sh in Fatdog works OK for me. I've added it to my Quake like F1 show/hide toggle (tilda terminal) ncurses tui menu

Image

Clicking that network menu setup option opens a new tilda tab with network-setup.sh running within that

Image