• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.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.
  • T
    Tom Elliott
    last edited by Jul 19, 2017, 3:09 PM

    I might suggest looking here for some help:
    https://linuxconfig.org/configuring-virtual-network-interfaces-in-linux

    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 Jul 19, 2017, 3:16 PM

      I know this Tom. You and I worked for a good two hours to get it to work one Sunday.

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Jul 19, 2017, 3:38 PM

        @TTellez Maybe start by showing us your current network config. Run ifconfig -a and cat /etc/network/interfaces as root (sudo) and post the full output as text or picture here!

        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 Jul 19, 2017, 3:54 PM Reply Quote 0
        • T
          TTellez @Sebastian Roth
          last edited by Jul 19, 2017, 3:54 PM

          @Sebastian-Roth 1_1500479637091_image2.JPG 0_1500479637091_image1.JPG

          T 1 Reply Last reply Jul 19, 2017, 4:13 PM Reply Quote 0
          • T
            Tom Elliott @TTellez
            last edited by Jul 19, 2017, 4:13 PM

            @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 Jul 19, 2017, 4:14 PM Reply Quote 0
            • T
              Tom Elliott
              last edited by Jul 19, 2017, 4:14 PM

              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 Jul 19, 2017, 4:16 PM Reply Quote 0
              • T
                TTellez @Tom Elliott
                last edited by Jul 19, 2017, 4:14 PM

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

                T 1 Reply Last reply Jul 19, 2017, 4:15 PM Reply Quote 0
                • T
                  Tom Elliott @TTellez
                  last edited by Jul 19, 2017, 4:15 PM

                  @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 Jul 19, 2017, 4:16 PM

                    @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?

                    T 1 Reply Last reply Jul 19, 2017, 4:17 PM Reply Quote 0
                    • T
                      Tom Elliott @TTellez
                      last edited by Jul 19, 2017, 4:17 PM

                      @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 Jul 19, 2017, 4:18 PM Reply Quote 0
                      • T
                        TTellez @Tom Elliott
                        last edited by Jul 19, 2017, 4:18 PM

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

                        trying now.

                        T 1 Reply Last reply Jul 19, 2017, 4:20 PM Reply Quote 0
                        • T
                          Tom Elliott @TTellez
                          last edited by Jul 19, 2017, 4:20 PM

                          @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 Jul 19, 2017, 4:25 PM

                            @Tom-Elliott 0_1500481514749_IMG_0455.JPG

                            Still no network connection. trying the gateway addition now.

                            T 1 Reply Last reply Jul 19, 2017, 4:27 PM Reply Quote 0
                            • T
                              Tom Elliott @TTellez
                              last edited by Jul 19, 2017, 4:27 PM

                              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 Jul 19, 2017, 4:34 PM

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

                                214

                                Online

                                12.1k

                                Users

                                17.3k

                                Topics

                                155.3k

                                Posts
                                Copyright © 2012-2024 FOG Project