VMware Cloud Community
JeanFlorentine
Contributor
Contributor

which driver is in used with NIC card TP-Link TG-3468 on ESXi5.0

Fresh new install 5.1 from scratch

very comon TP-Link TG-3468 NIC hardware on the server.

just like many guys outhere, i found out: no network connectivity.

So i followed the procedure described by some of theses guys here to install nic-e1000 and nic-e1000e drivers from ESXi 5.0 onto

ESXi5.1

but unlucky, still no network !

Finally i give up installing ESXi 5.1 , and install ESXi 5.0 in place, and guess what, network is working fine with my TP-Link TG-3468 NIC !

So my question is: which driver does use TP-Link TG-3468 NIC on ESXi5.0 ?

If i know that i just have to copy this driver from ESXi5.0 to ESXi 5.1 like i did for nic-e1000(e) and network will work also on ESXi 5.1

Thanks

Jean

0 Kudos
4 Replies
Dave_Mishchenko
Immortal
Immortal

Looks like it uses the realtek driver

The PCI-Express Gigabit-Ethernet network card TP-Link TG-3468 is recognized by Linux (e.g. Ubuntu 12.10) in the following way:

Output lspci
1
2
3
4
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
Subsystem: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller
Kernel driver in use: r8169
Kernel modules: r8169

The card is fully supported by the kernel modul r8169.

You could copy the driver from 5.0 to 5.1 but you'd want to create a custom oem.tgz file.  ESXi builds a ram disk for system files when it boots so if you copy a file to a running ESXi install, it'll be gone on next boot up.

0 Kudos
JeanFlorentine
Contributor
Contributor

Hi Dave,

Are you saying it is possible to import the 5.0 driver into 5.1 ?

r8169 , is it a driver ?

I do not understand this bit : "You: could copy the driver from 5.0 to 5.1 but you'd want to create a custom oem.tgz file.  ESXi builds a ram disk for system files when it boots so if you copy a file to a running ESXi install, it'll be gone on next boot up."

How do i   create a custom oem.tgz file ? And if i do that will it be forever in the system or i have to load it after each boot ?

Sorry for my ignorance, if you could give some more details , would be much appreciated

Thanks

Jean Florentine

0 Kudos
Dave_Mishchenko
Immortal
Immortal

When ESXi boots up it create a RAM disk.  It then extracts a number of packages into tha RAM disk to create the file system you see when you login to the console or via SSH.   If you run ls -l you'll see some folders are mounted disk partitions, but the rest are gone when you reboot ESXi.

Drivers are placed in /usr/lib/vmware/vmkmod/.  When ESXi boots it extracts the packages you see below into the file system.  As you can see a lot of the packages are for drivers.  The below file is boot.cfg and it is found in /bootbank and /altbootbank.

bootstate=0
kernel=tboot.b00
title=Loading VMware ESXi
kernelopt=no-auto-partition
modules=b.b00 --- useropts.gz --- k.b00 --- chardevs.b00 --- a.b00 --- user.b00 --- s.v00 --- ata_pata.v00 --- ata_pata.v01 --- ata_pata.v02 --- ata_pata.v03 --- ata_pata.v04 --- ata_pata.v05 --- ata_pata.v06 --- ata_pata.v07 --- block_cc.v00 --- ehci_ehc.v00 --- weaselin.t00 --- esx_dvfi.v00 --- xlibs.v00 --- ima_qla4.v00 --- ipmi_ipm.v00 --- ipmi_ipm.v01 --- ipmi_ipm.v02 --- misc_cni.v00 --- misc_dri.v00 --- net_be2n.v00 --- net_bnx2.v00 --- net_bnx2.v01 --- net_cnic.v00 --- net_e100.v00 --- net_e100.v01 --- net_enic.v00 --- net_forc.v00 --- net_igb.v00 --- net_ixgb.v00 --- net_nx_n.v00 --- net_r816.v00 --- net_r816.v01 --- net_s2io.v00 --- net_sky2.v00 --- net_tg3.v00 --- net_vmxn.v00 --- ohci_usb.v00 --- sata_ahc.v00 --- sata_ata.v00 --- sata_sat.v00 --- sata_sat.v01 --- sata_sat.v02 --- sata_sat.v03 --- sata_sat.v04 --- scsi_aac.v00 --- scsi_adp.v00 --- scsi_aic.v00 --- scsi_bnx.v00 --- scsi_fni.v00 --- scsi_hps.v00 --- scsi_ips.v00 --- scsi_lpf.v00 --- scsi_meg.v00 --- scsi_meg.v01 --- scsi_meg.v02 --- scsi_mpt.v00 --- scsi_mpt.v01 --- scsi_mpt.v02 --- scsi_qla.v00 --- scsi_qla.v01 --- scsi_rst.v00 --- uhci_usb.v00 --- xorg.v00 --- imgdb.tgz --- state.tgz
build=5.1.0-799733
updated=2

If you just copy a file to usr/lib/vmware/vmkmod it'll be gone when you need boot ESXi.  So you need to create a tgz file that you can add to the boot sequence - see the steps here. http://www.vm-help.com/esx40i/customize_oem_tgz.php.  Once you've created the file you would place it in bootbank and altbootbank and the edit boot.cfg in both locations to end with

-- xorg.v00 --- imgdb.tgz --- oem.tgz --- state.tgz

If you do a fresh ESXi 5.0 install, follow the above process and then upgrade to 5.1,  the 5.0 driver will be used with 5.1.  If the driver still works Ok with 5.1 is another question. 

Thinking about it you wouldn't even need to create the file.  You could just copy the file net_r816.v01 to say net_r816.v02 in both bootbank and altbootbank, then edit boot.cfg in both places to end with

- xorg.v00 --- imgdb.tgz --- net_r816.v02 --- state.tgz

0 Kudos
SergioSa
Contributor
Contributor

Hi,

     I have got, 2 N54L HP Microserver, and installed on it 2 TG-3468 NIC.

     ESXi 5.5 is already installed on both servers, I need to know how to make ESXi5.5 recognize these NICs.

     Can someone put a light on it please?

Thanks

Sergio Sá

0 Kudos