Page 1 of 1

Ethernet fix for FoxConn M.B. A6VMX2

Posted: Mon Dec 07, 2009 7:06 pm
by dweingarden
Instructions for FoxConn Motherboard A6VMX2-K ethernet fix

The problem is that the Realtek ethernet chip is not properly initialized. The driver r8169 is selected automatically by Linux and doesn't work.
The current solution is to downgrade the driver to r8168. Follow the steps below, the `uname -r` substitutes the linux kernel name in the path:

1) download the driver r8168-8.015.00.tar.bz2 and burn it on a cd for safe keeping and future use.
2) log in as root with the password from the nucore users manual
3) use the file viewer to extract the driver to the /root directory or type tar -vjxf r8168-8.015.00.tar.bz2 in the /root directory
4) cd r8168-8.015.00
5) rmmod r8169
6) mv /lib/modules/`uname -r`/kernel/drivers/net/r8169.ko ~/r8169.ko.backup
7) make clean modules
8) make install
9) depmod -a
10) insmod ./src/r8168.ko .
11) mv /initrd.img ~/initrd.img.backup
12) mkinitramfs -o /boot/initrd.img-`uname -r` `uname -r`
13) echo "r8168" >> /etc/modules
14) echo -e "nblacklist r8169n" >> /etc/modprobe.d/blacklist

Reboot linux to test the repair.

Re: Ethernet fix for FoxConn M.B. A6VMX2

Posted: Fri Dec 03, 2010 5:27 pm
by Chuck
Update 12.03.2010

Here's a slightly easier way to fix this problem:

Make sure you are logged in as root.

If your network doesn't come up power off the machine and unplug the network adapter then remove the power cord. Leave it off for at least 10 seconds. Plug in the power. Do NOT plug the network cable back in. Boot the system. Once it's booted plug in the network cable. Download the script below and un-archive it to your desktop. Once that's done double click the script and hit the RUN button. Once it's complete reboot your system with the network cable plugged in. You should be all set.

NOTE: This is a problem with all Realtek ethernet adapters not just foxconn motherboards.
r8168install.tar.gz
(376 Bytes) Downloaded 1056 times

Re: Ethernet fix for FoxConn M.B. A6VMX2

Posted: Sun May 15, 2011 11:10 am
by Shredso
I'm not a computer guy, but doesn't this script require internet to work? It is asking to fetch a file from the internet which I'm guessing you don't have access to if you are having trouble with your network card driver. The long version worked.