replacing r8169 with r8168, and modprobe

General support questions including new installations
Post Reply
denault
Posts: 1
Joined: 2011/12/02 00:53:29
Location: Hilo HI

replacing r8169 with r8168, and modprobe

Post by denault » 2011/12/02 01:12:51

I instaledl centos 4.9 to at GA-P45T-ES3G Motherboard with at RTL8111D Ethernet device.
After see many dropped packets via 'ifconfig -a', I found this page:
http://wiki.centos.org/AdditionalResources/HardwareList/RealTekRTL8111b

I applied solution 5-2, installing the dkms-r8168 driver from RPMForge.
The new driver (r8168) loaded , but the problem still existed as the old driver
was still being used by eth0.

Then I edited /etc/modprobe.conf and replaced 'r8169' with 'r8168' in the line:
alias eth0 r8168
Now after a reboot, everything seems to be working and 'ifconfig -a' show NO dropped packets.
But, a 'ls mod' does not show the mii module running (it was running before).

My questions:

1. Was editing /etc/modprobe.conf the correct way to replace the ethernet driver? Is there a better method?

2. What is mii? Do I need it? If yes, how do I get it loading after a reboot.

Tony

User avatar
AlanBartlett
Forum Moderator
Posts: 9324
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: replacing r8169 with r8168, and modprobe

Post by AlanBartlett » 2011/12/02 02:42:09

Welcome to the [i]CentOS[/i] fora.

I hope you realise that there is less than six months before [i]CentOS 4[/i] reaches its EOL. For a new install, [i]CentOS 5[/i] or [i]CentOS 6[/i] would be more appropriate.

[quote]
1. Was editing /etc/modprobe.conf the correct way to replace the ethernet driver? Is there a better method?
[/quote]
Yes, absolutely correct. No.

[quote]
2. What is mii? Do I need it? If yes, how do I get it loading after a reboot.
[/quote]
[url=http://en.wikipedia.org/wiki/Media_Independent_Interface]Media Independent Interface[/url]. No. Not necessary.

User avatar
toracat
Forum Moderator
Posts: 7413
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

replacing r8169 with r8168, and modprobe

Post by toracat » 2011/12/02 02:52:50

[quote]
I hope you realise that there is less than six months before [i]CentOS 4[/i] reaches its EOL. [/quote]
Actually, the EOL is the end of February, 2012. So it's only 3 months from now.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: replacing r8169 with r8168, and modprobe

Post by pschaff » 2011/12/02 15:45:55

[quote]
toracat wrote:
Actually, the EOL is the end of February, 2012. So it's only 3 months from now.[/quote]
Felines are such [i][b]picky[/b][/i] critters! :-D

User avatar
AlanBartlett
Forum Moderator
Posts: 9324
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: replacing r8169 with r8168, and modprobe

Post by AlanBartlett » 2011/12/02 16:44:56

[quote]
Felines are such [i][b]picky[/i][/b] critters! :-D
[/quote]
I prefer to use a different P-word, as in: "[i]That [b]pesky[/b]-cat strikes again![/i]" :-P

Post Reply

Return to “CentOS 4 - General Support”