I have an old core-2 duo that I still use with 100 MBit ethernet. I upgraded the rest of my network to gigabit, and now want this machine to join in the fun. I bought a D-Link DGE-530-T card and installed it. I plugged the ethernet cable into the new card, and restarted the machine. No network....
The device is seen by lspci as line 21 below. I posted a few lines both sides in the event that the other Ethernet controller is an issue.
Realtek produces source code for a Linux driver for this card, as noted below:
***********************
<Linux device driver for Realtek Ethernet controllers>
This is the Linux device driver released for RealTek RTL8169S/8110S, RTL8169SB/8110SB, and RTL8110SC.
<Requirements>
- kernel source tree (supported Linux kernel 2.6.x/2.4.20 and latter)
- compiler/binutils for kernel compilation
<Quick install with proper kernel settings>
Check whether the built-in driver, r8169.ko(or r8169.o for linux kernel 2.4.x), is installed.
# lsmod | grep r8169
If it is installed, please remove it.
# rmmod r8169
note: If the built-in driver cannot removed by rmmod, please edit /etc/modprobe.conf and comment 'alias eth0 r8169'. Then, remove it again or reboot your computer.
Unpack the tarball :
# tar vjxf r8169-6.aaa.bb.tar.bz2
Change to the directory:
# cd r8169-6.aaa.bb
If you are running the target kernel, then you should be able to do :
# make clean modules (as root or with sudo)
# make install
# depmod -a
# modprobe r8169
You can check whether the driver is loaded by using following commands.
# lsmod | grep r8169
# ifconfig -a
If there is a device name, ethX, shown on the monitor, the linux
driver is loaded. Then, you can use the following command to activate
the ethX.
# ifconfig ethX up
, where X=0,1,2,...
********************
I DID NOT compile the driver at this point. I simply checked for it first.
I ran the command below as suggested:
frank@office:~$ lsmod | grep r8169
r8169 67581 0
mii 13934 1 r8169
frank@office:~$
Neither of those files is r8169.ko or r8169.o, so I am assuming that the instructions to remove the *.ko or *.o files do not apply to me. The lsmod command shows the r8169 driver is loaded, which is what I would expect on a modern kernel.
ifconig -a yields:
frank@office:~$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:14:5e:64:9e:ce
inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::214:5eff:fe64:9ece/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2737 errors:0 dropped:0 overruns:0 frame:0
TX packets:2463 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1262741 (1.2 MB) TX bytes:433652 (433.6 KB)
Interrupt:16
eth1 Link encap:Ethernet HWaddr c4:a8:1d:fc:b1:05
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:1045 errors:0 dropped:0 overruns:0 frame:0
TX packets:1045 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:159524 (159.5 KB) TX bytes:159524 (159.5 KB)
So I tried sudo ifconfig eth1 up
That command ran with no errors.
However, plugging the ethernet cable into the new device still yields no connection.
I don't want to compile the driver to make it go if I have to keep on recompiling the driver every time I get a kernel update. Just too much work.
At the same time, while it is getting on, it is not Pentium class either. It is a Core-2 duo 2.4 GHz with 3 GB RAM and SATA. I don't consider it to be ancient. It is about 6 to 8 years old, but still serves my needs.
Suggestions?
Frank.
The device is seen by lspci as line 21 below. I posted a few lines both sides in the event that the other Ethernet controller is an issue.
Code:
05:00.0 VGA compatible controller: NVIDIA Corporation G98 [GeForce 8400 GS Rev. 2] (rev a1) 19:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5752 Gigabit Ethernet PCI Express (rev 02) 21:06.0 Ethernet controller: D-Link System Inc DGE-530T Gigabit Ethernet Adapter (rev.C1) [Realtek RTL8169] (rev 10) 21:09.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22A IEEE-1394a-2000 Controller (PHY/Link) [iOHCI-Lynx]
***********************
<Linux device driver for Realtek Ethernet controllers>
This is the Linux device driver released for RealTek RTL8169S/8110S, RTL8169SB/8110SB, and RTL8110SC.
<Requirements>
- kernel source tree (supported Linux kernel 2.6.x/2.4.20 and latter)
- compiler/binutils for kernel compilation
<Quick install with proper kernel settings>
Check whether the built-in driver, r8169.ko(or r8169.o for linux kernel 2.4.x), is installed.
# lsmod | grep r8169
If it is installed, please remove it.
# rmmod r8169
note: If the built-in driver cannot removed by rmmod, please edit /etc/modprobe.conf and comment 'alias eth0 r8169'. Then, remove it again or reboot your computer.
Unpack the tarball :
# tar vjxf r8169-6.aaa.bb.tar.bz2
Change to the directory:
# cd r8169-6.aaa.bb
If you are running the target kernel, then you should be able to do :
# make clean modules (as root or with sudo)
# make install
# depmod -a
# modprobe r8169
You can check whether the driver is loaded by using following commands.
# lsmod | grep r8169
# ifconfig -a
If there is a device name, ethX, shown on the monitor, the linux
driver is loaded. Then, you can use the following command to activate
the ethX.
# ifconfig ethX up
, where X=0,1,2,...
********************
I DID NOT compile the driver at this point. I simply checked for it first.
I ran the command below as suggested:
frank@office:~$ lsmod | grep r8169
r8169 67581 0
mii 13934 1 r8169
frank@office:~$
Neither of those files is r8169.ko or r8169.o, so I am assuming that the instructions to remove the *.ko or *.o files do not apply to me. The lsmod command shows the r8169 driver is loaded, which is what I would expect on a modern kernel.
ifconig -a yields:
frank@office:~$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:14:5e:64:9e:ce
inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::214:5eff:fe64:9ece/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2737 errors:0 dropped:0 overruns:0 frame:0
TX packets:2463 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1262741 (1.2 MB) TX bytes:433652 (433.6 KB)
Interrupt:16
eth1 Link encap:Ethernet HWaddr c4:a8:1d:fc:b1:05
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:1045 errors:0 dropped:0 overruns:0 frame:0
TX packets:1045 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:159524 (159.5 KB) TX bytes:159524 (159.5 KB)
So I tried sudo ifconfig eth1 up
That command ran with no errors.
However, plugging the ethernet cable into the new device still yields no connection.
I don't want to compile the driver to make it go if I have to keep on recompiling the driver every time I get a kernel update. Just too much work.
At the same time, while it is getting on, it is not Pentium class either. It is a Core-2 duo 2.4 GHz with 3 GB RAM and SATA. I don't consider it to be ancient. It is about 6 to 8 years old, but still serves my needs.
Suggestions?
Frank.
Comment