LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-05-2004, 12:15 PM   #1
corpus_delicti
LQ Newbie
 
Registered: Apr 2003
Location: New York
Distribution: Red Hat 8
Posts: 15

Rep: Reputation: 0
eth0 inactive after boot


Hello,

Sorry if this problem has already been answered. I've found many posts that describe the same problem, but I was unable to get any help from them.

Running Fedora...

After bootup, eth0 is inactive. I go into redhat-config-network and activate eth0 and everything works fine. The configurations in redhat-config-network say eth0 should be activated during boot, but it doesn't. It's a real pain to have to manually activate it. Does anyone know how to make eth0 activate automatically during the boot?

Thanks
 
Old 01-05-2004, 12:18 PM   #2
dubman
Member
 
Registered: Jan 2003
Distribution: Redhat 9, Fedora Core 1, Suse 8
Posts: 188

Rep: Reputation: 30
edit your /etc/sysconfig/netowrk-scripts/ifcfg-eth0 file and change the ONBOOT=no to ONBOOT=yes
 
Old 01-05-2004, 12:39 PM   #3
corpus_delicti
LQ Newbie
 
Registered: Apr 2003
Location: New York
Distribution: Red Hat 8
Posts: 15

Original Poster
Rep: Reputation: 0
i forgot to mention it's already set to yes
 
Old 01-05-2004, 12:54 PM   #4
dubman
Member
 
Registered: Jan 2003
Distribution: Redhat 9, Fedora Core 1, Suse 8
Posts: 188

Rep: Reputation: 30
check in /etc/sysconfig/networking for an eth0 profile. If you have a profile for that interface, delete it and just use the ifcfg-eth0 config file. If you have a profile and an ifcfg-eth file with different info, this could casue that problem.

If all else fails, you could use an ugly work-around hack by adding an infup eth0 to /etc/rc.local. This script runs at boot after all other services are loaded.
 
Old 01-05-2004, 11:00 PM   #5
corpus_delicti
LQ Newbie
 
Registered: Apr 2003
Location: New York
Distribution: Red Hat 8
Posts: 15

Original Poster
Rep: Reputation: 0
well, networking didn't have a profile for eth0, so i just made the sloppy hack. thanks for your help
 
Old 01-10-2004, 06:24 PM   #6
Usumbara
LQ Newbie
 
Registered: Jan 2004
Posts: 6

Rep: Reputation: 0
Could you explain how to go about making a "hack"?


I'm having the exact same problem.

And it is set to ONBOOT=Yes
 
Old 01-25-2004, 02:03 PM   #7
alling-by
LQ Newbie
 
Registered: Jan 2004
Posts: 1

Rep: Reputation: 0
Unhappy same problem

I have the same problem after paching som packeges on the rhn.
I dont recall which ones.

[root@www network-scripts]# more ifcfg-eth0
# MYSON Technology Inc|SURECOM EP-320X-S 100/10M Ethernet PCI Adapter
DEVICE=eth0
BOOTPROTO=none
BROADCAST=10.10.10.255
HWADDR=00:02:44:09:CE:68
IPADDR=10.10.10.10
NETMASK=255.255.255.0
NETWORK=10.10.10.0
ONBOOT=yes
TYPE=Ethernet
USERCTL=yes
PEERDNS=no
GATEWAY=10.10.10.1
 
Old 02-02-2004, 08:26 PM   #8
wleven
LQ Newbie
 
Registered: Feb 2004
Posts: 1

Rep: Reputation: 0
I have the same problem with the Fedora Core. My ifcfg-eth0 has the right values and I cannot find any incorrect versions of it lurking around.

The sloppy hack as suggested above worked for me. Simply add

ifup eth0

to your etc/rc.local file. Perhaps there is a bug in the Fedora release. I would definitely like to know the real source of this problem.
 
Old 02-22-2004, 07:43 PM   #9
bmcneil2k
LQ Newbie
 
Registered: Feb 2004
Posts: 16

Rep: Reputation: 0
Well Guy's I'm runing RedHat 9 and have the same issue all of a sudden my eth0 becomes inactive. All I can remember doing is creating some sub interfaces for IP addresses as secondaries.. eth0:1, eth0:2 ...ect now it will not activate, error message

Cannot activate network device eth0

from the Redhat-config -network , ummmmmmmmmmmmm Does anyone know of the fix fro this problem. My ifcfg-eth0 is configured ok , although I had in that directory the file ifcfg-eth0:0, so I copied it to --> ifcfg-eth0 and now I will reboot... but restarted the network services... I'll BE BACK
 
Old 02-22-2004, 07:55 PM   #10
bmcneil2k
LQ Newbie
 
Registered: Feb 2004
Posts: 16

Rep: Reputation: 0
Ok Ok , I now know y my eth0 was stuck in the inactive state.... I change the configuration .. mucking around I selected ( check box alias 0) hence the config file for ifcfg-eth0:0. It seems the interface and config file must reconize itself as eth0 and not any other.. or the system will loose track of the device associated..
Thats my Theory .....
 
Old 07-11-2004, 09:01 AM   #11
benk
LQ Newbie
 
Registered: Jun 2004
Location: Singapore
Distribution: Fedora Core 2
Posts: 22

Rep: Reputation: 15
I have that problem too! Initially, it was the boot sequence. Fedora 2 loaded network before pcmcia. But now, even with the changed sequence, the light for the network card comes on, but the network is set to inactive. I tried your "ifup eth0" but that doesn't seem to help anything. I'm a real newbie here, so any help would be good.
 
Old 07-11-2004, 02:09 PM   #12
mehmetdmc
LQ Newbie
 
Registered: Jul 2004
Location: istanbul-turkey
Posts: 2

Rep: Reputation: 0
if u have any onboard ethernet, u can disable by bios then use an normal ethernet card.

im using suse 9.1 , i had same your problem , than i changed my ethernet now it is working with zoom x5 adsl modem

Last edited by mehmetdmc; 07-11-2004 at 02:22 PM.
 
Old 07-12-2004, 08:01 AM   #13
benk
LQ Newbie
 
Registered: Jun 2004
Location: Singapore
Distribution: Fedora Core 2
Posts: 22

Rep: Reputation: 15
Nope, mine's not onboard. I'm actually using a wireless SMC PCMCIA card. It works well when activated, but never works when I reboot. When I enter the network setup in Gnome, the device is "inactive", but pressing "activate" does not work. It tries to connect, the light blinks, but it can't get the IP info from DHCP. I found the best solution is to press the "deactivate" and then "activate" again. My gut is telling me that there's an incomplete or wrongfully deactivated network setting when I shut down creating problems when booting up. You think? Or it could simply be a Fedora bug.
 
Old 07-23-2004, 10:02 AM   #14
benk
LQ Newbie
 
Registered: Jun 2004
Location: Singapore
Distribution: Fedora Core 2
Posts: 22

Rep: Reputation: 15
I've realised that my gut was wrong about the network module. But nevermind that. The problem now is this. I can get it to "activate" on startup, but in doing so it tries to get an IP address from DHCP. But the odd thing is, if it doesn't it remains "inactive". Is there a way, like in Windows or Mac, where if there's no network, then it activates and ramins at 0% signal and when a network is near it picks it up? Because right now, it takes about half a minute trying to verify DHCP and all that's a real pain when loading up the laptop on the go. So, I've left it to forget about loading it at start up and activate it when I need to. Any way around this?

I'm using Fedora 2 and SMC PC card, BTW.
 
Old 08-25-2004, 02:50 PM   #15
ThePlatypus
LQ Newbie
 
Registered: Aug 2004
Distribution: Red Hat 9
Posts: 5

Rep: Reputation: 0
I also had this problem using Red Hat 9. I had gone through the Internet Configuration Wizard a few times, so I had eth0, eth0:1, and eth0:2. I eventually deleted all but one: eth0:2. After all that, I was having to activate it manually like you all. My ONBOOT was set to 'yes', so I looked for the configuration file (/etc/sysconfig/networking/devices), which I noticed it was named ifcfg-eth0. In my Network Config box, however, my device name was eth0:2.

So, the solution that worked for me is this: I went to my Network Configuration, clicked on the profile I wanted to use, then clicked Edit, I went over to the 'Hardware Device' tab and unchecked 'Device Alias Number' and it started working for me. This changed the device name from eth0:2 to eth0.

Keep in mind that I'm also a Linux newbie, so I don't know if this is the same issue everyone else is having, I just know that it worked for me. Good luck!
 
  


Reply



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 inactive after installation malbery Fedora 2 09-15-2005 01:01 PM
eth0 on boot tdmg Slackware 2 07-12-2005 03:27 PM
eth0 is inactive nethunter Linux - Hardware 2 02-09-2005 09:40 AM
How to remove an inactive eth0 satimis Linux - Networking 7 08-17-2004 06:18 PM
eth0 inactive in RedHat 8.0 reitsma Linux - Networking 13 12-12-2002 05:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:20 PM.

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
Open Source Consulting | Domain Registration