Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] wlan0 config questions
Date: Wed, 14 Apr 2010 03:09:41
Message-Id: 20100414030904.GA22399@waltdnes.org
In Reply to: Re: [gentoo-user] wlan0 config questions by Mick
1 On Tue, Apr 13, 2010 at 04:03:08PM +0100, Mick wrote
2
3 > For PCs you don't typically need anything more than the default Gentoo
4 > scripts, but for a laptop wicd, networkmanager and the like will do
5 > exactly what you need with no perceptible overhead and the benefit of
6 > notifications for when things start bobbing up and down.
7
8 > If you already have installed wpa_supplicant I recommend running
9 > wpa_gui and enabling disabling any interfaces you care to associate
10 > with. Then leave it running in the tooltray for quick access and
11 > notifications.
12
13 I've got hal and dbus masked out (pam too), so wicd and networkmanager
14 are out of the question. wpa_gui is a Qt frontend to wpa_cli. The qt4
15 *TARBALL* is approx 150 megabytes. Disk space is not the problem, but
16 loading unnecessary libs on an underpowered memory-constrained netbook
17 is an issue. Besides, I can always...
18
19 [aa1][root][~] modprobe ath5k
20 [aa1][root][~] /etc/init.d/net.wlan0 restart
21 * Stopping wlan0
22 * Bringing down wlan0
23 * Shutting down wlan0 ... [ ok ]
24 * Stopping wpa_cli on wlan0 ... [ ok ]
25 * Stopping wpa_supplicant on wlan0 ... [ ok ]
26 * Starting wlan0
27 * Starting wpa_supplicant on wlan0 ... [ !! ]
28 [aa1][root][~] iwconfig wlan0 essid example channel auto
29 [aa1][root][~] ifconfig wlan0 up
30 [aa1][root][~] iwlist wlan0 scan | grep ESSID
31 ESSID:"KGB zone** keep OFF**"
32 ESSID:"BELL140"
33 ESSID:"MyLinksys"
34 ESSID:"BELL325"
35 ESSID:"charmins family network 20"
36 ESSID:"and"
37 ESSID:"linksys"
38 ESSID:"default"
39 ESSID:"Kooshman"
40 ESSID:"SONA2"
41 ESSID:"BELL628"
42 ESSID:"MyDlink"
43 ESSID:"A7770"
44
45 Fortunately, I'm an honest guy, and I choose to confine my "testing of
46 open system access" to places like the Toronto Public Library, where
47 they advertise it... http://www.torontopubliclibrary.ca/spe_ser_wir.jsp
48 A little bit of scripting, plus appropriate entries in /etc/sudoers, and
49 I'm all set.
50
51 --
52 Walter Dnes <waltdnes@××××××××.org>

Replies

Subject Author
Re: [gentoo-user] wlan0 config questions Neil Bothwick <neil@××××××××××.uk>