Re: NM won't connect to a wireless network on boot



On Sun, 2005-11-13 at 11:55 +0200, Lauri Kainulainen wrote:
> Hi everyone!
> 
> I'm using NetworkManager 0.5.1 on a gentoo laptop. I connect to internet
> through a wireless network through eth1. Connecting to the network works 
> fine when I do it manually through nm-applet.
> 
> The problem is that when I start the laptop NM tries to
> connect to the wired network from eth0 (the cable is not plugged in) and
> receives a fake ip-address like 169.254.205.127. Then nm-applet shows
> that "Wired Network" is connected but it really isn't. And to really get
> connected I have to select my wireless network manually every time.
> 
> How can I get NM to connect to the wireless network on boot instead of
> the "fake" wired network?

If NM is trying to connect, it must think there's a link on the wired
card.  Can you do the following and post the results to this list?

- Without the cable plugged in, right after booting up, do:
cat /sys/class/net/eth0/carrier

if eth0 is not your wired network card, replace the 'eth0' with the
device name of your wired network card.  If that number is '1' and you
have  no cable plugged in, then the kernel driver is reporting that it
has a link, and the kernel driver for your card needs to be fixed.

Dan




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]