Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.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:47:10
Message-Id: 201012122346.34374.alan.mckinnon@gmail.com
In Reply to: Re: [gentoo-user] starting wlan0 only when wireless is turned on by Valmor de Almeida
1 Apparently, though unproven, at 23:34 on Sunday 12 December 2010, Valmor de
2 Almeida did opine thusly:
3
4 > On 12/12/2010 03:54 PM, Alan McKinnon wrote:
5 > > Apparently, though unproven, at 18:51 on Sunday 12 December 2010, Valmor
6 > > de
7 > >
8 > > Almeida did opine thusly:
9 > >> Hello,
10 > >>
11 > >> I would like to have net.wlan0 started only when the wireless card is
12 > >> switched on. I am using ifplugd for starting net.eth0 when an ethernet
13 > >> cable is plugged in. Is there a similar utility for net.wlan0? Ideally
14 > >> so that it is configurable in conjunction with ifplugd.
15 > >
16 > > Chuck all that net.* bullshit out the window and use wicd instead.
17 >
18 > Okay I am new to this wireless stuff. If I do
19 >
20 > -> emerge -vp wicd
21 >
22 > I get
23 >
24 > These are the packages that would be merged, in order:
25 >
26 > Calculating dependencies... done!
27 > [ebuild N ] net-wireless/wireless-tools-29 USE="nls -multicall" 0 kB
28 > [ebuild N ] dev-python/dbus-python-0.83.0-r1 USE="-doc -examples
29 > -test" 483 kB
30 > [ebuild N ] dev-python/urwid-0.9.9.1 USE="-examples" 233 kB
31 > [ebuild N ] x11-misc/ktsuss-1.4 273 kB
32 > [ebuild N ] net-misc/wicd-1.7.0 USE="X gtk ncurses nls pm-utils
33 > (-ioctl) -libnotify" 402 kB
34 >
35 > Total: 5 packages (5 new), Size of downloads: 1,390 kB
36 >
37 > which will install wireless-tools. This does not mean I need to use it
38 > to configure my wireless net right?
39
40 You are going to take the entirety of net.* except net.lo as installed by
41 baselayout/openrc/whatever and get rid of it. That stuff never worked right
42 for anything except servers with fixed IPs
43
44 > I am asking this because I am using
45 > wpa_supplicant and in the /etc/conf.d/net config file, I can only use
46 > one or the other.
47
48 Discard /etc/conf.d/net
49
50 That's part of the thing you are getting rid of
51
52 >
53 > Since wicd deals with both wired and wireless, should I also get rid of
54 > ifplugd?
55
56 Yes.
57
58 Just following the wicd docs and it will all work just fine
59
60 --
61 alan dot mckinnon at gmail dot com

Replies

Subject Author
[SOLVED] Re: [gentoo-user] starting wlan0 only when wireless is turned on Valmor de Almeida <val.gentoo@×××××.com>