LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-03-2009, 09:01 AM   #1
Jurrian
Member
 
Registered: Sep 2008
Posts: 58

Rep: Reputation: 15
eth0 not working at boot


Hi all,

After I made a mess of my system in a try to solve a problem, I need to fix one little thing. I removed procps, since it was not working correctly, but it also removed all dependency's. I reinstalled all, and everything is working again, except that my pc has no network connection at boot. Only after running the following command, i have internet acces:

/etc/sysconfig/network-scripts/ifup eth0

But that seems to be a nasty workaround, since it worked before I removed procps. Can anyone help me?

I am using fedora core 9.
 
Old 02-03-2009, 09:40 AM   #2
watcher69b
Member
 
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 544

Rep: Reputation: 40
as root
edit
/etc/sysconfig/network-scripts/ifcfg-eth0

there should be a string onboot=no
change it to onboot=yes or you may need to add the string all together

Last edited by watcher69b; 02-03-2009 at 09:43 AM.
 
Old 02-03-2009, 09:46 AM   #3
Jurrian
Member
 
Registered: Sep 2008
Posts: 58

Original Poster
Rep: Reputation: 15
it already says onboot=yes , and there are no spaces in it..
 
Old 02-03-2009, 10:08 AM   #4
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,026

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
the quick-and-dirty workaround would be to add this to /etc/rc.d/rc.system
Code:
/etc/sysconfig/network-scripts/ifup eth0
good luck
 
Old 02-03-2009, 10:27 AM   #5
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 5.4, Mac OS 10.4 (tiger)
Posts: 1,005

Rep: Reputation: 79
Check the network service is actually starting at boot with "chkconfig --list network". Might be something you did with procps did something bad to the network scripts...

Else wise the other thing to check in the network configuration file is the bootproto line, should be either DHCP or Static depending on the configuration of the script.
 
Old 02-03-2009, 01:33 PM   #6
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 5.4, Mac OS 10.4 (tiger)
Posts: 1,005

Rep: Reputation: 79
I thought I had seen this before...

http://www.linuxquestions.org/questi...t-mode-701864/

The answer is,

Chkconfig --level 2345 network on

this should start eth0 at boot up.

Opps, should have edited, didn't look too well... sorry for the double post.
 
Old 02-04-2009, 02:57 AM   #7
Jurrian
Member
 
Registered: Sep 2008
Posts: 58

Original Poster
Rep: Reputation: 15
Thumbs up

thanks, that fixed it thanks all for help!
 
  


Reply


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
eth0 not working.. Shioni Linux - Networking 10 04-01-2006 04:35 AM
eth0 and eth0:1. Default gateway is not working Fillys6 Linux - Networking 1 12-21-2005 10:33 AM
eth0 is not working Smokey Slackware 5 06-06-2005 08:53 PM
eth0 not working ANSW3R Linux - Networking 3 02-10-2005 06:09 AM
eth0? not working jotus Red Hat 13 11-03-2003 10:19 PM


All times are GMT -5. The time now is 01:03 AM.

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