Hardware & Ethernet Driver Installation & Configuration

     

    1. Insert the D100 PCI/PCIe card into the system PCI slot and boot your Linux system.
      --- 
    2. Depending on your kernel:
      a. The Broadcom or Micrel kernel ethernet driver will automatically load and
            additional ethernet device will appear in: 
            --> cat /proc/net/dev    (proceed to step 5 in this case)
      OR

      b. The kernel does not support Broadcom or Micrel drivers.
           Drivers will have to be compiled and installed manually as shown in the following step
      --- 
    3. Installing Broadcom/Micrel Driver Manually (case: step 2b)
      Run this step only if the kernel does not support the above Ethernet drivers.

      --> cd sng-tc-<ver>/server/eth_driver

      --> ./install.sh 
             The install script will auto detect Broadcom & Micrel support. 
             If drivers are not found it will try to build them for the currently running kernel.
         
             The build steps below will be automatically executed by the install.sh script.     
      --
             For Broadcom                                    For Micrel
             --> Latest Driver tg3-3.116j
             --> cd tg3                                          --> cd   ks8842_pci
             --> make                                           --> make
             --> make install                                 --> make install
    • Note: the contents of the following chart will be covered by the install.sh script and is presented for FYI purposes only

    Broadcom driver (tg3) detection in available driver list
    ->  modprobe -l  | grep tg3 

    If Broadcom driver exists it should have loaded on boot up.
    -> lsmod | grep tg3

    If Broadcom driver is loaded then proceed to configure the ethX device

    Load Broadcom driver into the kernel
    -> modprobe tg3                (load tg3 driver)
    -> lsmod | grep tg3             (confirm tg3 driver is in loaded list)
    -> tail -f /var/log/messages  (confirm tg3 driver has loaded )
    -> cat /proc/net/dev           (confirm new eth device is available)

    Micrel driver (ks8842) detection in available driver list
    ->  modprobe -l  | grep ks8842_pci

    If Micrel driver exists it should have loaded on boot up.
    -> lsmod | grep ks8842_pci

    If Micrel driver is loaded then proceed to configure the ethX device

    Load Micrel driver into the kernel
    -> modprobe ks8842_pci     (load ks8842_pci driver)
    -> lsmod | grep ks8842_pci (confirm ks8842_pci driver is in loaded list)
    -> tail -f /var/log/messages  (confirm ks8842_pci driver has loaded )
    -> cat /proc/net/dev           (confirm new eth device is available)


     

        4.  Configuring ethernet devices and assigning IP addresses
    * Note this step is distro-dependent

    RedHat/Fedora/CentOS
    --> run: system-config-network
    --> Select new eth device created on eth driver module load
    --> Specify a private IP address that is on different subnet than your local LAN.           
          eg: 10.1.1.1  netmask 255.255.255.0   
    --> Leave gateway ip empty 

    To apply network settings run:
    --> /etc/init.d/network restart

    If there are more than one D100 devices in the machine, each D100 eth device must have its own subnet IP.
    Eg: D100 card1 - IP 10.1.1.1
          D100 card2 - IP 10.1.2.1