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

Impossible to boot on PXE......

Scheduled Pinned Locked Moved Solved
FOG Problems
pxe fog debian 8 dhcp 66 & 67
7
41
26.6k
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.
  • S
    Sebastian Roth Moderator
    last edited by Jan 25, 2016, 11:08 AM

    @arnaudrigole There is not much information in OPX390.pcapng. I see three DHCP discovery packets (probably from this machine) but nothing else related to DHCP or PXE booting. So this does not look like the boot process is being captured. As well I see “MSFT 5.0” being set as vendor class identifier in thos DHCP discovery packets. Is it windows asking for an IP address? Anyhow. This is not helpful, sorry.

    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

    A 1 Reply Last reply Jan 25, 2016, 1:01 PM Reply Quote 0
    • A
      arnaudrigole @Sebastian Roth
      last edited by arnaudrigole Jan 25, 2016, 7:02 AM Jan 25, 2016, 1:01 PM

      @Sebastian-Roth

      Thanks for your reply!

      Ok, i used filters “tftp && bootp” however …? Which one i must use to do a better capture ?

      MSFT 5.0 ? Strange… i just set up “MAC Adress” “is equal :” in my dhcp strategy as you can see:
      alt text

      Any idea for my second problem?
      I re-ran the installfog.sh , defined IP to 10.1.11.170, IP of the storage node and i looked at all parameters on FOG interface > FOG Configuration > FOG Settings

      And my PC still try to open http://10.1.18.180/fog/service/ipxe/boot.php… ?

      W 1 Reply Last reply Jan 25, 2016, 6:44 PM Reply Quote 0
      • W
        Wayne Workman @george1421
        last edited by Wayne Workman Jun 11, 2016, 11:52 AM Jan 25, 2016, 6:41 PM

        @george1421 said:

        But the filter you should use in wireshark is " bootp || tftp".

        wiki

        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
        • W
          Wayne Workman @arnaudrigole
          last edited by Jan 25, 2016, 6:44 PM

          @arnaudrigole said:

          And my PC still try to open http://10.1.18.180/fog/service/ipxe/boot.php… ?

          Look for FOG Configuration -> FOG Settings -> Web Server -> FOG_WEB_HOST

          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/

          A 1 Reply Last reply Jan 26, 2016, 7:19 AM Reply Quote 0
          • W
            Wayne Workman
            last edited by Wayne Workman Jan 25, 2016, 12:58 PM Jan 25, 2016, 6:47 PM

            Also, this might be a good time to introduce this: http://sourceforge.net/p/fogupdateip/code/HEAD/tree/

            Works great on CentOS 7 and Fedora 23 Server.

            It basically allows your FOG server to be assigned any IP from a pre-existing DHCP server, and it auto-configures the server and dnsmasq for you every time the ip changes.

            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 1
            • A
              arnaudrigole @Wayne Workman
              last edited by arnaudrigole Jan 26, 2016, 1:21 AM Jan 26, 2016, 7:19 AM

              @Wayne-Workman

              Hi !
              Thanks for your reply!
              value in “FOG_WEB_HOST” is the true ip… no problem.

              I’ll update to trunk today
              does FogUpdateIP works on Debian 8 jessie?

              W 1 Reply Last reply Jan 26, 2016, 1:31 PM Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by Jan 26, 2016, 7:49 AM

                @arnaudrigole For your second issue take a look at /tftpboot/default.ipxe on your FOG server and edit as needed.

                Thanks Wayne, I must have been half asleep when writing the post about wireshark filters. Sure it ought to be bootp || tftp (not &&)!! Can you please try again? Keep your wireshark ready, set with those filters, then bootup the client (cold boot!) and see if you get more packets.

                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

                A 2 Replies Last reply Jan 26, 2016, 7:52 AM Reply Quote 0
                • A
                  arnaudrigole @Sebastian Roth
                  last edited by Jan 26, 2016, 7:52 AM

                  @Sebastian-Roth

                  Ok, i go on it and i’ll post the reply fast

                  1 Reply Last reply Reply Quote 0
                  • A
                    arnaudrigole @Sebastian Roth
                    last edited by arnaudrigole Jan 26, 2016, 7:12 AM Jan 26, 2016, 10:16 AM

                    @Sebastian-Roth
                    Ok, after i’ve edited “default.ipxe” it works, my PC boot on pxe interface
                    i tried to upload the image of PC

                    So: I created a task to upload the current image from the PC to my FOG server, it begins, then it reboot after 1 minute without error message, i’ll post a pcap too.
                    Edit: Here is the pcap, protected by pw i’ll send you in private
                    https://owncloud.lesrigole.fr/index.php/s/m2EChdbHuTdo3fW/authenticate

                    EDIT IMPORTANT: I defined the storage type in my image settings to “multiple partition image / not resizable” and it seems working; partclone is currently running on my computer.

                    For the first problem, here is the pcap file i recaptured with filter bootp || tftp
                    https://owncloud.lesrigole.fr/index.php/s/sq6LM3uo0OWzYwW/download

                    Really appreciate your active help, from all you

                    1 Reply Last reply Reply Quote 0
                    • W
                      Wayne Workman @arnaudrigole
                      last edited by Jan 26, 2016, 1:31 PM

                      @arnaudrigole said:

                      does FogUpdateIP works on Debian 8 jessie?

                      No, not yet anyway. I need to build a Debian server to mess around with.

                      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 1
                      • S
                        Sebastian Roth Moderator
                        last edited by Jan 26, 2016, 1:40 PM

                        @arnaudrigole As I already explained things usually should go like this: PC boots, NIC sends PXE DHCP discovery and gets back PXE information (next-server and filename). Then it loads the file via TFTP and executes it. FOG uses iPXE as a second stage. So far so good. From what I can see in the PCAP file this is perfectly happening for you. Cannot see any issues there. But then I see four DHCP requests from iPXE (which was loaded and executed as a first stage). But there is NO response from the DHCP server.

                        Either the DHCP server does not like the DHCP request (maybe some DHCP option that iPXE is sending) but I kind of doubt this as others seam to be able to use windows DHCP server without a problem.
                        Or it could be because of spanning tree (STP). The NIC is reset a couple of times while this PXE process is going on. If your switch has STP enabled but port fast is not used this might cause exactly the issue you see: https://wiki.fogproject.org/wiki/index.php/STP/Portfast/RSTP/FMSTP

                        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

                        A 1 Reply Last reply Jan 26, 2016, 3:06 PM Reply Quote 2
                        • E
                          EAHarvey
                          last edited by Jan 26, 2016, 1:47 PM

                          So it times out on the TFTP part? Change from undionly.kpxe to undionly.kkpxe

                          1 Reply Last reply Reply Quote 0
                          • A
                            arnaudrigole @Sebastian Roth
                            last edited by Jan 26, 2016, 3:06 PM

                            @Wayne-Workman
                            It will be helpful 🙂

                            @Sebastian-Roth
                            There is no spanning-tree in our configuration actually, i tried to boot with 2 differents computers (Latitude E5510 and Opx390) on the same port to do the packet captures. The first arrives to boot then find the pxe file, and upload its image, but the second has no response from DHCP ? That’s strange ^^ Both have the same configuration in dhcp strategy, i’ll try to erase/recreate the host on it

                            @EAHarvey
                            Hello!
                            What does it change??

                            E 1 Reply Last reply Feb 1, 2016, 1:54 PM Reply Quote 0
                            • E
                              EAHarvey @arnaudrigole
                              last edited by Feb 1, 2016, 1:54 PM

                              @arnaudrigole When i was having tftp timeouts this is what I changed to make it work. The iPXE is the open source PXE boot environement that FOG uses. Let me see exactly what the difference is between kpxe vs kkpxe. @Senior-Developers may be able to shed a bit more light. I would love to know exactly also.

                              W 1 Reply Last reply Feb 1, 2016, 1:56 PM Reply Quote 0
                              • W
                                Wayne Workman @EAHarvey
                                last edited by Feb 1, 2016, 1:56 PM

                                @EAHarvey
                                https://wiki.fogproject.org/wiki/index.php?title=Filename_Information

                                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/

                                E 1 Reply Last reply Feb 1, 2016, 2:11 PM Reply Quote 3
                                • E
                                  EAHarvey @Wayne Workman
                                  last edited by Feb 1, 2016, 2:11 PM

                                  @Wayne-Workman Well they’re you go. 🙂

                                  1 Reply Last reply Reply Quote 0
                                  • W
                                    Wayne Workman @Sebastian Roth
                                    last edited by Jun 11, 2016, 5:54 PM

                                    @Sebastian-Roth said in Impossible to boot on PXE......:

                                    Wireshark filter bootp && tftp is great for this

                                    This has been in the wiki for some time, here:
                                    https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_TFTP

                                    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
                                    • 1
                                    • 2
                                    • 3
                                    • 2 / 3
                                    • First post
                                      Last post

                                    152

                                    Online

                                    12.0k

                                    Users

                                    17.3k

                                    Topics

                                    155.2k

                                    Posts
                                    Copyright © 2012-2024 FOG Project