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

    Had to hard code ENET adapter, now I can't update because I can't get an internet connection

    Scheduled Pinned Locked Moved
    Hardware Compatibility
    3
    16
    2.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.
    • Tom ElliottT
      Tom Elliott @TTellez
      last edited by

      @TTellez My link was to help show you how you could setup a “secondary” virtual nic that could be configured to get on the main network so you could perform the update.

      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

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

        This would leave the originally hard coded information there and available, while only altering the network you’re on so the virtual network would take over for subsequent updates/upgrades.

        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

        T 1 Reply Last reply Reply Quote 0
        • T
          TTellez @Tom Elliott
          last edited by

          @Tom-Elliott gotcha. Ill try it with my remedial linux skills. LOL.

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

            @TTellez If you need help, we’re here to do what we can. The link should be pretty informative at least. Of course you will likely need to be in elevated permissions (sudo -i)

            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
            • T
              TTellez @Tom Elliott
              last edited by

              @Tom-Elliott So I literally just
              ifconfig eth0:0 123.123.22.22
              then when I am done

              # ifconfig eth0:0 down
              

              And my original connection stays as is?

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

                @TTellez well you would replace eth0:0 with the relevant interface name, in your case eno1:0

                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

                T 2 Replies Last reply Reply Quote 0
                • T
                  TTellez @Tom Elliott
                  last edited by

                  @Tom-Elliott of course. I knew that one. 😉
                  thanks

                  trying now.

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

                    @TTellez You may need to add the route for that interface as well, more than just setting the ip itself. It needs to know how to get to the endpoint of course.

                    I think you can do that with:

                    route add default gw <123.123.22.22 valid gateway> eno1:0 (not 100% on the syntax sorry)

                    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
                    • T
                      TTellez @Tom Elliott
                      last edited by

                      @Tom-Elliott 0_1500481514749_IMG_0455.JPG

                      Still no network connection. trying the gateway addition now.

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

                        Once that’s done, the last part would be to look at dns (assuming you’re testing by pinging a domain name).

                        You would need to edit /etc/resolv.conf and add a proper dns server.

                        Something to the likes of making it read as:

                        nameserver 8.8.8.8
                        nameserver 4.2.2.4
                        nameserver <internal dns if needed>
                        search <domain.com if 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
                        • T
                          TTellez
                          last edited by

                          None of this is working. So I will just continue to use it with the current version that is installed (1.3.5). Thanks for your help.

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

                          194

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project