Wifi-Connect 2017B beta (Deprecated)
Pelo... what do you tink of Network Wizard, it was absent from your post. I find it very useful, and I don't really need SNS or Frisbee.
Stemsee... keep up the good work. Though I don't use anything you build (limited resourses with a netbook), these builds, pets, etc look fine for folks with a modern computer.
Stemsee... keep up the good work. Though I don't use anything you build (limited resourses with a netbook), these builds, pets, etc look fine for folks with a modern computer.
Linux user #498913 "Some people need to reimagine their thinking."
"Zuckerberg: a large city inhabited by mentally challenged people."
"Zuckerberg: a large city inhabited by mentally challenged people."
Network Wizard is standard in most pups, I think. It has been for a long time. I hope that everyone who dislikes my efforts to the point of criticising them without trying them first, using only lame excuses based upon their lack of funds to not download an 80kb wrapper, does not announce it here by redirecting attention to an established and well used alternative! In fact wifi-connect is the alternative!8Geee wrote:Stemsee... I don't use anything you build.
If there is another connection tool that can connect your pc to an AP in fewer clicks, I will take it in preference over my own!? Even better 8Geee, how about YOU write one for us, combining all the best features, and packing it as you see fit to your fine standards?
kind regards
Stemsee
Back to the point and go forward with testing, tried the last version, the browser icon now appears. Default start not working:
if I restart X the tray icon disappears and the wifi disconnects. I would suggest to move the wifiprofi entry in Puppys menu because to get access to an saved profile you must first run wifi-connect but I believe once a profile is saved a user would like to start it directly rather than having to start first WiFi-connection.
My regards and thanks for your work and efforts on this Forum.
Code: Select all
# ./defaultwifi
/root/.wifivarsdef: line 2: be: command not found
awk: cmd. line:1: {print $2
awk: cmd. line:1: ^ unexpected newline or end of string
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
killall: wpa_supplicant: no process killed
killall: dhcpcd: no process killed
./defaultwifi: line 103: unexpected EOF while looking for matching `"'
./defaultwifi: line 105: syntax error: unexpected end of file
# EXIT="Exit on timeout"
No stemsee, my question is off topic, I meant how to write something after the image attached to the post on the forum.stemsee wrote:Do you mean in the tray menu?corvus wrote: P.S.: How do I write something after the image ?
Like thisThat is the format. Using variables in any position is ok too.Code: Select all
MENU="Text!command!image.png|text!command!image.png|"
My regards and thanks for your work and efforts on this Forum.
[b]We are waves of the same sea, leaves of the same tree, flowers of the same garden.[/b]
@Stemsee
As for hotspot, what is great there is the built in webserver to serve or exchange files.
There are plenty of nice services that can run over Wlanmaker and ShareInternet.
And those are already built in mostly or can be found as pets. I think think of things that are like communication, such as chat and videochat. Games... I would like to challenge anyone anywhere in chess for instans. Files up and down. Sharing your videos and music.
Want to check my digital DVD backup directory?
What is most desperately missing is what i believe is DNSmasque.
The ability to make your "hotspot" redirect clients to a url.
I prey
EDIT
After some googling I at least know what i ask for. Its called a "captive portal"...
https://personaltelco.net/wiki/CaptivePortal
As for hotspot, what is great there is the built in webserver to serve or exchange files.
There are plenty of nice services that can run over Wlanmaker and ShareInternet.
And those are already built in mostly or can be found as pets. I think think of things that are like communication, such as chat and videochat. Games... I would like to challenge anyone anywhere in chess for instans. Files up and down. Sharing your videos and music.
Want to check my digital DVD backup directory?
What is most desperately missing is what i believe is DNSmasque.
The ability to make your "hotspot" redirect clients to a url.
I prey
EDIT
After some googling I at least know what i ask for. Its called a "captive portal"...
https://personaltelco.net/wiki/CaptivePortal
@corvus
Argh! I must have worked on a copy script in another location! Thanks!
I believe it is corrected now!
What do you think of the idea that wifiprofi only offers for selection profiles that have an Access Point available? Or leave it as it is to show all saved configs?
Argh! I must have worked on a copy script in another location! Thanks!
I believe it is corrected now!
What do you think of the idea that wifiprofi only offers for selection profiles that have an Access Point available? Or leave it as it is to show all saved configs?
Last edited by stemsee on Tue 21 Nov 2017, 07:39, edited 2 times in total.
Wow... That looks like a great start... I think maybe even I might be able to figure that one out. Or at least try
I even found a "Puppy", that is not really a puppy, but still somewhat called that...
http://www.authpuppy.org/
I even found a "Puppy", that is not really a puppy, but still somewhat called that...
http://www.authpuppy.org/
I think the best choice is to offer the selection of only the profiles that have an available Access Point, provided the selection is dynamically updated with a scanning routine before the selection otherwise it is better to leave it as it is.stemsee wrote:@corvus
What do you think of the idea that wifiprofi only offers for selection profiles that have an Access Point available? Or leave it as it is to show all saved configs?
[b]We are waves of the same sea, leaves of the same tree, flowers of the same garden.[/b]
Tried the corrected version, works well but choosing the network to connect to I have selected, saved and setted as default the wrong Access Point when I realised the error I repeated the selections with the right one but after reboot wifi-connect does not connect automatically. I have to start wifiprofi and choose the right one to connect but I get two icons in the tray and on reboot the problem persist. How can I delete the wrong Access Point ?
[b]We are waves of the same sea, leaves of the same tree, flowers of the same garden.[/b]
So, run 'wifi-connect' and select AP, check 'default' box and 'save' box enter ok.
If that doesn't work then
If that doesn't work then
Code: Select all
rm -f /root/.wifivars
rm -f /root/.wifivars2
rm -f /root/.wifivarsdef
rm -f /root/Startup/defaultwifi
More info improvements.
I didn't do the limited profiles function because in the case where you want to join an invisible AP ... But i may add it as an option.
I didn't do the limited profiles function because in the case where you want to join an invisible AP ... But i may add it as an option.
- Attachments
-
- desktopinfo.png
- (7.25 KiB) Downloaded 332 times
-
- desktopinfo2.png
- (21.38 KiB) Downloaded 333 times
-
- desktopinfo3.png
- (33.59 KiB) Downloaded 323 times
Last edited by stemsee on Tue 21 Nov 2017, 07:39, edited 1 time in total.
Doesn't work.stemsee wrote:So, run 'wifi-connect' and select AP, check 'default' box and 'save' box enter ok.
Deleting the files and run again wifi-connect has solved my issue now everything works as expected.stemsee wrote:Code: Select all
rm -f /root/.wifivars rm -f /root/.wifivars2 rm -f /root/.wifivarsdef rm -f /root/Startup/defaultwifi
Thanks.
[b]We are waves of the same sea, leaves of the same tree, flowers of the same garden.[/b]
Tried it out on alphaOS using Wifi-Connect-6.pet
got a few errors
0. I am seeing
1.
I get mkfifo: invalid mode
should be something like mkfifo -m 0600 $PIPE9
maybe you meant
There are two such mkfifo in script.
2. I am trying to connect to a open network with SSID ATF_OPEN
(Obs linenumbers probably wrong since I had to replce yaf-splash with Xdialog on my system)
/usr/bin/wifi-connect: line 139: ATF_OPEN||||TRUE|FALSE|FALSE|FALSE||TRUE|: command not found
from
where the $choose is what bombs
Maybe you do alot of parsing of output from commands and it is not
the same on alphaOS?
I get no connection
I like the interface though
Also after running apllication a few times already annoyed with the
"can be empty" of User-id.
got a few errors
0. I am seeing
Code: Select all
SIOCSIFHWADDR: Device or resource busy - you may need to down the interface
Code: Select all
mkfifo -m MODE $PIPE9
should be something like mkfifo -m 0600 $PIPE9
maybe you meant
Code: Select all
MODE="0600"
mkfifo -m $MODE $PIPE9
2. I am trying to connect to a open network with SSID ATF_OPEN
(Obs linenumbers probably wrong since I had to replce yaf-splash with Xdialog on my system)
/usr/bin/wifi-connect: line 139: ATF_OPEN||||TRUE|FALSE|FALSE|FALSE||TRUE|: command not found
from
Code: Select all
function selectfn () {
$choose
....
Maybe you do alot of parsing of output from commands and it is not
the same on alphaOS?
I get no connection
I like the interface though
Also after running apllication a few times already annoyed with the
"can be empty" of User-id.
I echo that sentiment!!Scooby wrote: Also after running apllication a few times already annoyed with the
"can be empty" of User-id.
Next iteration that field will be empty! I just didn't want some people to get confused thinking it needed to be filled!! On the other hand it doesn't matter, just left alone does not affect usage!
I will experiment and research fifo pipe formatting, I am new to it.
$choose is defined in 'buildnetworkselectorfn', Then I have simply stated the variable and that is the entire gui, a bit like 'export gtkdialog'. Actually I was surprised when it worked!
Code: Select all
buildnetworkselectorfn () {
cat /tmp/scansr2 | tr '\n' ' ' >> /tmp/scansr3
sed -i 's|^|choose=$(yad --window-icon=/usr/share/pixmaps/wifi.png --image "/usr/share/pixmaps/wifi.png" --columns=1 --title "$mytext16: $int" --item-separator="," --form --field="$mytext15":CBE "|' /tmp/scansr3
sed -i 's/$/" --field=$mytext20 --field=$mytext18:H --field=$mytext17:H --field=wlan0-default:CHK --field=wlan1:CHK --field="$mytext27":CHK --field="$mytext26":CHK --field="$mytext25" --field="$mytext24":CHK --button="gtk-ok:0" --button="gtk-close:1" --text "$mytext5" "$mytext21" "" "" "TRUE" "" "" "" "$mytext22" "TRUE")\n/' /tmp/scansr3
sed -i 's/, "/"/g' /tmp/scansr3
sed -i 's/, /,/g' /tmp/scansr3
sed -i 's/=""/=","/g' /tmp/scansr3
[[ /tmp/scansr ]] && . /tmp/scansr
[[ /tmp/scansr3 ]] && . /tmp/scansr3
}
selectfn () {
$choose
ret=$?
I don't get itstemsee wrote: $choose is defined in 'buildnetworkselectorfn', Then I have simply stated the variable and that is the entire gui, a bit like 'export gtkdialog'. Actually I was surprised when it worked!
Code: Select all
buildnetworkselectorfn () { cat /tmp/scansr2 | tr '\n' ' ' >> /tmp/scansr3 sed -i 's|^|choose=$(yad --window-icon=/usr/share/pixmaps/wifi.png --image "/usr/share/pixmaps/wifi.png" --columns=1 --title "$mytext16: $int" --item-separator="," --form --field="$mytext15":CBE "|' /tmp/scansr3 sed -i 's/$/" --field=$mytext20 --field=$mytext18:H --field=$mytext17:H --field=wlan0-default:CHK --field=wlan1:CHK --field="$mytext27":CHK --field="$mytext26":CHK --field="$mytext25" --field="$mytext24":CHK --button="gtk-ok:0" --button="gtk-close:1" --text "$mytext5" "$mytext21" "" "" "TRUE" "" "" "" "$mytext22" "TRUE")\n/' /tmp/scansr3 sed -i 's/, "/"/g' /tmp/scansr3 sed -i 's/, /,/g' /tmp/scansr3 sed -i 's/=""/=","/g' /tmp/scansr3 [[ /tmp/scansr ]] && . /tmp/scansr [[ /tmp/scansr3 ]] && . /tmp/scansr3 } selectfn () { $choose ret=$?
[[ /tmp/scansr3 ]] && . /tmp/scansr3 in buildnetworkselectorfn is where you start the gui and in /tmp/scansr3 is where you assign to choose the
result of the yad dialog
from scnansr3
Code: Select all
choose=$(yad --window ...
When I tried to connect this was the case that choose="ATF_OPEN||||TRUE|FALSE|FALSE|FALSE||TRUE|"
It is not a command
?
You can verify that by going to tmp folder and do
Code: Select all
. scansr3