-
Junior Member
registered user
Lost eth0 after apt-get upgrade
I installed Knoppix 3.7 to my hard drive. All was well, but then I decided to use apt-get to upgrade stuff. Now my eth0 lights up, but is not recognized as a device. There is no entry in /dev for eth0 (I assume there should be). Trying to give eth0 an address, or bring it up using ifconfig yields:
SIOCSIFADDR: No such device
eth0: Error while getting interface flags: No such device
Doing ifconfig only shows the loopback. My /etc/network/interfaces reads as
follows:
auto lo
iface lo inet loopback
The /var/log/messages file has nothing of interest.
During boot, there is something about eth0 being redirected to /dev/null, but I'm not sure why. During the upgrade process it did ask to shut down the PCMCIA service and didn't bring it back up afterwards. The NIC lit up after reboot, so I thought it was fine, but then found otherwise.
I could just nuke it all and start over, but where's the fun in that? Where can I troubleshoot to find out the cause of why this isn't working. I'm somewhat new to linux, but not a complete newbie.
Hardware:
HP Omnibook 4100 laptop
3Com card-style network adapter
6gig hard drive
-
Senior Member
registered user
This must be a Knoppix style install, right. I had this happen also. (see this post: http://www.knoppix.net/forum/viewtopic.php?t=14325)
The boot sequence is /etc/init.d/knoppix-autoconfig which starts everything then /etc/init.d/knoppix-hd-config shuts down then attempts to restart eth0 but is unable to. I have no idea why. I edited /etc/init.d/knoppix-hd-config commenting out the eth0 shutdown/restart bit & it worked.
-
Senior Member
registered user
Most likely it would have something to do with the pcmcia-cs package being replaced. I assume you replaced it with the developer's version instead of keeping the custom one as configured by knoppix.
You can partially restore the old version by looking in the /etc/pcmcia directory and look for a file with a dpkg-old extension. Copy the new version to pcmcia.dpkg-new and copy the old version back to pcmcia.
You'll need to restart the pcmcia service to reinitialize the pcmcia slot(s).
HTH,
Durand
-
Junior Member
registered user
I looked in the /etc/pcmcia folder and didn't find any old packages. I also couldn't find the file that "CrashedAgain" referenced. This one stumped me but good.
I finally gave in last night and reinstalled. Everything is working fine, so I will make a note of the pertinent config files, just to make sure I have them right next time.
I still see the redirection to /dev/null during boot, but networking is working fine, so I evidently have much to learn about this OS.
Similar Threads
-
By GottaBuild in forum General Support
Replies: 2
Last Post: 06-06-2006, 06:29 PM
-
By pako in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 08-28-2004, 05:20 PM
-
By smartin in forum Hardware & Booting
Replies: 0
Last Post: 05-08-2004, 07:31 PM
-
By vesselinpeev in forum General Support
Replies: 0
Last Post: 05-26-2003, 09:03 PM
-
By ool in forum Hdd Install / Debian / Apt
Replies: 7
Last Post: 04-04-2003, 07:15 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX
$59.99

Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery
$54.99

GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5
$189.99

ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield
$84.99

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard
$59.99

Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)
$29.90

ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio
$34.99

ASRock AMD BC-250 16GB 128GB SSD Used
$220.00

ASUS B85M-G / B85M-G PLUS LGA1150 DDR3 Micro ATX Motherboard HDMI Support 4thCPU
$45.00

Dell XPS 8940 Desktop Motherboard Intel H470 LGA1200 DDR4 K3CM7 KV3RP 427JK
$154.99