Robert Schuettler schrieb am 27. Jul 2010 um 00:33:45 CEST:
> * Michael Blinn <[email protected]> [2010-07-18 09:10]:
> > Thank you - but no. "2nd DHCP address" refers to the 2nd time the one card
> > does a DHCP request. As I understand it, the first is for TFTP, the 2nd is
> > when we bring up the network interface.
> 
> The second one is done from "within" the initrd, when the actual Linux
> system (kernel + stuff on the initrd) is running and asks for an IP
> address. This means that sometimes the 1st (PXE) DHCP request works well and
> then the 2nd one doesn't because
>    1) there's no driver for the network card or
>    2) there are 2 network cards and the Linux system does the request from
>       the wrong one or
>    3) there's a DHCP relay involved and the request goes out via DHCP client
>       strangely so that the relay doesn't work, or ...

We mostly have 2 NICs in our thin clients and case 2) happens from time to
time. The kernel (udev) decides to make the PCI-NIC sometimes eth0 and
sometimes eth1, but usually it keeps this decision between reboots.

You simply pass the kernel the option to use eth1: IPOPTS=:::::eth1

I created a file /var/lib/tftpboot/ltsp/i386/pxelinux.cfg/eth1 with this
contents:

    DEFAULT vmlinuz ro initrd=initrd.img quiet splash IPOPTS=:::::eth1

Then you have to link the booting client to this file. There are different
methods, I prefer the hex representation of the clients IP number:

    decimal: 10.1.1.249  hex: 0A0101F9

And then: ln -s eth1 0A0101F9

A little perl script does this converting for me. I can post it if you are
interested.

HTH
Helmut

-- 
-------------------------------------------------------------------------
Helmut Lichtenberg  <[email protected]>  Tel.: 05034/871-128
Institut für Nutztiergenetik (FLI)         31535 Neustadt         Germany
-------------------------------------------------------------------------

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to