Loses network connectivity on boot...
Hi
I'm running a deiban live-cd (with persistance) running on Lenny but for some reason my LAN connection isn't working correctly. When the machine first boots up it flashes up with... Quote:
Quote:
Quote:
Quote:
Quote:
Of course, what I want is for the device to bootup in a ready and working mode rather than jumping through hoops. From the looks of things it is reassigning itself from eth0 to eth1 (why though?) and not properly configuring the itself or firing DHCP? I've tried setting a static address but that didn't do anything and to be quite frank I'm a linux newbie in all this and feeling lost again. Can anyone point me in the right direction? M |
drydo:
Have you ascertained the system uses the right nic card driver? |
AFAIK, it reports the matching driver and its the correct one. Plus I'm guessing that when the 'dhclient eth1' is executed if I had the wrong driver it would choke on that? + There's only one on-board NIC.
|
You can use an udev rule to make it stick to eth0 http://www.debianhelp.co.uk/udev.htm
|
drydo,
try again: --#: ifconfig -a If eth0 or eth1 are not present, like the which you have posted above, there is big chance that the card is not mounted properly in the system. to counter check: try examine --#: cat /proc/net/route [find out which is what] also try ----#: cat /proc/net/arp [which is using what number] the obstacle maybe lies in the fact that your system is run from CD there is no way we can employ a final fix that guarantees to run the next boot. Unless maybe if you will finally install this debian into the hard drive. You will need extra hop each time you wanted to go online through the NIC, except when your new configuration is burned into another cd wherein you availed the udev rule solution into the new cd. HOnestly I gave time to ponder over the problem, but since I am not a guru my capability to help you is only limited to that. Overall, if the NIC driver is good (is it normal to report IRQ 17 in Linux?), and the hardware connection is healthy, then it is the CD, not your machine. hope this helps. good luck. may a guru come to help you. ameyn. |
Well I managed to crack and you both put me on the right path. Here's how I sorted it...
I pretty much agreed with malekmustaq that the device wasn't being mounted correctly and was being a pest but I was fumbling about until I read the link that makuyl posted. I had a nose into the /etc/udev/rules.d directory and found that the file '70-persistent-net.rules' files was referencing four different MAC addresses and assigning the real mac address to eth1. I commented out the other 3 lines referencing the other mac address and reset the line to eth0. Rebooted and hey presto I've got internet connectivity! + I'm running live-cd from a usb key so the change was proven straight away. Thank you both for pointing me in the right direction... |
drydo,
Congratulations! you got it right. Q--"+ I'm running live-cd from a usb key so the change was proven straight away." Reply: Ow! yea I didn't notice its a USB I thought twas a CD. Right on of course. Good Luck! |
All times are GMT -5. The time now is 07:45 PM. |