<div>I added "ksdevice=link" to the append option in pxelinux.cfg/default and it seemed to help.  Now I am not prompted to choose which nic to use.  However, before the kickstart config file is found, the install tries to get the nic config from dhcp.  This fails and then I'm prompted to enter the network configuration.
</div>
<div> </div>
<div>Are there other options I can append in pxelinux.cfg/default that will tell the client what its network config should be?</div>
<div> </div>
<div>What I don't understand is why the client is able to get an IP from DHCP to boot off the tftpboot server, but then it is unable to get or keep the IP to configure the nic during the insall.  Any ideas?  My pxe and dhcp configs are below.
</div>
<div> </div>
<div>Thanks!</div>
<div> </div>
<div>[<a href="mailto:root@192.168.1.61">root@192.168.1.61</a> pxelinux.cfg]# pxeos -l<br>sec-trn-lnx01<br>        Description:    sec-trn-lnx01<br>        Protocol:       NFS<br>        isDiskless:     False<br>        Server:         
<a href="http://192.168.1.61">192.168.1.61</a><br>        Location:       /kickstart/media/rhel4-u1-as</div>
<div><br>
<p>[<a href="mailto:root@192.168.1.61">root@192.168.1.61</a> pxelinux.cfg]# pxeboot -l<br>default sec-trn-lnx01</p>
<p>label sec-trn-lnx01<br>    kernel sec-trn-lnx01/vmlinuz<br>    append initrd=sec-trn-lnx01/initrd.img  ks=nfs:192.168.1.61:/kickstart/ks-files/192.168.1.62-kickstart.cfg ramdisk_size=10000  ksdevice=link<br></p>
<p>[<a href="mailto:root@192.168.1.61">root@192.168.1.61</a> pxelinux.cfg]# cat /etc/dhcpd.conf<br>ddns-update-style interim;<br>ignore client-updates;</p>
<p>allow booting;<br>allow bootp;<br>subnet <a href="http://192.168.1.0">192.168.1.0</a> netmask <a href="http://255.255.255.0">255.255.255.0</a> {<br># --- default gateway<br>        option routers                  <a href="http://192.168.1.1">
192.168.1.1</a>;<br>        option subnet-mask              <a href="http://255.255.255.0">255.255.255.0</a>;</p>
<p>        option nis-domain               "<a href="http://blah.com">blah.com</a>";<br>        option domain-name              "<a href="http://blah.com">blah.com</a>";<br>        option domain-name-servers      blah blah;
</p>
<p>        option time-offset              -18000; # Eastern Standard Time<br>        option ntp-servers              <a href="http://ntp.blah.blah.com">ntp.blah.blah.com</a>;<br>        range dynamic-bootp <a href="http://192.168.1.63">
192.168.1.63</a> <a href="http://192.168.1.65">192.168.1.65</a>;<br>        default-lease-time 600;<br>        max-lease-time 600;</p>
<p>        host sec-trn-lnx01 {<br>                next-server <a href="http://192.168.1.61">192.168.1.61</a>;<br>                #next-server <a href="http://marvin.redhat.com">marvin.redhat.com</a>;<br>                hardware ethernet 00:0D:9D:DC:F6:89;
<br>                fixed-address <a href="http://192.168.1.62">192.168.1.62</a>;<br>                filename "linux-install/pxelinux.0";<br>        }<br>}<br></p><br> </div>
<div><span class="gmail_quote">On 12/16/05, <b class="gmail_sendername">Sébastien Aperghis-Tramoni</b> <<a href="mailto:maddingue@free.fr">maddingue@free.fr</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">John Fox <<a href="mailto:jpfox17@gmail.com">jpfox17@gmail.com</a>> wrote:<br><br>> Hi,<br>><br>
> I'm running RHEL 4 U1 AS.  I got my kickstart working with PXE, TFTP, DHCP,<br>> NFS, etc.  I'm able to see my kickstart config file and most of the config<br>> is picked up during the install, except for the network config.  I get
<br>> prompted to choose which NIC to configure and then I have to specify the<br>> configuration.  After that, the install goes pretty well, but I need to be<br>> able to automate the NIC configuration piece.  Here is the network line from
<br>> my kickstart file (all one line):<br>><br>> network --device eth0 --bootproto static --ip <a href="http://10.1.182.62">10.1.182.62</a> --netmask<br>> <a href="http://255.255.255.0">255.255.255.0</a> --gateway 
<a href="http://10.1.182.1">10.1.182.1</a> --nameserver <a href="http://10.1.180.226">10.1.180.226</a> --hostname<br>> host1<br>><br>> The machine that is being built is an HP DL380 w/2 GigE NIC cards.<br><br>I think someone previously said that this can be done by adding
<br>"ksdevice=link" to the append option in your pxelinux.cfg/default.<br>This should autoselect the device physically connected to the network.<br><br>--<br>Sébastien Aperghis-Tramoni<br><br>Close the world, txEn eht nepO.
<br><br>_______________________________________________<br>Kickstart-list mailing list<br><a href="mailto:Kickstart-list@redhat.com">Kickstart-list@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/kickstart-list">
https://www.redhat.com/mailman/listinfo/kickstart-list</a><br></blockquote></div><br>