1 |
On 12/12/2010 04:46 PM, Alan McKinnon wrote: |
2 |
> Apparently, though unproven, at 23:34 on Sunday 12 December 2010, Valmor de |
3 |
> Almeida did opine thusly: |
4 |
> |
5 |
>> On 12/12/2010 03:54 PM, Alan McKinnon wrote: |
6 |
>>> Apparently, though unproven, at 18:51 on Sunday 12 December 2010, Valmor |
7 |
>>> de |
8 |
>>> |
9 |
>>> Almeida did opine thusly: |
10 |
>>>> Hello, |
11 |
>>>> |
12 |
>>>> I would like to have net.wlan0 started only when the wireless card is |
13 |
>>>> switched on. I am using ifplugd for starting net.eth0 when an ethernet |
14 |
>>>> cable is plugged in. Is there a similar utility for net.wlan0? Ideally |
15 |
>>>> so that it is configurable in conjunction with ifplugd. |
16 |
>>> |
17 |
>>> Chuck all that net.* bullshit out the window and use wicd instead. |
18 |
>> |
19 |
>> Okay I am new to this wireless stuff. If I do |
20 |
>> |
21 |
>> -> emerge -vp wicd |
22 |
>> |
23 |
>> I get |
24 |
>> |
25 |
>> These are the packages that would be merged, in order: |
26 |
>> |
27 |
>> Calculating dependencies... done! |
28 |
>> [ebuild N ] net-wireless/wireless-tools-29 USE="nls -multicall" 0 kB |
29 |
>> [ebuild N ] dev-python/dbus-python-0.83.0-r1 USE="-doc -examples |
30 |
>> -test" 483 kB |
31 |
>> [ebuild N ] dev-python/urwid-0.9.9.1 USE="-examples" 233 kB |
32 |
>> [ebuild N ] x11-misc/ktsuss-1.4 273 kB |
33 |
>> [ebuild N ] net-misc/wicd-1.7.0 USE="X gtk ncurses nls pm-utils |
34 |
>> (-ioctl) -libnotify" 402 kB |
35 |
>> |
36 |
>> Total: 5 packages (5 new), Size of downloads: 1,390 kB |
37 |
>> |
38 |
>> which will install wireless-tools. This does not mean I need to use it |
39 |
>> to configure my wireless net right? |
40 |
> |
41 |
> You are going to take the entirety of net.* except net.lo as installed by |
42 |
> baselayout/openrc/whatever and get rid of it. That stuff never worked right |
43 |
> for anything except servers with fixed IPs |
44 |
> |
45 |
>> I am asking this because I am using |
46 |
>> wpa_supplicant and in the /etc/conf.d/net config file, I can only use |
47 |
>> one or the other. |
48 |
> |
49 |
> Discard /etc/conf.d/net |
50 |
> |
51 |
> That's part of the thing you are getting rid of |
52 |
> |
53 |
>> |
54 |
>> Since wicd deals with both wired and wireless, should I also get rid of |
55 |
>> ifplugd? |
56 |
> |
57 |
> Yes. |
58 |
> |
59 |
> Just following the wicd docs and it will all work just fine |
60 |
> |
61 |
|
62 |
Thank you very much. I don't know how this magic is happening since I |
63 |
had posted another message in this list on problems with wpa_supplicant |
64 |
and frequent dropouts during connection. I am now sending this e-mail |
65 |
with a wireless connection. For the record, what I had to do was: |
66 |
|
67 |
emerge --unmerge ifplugd wpa_supplicant |
68 |
rm /etc/wpa_supplicant/*.conf |
69 |
rm /etc/conf.d/net |
70 |
touch /etc/conf.d/net |
71 |
rm /etc/init.d/net.eth0 |
72 |
rm /etc/init.d/net.wlan0 |
73 |
emerge -av wicd |
74 |
|
75 |
emerge wicd |
76 |
/etc/init.d/wicd start |
77 |
rc-update add wicd boot |
78 |
|
79 |
reboot and check wired connection. |
80 |
disconnect, turn on wireless |
81 |
wicd-client -n |
82 |
|
83 |
Thanks, |
84 |
|
85 |
-- |
86 |
Valmor |