Wpa_Gui: Finally a real network manager for puppy

Configuration wizards, scanners, remote desktop, etc.
Message
Author
User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

Wpa_Gui: Finally a real network manager for puppy

#1 Post by jemimah »

If you've been missing WICD or NetworkManager, this pet is for you.

Wpa_gui runs in the background and automatically connects you to any open wireless network it finds. Encrypted Network? No problem, just hit scan, double click your network, and enter the password. Choose file->save, and you'll be automatically connected whenever you're in range. Since, wpa_gui is a simple frontend to wpa_supplicant, written by the team that wrote wpa_supplicant, you can expect WPA-encrypted connections to work without much hassle (hopefully, I don't have a wpa network so I didn't test this). Wpa_gui will even handle your Ethernet connections, giving you a convenient one-stop shop for most of your networking needs.

To install the pet, first you need to install the qt4 pet from the puppy4 repository. You'll also probably want to disable any automatic connections you setup with the Network Wizard. Then install the attached pet and restart.

The pet puts a script named networking in /root/Startup that automatically runs when you login. To prevent wpa_gui from starting automatically, move the script somewhere else. If your network interfaces are called something other than wlan0 and eth0 you'll need to modify the script. Let me know if you have any problems with this, and I'll try to help.
Attachments
wpa_gui.jpg
(104.57 KiB) Downloaded 2962 times
context.jpg
(7.99 KiB) Downloaded 11605 times
appletballoon.jpg
(11.61 KiB) Downloaded 11581 times

a-dub
Posts: 8
Joined: Wed 14 Oct 2009, 20:25

#2 Post by a-dub »

Yay!! No kidding, FINALLY! I was just talking about this in another thread:
http://www.murga-linux.com/puppy/viewto ... 599#351599

I'll try it out and give you feedback. Thanks for your effort.

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#3 Post by edoc »

Worked fine for me under Fatdog 112 and Puppy 431RC

Thanks!
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#4 Post by technosaurus »

Recompiled and repacked.
... here is a pet and the dotconfig for reference
Attachments
defconfig.gz
(5.14 KiB) Downloaded 1704 times
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

a-dub
Posts: 8
Joined: Wed 14 Oct 2009, 20:25

#5 Post by a-dub »

A quick question: how do you disable automatic connections previously setup with Network Wizard?

Thanks.

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#6 Post by BarryK »

Have a go at compiling it statically with the Qt library. It would be interesting to see how big it becomes.

Usually, if you just remove all the .so files, leave only the .a files, that enough to make it link statically.
[url]https://bkhome.org/news/[/url]

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#7 Post by jemimah »

a-dub, Network Wizard never worked at all for me, so I'm not totally sure. I presume just deleting any saved profiles would do the trick. If it's giving you issues, you can try renaming the /etc/rc.d/rc.network file.

Technosaurus, wanna try the static link thing? Qt applications are not my forte' and I'm still a novice at making pets. The startup script could likely be made a lot more intelligent too. The current one is the simplest implementation that could possibly work.

I think it would not be terribly difficult to make a gtk gui for this, as all the brains are in wpa_supplicant. It uses some kind of control file for communication with the applet. Wpa_supplicant can also use dbus for communication which is how WICD and Connman talk to it.

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#8 Post by technosaurus »

I would have done it already but I am still toying with the idea of having a minimal QT environment in 4.4 CE. I'll do it when I get home tonight.

It does use a lot of resources though...
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

a-dub
Posts: 8
Joined: Wed 14 Oct 2009, 20:25

#9 Post by a-dub »

jemimah wrote:a-dub, Network Wizard never worked at all for me, so I'm not totally sure. I presume just deleting any saved profiles would do the trick. If it's giving you issues, you can try renaming the /etc/rc.d/rc.network file.
Thanks, I'll give it a shot.

a-dub

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#10 Post by technosaurus »

well, damn... turns out the devx does not have all the .a files and there is no qt4_dev pet so it looks like I will have to try and recompile qt again because I didn't compile them either when I compiled qt-4.5.3. It takes several hours to compile on my computer so it likely won't be tonight.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#11 Post by technosaurus »

I compiled it statically against QT-4.5.3... binary ends up being over 8MB

I might have a go at it again though I didn't realize that Qt set static libs to be compiled as PIC, I know it will be smaller but by how much? Probably will still be at least in the 5Mb range so probably better to use the shared version
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

davesurrey
Posts: 1198
Joined: Tue 05 Aug 2008, 18:12
Location: UK

#12 Post by davesurrey »

Tried to install this to ttuuxxx's pup 214X15 but it didn't run.

From CLI it says it needs
libQtGui.so.4
Google didn't help so can anyone help me find this.

Thanks
Dave

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#13 Post by jemimah »


davesurrey
Posts: 1198
Joined: Tue 05 Aug 2008, 18:12
Location: UK

#14 Post by davesurrey »

As the pet is nearly 4MB I guess you mean just extract the lib from it.

Many thanks
Dave

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#15 Post by jemimah »

Sorry, that's the rub of it. This requires Qt and Qt is rather large. It's possible to configure Wpa_supplicant as a network daemon without the Gui but you'll have to do it by hand editing files and such and you won't have an applet to tell you it's working. Someone might be able to whip up a GTK gui for it, but I couldn't find anything that's already built.

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#16 Post by jemimah »

Hey Technosaurus, I was testing your build of wpa_supplicant on my EEE 701 and got an error to the effect of "could not initialize communication with the driver", whereas my build of it worked. Since you turned off debugging, I can't really tell you more than that. You may have turned off something important, but I don't know what.

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#17 Post by technosaurus »

my .config is attached with the pet. I didn't add any extra drivers that aren't in puppy by default.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

davesurrey
Posts: 1198
Joined: Tue 05 Aug 2008, 18:12
Location: UK

#18 Post by davesurrey »

Thanks for your help Jemimah.
Dave

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#19 Post by jemimah »

Did you get it working Dave?

Technosaurus, if i get a chance, I'll build it with your config and turn on debugging and see if I can figure it out. My build is basically whatever the defaults were.

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#20 Post by technosaurus »

My intention was to build it with everything, but was missing some header files for various drivers that aren't in Puppy default so I had to comment those out or track down their sources and include them
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

Post Reply