Difference between revisions of "Tftp timeout...."

From FOG Project
Jump to: navigation, search
(Check DHCP Option 67)
Line 83: Line 83:
  
 
=Check DHCP Option 67=
 
=Check DHCP Option 67=
* Go to your DHCP and confirm that option 67 is set to undionly.kpxe.
+
==FOG 0.1-->0.32==
 +
*Go to your DHCP and confirm that option 67 is set to pxelinux.0
  
 +
==Fog 0.33-->1.x.x
 +
* Go to your DHCP and confirm that option 67 is set to undionly.kpxe
  
 
=Rights to tftpboot folder=
 
=Rights to tftpboot folder=
 
* Are the rights to your tftpboot folder correct?
 
* Are the rights to your tftpboot folder correct?
 
** If you tried the above [http://www.fogproject.org/wiki/index.php/Tftp_timeout....#0.33_and_1.x.x Section-1.5.2] and you get the "Expected results" then the rights are correct.
 
** If you tried the above [http://www.fogproject.org/wiki/index.php/Tftp_timeout....#0.33_and_1.x.x Section-1.5.2] and you get the "Expected results" then the rights are correct.

Revision as of 18:52, 30 October 2014

If you get this issue its usually due to a firewall issue, do the following:

Disable firwall

Fedora 9

service iptables stop 
service ip6tables stop 
 
chkconfig iptables off 
chkconfig ip6tables off

Fedora 16

Add /bin/bash to /etc/shells as the vsftpd yum install does not do it correctly causing tftp timeout message

Fedora 20

systemctl stop firewalld.service && systemctl disable firewalld.service

Ubuntu

sudo ufw disable

Debian

iptables -F
iptables -X
iptables -t nat -F
iptables -t nat -X
iptables -t mangle -F
iptables -t mangle -X
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT

Other Troubleshooting

0.32 and below

  • From your FOG server test out tftp
tftp -v X.X.X.X -c get pxelinux.0
  • From a Windows PC run at the cmd prompt: (Windows TFTP Service must be Installed first)
 tftp x.x.x.x get pxelinux.0

0.33 and 1.x.x

  • From your FOG server test out tftp
tftp -v X.X.X.X -c get undionly.kpxe
  • From a Windows PC run at the cmd prompt: (Windows TFTP Service must be Installed first)
 tftp x.x.x.x get undionly.kpxe


Expected Results

  • If tftp & xinetd are running your should get:
Received XXXX bytes in X.X seconds....


Restart TFTP Service

  • Restart the TFTP service.
service tftpd-hpa restart


Check DHCP Option 67

FOG 0.1-->0.32

  • Go to your DHCP and confirm that option 67 is set to pxelinux.0

==Fog 0.33-->1.x.x

  • Go to your DHCP and confirm that option 67 is set to undionly.kpxe

Rights to tftpboot folder

  • Are the rights to your tftpboot folder correct?
    • If you tried the above Section-1.5.2 and you get the "Expected results" then the rights are correct.