HOWTO : Untangle 7.1 on Intel Desktop Board D510MO

*** UPDATED ON NOVEMBER 20, 2010 : This tutorial is also work for Untangle 8.0 on Intel Desktop Board D510MO. The Realtek wireless card driver is updated to r8168-8.020.00. ***



Intel Desktop Board D510MO equipped with Intel Atom D510 processor and Realtek 8168B PCI-e onboard LAN. It is launched in the first quarter of 2010. The board will be available on Jan 4, 2010 in Hong Kong.



** This tutorial is prepared by me on Jan 2, 2010. Now, I share it here as there are some users do not know how to install Untangle 7.1 on this good motherboard. **



The kernel of Untangle 7.1 does not work on the captioned LAN card on the motherboard. We need to do something to make it work. However, Ubuntu 9.10 do recognized the onboard LAN card.



Step 1 :



Insert another new PCI LAN card to the motherboard. I recommended not to use Realtek chipset LAN card. I use D-Link Gigabit PCI Ethernet Card (DGE-530T) which is equipped with Marvell chipset and it is a low profile design.



The onboard Realtek LAN will be eth1 while the new inserted LAN card will be eth0.



Plug the CAT5e or CAT6 cable to the eth0 which then connect to the internet and the cable that connected to eth1 will be plugged into the gigabit switch.



Step 2 :



Install Untangle as usual. In the first stage of installation, the Untangle will recognize two network interfaces. However, the system reboot automatically and go to stage 2. Make sure to select "Video Safe Mode" to boot to the next stage of installation. Otherwise, you may encounter the display problem - no screen at all. You can press "CTRL+ALT+Plus" one or two times or may be three times to make the display work. However, the resolution is not correct at all.



Then, the Untanlge only see one network interface which is the eth0 - the PCI LAN card. Go ahead to install.



Step 3 :



After the installation, you will go to the web interface. Exit it and go to the "Terminal" at the dock. Type your desired password (you set it this time) twice. Then, you will ask for password again. Key in and a terminal will be displayed.



nano /etc/apt/sources.list



Copy and paste the following lines to the source.list file.



deb http://ftp.debian.org/debian/ lenny main contrib non-free

deb-src http://ftp.debian.org/debian/ lenny main contrib non-free




Save it.



Step 4 :



apt-get update

apt-get install gcc make

apt-get install linux-headers-`uname -r`




ln -s /usr/src/linux-headers-`uname -r` /usr/src/linux



Step 5 :



The current version of Realtek 8168B driver at the time of writing is 8.015.00 which is released on November 27, 2009.



Download the Realtek 8168B driver from the Realtek official site at Realtek Official Site.



Or, download as the following :



wget http://samiux.volospin.com/r8168-8.015.00.tar.bz2



tar -xvjf r8168-8.015.00.tar.bz2

cd r8168-8.015.00




rmmod r8169



sh autorun.sh



lsmod | grep r8168



If it is not exist, do the following :



depmod -a

modprobe r8168




Step 6 :



echo "\nblacklist r8169\n" >> /etc/modprobe.d/blacklist



mv /lib/modules/`uname -r`/kernel/drivers/net/r8169.ko /lib/modules/`uname -r`/kernel/drivers/net/r8169.ko.bak



* The above is two lines of command.



Step 7 :



mv /boot/initrd.img-`uname -r` /boot/initrd.img-`uname -r`.bak



mkinitramfs -o /boot/initrd.img-`uname -r` `uname -r`



* The above is two lines of command.



Step 8 :



Uncomment the two entries that added to the file /etc/apt/sources.list previously with "#". Make sure you do this step; otherwise it will affect the Untangle when there is an update.



Reboot Untangle and then configure the box accordingly.



Reference



Intel D510MO motherboard

Untangle Official Site



Known issue



When the kernel of Untangle is updated, you need to recompile and reinstall the Realtek driver.



That's all! See you.