From: Alex Samad on 26 Feb 2010 13:50 On Fri, Feb 26, 2010 at 08:42:12AM -0500, Tom H wrote: > > I've had a good look around and still can't work this one out. Does > > anyone know how to configure wifi from the command line? I'm currently > > using wicd, so all my hardware is supported, however, as I rarely start > > X I would prefer to manage wifi connections through the cli. > > > I believe I have to use wpasupplicant. Can someone point me to a howto > > that gives me a few examples of the wpasupplicant config and interfacing > > it with /etc/network/interfaces. > > > I would like my setup to automatically connect to open networks. It > > should connect to the one with the strongest signal. If that fails then > > it should connect to any wpa networks if they are in range. I would like > > some examples, so I can learn how to tweak the config quickly. > > > For WPA2, I use these /e/n/i settings > iface wlan0 inet dhcp > wpa-driver wext > wpa-ssid <ssid> > wpa-psk <key> > > You can add these but I don't > wpa-ap-scan [1¦2] > wpa-key-mgmt WPA-PSK > wpa-proto RSN > wpa-pairwise CCMP > wpa-group CCMP > I use wpasupplicant through /etc/wpa_supplicant/wpa_supplicant.conf there are examples in /usr/share/doc/wpasupplicant/examples/ the key thing here is to tag a network definition with an id_str which is used in /e/n/i I think the one you are after is /usr/share/doc/wpasupplicant/examples/wpa-roam.conf > -- "I also have picked a secretary for Housing and Human Development. Mel Martinez from the state of Florida." - George W. Bush 12/20/2000 Washington, DC
From: Andrei Popescu on 26 Feb 2010 13:50 On Fri,26.Feb.10, 08:47:46, Rob Owens wrote: > On Sat, Feb 27, 2010 at 12:24:39AM +1100, Daniel Dalton wrote: > > Hi, > > > > I've had a good look around and still can't work this one out. Does > > anyone know how to configure wifi from the command line? I'm currently > > using wicd, so all my hardware is supported, however, as I rarely start > > X I would prefer to manage wifi connections through the cli. > > > There is the wicd-curses interface. I have never tried it, though. I have. The UI is not the best, but it works. Regards, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
From: Daniel Dalton on 26 Feb 2010 20:50 On Sat, Feb 27, 2010 at 05:43:52AM +1100, Alex Samad wrote: > there are examples in /usr/share/doc/wpasupplicant/examples/ Ah yes, and the readme proved very useful. I've got it all working with wpa_supplicant now. It works well on my home net, so lets hope it connects to open wifi:) I'm very confident it will as I'm using roaming mode. I did try wicd-curses, but as I'm blind it didn't seem to work great with speakup. It was manageable, but wpa_supplicant works far better for me. Thanks for everyone's help! Cheers, Dan
From: green on 27 Feb 2010 00:10 Daniel Dalton wrote at 2010-02-26 18:43 -0700: > I did try wicd-curses, but as I'm blind it didn't seem to work great with > speakup. I have wicd version 1.7.0-3; it includes wicd-cli which might work well for you. For example, the following command will list wireless networks: wicd-cli -ly
From: green on 27 Feb 2010 00:20 green wrote at 2010-02-26 22:06 -0700: > I have wicd version 1.7.0-3; it includes wicd-cli which might work well for > you. Actually, wicd-cli is packaged separately.
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 Prev: GNU .screenrc and scrolling problem Next: stop automatic checkdisk on boot |