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

    Can't complete the fog install!

    Scheduled Pinned Locked Moved
    FOG Problems
    5
    40
    15.0k
    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.
    • O
      orbspider
      last edited by

      So, if I use the automatic IP which the fog install script gives me, I can connect to the fog page.

      But what do I do later on when I take the server off the internet/change network ??

      1 Reply Last reply Reply Quote 0
      • O
        orbspider
        last edited by

        Hi, I need some one to answer my question, if they could be a little patient!

        My fog server IP was set up by the install script as [url]http://192.168.0.129[/url]

        That was made because of connected to internet.

        Now I want to go on isolated network, so how do I change the IP address? what to?

        Note that installing using “isolated network” guide failed to let me connect to fog UI page.

        OK, I can see the guide how to change the IP, in the fog settings, but I can’t find those other files to make changes.

        can I use [url]http://192.168.1.1/[/url] ? but does the server IP need to change first? How do I do that??? I need step by step as I’m really tired!

        Tahnks

        1 Reply Last reply Reply Quote 0
        • O
          orbspider
          last edited by

          I changed the IP as the guide shows, then restarted apache service

          I login with [url]http://127.0.0.1/fog/[/url]

          then it states Error contacting server - but that is with the ethernet internet pulled out

          when I plugin again there’s “Estimated FOG sites: [B]4875”[/B]

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

            Yeah

            That’s expected. The contacting stuff goes out to the internet. If you unplug, you’re no longer on the internet.

            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
            • O
              orbspider
              last edited by

              alright then so thats just contacting the internet? if im unplugged it says server not found and I thought I needed the server!

              Pls save me your sarcasm and look at my posts above. I need to set up isolated server. Are you really unwilling to offer help here?

              1 Reply Last reply Reply Quote 0
              • O
                orbspider
                last edited by

                so sorry, that prob wasn’t sarcasm on your part, now I see your yeah as like I’m heading in the right direction.

                so I can connect to 127.0.0.1/fog but still not 192.168.1.1 which I changed to in fog UI

                maybe that doesn’t matter??

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

                  my only guess, as you’re 127.0.0.1 is always Loop back.

                  It’s also known as localhost.

                  You setting the auto lo to auto eth0 is incorrect.

                  All auto lo does is start the loopback interface.

                  you can keep the lo interface from starting and only get the information from eth0 start start, but you need to statically set the IP and ifnormation for it.

                  How to do this is a little vague to be due to it being ubuntu/debian derivative. I believe you have to edit the auto eth0 to somethign like:

                  /etc/network/interfaces
                  [code]auto eth0
                  iface eth0 inet static
                  address 192.168.1.1
                  netmask 255.255.255.0
                  gateway 192.168.1.254
                  [/code]

                  Then restart the system.

                  As far as I can tell the interface needs to be established before the other parts of the gui will 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! 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
                  • S
                    Sebastian Roth Moderator
                    last edited by

                    Yes I think Tom is right. You need to have a look at your network configuration. I’d suggest to have the config ‘/etc/network/interfaces’ like this:
                    [CODE]auto lo
                    iface lo inet loopback

                    auto eth0
                    iface eth0 inet static
                    address 192.168.1.1
                    netmask 255.255.255.0[/CODE]
                    You don’t need the gateway statement if you are in an isolated network without connection to the internet. [B]Please make sure you have ‘eth0’ and ‘lo’ configured as some linux services really need that loopback interface!!![/B]
                    Reboot your machine and check your network settings:
                    [CODE]# ifconfig
                    eth0 Link encap:Ethernet Hardware Adresse 00:1f:16:0c:32:50
                    inet Adresse:192.168.1.1 Maske:255.255.255.0
                    UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1
                    …
                    lo Link encap:Lokale Schleife
                    inet Adresse:127.0.0.1 Maske:255.0.0.0
                    UP LOOPBACK RUNNING MTU:16436 Metrik:1
                    …[/CODE]

                    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
                    • O
                      orbspider
                      last edited by

                      Right, you both confirmed what I’d seen about interface.

                      Concerning ip add change, the only file I can’t find is the pxe file. Its not in /tftpboot.

                      Can I run the fog install script again to set the ip add?

                      1 Reply Last reply Reply Quote 0
                      • O
                        orbspider
                        last edited by

                        Right, you both confirmed what I’d seen about interface.

                        Concerning ip add change, the only file I can’t find is the pxe file. Its not in /tftpboot.

                        Can I run the fog install script again to set the ip add?

                        1 Reply Last reply Reply Quote 0
                        • O
                          orbspider
                          last edited by

                          Right, you both confirmed what I’d seen about interface.

                          Concerning ip add change, the only file I can’t find is the pxe file. Its not in /tftpboot.

                          So to fix this whole thing i edited the .fogsetings file and I ran the fog install script again to set the ip address to my static one, as the last time I had used the automatic ip.

                          After that the client could register! Actually, there’s a list of correct things to do in the installation.txt file that I hadn’t read before, about setting static ip before install of fog. Perhaps the user guide should mention that file?

                          Thanks guys for this software…. We are donating 100s of computers to villages in the malayan jungle so fog is crucial.

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

                          162

                          Online

                          12.1k

                          Users

                          17.3k

                          Topics

                          155.3k

                          Posts
                          Copyright © 2012-2024 FOG Project