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

    TFTP Open Timeout

    Scheduled Pinned Locked Moved
    FOG Problems
    6
    31
    26.9k
    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.
    • T
      Tyler Wright
      last edited by

      Well, unfortunately the sleep 30 did not make a difference. Instead of waiting until morning, I remoted into my work PC, which remoted into an old imaging server, which remoted into a computer on a different subnet that had VMware Workstation on it.

      Even with the sleep 30, Fog is still not working for other subnets outside of its own.

      1 Reply Last reply Reply Quote 0
      • G
        Gavin Behrens
        last edited by

        just check to see if the process is running again on the linux box “ps -A |grep tftp” if still not running check the logs /var/log on ubuntu

        :$ ps -A |grep tftp
        1184 ? 00:00:00 in.tftpd

        1 Reply Last reply Reply Quote 0
        • T
          Tyler Wright
          last edited by

          The service is still not running. ps -A|grep tftp comes back with nothing.

          I tried to find a log in /var/log that looked like tftp but I could not find one.

          1 Reply Last reply Reply Quote 0
          • G
            Gavin Behrens
            last edited by

            nothing in syslog … can you post the syslog ?

            1 Reply Last reply Reply Quote 0
            • T
              Tyler Wright
              last edited by

              Syslog says this:

              Aug 17 02:41:08 Fog dnsmasq-tftp[885]: sent /tftpboot/pxelinux.0 to 10.120.100.41
              Aug 17 02:41:08 Fog dnsmasq-tftp[885]: error 0 TFTP Aborted received from 10.120.100.41
              Aug 17 02:41:08 Fog dnsmasq-tftp[885]: failed sending /tftpboot/pxelinux.0 to 10.120.100.41
              Aug 17 02:41:08 Fog dnsmasq-tftp[885]: sent /tftpboot/pxelinux.0 to 10.120.100.41
              Aug 17 02:41:08 Fog dnsmasq-tftp[885]: file /tftpboot/pxelinux.cfg/c9a90b22-2b83-11dc-9346-00e01$
              Aug 17 02:41:08 Fog dnsmasq-tftp[885]: file /tftpboot/pxelinux.cfg/01-00-07-e9-1a-82-98 not found
              Aug 17 02:41:08 Fog dnsmasq-tftp[885]: file /tftpboot/pxelinux.cfg/0A786429 not found
              Aug 17 02:41:08 Fog dnsmasq-tftp[885]: file /tftpboot/pxelinux.cfg/0A78642 not found
              Aug 17 02:41:08 Fog dnsmasq-tftp[885]: file /tftpboot/pxelinux.cfg/0A7864 not found
              Aug 17 02:41:08 Fog dnsmasq-tftp[885]: file /tftpboot/pxelinux.cfg/0A786 not found
              Aug 17 02:41:08 Fog dnsmasq-tftp[885]: file /tftpboot/pxelinux.cfg/0A78 not found
              Aug 17 02:41:08 Fog dnsmasq-tftp[885]: file /tftpboot/pxelinux.cfg/0A7 not found
              Aug 17 02:41:08 Fog dnsmasq-tftp[885]: file /tftpboot/pxelinux.cfg/0A not found
              Aug 17 02:41:08 Fog dnsmasq-tftp[885]: file /tftpboot/pxelinux.cfg/0 not found
              Aug 17 02:41:08 Fog dnsmasq-tftp[885]: sent /tftpboot/pxelinux.cfg/default to 10.120.100.41
              Aug 17 02:41:08 Fog dnsmasq-tftp[885]: sent /tftpboot/vesamenu.c32 to 10.120.100.41
              Aug 17 02:41:08 Fog dnsmasq-tftp[885]: sent /tftpboot/pxelinux.cfg/default to 10.120.100.41
              Aug 17 02:41:08 Fog dnsmasq-tftp[885]: sent /tftpboot/fog/bg.png to 10.120.100.41

              1 Reply Last reply Reply Quote 0
              • G
                Gavin Behrens
                last edited by

                so it is proceesing the requests ok - try adding a simple task like mem test or inventory - should all work ok but to get it to boot local have a look at this [url]http://www.fogproject.org/wiki/index.php/Boot_looping_and_Chainloading[/url] - can you post the default file /tftpboot/pxelinux.cfg/default

                1 Reply Last reply Reply Quote 0
                • T
                  Tyler Wright
                  last edited by

                  Here is /tftpboot/pxelinux.cfg/default:

                  DEFAULT vesamenu.c32
                  MENU TITLE FOG Computer Cloning Solution
                  MENU BACKGROUND fog/bg.png
                  MENU MASTER PASSWD $1$0123456789
                  \n
                  menu color title 1;36;44 #ffffffff #00000000 std
                  \n
                  LABEL fog.local
                  localboot 0
                  MENU DEFAULT
                  MENU LABEL Boot from hard disk
                  TEXT HELP
                  Boot from the local hard drive.
                  If you are unsure, select this option.
                  ENDTEXT
                  \n
                  LABEL fog.memtest
                  kernel fog/memtest/memtest
                  MENU LABEL Run Memtest86+
                  TEXT HELP
                  Run Memtest86+ on the client computer.
                  ENDTEXT
                  \n
                  LABEL fog.reg
                  MENU LABEL Quick Host Registration and Inventory
                  TEXT HELP
                  Automatically register the client computer,
                  and perform a hardware inventory.
                  ENDTEXT
                  \n
                  LABEL fog.reginput
                  kernel fog/kernel/bzImage
                  append initrd=fog/images/init.gz root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns= mode$
                  MENU LABEL Perform Full Host Registration and Inventory
                  TEXT HELP
                  Perform a full host registration on the client
                  computer, perform a hardware inventory, and
                  optionally image the host.
                  ENDTEXT
                  \n
                  LABEL fog.quickimage
                  MENU PASSWD $1$0123456789
                  kernel fog/kernel/bzImage
                  append initrd=fog/images/init.gz root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns= mod$
                  MENU LABEL Quick Image
                  TEXT HELP
                  This mode will allow you to image this host quickly with
                  it’s default assigned image.
                  ENDTEXT
                  \n
                  LABEL fog.sysinfo
                  kernel fog/kernel/bzImage
                  append initrd=fog/images/init.gz root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns= mod$
                  MENU LABEL Client System Information
                  TEXT HELP
                  View basic client information such as MAC address
                  and FOG compatibility.
                  ENDTEXT
                  LABEL fog.debug
                  MENU PASSWD $1$0123456789
                  kernel fog/kernel/bzImage
                  append initrd=fog/images/init.gz root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns= mod$
                  MENU LABEL Debug Mode
                  TEXT HELP
                  Debug mode will load the boot image and load a prompt so
                  you can run any commands you wish.
                  ENDTEXT
                  \n
                  PROMPT 0
                  TIMEOUT 30\n

                  1 Reply Last reply Reply Quote 0
                  • G
                    Gavin Behrens
                    last edited by

                    just try updating PXELINUX as described [url]http://www.fogproject.org/wiki/index.php/Boot_looping_and_Chainloading[/url]

                    1 Reply Last reply Reply Quote 0
                    • T
                      Tyler Wright
                      last edited by

                      I did. It had no effect.

                      1 Reply Last reply Reply Quote 0
                      • T
                        Tyler Wright
                        last edited by

                        On the subnet where I have my Fog server setup, it PXE boots just fine. On any other subnet, it will not get a DHCP address which leads it to be unable to PXE boot.

                        1 Reply Last reply Reply Quote 0
                        • G
                          Gavin Behrens
                          last edited by

                          so if that subnet isn’t getting dhcp - is there a scope set on the windows box for that subnet with a pool set - is the pool exhausted ? check to see if the pool isn’t exhausted …

                          1 Reply Last reply Reply Quote 0
                          • G
                            Gavin Behrens
                            last edited by

                            i was under the impression it was getting an ip address ??? you syslog post [B]“sent /tftpboot/fog/bg.png to 10.120.100.41” [/B]

                            right ?[B][/B]

                            1 Reply Last reply Reply Quote 0
                            • G
                              Gavin Behrens
                              last edited by

                              also check to make sure you are able to route to your fog server …

                              1 Reply Last reply Reply Quote 0
                              • G
                                Gavin Behrens
                                last edited by

                                firewall rules ???

                                1 Reply Last reply Reply Quote 0
                                • T
                                  Tyler Wright
                                  last edited by

                                  The pool is definitely not exhausted. If it boots to Windows, it gets its DHCP address.

                                  Yes (to your second post).

                                  In my internal network, there is no firewall whatsoever.

                                  1 Reply Last reply Reply Quote 0
                                  • G
                                    Gavin Behrens
                                    last edited by

                                    tftp on fog ok - running confirmed
                                    dhcp - giving addresses options 66&67 set ok
                                    routing ok
                                    firewall rules (any,any) nothing should be blocked …ok
                                    try from the windows box (10.120.100.x subnet right?) command prompt tftp [I]foghost[/I] get pxelinux.0 ?

                                    1 Reply Last reply Reply Quote 0
                                    • G
                                      Gavin Behrens
                                      last edited by

                                      sorry still won’t fix it anyways
                                      the workstation in the pxe process isn’t being allocated an ip address but an up and running os can ?- can you post a screen shot?

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        Tyler Wright
                                        last edited by

                                        On a Windows box in the 10.110.100.x subnet, the OS pulls this from my DHCP server:

                                        DHCP Enabled: Yes
                                        Autoconfiguration Enabled: Yes
                                        IPv4 Address: 10.110.100.92
                                        Subnet Mask: 255.255.254.0
                                        Default Gateway: 10.110.100.254
                                        DHCP Server: 10.200.200.3

                                        However, if I PXE boot, it never gets DHCP so it doesn’t continue into PXE.

                                        I use to use Alitirs and it worked just fine. We had its PXE server set to “Use the DHCP port.”

                                        1 Reply Last reply Reply Quote 0
                                        • T
                                          Tyler Wright
                                          last edited by

                                          Here’s something else that is interesting:

                                          When I’m booting a PC on the same subnet as my Fog server (10.200.200.203) and I choose to get IP information once I’m inside Fog, it shows that DHCP gave out the correct address.

                                          It has to be something to do with my other PCs being outside of that subnet. We divide each lab into a different subnet so there’s no way that I can really join them all together.

                                          1 Reply Last reply Reply Quote 0
                                          • T
                                            Tyler Wright
                                            last edited by

                                            Alright, somehow, I made progress today. I can now successfully PXE boot in two out of eight labs.

                                            I’ve been attempting to upload an image and when it gets to mounting the NFS share, I get the error: Bad descriptor file and then it restarts. Once again, I’m lost.

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

                                            165

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project