eth0 - eth1 - eth2 and how to determine which driver they are using
I am using onboard LAN on my ASUS A7N8X-E motherboard and there are two onboard ethernet ports on this:
For the internet connection eth1 (Marvell Yukon Gigabit Ethernet) is used and the driver is sk98lin. For the Local network connection the other port is used (Realtek RTL). The chipset is nForce. Now the question is the LAN doesn't seem to be working. I cannot ping the LAN address of the machine I've connection. Here is the output of lspci: Code:
000:00:00.0 Host bridge: nVidia Corporation nForce2 AGP (different version?) (rev c1) Code:
Module Size Used by Tainted: P I use firestarter firewall, but I don't think the firewall is the problem because even when it is disabled I am unable to ping the LAN machine. The problem is the network configuration tool doesn't tell me which device eth2 refers to. eth1 refers to the Marvell Yukon Gigabit ethernet port. |
Realtek 8139 uses the 8139too module. From the output of lsmod the module is loaded.
Run Code:
dmesg|grep eth Code:
ifconfig Regards |
Output of dmesg|grep eth
Code:
Unknown InputIN=eth2 OUT= MAC=ff:ff:ff:ff:ff:ff:00:c1:26:0e:d4:e8:08:00 SRC=192.168.10.2 DST=192.168.10.255 LEN=96 TOS=0x00 PREC=0x00 TTL=128 ID=2560 PROTO=UDPSPT=137 DPT=137 LEN=76 |
These are your firewall logs showing the packets arriving to your eth1 interface. Since eth2 is down check the cables etc. You have 3 nics, I guess eth0 is the nforce, eth1 is the marvel and eth2 is the realtek and perhaps you put the cable in eth0 instead of eth2
Also run ifconfig to see if eth0, eth2 are configured. |
That's just it. I don't know whether eth2 refers to the Realtek one or not.
Anyway I ran ifconfig eth2 up and here is the result of ifconfig: Code:
eth1 Link encap:Ethernet HWaddr 00:11:2F:35:08:5C I am just unable to determine how to configure eth2 correctly so that it points to the Realtek NIC. |
I will check this out in Windows (which NIC is connected to LAN) and keep you informed.
Thanks for your help so far! |
I can confirm that the Realtek interface is used for the LAN and in Windows it works perfectly.
I have also noted the settings in Windows and I see that it's the same settings that is used in Linux. Also when I activate eth2, I can confirm that the 8139too module is being used and when I deactivate eth2 the module is unused. Still pinging does not work. Any clues? Can anybody help me solve this problem please? |
I feel like an idiot. It was simply a mistake in the gateway IP address. I left it blank now and the network works fine. :) Don't know how I could have missed that one all this time!
I also configured Samba client so I could access the Windows machine from here. |
All times are GMT -5. The time now is 07:09 PM. |