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

Reinhold Rumberger rrumberger at web.de
Wed Dec 9 10:51:52 UTC 2009


On Wednesday 09 December 2009, Lisi wrote:
> On Wednesday 02 December 2009 05:38:02 Reinhold Rumberger wrote:
> > Or rather, you can't "just uninstall" NM,

I just tried uninstalling NM a couple of days ago, and to my surprise 
it actually worked (without removing any of the ubuntu-* or 
kubuntu-desktop metapackages). It seems like this is an option after 
all...

> > but you can use
> > /etc/network/interfaces to override it. NM won't pick up devices
> > listed there.

I would have thought it obvious that NM needs to be stopped before 
changing this file.

> > I'm not sure if this still works, but it used to be possible to
> > create /etc/default/NetworkManager and
> > /etc/default/NetworkManagerDispatcher containing simply "exit
> > 0". This would disable NM completely.
> 
> Not only did Network Manager continue to interfere in devices
>  listed in /etc/network/interfaces, it kept rewriting the files,
>  both in /etc/network/interfaces and in /etc/resolve.conf.

/etc/resolv.conf (no second e in resolv.conf) is modified by the DHCP 
daemon, not NM (at least, NM has no business modifying it).

>  So I
>  still could not connect.
> 
> I then added /etc/default/NetworkManager and
>  /etc/default/NetworkManagerDispatcher as advised here - and
>  bingo! I had a sort of lift-off.
> 
> This box can now get on-line.  Network manager has stopped
>  rewriting the files as soon as I have finished saving them.  So
>  far, so good.  But... the connection is not started
>  automatically.  It has to be started manually each time the
>  system is either rebooted or shutdown.
> 
> So Network Mangler is obviously still interfering in some way with
>  a crucial file.

Actually, this sounds more like you forgot to add "auto <interface>" 
to your /etc/network/interfaces. That entry is needed to 
automatically start the interfaces. (It works here, BTW.)

If this doesn't solve the problem, it might be helpful if you posted 
your /etc/network/interfaces and perhaps the output of "ifconfig" 
(both when the connection is up and when it isn't).

Also, I'd like to point out "man interfaces" as one of the better 
resources for info in what to put into /etc/network/interfaces.

  --Reinhold




More information about the kubuntu-users mailing list