LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Network card not detected by router (https://www.linuxquestions.org/questions/suse-opensuse-60/network-card-not-detected-by-router-374354/)

kingkongadp64 10-18-2005 01:56 PM

Network card not detected by router
 
My router doesn’t see my network card. Under Network Devices I can reach the network card and it seems properly configured but I don’t see anything that says if it is working properly as I do in Windows. I am using Suse 10.0

The configuration is as follows:
-Device Name: eth-id-00:00:C5:0D:a3:51
-IP address assigned using DHCP
-Started automatically at boot

J_K9 10-18-2005 03:03 PM

Hi,

Have you tried doing it the other way? ie. Does your box 'see' the router? Can you ping the router? Have you enabled your card ('sudo ifup eth0'). If it's already up, then 'sudo ifdown eth0 && ifup eth0'. Can you now ping the router?

:)

M

kingkongadp64 10-18-2005 03:46 PM

This is my first Linux experience. I went to: System>Monitor>Network Interfaces and found that the state is up. Ok now how do I take it down and up again and also how do I ping the router?

J_K9 10-18-2005 03:58 PM

Oh, you're new. :) Welcome to LQ!! Heh...

Anyway, back to my point - going into terminal. It should be called Konsole if you're using SUSE, and probably in a category like "System" or something under the main menu. Good. Now, you'll see a cursor flashing on the window that has popped up. Type in the following:

Code:

# sudo ifdown eth0
# sudo ifup eth0
# sudo ping 192.168.1.1

If your router is at an IP address other than the one above, then please change '192.168.1.1' to read your one. If all goes well, it should say "Packet received blah blah blah", and if it doesn't, it'll say "Packet dropped". :O

Please let me know how it goes! ;)

M.

kingkongadp64 10-18-2005 04:25 PM

Ok, I found the Konsole, it looks like the DOS environment. It is called Shell Konsole. I put in the code you gave me but it doesn’t do anything. I don’t get any message after the ping.

J_K9 10-19-2005 01:45 AM

None whatsoever? Right.... Em, could it be that you have incorrectly configured DNS servers? Ok, take a look at the router, and somewhere in its configuration app it should say what DNS servers it's using. Write them down, then go back to your SUSE box. Start up the Konsole again and type in:
Code:

sudo kate /etc/resolv.conf
When Kate starts up, replace the DNS servers with the ones you wrote down (just the IP addresses). Now try the code I supplied above to restart your NIC. Does pinging the router now work? Does the internet work?

I doubt that you have more than one NIC from what you said, but that could be a problem... Or another may be that your have MAC address filtering enabled on your router? Or a limited number on IP addresses which can be leased on DCHP? Take a look...

M. ;)

kingkongadp64 10-19-2005 08:11 AM

Let’s look at this problem differently. I have 2 windows machines already connected on the router and for each port there are 3 lamps. Two green and one amber while on the Linux machine there is only one lamp on, a green one. I switched positions with a window machine just to make sure that the port is ok. So it looks as if the network card is defective on the Linux box but it was ok when that same box was running Windows. I can’t test back with Windows as I removed it to give Linux a try.

J_K9 10-19-2005 08:20 AM

In that case I'm really not sure what is going on. I think you'll find the HCL useful, because you can take a look at your card there and see if others have had similar problems. If they have had something similar, they may even have been kind enough to tell you how to fix it - so check it out! :)

M.

kingkongadp64 10-19-2005 06:50 PM

After doing a few tests, I noticed that the DHCP Package was not installed. I installed the package; it still doesn’t work but this time the Konsole returns different data.

Dhcpcd return the following :

eth0 device: Digital Equipment Corporation DECchip 21041 [Tulip Pass 3] (rev 21)
eth0 configuration: eth-id-00:00:c5:0d:a3:51
Starting DHCP Client Daemon on eth0... . . . . . no IP address yet... backgrounding.
ERROR: Warning: Could not set up default route via interface
Command ip route replace to default via 192.168.1.1 returned:
. RTNETLINK answers: Network is unreachable
Configuration line: default 192.168.1.1 - -
This needs NOT to be AN ERROR if you set up multiple interfaces.
See man 5 routes how to avoid this warning.


All times are GMT -5. The time now is 08:33 AM.