HD system: eth0 no longer set up!
My HD-installed system (version 3.4) has stopped setting up eth0. It was working fine before, then box wasn't used for several months, and when used again, no network connection.
There is no eth0 line in dmesg. However, any of the 'pci' commands will report back detecting the ethernet controller, and I can boot from the CD and eth0 is detected and set up just fine; boot from the hard disk ... not.
From the running HD system, info below from lspci -v
00:09.0 Ethernet controller: Lite-On Communications Inc LNE100TX (rev 20)
Subsystem: Netgear FA310TX
Flags: bus master, medium devsel, latency 64, IRQ 9
I/O ports at ec00 [size=256]
Memory at e7000000 (32-bit, non-prefetchable) [size=256]
Expansion ROM at e6000000 [disabled] [size=256]
'/sbin/ifconfig eth0 up' gives this:
eth0 ERROR when getting interface flags no such device
ls: /dev/eth*: No such file or directory
Where do I need to be looking at to troubleshoot this device problem?
Thanks, john
eth0 problem -- some progress made...
I've kept searching, and finally did 'locate modules', which has been informative. Haven't always paid attention to the boot-up sequence, but did and found that it copies a kernel-specific module file into a "generic" module file. Looking in there I found a '3C509' module, instead of 'tulip'.
I realized I'd swapped nic's between knoppix box and router box some time ago. I edited the kernel/module file and now the right module gets loaded. However, dhcp is not getting an address setup, even though the boot up screen shows it asking for dhcp.
Is there a setup program on the installed HD system to help deal with and correct this?
Thanks,
John
HD system: eth0 no longer set up! -- SOLVED!!!
After a good deal of googling, and using the live Cd, and reading though many config files under /etc/, I finally found out how to get changed hardware (I had swapped nics with another box, some time ago and didn't remember this until recently) updated.
And the answer is ...
/etc/init.d/knoppix-hd-autoconfig
After running this manually and rebooting, everything works OK now.
HTH anyone else who has an issue. If you have problems and the live cd works OK on the same box, try using this to correct problems of new hardware installed in the box.