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

    dhcp not running on fog

    Scheduled Pinned Locked Moved
    General
    2
    4
    381
    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.
    • M
      mpatel
      last edited by

      How can we use fog as dhcp server ? do we need to install program ? when we first setup we said NO to use fog as dhcp server. please help.

      I found this guide online tried editing .conf file but it didn’t exist in my fog server.

      https://schoolitexpert.com/network-tools/fog/461-configure-dhcp-services

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

        @mpatel What kind of DHCP do you use right now?

        If you want to enable dhcp after an initial install you’d need to modify /opt/fog/.fogsettings file. Definitely make sure the following two options are set correctly:

        dodhcp='Y'
        bldhcp='1'
        

        But then there are two more that are specific to the Linux OS you have installed. As I couldn’t find any hint on what you use in your posts I have to guess. Maybe Ubuntu?

        dhcpd='isc-dhcp-server'
        

        As well you need to add isc-dhcp-server (again Ubuntu) to the packages line:

        packages='bc curl ... isc-dhcp-server ...'
        

        Then simply re-run the installer and it should setup the DHCP service for you correctly.

        If you don’t want to re-run the installer you can still go ahead and install the DHCP server package manually and use the config example you find here: https://wiki.fogproject.org/wiki/index.php?title=BIOS_and_UEFI_Co-Existence#Example_1

        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
        • M
          mpatel
          last edited by

          we use centos 7. I would like fog to provide dhcp service to target computers. This will be isolated network. i did set dodhcp & bldhcp to correct options

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

            @mpatel For CentOS use the following:

            dodhcp='Y'
            bldhcp='1'
            dhcpd='dhcpd'
            packages='bc curl dhcp ...'
            

            Then re-run the installer and see it do the work.

            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
            • 1 / 1
            • First post
              Last post

            146

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project