Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-19-2004, 11:56 AM
|
#1
|
Member
Registered: May 2004
Location: Atlanta, GA
Distribution: Slackware Current
Posts: 54
Rep:
|
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
|
|
|
05-19-2004, 12:35 PM
|
#2
|
Member
Registered: May 2004
Location: USA
Distribution: #1 PCLinuxOS -- for laughs -> Ubuntu, Suse, Mepis
Posts: 315
Rep:
|
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
|
|
|
05-19-2004, 02:35 PM
|
#3
|
Member
Registered: Aug 2002
Location: MN USA
Distribution: slakware 9.0
Posts: 121
Rep:
|
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.
|
|
|
05-19-2004, 04:04 PM
|
#4
|
Member
Registered: May 2004
Location: Mechanicsburg, PA
Distribution: Mainly Slackware, but test run various different distros.
Posts: 77
Rep:
|
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!)
|
|
|
05-20-2004, 08:19 PM
|
#5
|
Member
Registered: May 2004
Location: Atlanta, GA
Distribution: Slackware Current
Posts: 54
Original Poster
Rep:
|
Thanks everyone. Finally got it working!!
|
|
|
05-21-2004, 12:52 AM
|
#6
|
Senior Member
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791
Rep:
|
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 07:11 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|