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

    Change nic issue

    Scheduled Pinned Locked Moved
    Linux Problems
    2
    6
    650
    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.
    • M
      Michaelk
      last edited by

      Hi
      We created FOG server to deploy images in isolated network.
      The server was based on dell precision tower 3620 and his onboard nic.
      But it works to slow for us, so we decide add PCIe nic card that support 10g.
      Now the question is where we need to change configurations to make it works fine by PCIe nic and not onboard?
      (FOG based on Centos 8 and it have his own DHCP)

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

        @Michaelk Make sure you configure a static IP on that new NIC, then edit `` and adjust the following lines:

        interface='enp0s3'
        ipaddress='192.168.x.y'
        submask='255.255.255.0'
        routeraddress='192.168.x.z'
        plainrouter='192.168.x.z'
        dnsaddress='192.168.x.z'
        

        You might not need to change all of them. If you stay in the same subnet or even set the same IP the old NIC had, then only change the interface=... line.

        After that you need to re-run the FOG installer script. As you seem to have an isolated network now it will most probably fail on checking for internet connection and maybe also when it tries to update packages. So you might need to add the option to proceed on errors: ./installfog.sh -X

        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
        • M
          Michaelk
          last edited by

          @sebastian-roth Hi
          Thx a lot for the answer.
          Did you meant that i need to make changes in this file “/opt/fog/.fogsettings”?

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

            @Michaelk Whooops, hit the sent button on that message to early without re-reading what I wrote. Yes right, I meant editing /opt/fog/.fogsettings.

            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

            M 1 Reply Last reply Reply Quote 0
            • M
              Michaelk @Sebastian Roth
              last edited by

              @sebastian-roth
              In case like that, should i do any changes in DHCP, PHP or SQL?
              Sorry for the question, but linux systems pretty new for me

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

                @michaelk said in Change nic issue:

                In case like that, should i do any changes in DHCP, PHP or SQL?

                If the only thing you are changing in your setup is the NIC then nothing else needs to be adjusted.

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

                149

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project