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

PXE issues?

Scheduled Pinned Locked Moved
FOG Problems
11
55
25.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.
  • P
    peterquest
    last edited by Nov 4, 2014, 1:50 AM

    I’m not sure why this fixed my problem, but it did. We were getting timeouts/hanging at kernel download…

    I’d love to hear an explanation of what is looking for undionly.0…

    1 Reply Last reply Reply Quote 0
    • B
      Barbara Howard
      last edited by Nov 19, 2014, 9:10 PM

      Hello, I’m the rookie that struggled with TFTP login issues all day yesterday. I reinstalled FOG 1.2.0 today and it seems to have fixed that problem. Today I’ve struggled with the PXE boot. I can turn on a Dell D620, but get the T01, E3B file not found on my three victims (old Dell D620 (32bit), Thinkpad E440 (64) and a 64-bit VM). I tried adding an advanced menu option, but haven’t seen it come up. I’m not using FOG for DHCP and do get an IP address. DHCP entries for 66 and 67 have been made. The undionly.kpxe file does exist in the TFTPBOOT folder. I went with 12.04 LTS desktop version after getting befuddled with the server version which I tried after getting befuddled with the desktop version. I’ve tried using the undionly.kpxe.INTEL file as well, but went back to undionly.kpxe. FOG does turn on the D620 (the bright spot in the day), misses the PXE boot with the file not found errors, gets to the Windows login screen and then shuts down to try it all over again. This is what I get from the boot.php file. Any advice you can give me would be most appreciated.
      [COLOR=#000000]#!ipxe
      cpuid --ext 29 && set arch x86_64 || set arch i386
      colour --rgb 0xff6600 2
      cpair --foreground 7 --background 2 2
      console --picture [url]http://192.168.1.8/fog/service/ipxe/bg.png[/url] --left 100 --right 80
      :MENU
      menu
      colour --rgb 0xff0000 0
      cpair --foreground 0 3
      item --gap Host is NOT registered!
      item --gap – -------------------------------------
      item fog.local Boot from hard disk
      item fog.memtest Run Memtest86+
      item fog.reginput Perform Full Host Registration and Inventory
      item fog.reg Quick Registration and Inventory
      item fog.sysinfo Client System Information (Compatibility)
      item fog.advanced Advanced Menu
      choose --default fog.local --timeout 9000 target && goto ${target}
      :fog.local
      sanboot --no-describe --drive 0x80 || goto MENU
      :fog.memtest
      kernel memdisk iso raw
      initrd memtest.bin
      boot || goto MENU
      :fog.reginput
      kernel bzImage32 root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=192.168.1.1 keymap= web=192.168.1.8/fog/ consoleblank=0 loglevel=4 mode=manreg
      imgfetch init_32.xz
      boot || goto MENU
      :fog.reg
      kernel bzImage32 root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=192.168.1.1 keymap= web=192.168.1.8/fog/ consoleblank=0 loglevel=4 mode=autoreg
      imgfetch init_32.xz
      boot || goto MENU
      :fog.sysinfo
      kernel bzImage32 root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=192.168.1.1 keymap= web=192.168.1.8/fog/ consoleblank=0 loglevel=4 mode=sysinfo
      imgfetch init_32.xz
      boot || goto MENU
      :fog.advanced
      login
      params
      param mac0 ${net0/mac}
      param arch ${arch}
      param username ${username}
      param password ${password}
      param advLog 1
      isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
      isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
      :bootme
      chain -ar [url]http://192.168.1.8/fog/service/ipxe/boot.php##params[/url] ||
      goto MENU
      autoboot[/COLOR]

      1 Reply Last reply Reply Quote 0
      • T
        Tom Elliott
        last edited by Nov 19, 2014, 9:59 PM

        [quote=“Barbara Howard, post: 39245, member: 27181”]Hello, I’m the rookie that struggled with TFTP login issues all day yesterday. I reinstalled FOG 1.2.0 today and it seems to have fixed that problem. Today I’ve struggled with the PXE boot. I can turn on a Dell D620, but get the T01, E3B file not found on my three victims (old Dell D620 (32bit), Thinkpad E440 (64) and a 64-bit VM). I tried adding an advanced menu option, but haven’t seen it come up. I’m not using FOG for DHCP and do get an IP address. DHCP entries for 66 and 67 have been made. The undionly.kpxe file does exist in the TFTPBOOT folder. I went with 12.04 LTS desktop version after getting befuddled with the server version which I tried after getting befuddled with the desktop version. I’ve tried using the undionly.kpxe.INTEL file as well, but went back to undionly.kpxe. FOG does turn on the D620 (the bright spot in the day), misses the PXE boot with the file not found errors, gets to the Windows login screen and then shuts down to try it all over again. This is what I get from the boot.php file. Any advice you can give me would be most appreciated.
        [COLOR=#000000]#!ipxe[/COLOR]
        [COLOR=#000000]cpuid --ext 29 && set arch x86_64 || set arch i386[/COLOR]
        [COLOR=#000000]colour --rgb 0xff6600 2[/COLOR]
        [COLOR=#000000]cpair --foreground 7 --background 2 2[/COLOR]
        [COLOR=#000000]console --picture [url]http://192.168.1.8/fog/service/ipxe/bg.png[/url] --left 100 --right 80[/COLOR]
        [COLOR=#000000]:MENU[/COLOR]
        [COLOR=#000000]menu[/COLOR]
        [COLOR=#000000]colour --rgb 0xff0000 0[/COLOR]
        [COLOR=#000000]cpair --foreground 0 3[/COLOR]
        [COLOR=#000000]item --gap Host is NOT registered![/COLOR]
        [COLOR=#000000]item --gap – -------------------------------------[/COLOR]
        [COLOR=#000000]item fog.local Boot from hard disk[/COLOR]
        [COLOR=#000000]item fog.memtest Run Memtest86+[/COLOR]
        [COLOR=#000000]item fog.reginput Perform Full Host Registration and Inventory[/COLOR]
        [COLOR=#000000]item fog.reg Quick Registration and Inventory[/COLOR]
        [COLOR=#000000]item fog.sysinfo Client System Information (Compatibility)[/COLOR]
        [COLOR=#000000]item fog.advanced Advanced Menu[/COLOR]
        [COLOR=#000000]choose --default fog.local --timeout 9000 target && goto ${target}[/COLOR]
        [COLOR=#000000]:fog.local[/COLOR]
        [COLOR=#000000]sanboot --no-describe --drive 0x80 || goto MENU[/COLOR]
        [COLOR=#000000]:fog.memtest[/COLOR]
        [COLOR=#000000]kernel memdisk iso raw[/COLOR]
        [COLOR=#000000]initrd memtest.bin[/COLOR]
        [COLOR=#000000]boot || goto MENU[/COLOR]
        [COLOR=#000000]:fog.reginput[/COLOR]
        [COLOR=#000000]kernel bzImage32 root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=192.168.1.1 keymap= web=192.168.1.8/fog/ consoleblank=0 loglevel=4 mode=manreg[/COLOR]
        [COLOR=#000000]imgfetch init_32.xz[/COLOR]
        [COLOR=#000000]boot || goto MENU[/COLOR]
        [COLOR=#000000]:fog.reg[/COLOR]
        [COLOR=#000000]kernel bzImage32 root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=192.168.1.1 keymap= web=192.168.1.8/fog/ consoleblank=0 loglevel=4 mode=autoreg[/COLOR]
        [COLOR=#000000]imgfetch init_32.xz[/COLOR]
        [COLOR=#000000]boot || goto MENU[/COLOR]
        [COLOR=#000000]:fog.sysinfo[/COLOR]
        [COLOR=#000000]kernel bzImage32 root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=192.168.1.1 keymap= web=192.168.1.8/fog/ consoleblank=0 loglevel=4 mode=sysinfo[/COLOR]
        [COLOR=#000000]imgfetch init_32.xz[/COLOR]
        [COLOR=#000000]boot || goto MENU[/COLOR]
        [COLOR=#000000]:fog.advanced[/COLOR]
        [COLOR=#000000]login[/COLOR]
        [COLOR=#000000]params[/COLOR]
        [COLOR=#000000]param mac0 ${net0/mac}[/COLOR]
        [COLOR=#000000]param arch ${arch}[/COLOR]
        [COLOR=#000000]param username ${username}[/COLOR]
        [COLOR=#000000]param password ${password}[/COLOR]
        [COLOR=#000000]param advLog 1[/COLOR]
        [COLOR=#000000]isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme[/COLOR]
        [COLOR=#000000]isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme[/COLOR]
        [COLOR=#000000]:bootme[/COLOR]
        [COLOR=#000000]chain -ar [url]http://192.168.1.8/fog/service/ipxe/boot.php##params[/url] ||[/COLOR]
        [COLOR=#000000]goto MENU[/COLOR]
        [COLOR=#000000]autoboot[/COLOR][/quote]

        Is your firewall disabled on the server?

        Can you follow the tftp troubleshooting guide on the wiki?
        [url]http://fogproject.org/wiki/index.php/Tftp_timeout[/url]

        From what I can tell, your particular issue is that it’s not even getting to the undionly.kpxe file. NO amount of work or changes or additions to the advanced menu, or any menu for that matter, will help you see a menu if you’re not getting the file that’s 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

        1 Reply Last reply Reply Quote 0
        • B
          Barbara Howard
          last edited by Nov 20, 2014, 1:32 PM

          [INDENT]The firewall is disabled and I can successfully transfer the file via TFTP on my windows machine. Rights to tftpboot folder show: Owner=1002 (a user created as part of the installation?), Group=root and Others=Access Files. Not sure how to adjust that, but I made sure the rights to the images folder look OK (owner is root). Even tried a subfolder in images with ‘create and delete’ rights for all users even though I’m not getting that far in the process. Thank you for the help, Tom![/INDENT]

          1 Reply Last reply Reply Quote 0
          • Jaymes DriverJ
            Jaymes Driver Developer
            last edited by Nov 20, 2014, 1:37 PM

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • Jaymes DriverJ
              Jaymes Driver Developer
              last edited by Nov 20, 2014, 1:41 PM

              [quote=“Barbara Howard, post: 39252, member: 27181”]
              [INDENT=1]The firewall is disabled and I can successfully transfer the file via TFTP on my windows machine. Rights to tftpboot folder show: Owner=1002 (a user created as part of the installation?), Group=root and Others=Access Files. Not sure how to adjust that, but I made sure the rights to the images folder look OK (owner is root). Even tried a subfolder in images with ‘create and delete’ rights for all users even though I’m not getting that far in the process. Thank you for the help, Tom![/INDENT]
              [/quote]

              Did you set up DNSMasq again?

              1 Reply Last reply Reply Quote 0
              • B
                Barbara Howard
                last edited by Nov 20, 2014, 4:01 PM

                Tried to install dnsmasq and it threw an error about dnsmasq-base being an unmet dependency. This sure is making me nervous though I do appreciate the advice.

                1 Reply Last reply Reply Quote 0
                • Jaymes DriverJ
                  Jaymes Driver Developer
                  last edited by Nov 20, 2014, 5:59 PM

                  which version of 12.04 did you install, 12.04.1LTS? 12.04.4 LTS? 12.04.5LTS?

                  1 Reply Last reply Reply Quote 0
                  • B
                    Barbara Howard
                    last edited by Nov 20, 2014, 6:22 PM

                    It just says 12.04 LTS. I have not done the 81 updates that are available. I did try to do this: chmod -R 777 /tftpboot and got ‘operation not permitted’. This folder is owned by mystery user #1002 which does not show up in my user list. I have not been able to get dnsmasq set up because each roadblock requires study on my part.

                    1 Reply Last reply Reply Quote 0
                    • Jaymes DriverJ
                      Jaymes Driver Developer
                      last edited by Nov 20, 2014, 6:27 PM

                      try [code]
                      sudo chmod -R 0777 /tftpboot
                      [/code]

                      Your user may not have the required privileges to chmod that folder without sudo.

                      I only ask so I can download a version and try to replicate your issues.

                      1 Reply Last reply Reply Quote 0
                      • B
                        Barbara Howard
                        last edited by Nov 20, 2014, 8:00 PM

                        It still surprises me that my user account is an Administrator, but I’m still not Queen of the Ubuntu castle. Mercy, I’ve made no progress today … my new boss must be totally impressed with the new Tech Lady.

                        1 Reply Last reply Reply Quote 0
                        • J
                          John VanHoose
                          last edited by Dec 2, 2014, 4:01 PM

                          [quote=“Jaymes Driver, post: 34020, member: 3582”]You could always try DNSMasq to proxy serve your bootfile and server, sometimes this can alleviate issues with finding the correct files.

                          [url]http://fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server#DNSMASQ_settings_for_iPXE[/url][/quote]

                          I was having the same error and I tried the above link now I get the new menu screen but it just constatly flashes that screen and noting else.

                          1 Reply Last reply Reply Quote 0
                          • J
                            John VanHoose
                            last edited by Dec 2, 2014, 4:58 PM

                            I just went back to .32 it works with no extra troubleshooting.

                            1 Reply Last reply Reply Quote 0
                            • B
                              Barbara Howard
                              last edited by Dec 3, 2014, 9:16 PM

                              [quote=“John VanHoose, post: 39534, member: 4156”]I just went back to .32 it works with no extra troubleshooting.[/quote]

                              It’s tempting, John, but I’m not giving up just yet.

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

                              216

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project