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

how to setup FOG server on Isolated netowork

Scheduled Pinned Locked Moved
General
4
31
8.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.
  • G
    george1421 Moderator @cnbgeren
    last edited by Aug 4, 2016, 11:33 AM

    @cnbgeren For imaging you don’t need dns if you reference everything by IP address. FOG uses (internally) IP addresses only so you are good there.

    dhcp is mandatory, the target computer uses dhcp to acquire its IP address as well as PXE boot information. You can use a home router if you are able to set dhcp options 66 {next-server} and 67 {boot file}. If your home router does not support this you can install a service into your fog server called dnsmasq that will provide the information your home router can’t. But in your case you will be on an isolated LAN so you will need to install the dhcp service into your fog server. This is pretty easy since the fog installer asks you if you want to do this during install time.

    So to recap, dns no. dhcp with pxe support, yes.

    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!

    C 1 Reply Last reply Aug 4, 2016, 1:00 PM Reply Quote 0
    • C
      cnbgeren @george1421
      last edited by cnbgeren Aug 4, 2016, 7:02 AM Aug 4, 2016, 1:00 PM

      @george1421

      ok thanks, During the install of FOG software I took the defaults so DNS and DHCP were installed. for some reason, the FOG server worked perfectly over the weekend but now I’m not able to PXE boot to the server and
      I’m not to able to ping www.google.com but I can ping 8.8.8.8 so I guess this is a DNS issue. here the error message on the server . do you think removing DNS could fix the error message below
      0_1470315577070_FOG error.jpg

      G 1 Reply Last reply Aug 4, 2016, 3:16 PM Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Aug 4, 2016, 1:20 PM

        @cnbgeren Please post the contents of /etc/resolv.conf and/or /etc/NetworkManager/NetworkManager.conf

        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
        • G
          george1421 Moderator @cnbgeren
          last edited by Aug 4, 2016, 3:16 PM

          @cnbgeren Just for clarity, you have a fog server plugged into an isolated switch with only the target connected? If so then your fog server can not pull any updates or deployment status messages from the FOG Project web site. You will get the screen shot below. That is OK, message on an isolated network.

          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!

          C 2 Replies Last reply Aug 4, 2016, 3:47 PM Reply Quote 0
          • C
            cnbgeren @george1421
            last edited by Aug 4, 2016, 3:47 PM

            @george1421

            it’s not plugged up to isolated internet yet. Right now its plugged up to my router. everything was working fine until yesterday. then my another PC started using my FOG server as its DHCP server which caused all kinds of issue with my home network. Once I rebooted my router my issue was resolved with my home PC but now I can’t PXE boot to the FOG server or access the internet. I can ping 8.8.8.8 but can’t ping www.google.com any help would be great.

            G 1 Reply Last reply Aug 4, 2016, 4:02 PM Reply Quote 0
            • G
              george1421 Moderator @cnbgeren
              last edited by Aug 4, 2016, 4:02 PM

              @cnbgeren From your fog server you can’t ping www.google.com? If that is the case then please follow Sebastian’s recommendation to post the results of /etc/resolv.conf file. That file tells the fog server where to get dns information. If that is blank then you will need to add one line of text to that file.

              Depending on your host OS you need to add this line if one exist
              nameserver 8.88.8

              or
              dns1=8.8.8.8

              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!

              C 2 Replies Last reply Aug 4, 2016, 4:36 PM Reply Quote 0
              • C
                cnbgeren @george1421
                last edited by Aug 4, 2016, 4:36 PM

                @george1421

                ok will do as soon I get home. would the command to retrieve the information be sudo or cat /etc/resolv.conf file?

                G 1 Reply Last reply Aug 4, 2016, 4:49 PM Reply Quote 0
                • G
                  george1421 Moderator @cnbgeren
                  last edited by Aug 4, 2016, 4:49 PM

                  @cnbgeren cat since you are only listing the file

                  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!

                  C 1 Reply Last reply Aug 4, 2016, 7:26 PM Reply Quote 0
                  • C
                    cnbgeren @george1421
                    last edited by cnbgeren Aug 4, 2016, 1:31 PM Aug 4, 2016, 7:26 PM

                    @george1421

                    if I could ask another question. If the FOG server is running DHCP and is plugged up to a switch without internet access, I should be able to PXE using a laptop plugged up the same switch?

                    G 1 Reply Last reply Aug 4, 2016, 7:42 PM Reply Quote 0
                    • G
                      george1421 Moderator @cnbgeren
                      last edited by Aug 4, 2016, 7:42 PM

                      @cnbgeren If dhcp is setup correctly and offering the required PXE information then, yes it should.

                      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 0
                      • C
                        cnbgeren @george1421
                        last edited by cnbgeren Aug 4, 2016, 4:35 PM Aug 4, 2016, 10:27 PM

                        @george1421

                        had to take a picture of the command because I could not access internet with FOG server. also could not PXE boot while connected to my router or on Isolated network using switch. thanks for your help 0_1470349996666_FOG.jpg

                        G 1 Reply Last reply Aug 4, 2016, 10:54 PM Reply Quote 0
                        • G
                          george1421 Moderator @cnbgeren
                          last edited by Aug 4, 2016, 10:54 PM

                          @cnbgeren simply edit that /etc/resolv.conf with vi or nano and replace 127.0.0.1 with either your ISP’s dns server or google’s {8.8.8.8)

                          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 0
                          • G
                            george1421 Moderator @Wayne Workman
                            last edited by Aug 4, 2016, 10:57 PM

                            @Wayne-Workman said in how to setup FOG server on Isolated netowork:

                            https://wiki.fogproject.org/wiki/index.php?title=ProxyDHCP_/dnsmasq-_DRAFT

                            Where is that post you crated that documented the fedora 23 install. You had a dnsmasq section there that was pretty darn good, short and clear. You could almost dump that section into the draft link from above.

                            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!

                            C W 2 Replies Last reply Aug 4, 2016, 11:03 PM Reply Quote 0
                            • C
                              cnbgeren @george1421
                              last edited by Aug 4, 2016, 11:03 PM

                              @george1421
                              I’m sorry I don’t understand what your asking

                              G 1 Reply Last reply Aug 4, 2016, 11:08 PM Reply Quote 0
                              • G
                                george1421 Moderator @cnbgeren
                                last edited by Aug 4, 2016, 11:08 PM

                                @cnbgeren said in how to setup FOG server on Isolated netowork:

                                @george1421
                                I’m sorry I don’t understand what your asking

                                You ran the cat command to show the content of /etc/resolv.conf . That content only looks up internet names from the FOG server. Probably not what you want. You need to edit that file [/etc/resolv.conf] with a text editor (anyone that linux has. Two popular command line ones are vi and nano. There may be a gui based one like gedit that is available to you.) You need to change the entry nameserver 127.0.0.1 to something like nameserver 8.8.8.8 save the file and then open a command window and key in ping www.google.com. That should now reply with the IP address and a ping response.

                                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!

                                C 1 Reply Last reply Aug 4, 2016, 11:31 PM Reply Quote 0
                                • C
                                  cnbgeren @george1421
                                  last edited by Aug 4, 2016, 11:31 PM

                                  @george1421

                                  ok I ran the following command nano /etc/resolv.conf but now I’m getting the this message: DO NOT EDIT THIS FILE BY HAND–YOUR CHANGES WILL BE OVERWRITTEN

                                  G 1 Reply Last reply Aug 5, 2016, 12:06 AM Reply Quote 0
                                  • G
                                    george1421 Moderator @cnbgeren
                                    last edited by george1421 Aug 4, 2016, 6:06 PM Aug 5, 2016, 12:06 AM

                                    @cnbgeren Your fog server has a staticly defined IP address right??

                                    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 0
                                    • W
                                      Wayne Workman @george1421
                                      last edited by Aug 5, 2016, 1:33 AM

                                      @george1421 said in how to setup FOG server on Isolated netowork:

                                      @Wayne-Workman said in how to setup FOG server on Isolated netowork:

                                      https://wiki.fogproject.org/wiki/index.php?title=ProxyDHCP_/dnsmasq-_DRAFT

                                      Where is that post you crated that documented the fedora 23 install. You had a dnsmasq section there that was pretty darn good, short and clear. You could almost dump that section into the draft link from above.

                                      It’s in the Fedora 21 Article. I suppose I can literally copy these optional steps to the CentOS and Fedora 23&24 articles, changing yum to dnf where needed.

                                      https://wiki.fogproject.org/wiki/index.php?title=Fedora_21_Server#dnsmasq_.28if_using_ProxyDHCP.29_setup

                                      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
                                      • C
                                        cnbgeren @george1421
                                        last edited by Aug 5, 2016, 1:15 PM

                                        @george1421

                                        here’s the screenshot with those commands
                                        0_1470402913001_IMG_1481.jpg

                                        0_1470402921655_IMG_1482.jpg

                                        G 1 Reply Last reply Aug 5, 2016, 4:52 PM Reply Quote 0
                                        • G
                                          george1421 Moderator @cnbgeren
                                          last edited by Aug 5, 2016, 4:52 PM

                                          @cnbgeren Yeah it looks like your dhcp server isn’t running.

                                          Since it appears you have a unbuntu server you might want to review this document. https://help.ubuntu.com/community/isc-dhcp-server

                                          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 0
                                          • 1
                                          • 2
                                          • 2 / 2
                                          2 / 2
                                          • First post
                                            21/31
                                            Last post

                                          148

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project