Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 08-25-2011, 04:45 PM   #1
Registered: Jul 2006
Distribution: Debian Testing
Posts: 299

Rep: Reputation: 30
Network not active on boot

I just did an apt upgrade and for the most part everything is looking good. However when I boot up I have no network connection. Here is the result of trying to ping google:

connect: Network is unreachable

I can fix it easily with a simple sudo dhclient eth0 but I was hoping someone would be able to suggest a more correct and less annoying solution.

P.S. I have uninstalled network manager. This is a desktop computer with an ethernet connection and DHCP. I do not need anything fancy.
Old 08-25-2011, 08:10 PM   #2
Dutch Master
Senior Member
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
Make sure you don't run in single-user mode. Fire up a terminal, as root, then issue the command
init 2
and hit enter You're now for sure booting in runlevel 2, that has networking enabled by default (I know Red Hat defines different runlevels, each with their own bootscripts, but in Debian, runlevels 2-5 are all equal. How democratic is that ) If that doesn't make a difference, try re-installing the network manager and see if the problem vanishes that way. If it does, find out what packages the network manager depends on, then mark those as keepers when you remove it again.
Old 08-26-2011, 07:13 AM   #3
Registered: Jul 2006
Distribution: Debian Testing
Posts: 299

Original Poster
Rep: Reputation: 30
Fixed it

I just had to change allow-hotplug to auto in my interfaces file



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
network not 'active' on bootup PatRay Linux - Networking 0 03-14-2007 09:56 AM
Select Active Network at boot? staniel Linux - Networking 1 03-15-2006 05:56 PM
How to scan network for active IP's? BuckRogers01 Linux - Networking 1 02-05-2006 11:33 AM
no active interface (yet?) network... breezewax Linux - Networking 17 09-16-2004 09:13 PM
Active network connections crabboy AIX 1 08-04-2004 03:14 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:41 AM.

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