PARTLY SOLVED Re: ethernet connections in Karmic - how do I tame network manager?

Lisi lisi.reisz at gmail.com
Wed Dec 9 18:41:29 UTC 2009


On Wednesday 09 December 2009 17:44:37 Reinhold Rumberger wrote:
> On Wednesday 09 December 2009, Lisi wrote:
> > On Wednesday 09 December 2009 11:36:15 Reinhold Rumberger wrote:
> > > my point was that it is the DHCP daemon doing the
> > > modifying. And it will keep doing so, regardless of NM. And
> > > that's usually a good thing.
> >
> > Even if /etc/network/interfaces specifies static?
>
> If you run dhclient manually, yes. It doesn't really care what
> /etc/network/interfaces says when it's run. If you specify static, it
> just isn't started. (Not sure whether NM always runs it no matter
> what or whether it just forgets to kill it.)
> If this file is modified, you may try to run "ps | grep dhclient" to
> see whether there are still active DHCP clients. Just kill them if
> you don't want them.
>
> > Anyhow, that seems one way or another to have been overcome.
> >  /etc/resolv.conf is maintaining the two DNS servers that I
> >  entered manually, and has stopped insisting that the gateway is
> >  the sole DNS server.
>
> Glad to hear that. Does that mean everything is running properly now?

No - it is still not starting automatically on boot up.  Though once I run 
$sudo ifup eth0
it is fine.  So the problem must lie in the start-up.  NM obviously wants the 
network started after KDE has booted up so that it (NM) can control the 
network.

Google suggests that NM does in fact alter some of the init scripts.  So I 
shall purge NM and hope to sort everything else out.  

Unfortunately, I don't know what some of the files ought to look like in the 
first place!  I have never needed to dive in before.  Those two files that 
you sent me off-list will be very useful.  A friend also suggested that I 
should compare with a known-working Debian set up.  NM won't have been near 
that!

Lisi




More information about the kubuntu-users mailing list