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

    DHCP works but no internet to clients

    Scheduled Pinned Locked Moved Solved
    Linux Problems
    dhcp server
    3
    27
    3.3k
    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.
    • george1421G
      george1421 Moderator @davidka
      last edited by

      @davidka said in DHCP works but no internet to clients:

      the 192.168.1.1 is my DHCP pool the server IP is different. it ends in 215.106

      You are going to have to explain how you have things setup, because from your picture the client is trying to connect to 192.168.1.1

      I’m also concerned about this statement

      I’ve changed that password in all its locations to a custom password

      What does that mean? The fogproject service account is owned and managed by the fog installer. Its password shouldn’t be touched.

      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!

      D 1 Reply Last reply Reply Quote 0
      • D
        davidka @george1421
        last edited by davidka

        @george1421 I went into all the config files and changed it. didnt realize it was a big deal. But it was messing up even before I did that. do I need to run the fog installer again ?

        I’ve got two NICs one is 192.168.1.1 for DHCP on an isolated network the other is ..215.106 this one has access to the rest of the schools network and assigned by my sysadmin. I needed to be able to remote into the server and supply intert the clients at the same time, so I have it configured to route the traffic from 192.168.1.1 through IP tables and NAT to the 215.106 interface.

        My sysadmin does not want DHCP to the rest of the network, hence the utterly complex setup i’m trying to pull off. I’ve tryed to explain to him that FOG wants to be part of the main network, and is expecting a DHCP server to already be setup, etc. But at this time he don’t want that. Its a whole other rant for another time… (we are manually updating everything, not using SCCM or any thing…)

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

          @davidka Well there is a tutorial I have on resyncing all of the password locations that you can run through. You can change the password to what ever you like as long as its secure and consistent. https://forums.fogproject.org/topic/11203/resyncing-fog-s-service-account-password

          Looking at your other posts it appears you do have the imaging lan nic set to 192.168.1.1 (at least in your OP).

          From your fog server you can run this command to see if the ftp server is running. netstat -an | grep ":21" should show you the ftp server is up and running.

          From either the imaging network or from your business network you should be able to connect to the ftp server on the FOG server using a windows computer and the ftp command line client. Again the password will be what is found in /opt/fog/.fogsettings file once you resync all of the passwords. If you can log in via ftp to the fog server then we will dig elsewhere.

          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!

          D 1 Reply Last reply Reply Quote 0
          • D
            davidka @george1421
            last edited by

            @george1421

            tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN
            

            thats what that gave me.

            and this

            ftp> open ***.***.215.106
            Connected to ***.***.215.106.
            500 OOPS: tcp_wrappers is set to YES but no tcp wrapper support compiled in
            Connection closed by remote host.
            
            george1421G 2 Replies Last reply Reply Quote 0
            • george1421G
              george1421 Moderator @davidka
              last edited by

              @davidka said in DHCP works but no internet to clients:

              500 OOPS: tcp_wrappers is set to YES but no tcp wrapper support compiled in

              what is the OS distro FOG is running on?

              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!

              D 1 Reply Last reply Reply Quote 0
              • D
                davidka @george1421
                last edited by

                @george1421 Fedora 30

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

                  @davidka While I’m a bit baffled why its set. One link I found said to edit vsftpd.confg (should be some place under /etc) and remove or comment out the tcp_wrappers statement.

                  Edit: Actually I think it needs to be tcp_wrappers=no the default may be 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!

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

                    @davidka @george1421 We removed the tcp_wrapper= option from vsftpd.conf in our install scripts just recently because it caused an issue with CentOS 8. It’s very unfortunate that no one noticed this to be an issue in Fedora 30 as well. Just remove the line from the config, restart your FOG server and things should be working.

                    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
                    • D
                      davidka @george1421
                      last edited by

                      @george1421 okay so setting that to NO seems to have done the trick. I can log in to ftp now, and the image capture successfully put the finished image in the images dir. I am now doing my first image restore to a test machine, its looking promising ^_^

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

                        @davidka Just as an FYI, only the capture uses FTP. The deployment should work just fine. As for the upload residue, you can safely delete the directories that appear as mac address in /images/dev. You can also salvage the upload too but it will take a little manual activity.

                        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
                        • D
                          davidka
                          last edited by

                          and now my routing has stopped working again. did’nt notice it because i had to step away for a bit, but the test machine that just imaged has no network access. I also tried another machine that is a known good one and its not getting network either. I can ping the 192.168.1.1 just fine, PXE booting still works, its just now not routing. I mean its better than nothing we can get by with out network on this if it comes down to it. Thank you to every one who has helped me so far.

                          1 Reply Last reply Reply Quote 0
                          • D
                            davidka
                            last edited by

                            Figured it out, re running the fog installer after messing with the passwords etc reset my option routers in the dhcpd.conf file.

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

                            183

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project