After upgrading to karmic, /e/n/i network config (non NetworkManager) no longer works

Asked by Jose L. VG

I had set up in Ubuntu 9.04 a network config fixed at /etc/netwrking/interfaces in a PC acting as a home printer server SO that users just have to switch ON the machine to access the server printer and shared folders but do not need to log in as any user.

All WAS working over a wlan interface (wlan0) on Ubuntu 9.04

Once I upgraded to 9.10, the network became unstable, disconnected most of the time. I have seen the logs at /var/log/syslog and the problems SEEMS to be that NetworkManager is NOT ignoring wlan0 interface as it should because it is being listed in /etc/network/interfaces and should be managed manually ONLY.

The connection is unstable because NetworkManager is competing with /etc/init.d/networking to manage the device.

Once I remove the config at /etc/network/interfaces, NetworkManager has the device for itself and manages to give me stable connections.

How can I force NetworkManager TO IGNORE wlan0?
Shoud I deinstall it completelly?

[This is not the first time NetworkManager fails on me when I do not seek the default config... is it really worth it?]

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu network-manager Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jose L. VG (josvaz) said :
#1

I changed the config at /etc/NetworkManager/nm-system-settings.conf from
...
[ifupdown]
managed=false

to
...
[ifupdown]
managed=true

And NetworkManager was NOT ignoring wlan0 nor able to use the /etc/network/interfaces to correctly setup the wifi connection.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

if you use the interfaces file it will supercede network manager

Revision history for this message
Jose L. VG (josvaz) said :
#3

Nope.

As I said, this was true for Ubuntu 9.04, but NOT for 9.10.

In Karmic when I set up the network manually in /e/n/interfaces NetworkManager messes up with wlan0 even after that.

I restart NM and then restart the network manually, the manual config sets up the network fine, but a few seconds afterwards NM comes back and cuts the network again. From thet moment on, the network comes an goes all the time, being connected just for a few seconds each time. The way to make it stable again is to take away the fixed config at /e/n/interfaces (comment it) and restart the network.

Should I make this into a karmic bug?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

Sure if you suspect one

Can you help with this problem?

Provide an answer of your own, or ask Jose L. VG for more information if necessary.

To post a message you must log in.