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

    ipxe boot just hangs

    Scheduled Pinned Locked Moved Solved
    General Problems
    5
    17
    3.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.
    • george1421G
      george1421 Moderator @ayoward
      last edited by

      @ayoward Interesting because my default.ipxe file contains a bit more.

      #!ipxe
      cpuid --ext 29 && set arch x86_64 || set arch ${buildarch}
      params
      param mac0 ${net0/mac}
      param arch ${arch}
      param platform ${platform}
      param product ${product}
      param manufacturer ${product}
      param ipxever ${version}
      param filename ${filename}
      param sysuuid ${uuid}
      isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
      isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
      :bootme
      chain http://192.168.1.53/fog/service/ipxe/boot.php##params
      

      Your fog boot.php page looks good and expected. I’m not sure I understand why your default.ipxe file only contains the chain command though.

      Does the file /opt/fog/.fogsettings exist ls -la /opt/fog ? Its a hidden file, if its missing then the fog installer did not complete correctly.

      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!

      A 2 Replies Last reply Reply Quote 1
      • A
        ayoward @george1421
        last edited by george1421

        @george1421 the file is definitely there.

        ## Start of FOG Settings
        ## Created by the FOG Installer
        ## Find more information about this file in the FOG Project wiki:
        ##     https://wiki.fogproject.org/wiki/index.php?title=.fogsettings
        ## Version: 1.5.5
        ## Install time: Mon 29 Apr 2019 05:41:48 PM EDT
        ipaddress='10.60.16.129'
        copybackold='0'
        interface='ens32'
        submask='255.255.255.0'
        routeraddress='#   No router address added'
        plainrouter=''
        dnsaddress='127.0.0.53'
        username='fog'
        password='***********'
        osid='2'
        osname='Debian'
        dodhcp='N'
        bldhcp='0'
        dhcpd=''
        blexports='1'
        installtype='N'
        snmysqluser='root'
        snmysqlpass=''
        snmysqlhost='localhost'
        installlang='0'
        storageLocation='/images'
        fogupdateloaded=1
        docroot='/var/www/html/'
        webroot='/fog/'
        caCreated='yes'
        httpproto='http'
        startrange=''
        endrange=''
        bootfilename='undionly.kpxe'
        packages='apache2 bc build-essential cpp curl g++ gawk gcc genisoimage gzip htmldoc isolinux lftp libapache2-mod-php7.1 libc6 libcurl4 liblzma-dev m4 mysql-client mysql-server net-tools nfs-kernel-server openssh-server php7.1 php7.1-bcmath php7.1-cli php7.1-curl php7.1-fpm php7.1-gd php7.1-json php7.1-ldap php7.1-mbstring php7.1-mysql php-gettext tar tftpd-hpa tftp-hpa unzip vsftpd wget xinetd zlib1g '
        noTftpBuild=''
        notpxedefaultfile=''
        sslpath='/opt/fog/snapins/ssl/'
        backupPath='/home/'
        php_ver='7.1'
        php_verAdds='-7.1'
        sslprivkey='/opt/fog/snapins/ssl//.srvprivate.key'
        ## End of FOG Settings
        

        Mod Note: Fixed post formating-Geo*

        1 Reply Last reply Reply Quote 0
        • A
          ayoward @george1421
          last edited by

          @george1421 and before I added that line into default.ipxe, there was nothing in there. Should I copy what you have in yours into mine?

          JunkhackerJ george1421G 2 Replies Last reply Reply Quote 0
          • JunkhackerJ
            Junkhacker Developer @ayoward
            last edited by

            @ayoward yes

            signature:
            Junkhacker
            We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

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

              @ayoward Yes just change the IP address to your fog server, the rest is generic.

              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!

              A 1 Reply Last reply Reply Quote 1
              • A
                ayoward @george1421
                last edited by ayoward

                @george1421 @Junkhacker @Sebastian-Roth That has cracked it!! Thanks so much for your help!!

                1 Reply Last reply Reply Quote 1
                • P
                  Pi0tR
                  last edited by

                  i have the same problem

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

                    @Pi0tR What is the output of this command? cat /tftpboot/default.ipxe keyed into the linux command prompt of your fog server.

                    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
                    • P
                      Pi0tR
                      last edited by

                      cat /tftpboot/default.ipxe
                      

                      give me

                      #!ipxe
                      cpuid --ext 29 && set arch x86_64 || set arch ${buildarch}
                      params
                      param mac0 ${net0/mac}
                      param arch ${arch}
                      param platform ${platform}
                      param product ${product}
                      param manufacturer ${product}
                      param ipxever ${version}
                      param filename ${filename}
                      param sysuuid ${uuid}
                      isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
                      isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
                      :bootme
                      chain http://172.16.2.50/fog/service/ipxe/boot.php##params
                      

                      but im trying to get this file from another vlan with 172.16.3.0/24 subnet (TFTP work fine)

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

                        @Pi0tR Lets start a new thread since your issues are different at this point. New topic - new problem.

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

                        120

                        Online

                        12.2k

                        Users

                        17.4k

                        Topics

                        155.5k

                        Posts
                        Copyright © 2012-2024 FOG Project