Disclaimer: These instructions are provided on as-is basis. The procedure has been tested on two different hardware configurations, but do not blame me if it does not work on yours.
The latest version of Citrix XenServer Express Edition misses support for Realtek RTL8111/8168B-based Gigabit network adapters, which are quite common. When trying to install XenServer on a system equipped with this card, the installation will stop reporting the error “No Network interfaces found on this host.”
Even though the issue was reported several months ago, no updates have been released for XenServer since the 17th of August 2007, date of the 4.0.1 release. The official procedure for installing additional drivers—also suggested by Citrix in the support forum—seems overcomplicated and at least with my systems, it did not work. So I decided to write this article about how to install the last version of XenServer on systems equipped with Realtek based Gigabit network adapters.
Just follow these steps:
- Download the
r8168.kokernel module here
- Copy the
r8168.kofile to a removable storage
- Boot the XenServer 4.0.1 Installation CD
- Select the Keymap
- Once in the “Welcome to XenServer” page press
Alt+F2(you should get a bash shell with root access)
- Issue the following commands:
#> mkdir storage
#> mount /dev/sdb1 storage(I assume that the removable storage is
/dev/sdb1, change it accordingly to your configuration if this is not the case)
#> cp ./storage/r8168.ko /lib/modules/2.6.18-8.1.8.el5.xs126.96.36.199.163xen/extra/
#> depmod -a
#> modprobe r8168
- Complete the XenServer installation and reboot;
- Boot the system; (you can ignore the errors caused by missing network adapter)
- Login as
- Issue the following commands:
#> mkdir /mnt/storage
#> mount /dev/sdb1 /mnt/storage
#> cp /mnt/storage/r8168.ko /lib/modules/2.6.18-8.1.8.el5.xs188.8.131.52.163xen/extra/
#> cp /mnt/storage/r8168.ko /lib/modules/2.6.18-8.1.8.el5.xs184.108.40.206.163kdump/extra/
#> depmod -a
Now XenServer should finally boot with the network card up and running.
22 July 2010 at 17:04
if there is somebody who have also the problem that the nic of more nic’s disappeared after installation of XenServer 5.5 or 5.6, I’ll tried the above solution and it also works fine.
I did this for working:
mount /dev/sdb1 storage (for non linux people also me, sd_ the third letter is the new storage, watch in the installation storage what the highest letter is and take then the letter after the highest, for example if you have sdf for a drive then you must mount the usb as sdg1)
What I also did I downloaded al the drivers that I saw on this site and after also the update on the given link above and copied all the files to the location sow other drivers also can be found.
If you see ./lib/modules/2 .xxxxxx/ the xxxx are the numbers you see after you pressing TAB after typing 2. Sow you have the correct numbers.
The directory extra doesn’t exist sow you must also create it!
for copy I did the other way because I got errors
#> ls storage
#> cp *.* ./lib/modules/2 .xxxxxx/
after I made a directory extra because it doesn’t exist
#> cd /lib/modules/2.xxxxx/
#> mkdir extra
Going back to the storage and copy the drivers to extra
#> cd /storage
#> cp *.* /lib/modules/2.xxxxx/extra
After I go back and started the installation and booted the pc and I saw my nic’s back (both of them). If something doesn’t work after 48h I’l do the other steps also and post a comment of it.
ps: I also copied the files to /lib and in the 2.xxx directory, I don’t know if it is necessary but I’m a Microsoft user and have basic knowledge of Linux.
But thanks for the solutions above and the linked website where I also downloaded the files for using in 5.5 ! don’t forget to go looking there also!.
6 November 2008 at 05:28
For XS5.0, an r8168.ko file for Realtek RTL8111/8168B based Gigabit Network adapters, can be found here:
3 August 2008 at 22:44
Thank for all, nice job.
17 June 2008 at 03:06
Thanks! Made my day
9 June 2008 at 14:09
My Realtek 3189 NIC turned out to be Dead. I replaced with a D-Link DGE-530T NIC and Xenserver installed as ok.
4 June 2008 at 12:24
Im trying to install Xen 4.1 onto a shuttle PC. I have installed a generic PCI LAN card with the realtek 3189 chipset, but install if failing saying no NIC card installed. will the process detailed here likely work for this card ?