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

    Windows laptop unable to boot into Fog menu

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    35
    11.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.
    • george1421G
      george1421 Moderator @froydo
      last edited by

      @froydo Well I guess I’m not the one who can help you here. Its been a long day I don’t have the energy to try to decode the tshark output frame by frame.

      If you are willing to post the complete pcap where I can review it I will.
      Note: You don't have to post it to the forums, just direct message me a link.

      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
      • Tom ElliottT
        Tom Elliott @froydo
        last edited by

        @froydo Stupid as this sounds, what happens if you simply change the /var/lib/tftpboot folder location to just /tftpboot and restart tftpd-hpa service?

        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 0
        • F
          froydo
          last edited by

          Hi Tom,

          Yes I’ve changed it so now /var/lin/tftpboot is a link to /tftpboot. But when I tried restarting /etc/init.d/tftpd-hpa , nothing happens. even ./tftpd-hpa status returns nothing. And the same process is still running…

          root 24631 0.0 0.0 15128 148 ? Ss 13:50 0:00 /usr/sbin/in.tftpd --listen --user root --address :69 -s /tftpboot

          Hi george1421,
          I will try to send you the output.pcap file . I will see if I can just drop that file directly into the chat box

          1 Reply Last reply Reply Quote 0
          • F
            froydo
            last edited by

            oh no worries Tom, I figured out how to restart the tftpd-hpa. But same problem of the timeout and exiting on the laptop. I even chmod 777 to /tftpboot but no difference… however I am able to ftp to my fog server from my pc. So ftp is ok just tftp is not somehow?

            1 Reply Last reply Reply Quote 0
            • F
              froydo
              last edited by

              Hi george1421,

              i have my pcap file ready, I wasn’t able to drop it into your chat box, it wouldn’t allow it . Do you have somewhere I can drop it off to like an ftp server or email add , etc ? Much appreciated.

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

                @froydo Another, and hopefully, final change.

                The line of the config file that is looking only at :69 can you try:

                0.0.0.0:69

                and restart tftpd-hpa.

                Yes, the restart is still needed.

                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

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

                  @Tom-Elliott The OP sent me the pcap file.

                  One remarkable thing found was there are two different dhcp server responses to the client’s discover packet. Each dhcp server is giving conflicting boot file and next server values to the client. In the pcap file there was no indication of the client asking the FOG server (assuming that is where the tcpdump command was being run) for the boot file.

                  @froydo on your fog server make sure your tftp process is running. The following command should show you the tftp server is listenting netstat -an|grep 69

                  You should see a line like udp 0.0.0.0:69

                  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
                  • F
                    froydo
                    last edited by

                    Thanks I got that message which shows tftpd service is running. I did the changes in the config and restarted but still having the same issue, even with the windows firewall turned off.

                    JJ FullmerJ 1 Reply Last reply Reply Quote 0
                    • JJ FullmerJ
                      JJ Fullmer Testers @froydo
                      last edited by

                      @froydo Maybe give dnsmasq and proxy dhcp a try?
                      It’s been a while since I’ve configured it but here are some possibly helpful articles
                      https://wiki.fogproject.org/wiki/index.php?title=ProxyDHCP_with_dnsmasq
                      https://forums.fogproject.org/topic/5713/dnsmasq-breaks-apt-get

                      Have you tried the FogApi powershell module? It's pretty cool IMHO
                      https://github.com/darksidemilk/FogApi
                      https://fogapi.readthedocs.io/en/latest/
                      https://www.powershellgallery.com/packages/FogApi
                      https://forums.fogproject.org/topic/12026/powershell-api-module

                      1 Reply Last reply Reply Quote 0
                      • JJ FullmerJ
                        JJ Fullmer Testers
                        last edited by

                        @froydo Additionally, and I’m sorry if this was covered earlier in these posts and I missed it, is this laptop booting to legacy pxe or uefi pxe? It sounds like legacy pxe since its looking for pxelinux.0 in one error. But just want to make sure we’re helping you configure the right thing here.

                        Have you tried the FogApi powershell module? It's pretty cool IMHO
                        https://github.com/darksidemilk/FogApi
                        https://fogapi.readthedocs.io/en/latest/
                        https://www.powershellgallery.com/packages/FogApi
                        https://forums.fogproject.org/topic/12026/powershell-api-module

                        1 Reply Last reply Reply Quote 0
                        • F
                          froydo
                          last edited by

                          the lenovo is booting Both , but legacy first.

                          1 Reply Last reply Reply Quote 0
                          • JJ FullmerJ
                            JJ Fullmer Testers @froydo
                            last edited by

                            @froydo said in Windows laptop unable to boot into Fog menu:

                            Hi george1421,

                            My dhcp server is a Juniper ex3300 and under the Boot options, there is the Boot Server , I entered my fog server ip there.
                            there is the boot file which I entered “/bzImage”. There’s no next server option anywhere I could see.

                            So is your dhcp run completely by the switch? You don’t have a windows or linux dhcp service to manage things? Or did I miss something?

                            Have you tried the FogApi powershell module? It's pretty cool IMHO
                            https://github.com/darksidemilk/FogApi
                            https://fogapi.readthedocs.io/en/latest/
                            https://www.powershellgallery.com/packages/FogApi
                            https://forums.fogproject.org/topic/12026/powershell-api-module

                            1 Reply Last reply Reply Quote 0
                            • F
                              froydo
                              last edited by

                              Good news . Problem solved. We had to add “next server” in our dhcp server. then everything works now. Thanks all for you help.

                              1 Reply Last reply Reply Quote 0
                              • F
                                froydo
                                last edited by

                                Hi Guys,

                                I have a new problem now. I’ve successfully boot into Fog Menu on the laptop and sucessfully registered the laptop. Now when I try to capture the image - on the laptop I see it keeps failing at “Attempting to check in - Failed” . and this repeats over and over again.

                                JJ FullmerJ 2 Replies Last reply Reply Quote 0
                                • JJ FullmerJ
                                  JJ Fullmer Testers @froydo
                                  last edited by

                                  @froydo Did you make a image entry in the gui to upload to?

                                  I would also suggest for your first host and image doing the quick host registration and inventory from the menu then queuing an upload from the gui.
                                  After you do a quick registration there should be a host in your hosts gui.
                                  You’ll also need to make a image to assign to the host so it has a database entry to link to.

                                  If that doesn’t make sense check out https://wiki.fogproject.org/wiki/index.php?title=Managing_FOG or I can explain in more detail if you don’t find the answer there.

                                  Have you tried the FogApi powershell module? It's pretty cool IMHO
                                  https://github.com/darksidemilk/FogApi
                                  https://fogapi.readthedocs.io/en/latest/
                                  https://www.powershellgallery.com/packages/FogApi
                                  https://forums.fogproject.org/topic/12026/powershell-api-module

                                  1 Reply Last reply Reply Quote 0
                                  • JJ FullmerJ
                                    JJ Fullmer Testers @froydo
                                    last edited by

                                    @froydo Did you get this figured out?

                                    Have you tried the FogApi powershell module? It's pretty cool IMHO
                                    https://github.com/darksidemilk/FogApi
                                    https://fogapi.readthedocs.io/en/latest/
                                    https://www.powershellgallery.com/packages/FogApi
                                    https://forums.fogproject.org/topic/12026/powershell-api-module

                                    1 Reply Last reply Reply Quote 0
                                    • F
                                      froydo
                                      last edited by

                                      Yes JJ it all works now. thanks 🙂

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

                                      162

                                      Online

                                      12.1k

                                      Users

                                      17.3k

                                      Topics

                                      155.4k

                                      Posts
                                      Copyright © 2012-2024 FOG Project