[ipxe-devel] Problem with DHCP

Christian Nilsson nikize at gmail.com
Wed Feb 3 19:36:18 UTC 2016


On Wed, Feb 3, 2016 at 3:43 PM, Tellenbach Daniel
<Daniel.Tellenbach at wincor-nixdorf.ch> wrote:
> Hi
> I’am using ipxe to boot my old PC-Hardware via USB-Stick. The reason why I
> need the USB stick is that the old PC does not support pxe boot via Network.
> So I have setup a TFTP server holding a pxelinux.0 binary. But my problem
> starts when I use the dhcp command to get the ip address. As soon as I call
> the DHCP command, the PC hangs an I have to manually restart it. Here the
> output of the dmidecode command of my Hardware.
>
> Here the script I am using
>
> #!ipxe
>
> # Get ip address
> dhcp
>
> # Override dhcp settings
> echo Override current dhcp settings next-server=${next-server} and
> filename=${filename}
> set next-server 192.168.201.24
> set filename pxelinux.0
>
> # Boot
> echo Booting ${filename} on server ${next-server}
> chain tftp://${next-server}/${filename}
>
> I also compiled the latest  version of pxe.
>
>
> Any idea what is the problem? Please let me know if you need more
> information.
>
> Thanks in advanced
> Dani
>
> P.S The pxe boot in general is working because on newer Hardware it works.
>
> Daniel Tellenbach
> Senior Solution Architect
>
> Wincor Nixdorf AG
> Stationsstrasse 5
> 8306 Brüttisellen, Switzerland
>
> Office: +41 44 835 34 69
> Mobile: +41 79 233 42 69
> daniel.tellenbach at wincor-nixdorf.ch
>
> www.wincor-nixdorf.ch
> Twitter YouTube Xing LinkedIn Facebook
>
>
>
> _______________________________________________
> ipxe-devel mailing list
> ipxe-devel at lists.ipxe.org
> https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel
>


Are you using a USB NIC, or a USB memory stick, or both?
What is the output you get? (printscreen or photo of readable text)

lsusb and lspci -nn should tell which NIC you are using and it's
support, and what is needed to be done to further debug the issue.

Is the script embeded? until you solve the issue with the boot hang
you will want to have a script with just
#!ipxe
shell

so we can debug it properly.

/Christian



More information about the ipxe-devel mailing list