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

    TFTP Problems

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    8
    74
    48.7k
    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.
    • Wayne WorkmanW
      Wayne Workman @bacelo
      last edited by

      @bacelo said:

      iPXE initialising devices…ok
      iPXE 1.0.0+ (3a02) – Open Source Network Boot Firmeware – http://ipxe.org
      Features: NFS FTP HTTP HTTPS ISCSI DNS TFTP VLAN AoE bzimage ELFMBOOT PXE PXEXT
      Configuring (net0 00:22:64:ba:2b:56)…

      Shortly after this part is when the kernel and init are downloaded.
      Those are stored on the FOG server here: http://x.x.x.x/fog/service/ipxe/
      The local path to them on CentOS 7 / Fedora would be: /var/www/html/fog/service/ipxe/

      This is what mine looks like:
      0_1450720255075_Screenshot from 2015-12-21 11-50-33.png

      Make sure those files exist. If they aren’t there or the file sizes look weird, re-run the fog installer.

      Turn your firewall off for testing purposes.
      CentOS 7 / Fedora: systemctl stop firewalld
      Set SELinux to permissive for testing purposes.
      CentOS 7 / Fedora: setenforce 0

      Try again.

      If you have no luck then, then just re-run the fog installer and see what that does.

      Also - a packet capture from the FOG Server during the attempted network boot would be really helpful.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      B 1 Reply Last reply Reply Quote 0
      • B
        bacelo @Wayne Workman
        last edited by

        @Wayne-Workman from what I can see I am missing the last two files.

        Wayne WorkmanW george1421G 2 Replies Last reply Reply Quote 0
        • Wayne WorkmanW
          Wayne Workman @bacelo
          last edited by

          @bacelo Well, I’m running FOG Trunk and you’re running 1.2.0 right? So it won’t be entirely the same.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
          Daily Clean Installation Results:
          https://fogtesting.fogproject.us/
          FOG Reporting:
          https://fog-external-reporting-results.fogproject.us/

          1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator @bacelo
            last edited by

            @bacelo What you need to make sure is the bzImage files and in the init.xz files exist in this location. This part I’m a bit fuzzy on, since I don’t have a FOG server in front of me right now. I think the next thing that should load is the PXE menu. The linux kernel and inits are loaded once you make a selection on the pxe menu.

            does the following url generate a text file (actually the pxe menu)

            http://<fog_server_ip>/fog/service/ipxe/boot.php

            (I did that from memory so it might be wrong) but once the ipxe kernel is loaded it should try to load the default.pxe config file that is redirected to the URL above. That is what creates the ipxe menu. Again I’m doing this from memory and the egg nog may be impacting what I thought I knew.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

            1 Reply Last reply Reply Quote 0
            • B
              bacelo
              last edited by

              Ok so I got to this point and all the files are there I reinstalled linux and Fog server and it does the same when it should boot the menu the pc just restarts.

              1 Reply Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott
                last edited by

                does the screen, during bootup, remain black for a long time? You don’t see the menu, or the menu times out before you see it? This is an important distinction.

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                B 1 Reply Last reply Reply Quote 0
                • B
                  bacelo @Tom Elliott
                  last edited by

                  @Tom-Elliott No, this appears:
                  iPXE initialising devices…ok
                  iPXE 1.0.0+ (3a02) – Open Source Network Boot Firmeware – http://ipxe.org
                  Features: NFS FTP HTTP HTTPS ISCSI DNS TFTP VLAN AoE bzimage ELFMBOOT PXE PXEXT
                  Configuring (net0 00:22:64:ba:2b:56)…
                  then it just restarts the pc. I am going to update the Bios to see if it could be something with the Bios. Other then that I just don’t know what to do or how to see if everything is correct with the boot file.

                  Tom ElliottT 1 Reply Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott @bacelo
                    last edited by

                    @bacelo Are you willing to try trunk?

                    I think you’re seeing the “console” error that 1.2.0 users often times had.

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                    B 2 Replies Last reply Reply Quote 0
                    • B
                      bacelo @Tom Elliott
                      last edited by

                      @Tom-Elliott So what sould I do to fix that??

                      1 Reply Last reply Reply Quote 0
                      • B
                        bacelo @Tom Elliott
                        last edited by

                        @Tom-Elliott I am willing to try anything to make this work

                        Tom ElliottT 1 Reply Last reply Reply Quote 0
                        • Tom ElliottT
                          Tom Elliott @bacelo
                          last edited by

                          @bacelo Can you hit me up in chat?

                          I can maybe teamviewer?

                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                          B 1 Reply Last reply Reply Quote 1
                          • B
                            bacelo @Tom Elliott
                            last edited by

                            @Tom-Elliott can it be in 1 hour you would save my life

                            1 Reply Last reply Reply Quote 0
                            • Tom ElliottT
                              Tom Elliott
                              last edited by

                              it sure can be.

                              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                              1 Reply Last reply Reply Quote 1
                              • B
                                bacelo
                                last edited by

                                OK thanks to Tom Elliott I got the fog server to work kind of the only thing that is missing is on booting the network card it loses the connection to the lan link card and I have to press S and type dhcp and it gets back up and then o type exit and the menu boots up. The problem is that I have to be physically at the client PC for this to work so if I were to deploy the software it won’t go because I have to press S DHCP and then exit and then it will pop up the menu

                                1 Reply Last reply Reply Quote 0
                                • S
                                  Sebastian Roth Moderator
                                  last edited by

                                  @bacelo We’ve reworked the iPXE script lately. Seams like you are in a (DHCP) situation where our script does not properly work. Sounds like an interesting issue. Have you tried activating port fast setting on the switch? I guess Tom has talked about this as well.

                                  Could you please take a picture with your smartphone of all the messages you see and the keys/commands you use to get to the boot menu? To me this sounds like a “timing” issue. When booting up the script does pretty much that (dhcp command). So I wonder why it works when you do this by hand.

                                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                  B 1 Reply Last reply Reply Quote 0
                                  • B
                                    bacelo @Sebastian Roth
                                    last edited by

                                    @Sebastian-Roth 0_1450955963436_image1.JPG
                                    This is the message that I get when it stops. What I do is Press “s” then I type “dhcp” it configurs the dhcp and says ok
                                    then I type “exit” and boom the menu appears . And yes I think it has to do with the timing because it loses conection to the lan card when it runs this script.

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      Sebastian Roth Moderator
                                      last edited by

                                      @bacelo Ok, this really means DHCP is timing out. Can you upload a picture of the command ifstat run in the iPXE shell?

                                      Have you looked into portfast settings on your switch yet? http://www.cisco.com/c/en/us/support/docs/switches/catalyst-6500-series-switches/10553-12.html

                                      What NIC (exact brand, model and possibly PCI IDs) is it?

                                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                      george1421G B 2 Replies Last reply Reply Quote 0
                                      • george1421G
                                        george1421 Moderator @Sebastian Roth
                                        last edited by george1421

                                        @Sebastian-Roth I would tend to agree here with the network being (partially) at fault. I have seen spanning tree cause an issue because it takes too long to move the port into a forwarding state once the link up signal has been sent. By then OS has already given up on the link thinking that it is down. This will generally cause dhcp issues FOG or not, for the first minute or two the port link is up. They created RSTP and portfast to address the slow 30-60 seconds wait for STP topology check.

                                        One quick way to check this is to turn off spanning tree all together on that port where the device is. (ONLY TURN IT OFF to test if spanning tree is your problem or not. Do not leave the port in this state if it is in the user domain)

                                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

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

                                          I have to agree with the others, this sounds like portfast isn’t turned on. Sounds instead like spanning tree is in use.

                                          Did Tom put you on FOG Trunk or are you still on 1.2.0 ?

                                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                                          Daily Clean Installation Results:
                                          https://fogtesting.fogproject.us/
                                          FOG Reporting:
                                          https://fog-external-reporting-results.fogproject.us/

                                          B 1 Reply Last reply Reply Quote 0
                                          • B
                                            bacelo @Wayne Workman
                                            last edited by

                                            @Wayne-Workman yes it’s fog Trunk but what should i do know?

                                            Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 3 / 4
                                            • First post
                                              Last post

                                            162

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project