Re: [dwm] OT: Wireless in dwm

From: pmarin <pacogeek_AT_gmail.com>
Date: Mon, 20 Apr 2009 17:14:35 +0200

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 <randhol_AT_pvv.org> 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
>
>
>
Received on Mon Apr 20 2009 - 15:14:35 UTC

This archive was generated by hypermail 2.2.0 : Mon Apr 20 2009 - 15:24:04 UTC