TFTP Error - File Not Found

Discussion in 'FOG Problems' started by GlennG, Feb 13, 2012.

  1. GlennG New Member

    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";
    
    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.
    
    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
    
    
    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
    

    Can't figure out whats wrong here.

    Help appreciated.
  2. GlennG New Member

    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.
  3. Aaron Johnson New Member

    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:
    http://fogproject.org/wiki/index.php?title=Installation_on_Debian_Lenny
  4. VaHam New Member

    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
  5. Corey New Member

    Moved to new thread due to age of this post....

Share This Page