How to Load a Linux driver manually in a ZENworks Imaging environment

  • 3931695
  • 30-Jan-2008
  • 30-Apr-2012

Environment

Novell ZENworks 6.5 Desktop Management - ZDM6.5 Imaging
Novell ZENworks 7 Desktop Management - ZDM7 Imaging

Situation

Network card will not load.
How do I manually load a Linux driver with ZDM imaging?

Resolution

  1. Place the driver (e1000.ko) file on either a floppy or a USB device.
  2. Boot off ZENworks bootcd and select manual mode.
  3. During the loading of the NIC driver an error will occur and will pop up a window.
  4. Select OK.
  5. It should then proceed to load the RAM drive and stop at the bash prompt.
  6. Verify that (e1000) driver is not loaded, type "lsmod".
  7. If the module is loaded do the following:
    1. Type "rmmod" (i.e. e1000) or the name that is displayed when"lsmod" is run.
    2. The dhcpcd daemon needs to be unloaded. Type "ps -aux". This will display a list of all the processes currently running. Find the dhcpcd process.
    3. The second column in the display is the Process ID number (PID).
    4. Type "kill -9 " (process ID of dhcpcd).
    5. Verify that dhcpcd is no longer running, type "ps -aux" and scan the displayed processes.
  8. Mount floppy driver or USB device
    1. If using a Floppy drive:
      1. Type "mount /dev/fd0 /mnt/floppy"
      2. If /mnt/floppy is not available type "mkdir /mnt/floppy"
      3. Try step 1 again.
      4. Once mounted change directories by typing "cd /mnt/floppy"
      5. List the files in the directory by typing "ls" or "ll"
      6. To load the module type "insmod (e1000.ko)"
      7. If an error is returned then a newer version of the module will be needed. If returned to a bash prompt then the driver was loaded correct.
      8. Type "lsmod" and verify the driver is loaded (i.e. e1000)
      9. Load the network interface by typing "ifconfig eth0 up"
      10. Type"ifconfig" to verify that an eth0 interface is available.
      11. Now a DHCP address needs to be assigned, type "/sbin/dhcpcd -B eth0"
      12. Once this process is complete type "ifconfig" to verify that you have an IP address on eth0 interface. If there is no IP address, then a new version of the driver will be needed.
    2. If using a USB device:
      1. Type "img d". This will show what the device name is for the USB device. Example: /dev/sda1, /dev/sdb1, etc.
      2. Type "mount /dev/sda1 /mnt/usb"
      3. If /mnt/usb is not available type "mkdir /mnt/usb"
      4. Try step 2 again.
      5. Once mounted change directories by typing "cd /mnt/usb"
      6. List the files in the directory by typing "ls" or "ll"
      7. To load the module type "insmod e1000.ko"
      8. If an error is returned then a newer version of the module will be needed. If returned To bash prompt then the driver was loaded correctly.
      9. Type "lsmod" and verify the driver is loaded. (i.e. e1000)
      10. Load the network interface by typing "ifconfig eth0 up"
      11. Type"ifconfig" to verify that an eth0 interface is available.
      12. Now a DHCP address needs to be assigned, type "/sbin/dhcpcd -B eth0"
      13. Once this process is complete type "ifconfig" to verify that an IP address is on eth0 interface. If there is no IP address then a newer version of the driver will be needed.

If trying to load a driver manually that is already on the bootcd:

  1. cd /modules
  2. List the files in the directory by typing "ls" or "ll"
  3. To load the module type"insmod e1000.ko"
  4. If an error is returned then a newer version of the module will be needed. If returned To bash prompt then the driver was loaded correctly.
  5. Type "lsmod" and verify the driver is loaded. (i.e. e1000)
  6. Load the network interface by typing "ifconfig eth0 up"
  7. Type "ifconfig" to verify that an eth0 interface is available.
  8. Now a DHCP address needs to be assigned, type "/sbin/dhcpcd -B eth0"
  9. Once this process is complete type "ifconfig" to verify that an IP address is on eth0 interface. If there is no IP address then a newer version of the driver will be needed.