How to install
Prerequisites:
pkg_add p5-Gtk2-1.24992 p5-Gtk2-Ex-Simple-List-0.50p2
$ make install
This will install to ~/bin.
You can also override the PREFIX and PROGRAM name variables
like so:
# make PREFIX=/usr/local/bin install
Of course now you will need to be root. Or if you prefer a
different name you could try:
$ make PROGRAM=wifi-gui install
It will now be ~/bin/wifi-gui.
How to use
Add the following to your .xinitrc
~/bin/wifi &
Your user will need elevated privileges. To accomplish
this you will need to use doas(1) like so:
/etc/doas.conf
permit nopass myuser as root cmd ifconfig
permit nopass myuser as root cmd dhclient
If you want the script to check for an existing connection
before launching the gui use the `-c' command line switch.
It will check for a connection and exit if you are already
connected.
Use of gtk stock images has been turned on. If for somereason
this looks bad or causes problems turn them off with the `-i'
command line switch.
If you select the box to remember the network then it
will save the network id and password in a database located
at ~/.networks. If you deselect the box on a previously
saved network then it will remove the network from the
database. Another option should you feel your database has
grown too large, just delete it. It will be repopulated should
you decide to start remembering networks again.
Bug Reports
If you experience issues please provide the following:
ifconfig $if scan
Run ~/bin/wifi from an xterm and provide any output it
gives you in the terminal.
Send to <edgar@pettijohn-web.com>