On 12/12/2010 04:46 PM, Alan McKinnon wrote: > Apparently, though unproven, at 23:34 on Sunday 12 December 2010, Valmor de > Almeida did opine thusly: > >> On 12/12/2010 03:54 PM, Alan McKinnon wrote: >>> Apparently, though unproven, at 18:51 on Sunday 12 December 2010, Valmor >>> de >>> >>> Almeida did opine thusly: >>>> Hello, >>>> >>>> I would like to have net.wlan0 started only when the wireless card is >>>> switched on. I am using ifplugd for starting net.eth0 when an ethernet >>>> cable is plugged in. Is there a similar utility for net.wlan0? Ideally >>>> so that it is configurable in conjunction with ifplugd. >>> >>> Chuck all that net.* bullshit out the window and use wicd instead. >> >> Okay I am new to this wireless stuff. If I do >> >> -> emerge -vp wicd >> >> I get >> >> These are the packages that would be merged, in order: >> >> Calculating dependencies... done! >> [ebuild N ] net-wireless/wireless-tools-29 USE="nls -multicall" 0 kB >> [ebuild N ] dev-python/dbus-python-0.83.0-r1 USE="-doc -examples >> -test" 483 kB >> [ebuild N ] dev-python/urwid-0.9.9.1 USE="-examples" 233 kB >> [ebuild N ] x11-misc/ktsuss-1.4 273 kB >> [ebuild N ] net-misc/wicd-1.7.0 USE="X gtk ncurses nls pm-utils >> (-ioctl) -libnotify" 402 kB >> >> Total: 5 packages (5 new), Size of downloads: 1,390 kB >> >> which will install wireless-tools. This does not mean I need to use it >> to configure my wireless net right? > > You are going to take the entirety of net.* except net.lo as installed by > baselayout/openrc/whatever and get rid of it. That stuff never worked right > for anything except servers with fixed IPs > >> I am asking this because I am using >> wpa_supplicant and in the /etc/conf.d/net config file, I can only use >> one or the other. > > Discard /etc/conf.d/net > > That's part of the thing you are getting rid of > >> >> Since wicd deals with both wired and wireless, should I also get rid of >> ifplugd? > > Yes. > > Just following the wicd docs and it will all work just fine >
Thank you very much. I don't know how this magic is happening since I had posted another message in this list on problems with wpa_supplicant and frequent dropouts during connection. I am now sending this e-mail with a wireless connection. For the record, what I had to do was: emerge --unmerge ifplugd wpa_supplicant rm /etc/wpa_supplicant/*.conf rm /etc/conf.d/net touch /etc/conf.d/net rm /etc/init.d/net.eth0 rm /etc/init.d/net.wlan0 emerge -av wicd emerge wicd /etc/init.d/wicd start rc-update add wicd boot reboot and check wired connection. disconnect, turn on wireless wicd-client -n Thanks, -- Valmor