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

    Fog setup question

    Scheduled Pinned Locked Moved
    General
    4
    14
    1.4k
    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.
    • P
      pdit
      last edited by

      hey Guys i am setting up new fog server on centos 7.its in minimal installation.

      Nic port is named as ensp03 by default by centos. when i ran fog install it asked me if i want to change default interface from ? but fog is not detecting the port. is there an issue here ?

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

        @pdit what do you mean port? The installer should suggest an existing network interface name. If it’s a wrong name, type the right one in.

        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
        • P
          pdit
          last edited by

          fog doesn’t detect is all it says 'would you like to change default network interface from ? "
          centos has named it enp2s0 by default fog doesn’t see that does it need to be changed to eth0 before i run fog install?

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

            @pdit ok that’s odd, you should just supply the correct interface name to the installer when it asks that question.

            Would you mind sharing the output of these command please, so that we might see what’s going wrong?
            ip addr
            ifconfig

            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
            • S
              Sebastian Roth Moderator
              last edited by

              @pdit Wayne is definitely on the right track there I think. Follow his instructions and post that information here. As well you might take a picture of the output “would you like to change default network interface from ?” so I might check if we have a bug in the installer as well.

              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

              P 2 Replies Last reply Reply Quote 0
              • P
                pdit
                last edited by

                here it is.

                20190430_122114.jpg

                1 Reply Last reply Reply Quote 0
                • P
                  pdit @Sebastian Roth
                  last edited by

                  @Sebastian-Roth Here is screen shot from FOG installer. FYI the enp2s0 is set to DHCP right now.we change it to static ip 172.31.1.10 (same as fog server) when we are using fog in isolated network. and back to DHCP if we need to update anything that requires internet connection.

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

                    @pdit does ip addr not work?

                    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/

                    P 1 Reply Last reply Reply Quote 0
                    • P
                      pdit @Sebastian Roth
                      last edited by

                      @Sebastian-Roth 20190430_123946.jpg

                      1 Reply Last reply Reply Quote 0
                      • P
                        pdit @Wayne Workman
                        last edited by

                        @Wayne-Workman 20190430_124946.jpg

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

                          @pdit Well here is what happens. You seem to switch between those IPs forth and back but this cannot be handled by FOG and its installer.

                          If your IP is currently set to 10.10.30.218 (from DHCP because you need internet) you cannot simply tell FOG to use a different IP (172.31.1.10) which is not configured on your network interface at that moment.

                          Be aware that changing the FOG IP involves more than just changing the IP in the Linux network config. See our wiki article on this: https://wiki.fogproject.org/wiki/index.php/Change_FOG_Server_IP_Address

                          As well we have a script that does all the changes for you: https://github.com/FOGProject/fog-community-scripts/tree/master/updateIP

                          I might try to improve the installer to give a more clear answer to the user if an IP is given that does not exist on the machine right now.

                          Edit: The installer was updated in dev-branch to ask for the interface first and select the IP in the same step. We’ll release FOG 1.5.6 soon and this should have prevented what you are trying to do here in the first place.

                          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
                          • P
                            pdit
                            last edited by

                            i don’t mind setting static non routable IP in centos but only doing because this guide of your tells us to do it. it says you need internet connection. if installing FOG doesn’t require internet i will just set static IP in centos.
                            https://wiki.fogproject.org/wiki/index.php/FOG_on_an_Isolated_Network

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

                              @pdit Do you have a second network adapter you can use even temporarily? It appears what you are doing is similar to having an isolated imaging network and a business network. The business network has internet access and the imaging network only can be used for imaging. While this isn’t a standard setup, it is a pretty common configuration. All you need to do in this configuration is ensure the business network adapter has a route to the internet and you know the name of the imaging network, network adapter like emo1 (or what ever you have). When you install fog here, you TELL IT to use emo1 (or the name of your network adapter) and it will configure fog to use that adapter and its IP address. The business network adapter can be dhcp or static, fog doesn’t care because its using the network adapter you told it to use. This imaging network adapter MUST have a static IP address and the IP address of this adapter must not change after fog is installed.

                              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 1
                              • P
                                pdit
                                last edited by

                                Resolve this please.

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

                                156

                                Online

                                12.0k

                                Users

                                17.3k

                                Topics

                                155.2k

                                Posts
                                Copyright © 2012-2024 FOG Project