schlinki Posted January 31, 2005 Report Share Posted January 31, 2005 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. Quote Link to comment Share on other sites More sharing options...
Guest anon Posted January 31, 2005 Report Share Posted January 31, 2005 Welcome to the board. Open a consol as root (su) and run: cat /etc/sysconfig/network-scripts/ifcfg-eth0 Make sure "ONBOOT=yes" Quote Link to comment Share on other sites More sharing options...
schlinki Posted January 31, 2005 Author Report Share Posted January 31, 2005 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.. Quote Link to comment Share on other sites More sharing options...
Guest anon Posted January 31, 2005 Report Share Posted January 31, 2005 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. Quote Link to comment Share on other sites More sharing options...
schlinki Posted January 31, 2005 Author Report Share Posted January 31, 2005 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. Quote Link to comment Share on other sites More sharing options...
Gowator Posted January 31, 2005 Report Share Posted January 31, 2005 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 Quote Link to comment Share on other sites More sharing options...
schlinki Posted January 31, 2005 Author Report Share Posted January 31, 2005 (edited) # /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 January 31, 2005 by schlinki Quote Link to comment Share on other sites More sharing options...
Gowator Posted January 31, 2005 Report Share Posted January 31, 2005 so now your connected what does /etc/sysconfig/network-scripts/ifcfg-eth0 contain? also repeat ifconfig eth0 now its connected as you can see its failing on startup so the ifocnfig isn't showing it. Quote Link to comment Share on other sites More sharing options...
schlinki Posted January 31, 2005 Author Report Share Posted January 31, 2005 # 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. Quote Link to comment Share on other sites More sharing options...
Guest anon Posted January 31, 2005 Report Share Posted January 31, 2005 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. Quote Link to comment Share on other sites More sharing options...
schlinki Posted January 31, 2005 Author Report Share Posted January 31, 2005 nope neither ping nor website works. (unknown host...) so its really not lying (sadly). # /etc/init.d/network status Configured devices: lo eth0 Currently active devices: lo Quote Link to comment Share on other sites More sharing options...
devries Posted January 31, 2005 Report Share Posted January 31, 2005 In the MCC, network & internet, manage connection, tab options, disable hotplugging network. (disclaimer: translated from dutch so actual wording can be different) If that doesn't work perhaps the new mobo has an onboard nic? Try disabling that. Quote Link to comment Share on other sites More sharing options...
schlinki Posted January 31, 2005 Author Report Share Posted January 31, 2005 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)) Quote Link to comment Share on other sites More sharing options...
devries Posted January 31, 2005 Report Share Posted January 31, 2005 Maybe a hardware problem? Press the card a bit tighter in it slot? Hotplugging: I forgot what its for but the failed during boot is usually solved by unchecking it. :) Quote Link to comment Share on other sites More sharing options...
Guest anon Posted January 31, 2005 Report Share Posted January 31, 2005 Where this line in red is coming from? # cat /etc/sysconfig/network-scripts/ifcfg-eth0DEVICE=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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.