Novell Home

How to Load a Linux Driver Manually in a ZENworks Imaging environment

Novell Cool Solutions: Feature

Digg This - Slashdot This

Posted: 11 Oct 2006
 

Wondering how to manually load a Linux driver with ZENworks Desktop Management Imaging? Here's the answer, based on this TID.

  1. Place the driver (e1000.ko) file on either a floppy or a USB device.
  2. Boot off of the ZENworks bootcd and select Manual mode.
  3. During the loading of the NIC driver an error window will pop up - select OK.
  4. It should then proceed to load the RAM drive and stop at the bash prompt.
  5. Verify that (e1000) driver is not loaded, type "lsmod".
  6. If the module is loaded do the following:
    1. Type "rmmod <drivername>" (i.e. e1000) or the name that is displayed when "lsmod" is run.
    2. The dhcpcd daemon needs to be unloaded. Type "ps -zux". This will display a list of all the processes currently running.
    3. Find the dhcpcd process.
    4. The second column in the display is the Process ID number (PID).
    5. Type "kill -9 <PID>" (process ID of dhcpcd).
    6. To verify that dhcpcd is no longer running, type "ps -aux" and scan the displayed processes.
  7. Mount the floppy drive or USB device
    1. If you're 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 the drive is 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 <drivername>" (e1000.ko)
      7. If an error is returned then a newer version of the module will be needed. If you are returned to a bash prompt then the driver was loaded correctly.
      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 you're using a USB device:
      1. Type "img d" This will show what the device name is for the USB device. For 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 the device is 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 you are returned to a 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 the eth0 interface. If there is no IP address then a newer version of the driver will be needed.


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell