Novell Cool Solutions

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

coolguys

By:

October 11, 2006 12:00 am

Reads:7,685

Comments:0

Score:Unrated

Print/PDF

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.
0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.
Loading...Loading...

Categories: Uncategorized

0

Disclaimer: This content is not supported by Novell. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.

Comment

RSS