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

    TFTP didn't update web interface did?

    Scheduled Pinned Locked Moved
    FOG Problems
    5
    21
    4.5k
    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.
    • ?
      A Former User
      last edited by

      root@FOG:~# netstat -antup |grep -e ‘:67’ -e ‘:69’
      udp 0 0 0.0.0.0:67 0.0.0.0:* 22074/dhcpd
      udp 0 0 0.0.0.0:69 0.0.0.0:* 24033/in.tftpd
      I attached the pic, what config files do you want and where are they?

      [url=“/_imported_xf_attachments/1/1855_error.jpg?:”]error.jpg[/url]

      1 Reply Last reply Reply Quote 0
      • W
        Wolfbane8653 Developer
        last edited by

        What OS is this Fog server on? If its Ubuntu you may need to restart the tftp service.

        1 Reply Last reply Reply Quote 0
        • ?
          A Former User
          last edited by

          It is Ubuntu 12.04 I have restarted the service still get the same thing. Where is the new boot file supposed to be. I am thinking it isn’t in the directory since it at least boots to the menu if I change the dhcp.conf to boot pxelinux.0

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

            Bootfile is usually called undionly.kpxe (because this is working with most hardware) and resides in /tftpboot(/undionly.kpxe).

            If pxelinux.0 is working for you I guess we have another example of a “wanna be very smart” kind of switch between client and FOG server. Please try this: Change back your dhcpd.conf file AND
            [CODE]sudo ln -s undionly.kpxe /tftpboot/undionly.0
            ls -al /tftpboot[/CODE]

            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
            • JunkhackerJ
              Junkhacker Developer
              last edited by

              [quote=“Shep, post: 45256, member: 29292”]It is Ubuntu 12.04 I have restarted the service still get the same thing. Where is the new boot file supposed to be. I am thinking it isn’t in the directory since it at least boots to the menu if I change the dhcp.conf to boot pxelinux.0[/quote]

              can you please list the contents of your /tftpboot directory?

              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 0
              • ?
                A Former User
                last edited by

                I do not have the undionly.kpxe file in the tftpboot directory. Doing the above command made a file but the kpxe file is missing for it to point to. I downloaded the undionly.kpxe file from ipxe changed my dhcpd.conf file to point at the undionly.0 now it boots from tftp but does not load the menu.

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

                  Can you rerun the FOG installation and once it completes, post the /var/log/installfog.log

                  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
                  • ?
                    A Former User
                    last edited by

                    junkhacker - only the files from before the upgrade( time stamped 5/25/13 I think) were in my tftpboot directory until uncle frank had me create the link and I downloaded the kpxe file from ipex.

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

                      Better get the latest ipxe binary provided by FOG: [url]https://svn.code.sf.net/p/freeghost/code/trunk/packages/tftp/undionly.kpxe[/url]

                      Please post the output of ‘ls -al /tftpboot’

                      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
                      • ?
                        A Former User
                        last edited by

                        after downloading the kpxe file from fog I now get tftp://192.168.4.2/default.ipxe… no such file or directory

                        ls -al /tftpboot
                        total 372
                        drwxr-xr-x 5 fog root 4096 Apr 10 08:24 .
                        drwxr-xr-x 27 root root 4096 Sep 17 2014 …
                        -rw-r–r-- 1 fog root 828 May 24 2012 boot.txt
                        drwxr-xr-x 5 fog root 4096 Feb 16 2011 fog
                        -rw-r–r-- 1 fog root 25340 May 24 2012 memdisk
                        -rw-r–r-- 1 fog root 0 Sep 5 2012 pelinux.0
                        -rw-r–r-- 1 fog root 16794 May 24 2012 pxelinux.0
                        drwxr-xr-x 2 fog root 4096 Feb 19 17:47 pxelinux.cfg
                        drwxr-xr-x 2 fog root 4096 Feb 16 2011 tftpboot
                        lrwxrwxrwx 1 root root 13 Apr 9 16:16 undionly.0 -> undionly.kpxe
                        -rw-r–r-- 1 root root 88772 Apr 7 06:41 undionly.kpxe
                        -rw-r–r-- 1 root root 61815 Apr 9 16:00 undionly.kpxe.source
                        -rw-r–r-- 1 fog root 147728 May 24 2012 vesamenu.c32

                        1 Reply Last reply Reply Quote 0
                        • JunkhackerJ
                          Junkhacker Developer
                          last edited by

                          please re-run the installer, as Tom suggested. it is apparent that the installer did not complete it’s operations, which include downloading the appropriate files to /tftpboot and generating the default.ipxe file

                          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 0
                          • ?
                            A Former User
                            last edited by

                            I ran the install again, now I have successfully registered my newest PC. Thank you for all the help. I think maybe I had pressed enter during the script install the first time before updating the database schema. Is there a way to keep the database password in the config file when doing an upgrade?

                            [url=“/_imported_xf_attachments/1/1858_foginstall.txt?:”]foginstall.txt[/url]

                            1 Reply Last reply Reply Quote 0
                            • JunkhackerJ
                              Junkhacker Developer
                              last edited by

                              updates use the settings you chose the first time you ran the setup and reuses the same password

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

                              239

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project