I wrote a script[1] that uses dmenu to present local wifi networks, and ask for a wep key. Shouldn't be too hard to extend to wpa etc.
1 - http://madleet.net/wifiselect.sh.html # Kurt H Maier On Mon, Apr 20, 2009 at 10:14 AM, pmarin <[email protected]> wrote: > I use two naïve scripts, two files and an alias: > > #wep connect to a wep wifi > #! /bin/sh > > key="`grep $1 /home/pmarin/wep | cut -d' ' -f2`" > sudo ifconfig wlan0 up > sudo iwconfig wlan0 essid $1 > sudo iwconfig wlan0 key s:$key > sudo dhclient wlan0 > #end > > The wep is a plain file with to columms > > essid key > > #wpa connect to a wpa wifi > #! /bin/sh > > sudo ifconfig wlan0 up > sudo iwconfig wlan0 essid $1 > sudo wpa_supplicant -iwlan0 -c/home/pmarin/wpa -B > sudo dhclient wlan0 > #end > > the wpa file is similar than /etc/wpa_supplicant.conf > > #wscan > It is an csh alias: > alias wscan 'sudo iwlist wlan0 scan' > > > > On Mon, Apr 20, 2009 at 3:52 PM, Preben Randhol <[email protected]> wrote: >> Hi >> >> This is somewhat off-topic. I'm totally new to using wireless network. At >> home everything is wired, but i have sometimes the need to use wireless >> when traveling. Now I have an Asus Eee so I can connect. Only problem is >> that the gui tool of xfce4 (or gnome) runs like applets and there are no >> version that is not an applet it seems. So I was wondering if any knows >> any good software/resources to be used with dwm to choose and bring up a >> wireless network. I guess one can make some scripts using the iw tools? I >> have heard one can install a program called trayer to get up the applets, >> but I would prefer not to. >> >> At the moment I have to use xfce4 to get up the wireless. >> >> I'm asking here as I guess you have more experience with this than me and >> can point me in the right direction. >> >> Thanks in advance >> >> Preben >> >> >> > >
