Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 03-06-2009, 12:52 PM   #1
Registered: May 2004
Distribution: Gentoo, Debian, OpenBSD, NetBSD
Posts: 158

Rep: Reputation: 16
NetworkManager problems

I'm using the testing debian, lenny I think.

About 70% of the time, my comp gets an ip address from dhcp, and then I startx, and network manager chucks it out the window and I get a 169.254 address. So I have to each time, kill the network manager daemons and then run dhclient eth0 again.

Here's my /etc/network/interfaces
auto lo
iface lo inet loopback

auto eth0
auto wlan0

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp

#iface wlan0 inet dhcp

#wireless-essid networkname
#wireless-key s:password
Note that I gave up on trying to get networkmanager to deal with my wireless. Now, I don't want it to work, I just don't want it to screw things up.
Old 03-06-2009, 01:13 PM   #2
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Debian "Testing"
Posts: 6,096

Rep: Reputation: 409Reputation: 409Reputation: 409Reputation: 409Reputation: 409
Uninstall network manager. I could never get it to help at all. wicd is a bit better, but I just set up my networks manually with the interfaces file, this has always worked for me:

You might also want to remove the line auto wlan0 if you are not using wireless.
Old 03-07-2009, 09:28 PM   #3
Registered: May 2004
Distribution: Gentoo, Debian, OpenBSD, NetBSD
Posts: 158

Original Poster
Rep: Reputation: 16
If I uninstalled every piece of software that didn't work quite right, I'd have no software!

But seriously, everyone says uninstall networkmanager, well I did that before, but this time I thought I would just use what debian puts on there. What I don't get is why it doesn't work by now. I mean I'm using lenny and I had the same problems in etch. Its a simple piece of software. Debian people should fix it or remove it by now.
Old 03-07-2009, 09:38 PM   #4
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
/etc/network/interfaces and networkmanager are incompatible, use one or the other. If the latter, comment out the eth0 lines in interfaces and just let NM handle it. Which works for me.
Old 03-09-2009, 08:22 AM   #5
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,243
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
I agree network-manager has never worked right for me either.

If you manually apply settings to an interface in /etc/network/interfaces network manager will ignore that interface.. so it's always telling me my network cable is unplugged, because I have a static IP assigned in the config file for eth0.

I fully agree with the recommendation for wicd as a graphical network management app., it works MUCH better on my netbook, I have the wireless configured with it, using wpa2 encryption, and the interface comes up automatically and grabs an IP.

It's not about removing apps that don't work, it's about finding the applications that work the way YOU want them to work. network manager apparently works well for a lot of people, then there's the rest of us who just don't care for it so we replace it with something we like.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with NetworkManager Applet in Debian acute123 Linux - Newbie 4 03-02-2009 09:16 AM
Problems with NetworkManager when using Ndiswrapper Nene_mataro Linux - Wireless Networking 2 09-05-2007 03:27 AM
Besides NetworkManager, shreks Fedora 1 01-18-2006 02:26 AM
Problems starting NetworkManager UmneyDurak Fedora 0 09-22-2005 02:38 PM
NetworkManager baparekh Linux - Networking 1 07-28-2005 04:05 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:12 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration