LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Eth0 not being recognized in Slackware 9.1 (https://www.linuxquestions.org/questions/linux-networking-3/eth0-not-being-recognized-in-slackware-9-1-a-183313/)

Lucinda 05-19-2004 10:56 AM

Eth0 not being recognized in Slackware 9.1
 
Hello Everyone,

I'm a newbie and have been using Slackware 9.1 for about three weeks now. Everything was going fine until yesterday when I installed a new memory card. My pc recognized the new memory with no problem but now I've got a problem with Slack recognizing eth0 which is the interface to my D-link System ethernet card for my cable modem. My system recognizes the hardware, but the interface itself isn't be created/loaded. When I run "ifconfig", it shows only the lo interface. When I run "ifconfig eth0" it displays some information for eth0, but no IP address (I'm assuming because I couldn't get DHCP to recognize eth0, since it doesn't really exist). In the KDE Info Center I see that the system recognizes the ethernet card, but not the eth0 interface (it shows only the lo interface). So it seems the hardware is being recognized but not the interface.

I've checked all my cable and card connections but nothing seems to be loose. Everything else in the system works fine. Any thoughts I what I should try next? Should I try to reinstall some packages from the Slack 9.1 cd to see if eth0 can be recognized? I'm just not sure what to try next.

Thanks in advance,
Lucinda

winsnomore 05-19-2004 11:35 AM

Please check if the right hardware is seen and the driver is loaded and
do
'lspci' to see what hardware is recognized.
do
'lsmod' to see what driver is loaded.

in system->network .. check the device/hardwre.

if things have gone out of whack, you could to into computer bios (by doning shutdown and restarting the system .. hitiing DEL key or someother key that bios prompts you to do).

Disable ethernet from the bios .. reboot Kudzu will ask you if you want to remove the device from the system .. let't it do that .. let the boot finish ..logi in .. clean up in sytem->network .

Go back to the bios and reenable ethernet .. hopefully everything will come back up by reinstall

sharper 05-19-2004 01:35 PM

Two things you might try

As root, at a command prompt type ifcofig eth0 up

If for some reason the card is not "turned on" this would activate it.

If that doesn't work, again as root from a command prompt type netconfig and you will be presented with some screens asking questions to configure the network.

Systematic 05-19-2004 03:04 PM

Quote:

Originally posted by sharper
Two things you might try

As root, at a command prompt type ifcofig eth0 up

If for some reason the card is not "turned on" this would activate it.

If that doesn't work, again as root from a command prompt type netconfig and you will be presented with some screens asking questions to configure the network.

if the above doesnt work and you still do not get an ip on eth0

try running "dhcpcd" as root.

that should regrab (if thats a word) a dhcp ip... if your setup for dhcp.. if not you should be able to manually assign it.. If dhcpcd doesnt work, i would reun netconfig again and choose static IP and hard code the ip address and see if you can get out that way.. if that doesnt work then its either drivers or hardware... also is your network card an onboard card or an expansion board.. if its an expansion board, i would reseat it.. you mention you installed new memory.. its possible you may have unseated the card (longshot, but known has happened!)

Lucinda 05-20-2004 07:19 PM

Thanks everyone. Finally got it working!!

ppuru 05-20-2004 11:52 PM

how? what/where was the problem. If you could elaborate your troubleshooting steps here, others who may face similar problems would benefit.


All times are GMT -5. The time now is 01:34 AM.