• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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 Apr 14, 2015, 11:48 PM

    A while back, my fog server went down. Linux did updates, then the server stopped working. I thought, alright, ill reload ubuntu and turn off auto update. I have since tried to load fog about 50 times with no success, using every version of linux i can find. The major problem I have is tftp. I cannot connect to tftp from the windows command line. I can from within linux.

    I have gone through every threat on tftp, i have done everything suggest, permissions, etc. I cannot get it to work. Any suggestions?

    1 Reply Last reply Reply Quote 0
    • W
      Wayne Workman
      last edited by Apr 15, 2015, 12:13 AM

      We can help, we deal with this all the time.

      What distro of Linux and what version are you currently using?
      What version of FOG (or what revision, look at the cloud in the top left corner of the log on page) ?

      Please post your installation log. It’s here: /var/log/foginstall.log

      And, if you can,
      Give us a screen shot of how you use the Command Prompt in windows to connect to the /tftpboot directory via tftp.

      1 Reply Last reply Reply Quote 0
      • C
        cokewithvanilla
        last edited by Apr 15, 2015, 11:49 AM

        Ubutnu 14.04 Desktop x64. I’ve tried older versions, and server versions as well

        [IMG]http://www.illogicality.net/screenshot.png[/IMG]

        1 Reply Last reply Reply Quote 0
        • W
          Wayne Workman
          last edited by Apr 15, 2015, 12:01 PM

          Please temporarily disable your windows firewall, and test again. If it works, you need to punch a hole out for port 69 inbound and outbound.

          [IMG]http://s7.postimg.org/4u8x3juiz/TFTP.png[/IMG]

          1 Reply Last reply Reply Quote 0
          • C
            cokewithvanilla
            last edited by Apr 15, 2015, 1:26 PM

            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
            • W
              Wayne Workman
              last edited by Apr 15, 2015, 1:29 PM

              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
              • W
                Wayne Workman
                last edited by Apr 15, 2015, 1:42 PM

                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 Apr 15, 2015, 2:27 PM

                  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
                  • W
                    Wayne Workman
                    last edited by Apr 15, 2015, 3:01 PM

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

                    1 Reply Last reply Reply Quote 0
                    • C
                      cokewithvanilla
                      last edited by Apr 15, 2015, 3:55 PM

                      no such file or directory

                      1 Reply Last reply Reply Quote 0
                      • W
                        Wayne Workman
                        last edited by Apr 15, 2015, 4:39 PM

                        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
                        • W
                          Wayne Workman
                          last edited by Apr 15, 2015, 5:14 PM

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • C
                            cokewithvanilla
                            last edited by Apr 15, 2015, 8:46 PM

                            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
                            • W
                              Wayne Workman
                              last edited by Apr 15, 2015, 10:43 PM

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

                              1 Reply Last reply Reply Quote 0
                              • C
                                cokewithvanilla
                                last edited by Apr 16, 2015, 12:27 AM

                                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
                                • W
                                  Wayne Workman
                                  last edited by Apr 16, 2015, 1:03 AM

                                  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
                                  1 / 1
                                  • First post
                                    8/16
                                    Last post

                                  141

                                  Online

                                  12.0k

                                  Users

                                  17.3k

                                  Topics

                                  155.2k

                                  Posts
                                  Copyright © 2012-2024 FOG Project