2008年4月10日 星期四

Ubuntu r8169.ko Drive make

FROM: http://ubuntuforums.org/showthread.php?t=671614

Re: Gutsy install selects wrong driver for Realtek RTL8111C

--------------------------------------------------------------------------------

I had the same problem. I had to use Google for a long time, till i found a solution in a german forum (i am from germany; sorry for my english if it's too bad). Here are the instructions:

First, you need to rename the r8169 driver, because it won't work with this one.

> mv /lib/modules/`uname -r`/kernel/drivers/net/r8169.ko /lib/modules/`uname -r`/kernel/drivers/net/r8169.ko.old
> depmod -a

To save the current ramdiscimage and make a new one:
> mv /boot/initrd.img-`uname -r` /boot/initrd.img-`uname -r`.old
> mkinitramfs -o /boot/initrd.img-`uname -r`

Now you have to reboot. After this, it worked for me. To see weather the right module is loaded, you can use this:
> lsmod | grep r81*

There it showed me the right module, r8168.

Maybe it helps you, too.

Globemaster

1 則留言:

匿名 提到...
網誌管理員已經移除這則留言。