• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    TFTP issues

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    16
    4.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      cokewithvanilla
      last edited by

      would this make a difference for PXE? I mean, I am running the test because the PXE boot getrs stuck at “TFTP…”

      i opened port 69 and am still having the issue

      1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by

        It’ll simplify testing for you…
        If it works in Windows, then it will work with pulling a boot file from TFTP.

        Also, it’s not necessary to do this on your server. Just do it from a windows client.

        1 Reply Last reply Reply Quote 0
        • Wayne WorkmanW
          Wayne Workman
          last edited by

          Also, you might wanna check this out: [url]http://fogproject.org/wiki/index.php/Troubleshoot_TFTP[/url]

          I just made that, as this problem comes up so often.

          1 Reply Last reply Reply Quote 0
          • C
            cokewithvanilla
            last edited by

            I have disbaled the firewall on the server, now it seems to work. ONly one issue, I now get “No such fire or directory” error when trying to boot

            1 Reply Last reply Reply Quote 0
            • Wayne WorkmanW
              Wayne Workman
              last edited by

              What is the output of:
              [CODE]cat /etc/xinetd.d/tftp[/CODE]

              1 Reply Last reply Reply Quote 0
              • C
                cokewithvanilla
                last edited by

                no such file or directory

                1 Reply Last reply Reply Quote 0
                • Wayne WorkmanW
                  Wayne Workman
                  last edited by

                  Can you try to create that file, as seen here: [url]http://fogproject.org/wiki/index.php/Troubleshoot_TFTP#TFTP_Service[/url]

                  After you’re done, restart the TFTP service and try again from windows.
                  Let us know…

                  Also, feel free to read around in that WiKi page… there’s a lot of stuff in there.

                  Also,

                  What is the output of this?
                  [CODE]cat /etc/default/tftpd-hpa
                  [/CODE]

                  the /etc/default/tftpd-hpa might look like this:

                  [CODE]# /etc/default/tftpd-hpa

                  FOG Modified version

                  TFTP_USERNAME=“root”
                  TFTP_DIRECTORY=“/tftpboot”
                  TFTP_ADDRESS=“0.0.0.0:69”
                  TFTP_OPTIONS=“-s”[/CODE]

                  1 Reply Last reply Reply Quote 0
                  • Wayne WorkmanW
                    Wayne Workman
                    last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • C
                      cokewithvanilla
                      last edited by

                      I just did that, reset, and i am getting the same message. I have also checked the tftpd-hpa file, and it is identical to yours

                      I have also disabled the firewall in ubuntu, changed permissions to 777, made sure iptables was correct

                      1 Reply Last reply Reply Quote 0
                      • Wayne WorkmanW
                        Wayne Workman
                        last edited by

                        What is running DHCP? Have you set options 66 and 67 ?

                        1 Reply Last reply Reply Quote 0
                        • C
                          cokewithvanilla
                          last edited by

                          Fog is doing DHCP. I believe options 66 and 67 are set, but how do I look? I recall there being some file with that info but i forget where

                          1 Reply Last reply Reply Quote 0
                          • Wayne WorkmanW
                            Wayne Workman
                            last edited by

                            The file is here: /etc/dhcp/dhcpd.conf

                            Here is my reference: [url]http://askubuntu.com/questions/221329/how-do-i-configure-dhcpd[/url]

                            If FOG has configured DHCP for itself, it’s almost surely correct. Also, if FOG is doing DHCP, you only need option 67 configured for it, which should already be done.

                            Please do a TCP dump on your FOG server.

                            Taken from another post by Uncle Frank:

                            [CODE]sudo tcpdump -w issue.pcap -i eth0[/CODE]

                            You might need to change the interface name in the above command, seems like I have never had an interface named eth0 in Linux… This command will list all available interfaces. Pick the right one.
                            [CODE]ip link show[/CODE]

                            Run the above capture command on the FOG machine, then start the remote target host. Wait till it fails, then stop tcpdump (ctrl+c), transfer the PCAP file to your PC and examine it using wireshark. After the capture is completed, please use the MAC address of the target host as the filter for sender & receiver. This address will filter out ALL traffic that isn’t coming from or going to the target client.

                            Example Filter (change the MAC addresses):
                            [CODE]eth.dst == 00:0C:CC:76:4E:07 || eth.src==00:0C:CC:76:4E:07[/CODE]

                            Please also post this PCAP file so we can look at it and see what’s going on. And if you don’t filter the file for us, we will need the target host’s MAC as well so we can filter it.

                            #LetsMakeScripts

                            1 Reply Last reply Reply Quote 0
                            • 1 / 1
                            • First post
                              Last post

                            153

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project