Jump to content

eth0 wont start up during boot


schlinki
 Share

Recommended Posts

hello,

 

im sure you people can help me.

 

problem :

 

well it was pretty cool that mandrake (10.0) still runs after upgrading cpu and motherboard, the only problem i have now is, that it wont start eth0 at boot time.

(boot message : bringing up eth0 ... [failed])

 

i have a cable connection which is always on and i can always start the net trough system / configuration / configure your computer ... add new connection.

 

it runs without any problem. but when i reboot i have to do this again.

 

so my question is :

if it cannot be done with those nice gui tools, what are the config files to look at?

my guess is that it expects the network card (which is the same as in the old mb btw.) on some different location (maybe wrong pci-slot?).

how can i tell him to use the new config and forget the old?

 

thanks for reading and hopefully for replies.

 

-s.

Link to comment
Share on other sites

Welcome to the board.

thank you.

 

result while being connected to net :

 

# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
MII_NOT_SUPPORTED=no
WIRELESS_ENC_KEY=""
NEEDHOSTNAME=yes
Untitled 1

 

and result after reboot (no connection) :

 

# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
MII_NOT_SUPPORTED=no
WIRELESS_ENC_KEY=""
NEEDHOSTNAME=yes

 

hmm looks pretty much the same..

Link to comment
Share on other sites

Must be something screwy with your start up network script which is in /etc/rc.d/init.d

Ummm try this, reboot and then in a consol as root run:

./ifup eth0

And then check your connection. It should fire it up.

Link to comment
Share on other sites

nope ifup eth0 didnt work.

and the init scripts look.. well enigmatic to me. :unsure:

 

still i can easily bring up eth0 through mandrake computer configuration..

 

is there some logfile to see what exactly goes wrong during boot?

boot.log doesnt give me more than what ive seen on bootscreen.

Link to comment
Share on other sites

nope ifup eth0 didnt work.

What did it say....

I don't think its in init.d anyway?

 

anyway try

 

/etc/init.d/network restart

 

should bring eth0 back up...

any error copy to a file and then paste back once your connected.

if it works post the output of

ifconfig eth0

Link to comment
Share on other sites

# /etc/init.d/network restart
Shutting down loopback interface:                               [  OK  ]
Setting network parameters:                                     [  OK  ]
Bringing up loopback interface:                                 [  OK  ]
Bringing up interface eth0:                                     [FAILED]

 

and therefore

# ifconfig eth0
eth0: error fetching interface information: Device not found

 

and

# /etc/init.d/network status
Configured devices:
lo eth0
Currently active devices:
lo

 

thats the log-output i get when configuring via mdk configuration tool.. dunno maybe itll help

 

15:20:20 drakconnect[5152]: ### Program is starting ### 
15:20:32 drakconnect[5152]: launched command: /sbin/chkconfig --add internet 
15:20:32 drakconnect[5152]: modified file /etc/sysconfig/network 
15:20:32 drakconnect[5152]: modified file /etc/sysconfig/network-scripts/ifcfg-eth0 
15:20:32 drakconnect[5152]: written eth0 interface configuration in /etc/sysconfig/network-scripts/ifcfg-eth0 
15:20:32 drakconnect[5152]: writing host information to /etc/hosts 
15:20:32 drakconnect[5152]: created file /etc/hosts 
15:20:32 drakconnect[5152]: launched command: /sbin/chkconfig --add internet 
15:20:32 drakconnect[5152]: modified file /etc/sysconfig/network 
15:20:32 drakconnect[5152]: modified file /etc/sysconfig/network-scripts/ifcfg-eth0 
15:20:32 drakconnect[5152]: written eth0 interface configuration in /etc/sysconfig/network-scripts/ifcfg-eth0 
15:20:32 drakconnect[5152]: writing host information to /etc/hosts 
15:20:32 drakconnect[5152]: created file /etc/hosts

Edited by schlinki
Link to comment
Share on other sites

# ifconfig eth0
eth0   Link encap:Ethernet  HWaddr (mac here, correct)
         inet addr:(ip here, correct)  Bcast: (bcast here, correct)  Mask:255.255.255.0
         inet6 addr: (also correct) Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:41042 errors:0 dropped:0 overruns:0 frame:0
         TX packets:3571 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:5231795 (4.9 Mb)  TX bytes:737756 (720.4 Kb)
         Interrupt:16 Base address:0x1000

 

ifconfig eth0 after connecton up is basically the above..

 

/etc/sysconfig/network-scripts/ifcfg-eth0

contains the same things after boot (not connected) and after connection made.

 

see posting #3 this thread. ive pasted them before. :)

(and doublechecked now)

 

 

it seems this is a weird problem?

concerning my update done to the computer : ive upgraded to athlon 64 cpu. but i doubt this has something to do with it, since everything else (really everything) runs fine.

Link to comment
Share on other sites

Might seem a weird question to you , but i have known this to happen before.........

After you boot are you going into the MCC and starting a new connection because of the "bringing up eth0 ..failed" error? have you tried going to a website first?

I used to get that eth0 failed message with an old MDK version (8.*) but it was lying :D it had always connected up.

Link to comment
Share on other sites

after disabling hotplugging it said bringing up interface eth0 [ OK ] during boot. however, eth0 wasnt up, and i still had no connection. btw, what is hotplugging anyway? : )

everytime after reboot i go to the MCC, but i wonder why "Manage Connections" always shows there is no connection. its as if it didnt make a permanent entry in startup scripts or something..

and yes, board has onboard-gigabit-ethernet, but ive disabled it in bios. (to avoid going through register-your-new-network-card-procedure with my isp. (i still had to reactivate windows though))

Link to comment
Share on other sites

Where this line in red is coming from?

# cat /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0

BOOTPROTO=dhcp

ONBOOT=yes

MII_NOT_SUPPORTED=no

WIRELESS_ENC_KEY=""

NEEDHOSTNAME=yes

Untitled 1

If it isn't from some text editor your using, then try this hunch.

Connect up again and then edit the above file removing the line "Untitled 1"

Save and then run:

./ifup eth0

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...