TFTP Error - File Not Found



  • Hi.
    I’m having this weird problem with PXE booting.
    My setup:
    192.168.100.1 FreeBSD firewall (pfSense)
    192.168.100.3 FOG Server
    192.168.100.4 Windows domain controller

    The FreeBSD firewall is the DHCP server.
    I have the next-server and filename option in the config file:
    [CODE] next-server 192.168.100.3;
    filename “pxelinux.0”;
    [/CODE]

    When I try to boot, I get an IP-adress, but I get an error when it tries to download the pxelinux.0 file:
    [CODE]
    PXE-T01: FIle not found
    PXE-E3B: TFTP Error - File Not found
    PXE-M05: Exiting Broadcom PXE ROM.
    [/CODE]

    I am running wireshark on the FOG Server console, and I get no traffic on port 69 when I try booting.
    If i try to download manually with a tftp client, the file gets transferred, and wireshark shows the request in my console.
    [CODE]
    root@imageserver:/tftpboot# tshark -f "host 192.168.100.101 or port 69 or host 192.168.100.1"
    Running as user “root” and group “root”. This could be dangerous.
    Capturing on eth0
    0.000000 HewlettP_91:47:c1 -> Broadcast ARP Who has 192.168.100.1? Tell 192.168.100.140
    38.665370 G-ProCom_6e:be:b9 -> Broadcast ARP Who has 192.168.100.1? Tell 192.168.100.200
    84.106586 70:5a:b6:9f:89:4e -> Broadcast ARP Who has 192.168.100.1? Tell 192.168.100.187
    87.018861 192.168.100.1 -> 255.255.255.255 DHCP DHCP Offer - Transaction ID 0x4c5701a5
    90.058810 192.168.100.1 -> 255.255.255.255 DHCP DHCP ACK - Transaction ID 0x4c5701a5
    90.110043 HewlettP_57:01:a5 -> Broadcast ARP Who has 192.168.100.1? Tell 192.168.100.101
    94.230004 192.168.100.1 -> 255.255.255.255 DHCP DHCP Offer - Transaction ID 0x4d5701a5
    102.306371 192.168.100.1 -> 255.255.255.255 DHCP DHCP ACK - Transaction ID 0x4d5701a5
    110.487790 HewlettP_57:01:a5 -> Broadcast ARP Who has 192.168.100.4? Tell 192.168.100.101

    [/CODE]
    Here’s when I try to read file manually with a tftp client.
    [CODE]
    132.184676 192.168.100.4 -> 192.168.100.3 TFTP Read Request, File: pxelinux.0\000, Transfer type: octet\000
    [/CODE]

    Can’t figure out whats wrong here.

    Help appreciated.



  • Moved to new thread due to age of this post…



  • On most recent version of Debian Squeeze 6.04 you must change the TFTP_DIRECTORY path located in /etc/default/tftpd-hpa from “/images” to “/tftpboot” 18 Feb 2013



  • I’m not sure if this is your problem or not but on recent versions of Debian Squeeze you must change the TFTP_DIRECTORY path located in /etc/default/tftpd-hpa from “/srv/tftp” to “/tftpboot”, or you can just symlink /tftpboot to /srv/tftp.

    I have updated the FOG Debian installation instructions on the wiki:
    [url]http://fogproject.org/wiki/index.php?title=Installation_on_Debian_Lenny[/url]



  • It has worked fine in the past.

    It turns out it works when I set up the FOG server as dhcp server, connect it to a switch that is not connected to anything else, and then try to boot.

    A network problem of some sort.
    Very weird indeed.


 

416
Online

41.5k
Users

12.0k
Topics

113.3k
Posts