Re: NM looses connection and/or doesn't use dhcp

Oops, I forgot to send my other reply to the list as well. Anyway. It didn't fix my problem. So it seems like a bug with networkmanager.

Sourav K. Mandal wrote:
On Thu, 2007-11-01 at 18:58 -0700, Xamindar wrote:
I have started to have some problems with networkmanager lately. I am running version 0.6.5_p20070823.

From the version number it looks like you are running Gentoo.  Have you
updated baselayout recently?  If so, perhaps you overwrote
your /etc/conf.d/rc, which has to have net scripts disabled so as not to
conflict with NM.

Look here:

Ok, I fixed that with no change.

First thing: when I come home from work where I was connected using a static IP (at work I stop NM, set the static IP, then on reboot the PC goes back to it's dhcp settings) for some odd reason NM keeps setting my work IP and doesn't renew the IP for my home network. This is a recent occurrence and I can't figure out why it started doing it.

WLAN devices store the last IP address.  Indeed, NM is supposed to
overwrite it when you select your home AP.

Talking wired here. Probably does it with the wireless as well but lately I haven't used wifi that much. At this moment I am connected to another wireless network and it works fine. But if I switch it back to my wired home network (and the cable IS plugged in) it sets the stupid static IP from work. I know I NEVER tried to use networkmanager with work, I never set this IP in it. Why the heck is it using it? This bug makes no sense at all.

My gentoo network script are also set correctly.

config_eth0=( "dhcp" )

That's all it has for this interface.

Secondly, at random times I will loose my connection. The IP is still there but I think NM messes up the default route info. Restarting NM fixes it or simply setting the default route manually does it. Why is it doing this?

This is why I think it may be a Gentoo problem -- RC service plugging
may be undoing what NM's setting.

Actually, looking closer, it looks likt NM sometimes sets it back to my work IP. There isn't even a place to set a static IP for my wired interface in NM so this makes no sense.


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