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

    IPXE issues - work around

    Scheduled Pinned Locked Moved
    General
    9
    23
    15.1k
    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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      Try checking: FOG Configuration (? icon) -> FOG Settings -> TFTP Settings -> FOG_TFTP_FTP_USERNAME and FOG_TFTP_FTP_PASSWORD.

      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
      • E
        Elias Santiago
        last edited by

        Still can’t update the kernels thru the FOG interface.

        I think I have a permissions issue in one or more folders.

        I try to image a new computer (upload) and it starts imaging, everything ok until it finishes which shows:

        • FOGFTP: Failed to rename file. Remote Path: /images/temp**** , Local Path: /images/dev/fb8c******, Error: ftp_rename(): Rename failed.
        1 Reply Last reply Reply Quote 0
        • E
          Elias Santiago
          last edited by

          Sorry for so much trouble!

          I [SIZE=3][COLOR=#000000]went in and ran: [/COLOR][/SIZE]

          [SIZE=3][COLOR=#000000]sudo passwd fog (reset fog user password)[/COLOR][/SIZE]

          [SIZE=3][COLOR=#000000]then [/COLOR][/SIZE]

          [FONT=Consolas][SIZE=3][COLOR=#000000]chown -R fog:root /var/www/fog/service/ipxe[/COLOR][/SIZE][/FONT]
          [FONT=Consolas][COLOR=#000000][SIZE=3]chown -R fog:root /images[/SIZE][/COLOR][/FONT]

          [FONT=Consolas][SIZE=3][COLOR=#000000]then on FOG interface: [/COLOR][/SIZE][/FONT]

          [COLOR=#000000][SIZE=3][FONT=Consolas]Storage Management -> [FONT=Ubuntu]Management Username / Password to fog / (**fog user password - same as used on passwd line above)[/FONT][/FONT][/SIZE][/COLOR]
          [COLOR=#000000][SIZE=3][FONT=Ubuntu]FOG - Configuration ->Settings -> [/FONT][/SIZE][/COLOR][FONT=Tahoma]FOG_TFTP_FTP_USERNAME and FOG_TFTP_FTP_PASSWORD. (same as user/pass as Storage Management )[/FONT]

          [COLOR=#000000][SIZE=3][FONT=Tahoma]FINALLY SOLVED! [/FONT][/SIZE][/COLOR]

          [COLOR=#000000][SIZE=3][FONT=Tahoma]I think my problems were that I had another user for logging to FOG web interface, and that user was also the one in the Storage [/FONT][/SIZE][/COLOR][FONT=Tahoma]and TFTP settings (not the fog user). [/FONT]

          [COLOR=#000000][SIZE=3][FONT=Tahoma]Previously on 0.32b I had it that way and worked OK. After updating to FOG 1.1.0 I started having trouble with either uploading, [/FONT][/SIZE][/COLOR][FONT=Tahoma]kernel update, etc. [/FONT]
          [FONT=Consolas][SIZE=3][COLOR=#000000]Does everything have to be with the “fog” user?[/COLOR][/SIZE] [/FONT]

          1 Reply Last reply Reply Quote 0
          • T
            terrybritton
            last edited by

            [quote=“Tom Elliott, post: 29539, member: 7271”]From the image you provided, the init.xz file you have is corrupted, can you try manually downloading the init.xz again on your fog server:
            [code]cd /var/www/fog/service/ipxe/
            rm init.xz init_32.xz
            wget https://svn.code.sf.net/p/freeghost/code/trunk/packages/web/service/ipxe/init.xz
            wget https://svn.code.sf.net/p/freeghost/code/trunk/packages/web/service/ipxe/init_32.xz[/code][/quote]

            This just worked for me - I was getting loops after it started loading ipxe.init until I replaced the versions I had (in 1.2.0) with these. Thank goodness!!! Now I’m anxious to really give this a workout! 🙂

            Terry

            1 Reply Last reply Reply Quote 0
            • T
              terrybritton
              last edited by

              Whoops - spoke to soon - it worked once!

              I tried to deploy the antivirus quarantine to test things and it went back to looping. Will I ever see the Fog menu again???

              Terry

              EDIT - removed the antivirus task and the menu booted. I’ll try some debug tasks next.

              EDIT 2 - the moment I remove a task, it loads the menu. Until then, it just keeps looping. Tried with download debug and debug tasks.

              1 Reply Last reply Reply Quote 0
              • F
                Fernando Gietz Developer
                last edited by

                Hi,

                I have tries this solution but don’t works. The error is “[B]Could not start download: operation not supported[/B]”
                I have tested it under different hardwares (optiplex 755, HP 8300) and the result is the same.

                I have installed FOG r2407 in a physical server and the dhcp server is not in the FOG server, and we use dnsmasq.

                1 Reply Last reply Reply Quote 0
                • F
                  Fernando Gietz Developer
                  last edited by

                  In one browser
                  [url]http://FOGSERVERIP/fog/service/ipxe/boot.php?mac=00:21:70:46:4d:f2[/url]

                  The answer is:

                  [CODE]#!ipxe
                  kernel bzImage32 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 keymap= web=10.0.15.4/fog/ consoleblank=0 loglevel=4 mac=00:21:70:46:4d:f2 ftp=10.0.15.4 storage=10.0.15.4:/images/dev/ storageip=10.0.15.4 web=10.0.15.4/fog/ osid=50 loglevel=4 consoleblank=0 irqpoll hostname=u001021 chkdsk=0 img=centos imgType=mps imgPartitionType=all imgid=1 imgFormat= PIGZ_COMP=-9 hostearly=1 pct=5 ignorepg=1 mining=1 miningcores=1 miningpath=http://fogproject.org/fogpackage.zip type=up
                  imgfetch init_32.xz
                  boot[/CODE]

                  1 Reply Last reply Reply Quote 0
                  • N
                    need2 Moderator
                    last edited by

                    Are all of these in UEFI mode by any chance?

                    Also, no necro.

                    1 Reply Last reply Reply Quote 0
                    • F
                      Fernando Gietz Developer
                      last edited by

                      No. No EUFI.

                      1 Reply Last reply Reply Quote 0
                      • F
                        Fernando Gietz Developer
                        last edited by

                        Solved!! The problem was dnsmasq setup. See [URL=‘http://fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server#DNSMASQ_settings_for_iPXE’]here[/URL] for more information

                        1 Reply Last reply Reply Quote 0
                        • dl550D
                          dl550
                          last edited by

                          Hello,
                          I’m new to the list but a user ferving FOG.
                          I can not change the configuration of the keyboard in QWERTY.
                          I changed in the “General Settings” -> KEYMAP_FOG = en without success.
                          I checked the language available: [url]http://fogproject.org/wiki/index.php/Boot_Image_Key_Map[/url]
                          I get good at the launch of bzimage:
                          bzImage32 kernel root = / dev / ram0 rw = 127000 ramdisk_size ip = dhcp dns = 192.168.1.3 web keymap = fr 192.168.1.3 /
                          fog / consoleblank loglevel = 4 = 0 mode = manreg
                          This has no effect, I’m interested in a solution.
                          Thank you for your response.
                          DL550

                          DL(550)

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

                            Hi dl550,
                            I can’t see how this is related to the other posts in the thread!? To be honest I don’t really understand what you are asking for! Probably a good idea to open up a complete new post and describe what exactly goes wrong. Are you trying to have french keyboard layout?

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

                            212

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project