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

    Trouble with DHCP after rebooting server

    Scheduled Pinned Locked Moved Unsolved
    Linux Problems
    2
    4
    1.2k
    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.
    • N
      notaspy
      last edited by

      Server
      • FOG Version: 1.4.2
      • OS: Ubuntu Gnome 16.10
      Issue:

      After playing around with fog for a while and figuring out multicast, I finally got it working on my laptop that’s running Ubuntu. The problem that I’m having though is that every time I shut down or put the system in standby, Fog refuses to work properly and has to be reinstalled. I’m still able to manage it from the web page, but it seems like DHCP and iPXE services are not starting up because I can’t get any computer on the network (mind you this network is completely isolated) to pick up an address from it.

      Any thoughts?

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

        Just for clarity, this FOG server has a static IP address on this private network?

        Do you have to reinstall vs just reboot it?

        Are you using the isc-dhcp server? Do you have it start to auto start?

        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
        • N
          notaspy
          last edited by

          Yes, the server is set to a static IP and Fog is handling DHCP. I’m having to reinstall it to get it working properly again.

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

            @notaspy If you force this system to fail, then boot the fog server up.

            Run the following commands.

            1. ps aux | grep dhcp this should show you if the dhcp server is running in memory.
            2. netstat -an| grep 67 this should show you that the dhcp server is listening on its data port. You should see something like this
            udp        0      0 0.0.0.0:67              0.0.0.0:*      
            

            Lets start with those. That will give us an idea if the dhcp-server is running and / or listening.

            Edit: It looks like ubuntu 16.04+ is based on systemd so these commands will be useful. Don’t use them until we can understand what’s going on here.

            sudo systemctl restart isc-dhcp-server
            sudo systemctl status isc-dhcp-server
            sudo systemctl enable 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 / 1
            • First post
              Last post

            232

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project