Gentoo Archives: gentoo-user

From: Valmor de Almeida <val.gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] starting wlan0 only when wireless is turned on
Date: Sun, 12 Dec 2010 21:35:31
Message-Id: 4D053FDD.5010606@gmail.com
In Reply to: Re: [gentoo-user] starting wlan0 only when wireless is turned on by Alan McKinnon
1 On 12/12/2010 03:54 PM, Alan McKinnon wrote:
2 > Apparently, though unproven, at 18:51 on Sunday 12 December 2010, Valmor de
3 > Almeida did opine thusly:
4 >
5 >> Hello,
6 >>
7 >> I would like to have net.wlan0 started only when the wireless card is
8 >> switched on. I am using ifplugd for starting net.eth0 when an ethernet
9 >> cable is plugged in. Is there a similar utility for net.wlan0? Ideally
10 >> so that it is configurable in conjunction with ifplugd.
11 >
12 >
13 > Chuck all that net.* bullshit out the window and use wicd instead.
14 >
15 >
16 Okay I am new to this wireless stuff. If I do
17
18 -> emerge -vp wicd
19
20 I get
21
22 These are the packages that would be merged, in order:
23
24 Calculating dependencies... done!
25 [ebuild N ] net-wireless/wireless-tools-29 USE="nls -multicall" 0 kB
26 [ebuild N ] dev-python/dbus-python-0.83.0-r1 USE="-doc -examples
27 -test" 483 kB
28 [ebuild N ] dev-python/urwid-0.9.9.1 USE="-examples" 233 kB
29 [ebuild N ] x11-misc/ktsuss-1.4 273 kB
30 [ebuild N ] net-misc/wicd-1.7.0 USE="X gtk ncurses nls pm-utils
31 (-ioctl) -libnotify" 402 kB
32
33 Total: 5 packages (5 new), Size of downloads: 1,390 kB
34
35 which will install wireless-tools. This does not mean I need to use it
36 to configure my wireless net right? I am asking this because I am using
37 wpa_supplicant and in the /etc/conf.d/net config file, I can only use
38 one or the other.
39
40 Since wicd deals with both wired and wireless, should I also get rid of
41 ifplugd?
42
43 Thanks,
44
45 --
46 Valmor

Replies

Subject Author
Re: [gentoo-user] starting wlan0 only when wireless is turned on Alan McKinnon <alan.mckinnon@×××××.com>