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

    Failing to Upload TFTP Connection Failure Invalid Password

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    18
    4.7k
    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.
    • J
      Jarli
      last edited by

      So as the topic describes, we’re having an issue when attempting to upload an image into fog.

      The connection is failing at TFTP.

      I’ve confirmed that I can TFTP from my windows desktop to Fog without issue, and download a file.

      Any help would be appreciated.

      Thanks guys.

      1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by Wayne Workman

        Then it’s likely a DHCP issue - or - the machine is network booting in UEFI mode and DHCP is set to only hand out legacy files.

        We have a few articles on those topics (below). What’s running DHCP in your environment? What model is the problem host? What version of FOG are you using? What does your settings look like? Also, can you please provide a short smart-phone video (via YouTube) of the failure, or photos of the failure so we can see what you’re seeing?

        https://wiki.fogproject.org/wiki/index.php/Troubleshoot_TFTP
        https://wiki.fogproject.org/wiki/index.php/Modifying_existing_DHCP_server_to_work_with_FOG
        https://wiki.fogproject.org/wiki/index.php/BIOS_and_UEFI_Co-Existence

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

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

          Can you give us a better idea of your environment?

          1. What version of fog are you using? (i.e. 1.2.0 stable, or a trunk version, if trunk then what is the number in the cloud on the login page.
          2. What host OS are you using.

          Are you seeing the ipxe FOG menu at all? I’m a bit confused since you mentioned invalid password and tftp together. Tftp doesn’t use passwords, thats why its trivial. If you are not getting the ipxe boot menu then what is the PXE error message?

          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!

          J 1 Reply Last reply Reply Quote 0
          • J
            Jarli
            last edited by

            Our fog server (fedora) is on a closed network, and handling DHCP for this network.

            Fog Version 3748

            Kernal Versionz

            bzImage Version: 4.1.0 and bzImage32 4.1.0

            1 Reply Last reply Reply Quote 0
            • J
              Jarli @george1421
              last edited by

              @george1421 said:

              Can you give us a better idea of your environment?

              1. What version of fog are you using? (i.e. 1.2.0 stable, or a trunk version, if trunk then what is the number in the cloud on the login page.
              2. What host OS are you using.

              Are you seeing the ipxe FOG menu at all? I’m a bit confused since you mentioned invalid password and tftp together. Tftp doesn’t use passwords, thats why its trivial. If you are not getting the ipxe boot menu then what is the PXE error message?

              We are able to get to the PXEi boot menu, and can deploy an image, but aren’t able to upload an image into fog.

              Not sure what changed, as my colleague nor I have made any changes to the system in a very long time.

              Wayne WorkmanW 1 Reply Last reply Reply Quote 0
              • Wayne WorkmanW
                Wayne Workman @Jarli
                last edited by

                @Jarli is the server out of space? df -h

                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!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

                J 2 Replies Last reply Reply Quote 1
                • J
                  Jarli @Wayne Workman
                  last edited by

                  @Wayne-Workman said:

                  @Jarli is the server out of space? df -h

                  Doh… that seems like it.

                  0_1449682986872_2015-12-09_12-42-59.png

                  1 Reply Last reply Reply Quote 0
                  • J
                    Jarli @Wayne Workman
                    last edited by

                    @Wayne-Workman Any guidance on how I can expand the partition?

                    This is a VM running within Xen.

                    Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                    • Wayne WorkmanW
                      Wayne Workman @Jarli
                      last edited by Wayne Workman

                      @Jarli Thanks to @george1421 we have an article on that. https://wiki.fogproject.org/wiki/index.php/Add_%26_Extend_a_2nd_Virtual_HDD

                      In a nutshell, just use your hypervisor to expand the disk, and then use the Linux OS to then expand the partition. Contigous space is required for it to work.

                      Otherwise just give the server a 2nd HDD via your hypervisor - and make it a respectable size like 500GB, and configure FOG to use it for images.

                      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!
                      Daily Clean Installation Results:
                      https://fogtesting.fogproject.us/
                      FOG Reporting:
                      https://fog-external-reporting-results.fogproject.us/

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

                        In short there are two ways to go about it.

                        1. If using LVM you can either add a new virtual hard drive to the vm and then attach it to the LVM device, then expand the file system to the size of the new LVM device.

                        2. Create a new virtual disk large enough to hold the entire content of the /images folder + what ever new space you need, copy all of the existing files in /images to the new disk and then mount the new virtual disk over the /images folder.

                        If you go for the first option there is still a risk of filling up the boot partition, which is not a good thing for linux. The second option puts all of the big files on its own (virtual) disk. Filling up this disk will not crash the OS since the root partition is on the original vmdk file.

                        I would hope with FOG 2.0 comes out there are recommendations to have a root partition and a data partition. Just a reminder the snapins are also stored on the root partition.

                        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
                        • J
                          Jarli
                          last edited by

                          Well i temporarily configured internet access onto this VM, and downloaded gparted.

                          the full 80GB partition is visible within, but it’s not usable…

                          hrm…

                          1 Reply Last reply Reply Quote 1
                          • J
                            Jarli
                            last edited by Jarli

                            So after a fresh cup of coffee, and thinking about it “normally” I just put the LiveCD into the Xen VM, booted from the LiveCD and extended the partition…

                            Now to test the upload and confirm if I have any other issues.

                            I do now have 30GB free space.

                            Thanks for the help guys 🙂

                            1 Reply Last reply Reply Quote 1
                            • J
                              Jarli
                              last edited by

                              Well the drive has enough space, but after the upload completes is where I’m getting this issue.

                              0_1449761777830_2015-12-10_10-35-19.png

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

                                https://wiki.fogproject.org/wiki/index.php/Troubleshoot_FTP

                                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

                                J 1 Reply Last reply Reply Quote 1
                                • J
                                  Jarli @Tom Elliott
                                  last edited by

                                  @Tom-Elliott Sorry last question,

                                  in the TFTP_FTP_Password field in the configuration website, does the password have to be the encrypted form or will plain text work?

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

                                    @Jarli Anything FTP/TFTP password is relating to user on linux side. This is stored plaintext.

                                    THere’s only two password locations (in current) that need to be encrypted and only one that must be encrypted before storing. Those are the Active Directory Password (type plain text and it will encrypt and store the encrypted form for you.) ANd Active Directory Password Legacy (must be in FOG Crypted form for storage).

                                    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

                                    J 1 Reply Last reply Reply Quote 0
                                    • J
                                      Jarli @Tom Elliott
                                      last edited by

                                      @Tom-Elliott Perfect thanks, so I’ll sysprep this and test the upload.

                                      J 1 Reply Last reply Reply Quote 0
                                      • J
                                        Jarli @Jarli
                                        last edited by

                                        Got it fixed.

                                        The Storage Management password was goof’d.

                                        Corrected it to match, and it completed the TFTP upload.

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

                                        196

                                        Online

                                        12.0k

                                        Users

                                        17.3k

                                        Topics

                                        155.2k

                                        Posts
                                        Copyright © 2012-2024 FOG Project