How to get ZENworks imaging to automatically recognize new NICs
This document (3421576) is provided subject to the disclaimer at the end of this document.
Novell ZENworks 10 Configuration Management with Support Pack 1 - 10.1 Imaging
How to get the Imaging kernel to recognize new device id of network cards.
How to add "newid" Parameter twice
"newid" Parameter is already used in z_*.cmd
More than one "newid" parameter is needed in z_*.cmd
or use syntax as follows for using second "newid" Parameter
To determine the VendorID and DeviceID do the following:
Boot from the latest ZENworks Imaging bootcd found on download.novell.com
At the imaging menu select "Manual mode".
An error will occur saying that the network module was not loaded, select "OK".
This will get the user to a bash prompt.
Once at a bash prompt type 'hwinfo --netcard'
This will give information about the network card in the workstation.
Look for Vendor, Device and Driver:
Example: Vendor: pci 0x14e4 "Broadcom" and Device: pci 0x169b and Driver: tg3
The hex values will be the numbers passed using the newid parameter. Write the hex values down for vendor and device IDs
- Reboot the workstation and get back to the imaging menu.
- Once at the imaging menu type a newid command - in the example here it would be this:
(Make sure quotes are used like in this example and the only space that's used is between the two hex values.)
- Then select manual mode and see what happens. If it does not load automatically it is more than likely a new driver will be needed and compiled. For compiling drivers see documentation on Adding or updating LAN cards.
If the driver is loaded automatically then this parameter can be added to a file for PXE or one of 2 different files for the bootcd. See below for details.
The newid string can either be added to the linuxrc.config file in the initrd or the /boot/i386/loader/isolinux.cfg from the bootcd.iso. It's much easier to add it to the isolinux.cfg from the bootcd.iso.
To modify the /boot/i386/loader/isolinux.cfg from the bootcd.iso, open the ISO file with a utility like winiso and add the parameter to both of these append lines in the isolinux.cfg:
Example of isolinux.cfg BEFORE modification:
append initrd=initrd ramdisk_size=67584 vga=0x0314 splash=silent mode=2 CDBOOT=YES showopts
append initrd=initrd ramdisk_size=67584 vga=0x0314 splash=silent mode=5 CDBOOT=YES showopts
append initrd=initrd ramdisk_size=67584 vga=0x0314 splash=silent mode=2 CDBOOT=YES showopts newid="0x14e4 0x169b,tg3"
append initrd=initrd ramdisk_size=67584 vga=0x0314 splash=silent mode=5 CDBOOT=YES showopts newid="0x14e4 0x169b,tg3"
This second way to add the newid string for the bootcd is more difficult: modify the initrd and linuxrc.config file for the bootcd, see Modifiying and updating the Imaging resource files
How to add the newid string for PXE:
***NOTE: See ZDM 7 Imaging File Locations
APPEND initrd=boot/initrd vga=0x314 install=tftp://$TFTPIP/boot rootimage=/root PROXYADDR=$PROXYADDR TFTPIP=$TFTPIP splash=silent PXEBOOT=YES mode=5
Example of CMD /CFG file after modification:
APPEND initrd=boot/initrd vga=0x314 install=tftp://$TFTPIP/boot rootimage=/root PROXYADDR=$PROXYADDR TFTPIP=$TFTPIPsplash=silent PXEBOOT=YES mode=5 newid="0x14e4 0x169b,tg3"(the newid string needs to be on the same line as the APPEND line)
For more information on adding ANY parameter to PXE see: TID 3004541"ACPI and PCMCIA FAQ with ZENworks Imaging".
To determine whether the imaging version being used has the driver needed, boot up with the BootCD and go into maintenance mode to get to a bash prompt. From the bash prompt do either:
NOTE: For ZDM7 only, if the ENGL Imaging Toolkit is being used as a replacement to initrd for pxe boot, the z_*.cmd files are not used. See TID 2007020 at the ENGL site at https://www.engl.co.uk/Support.aspx for instructions on using defmenu.dat.
This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:3421576
- Creation Date:23-JAN-08
- Modified Date:30-JUN-14
- NovellZENworks Configuration ManagementZENworks Desktop ManagementZENworks Linux Management
Did this document solve your problem? Provide Feedback