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

    isc-dhcp-server fog 1.3.0 beta

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    2
    8
    1.8k
    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.
    • I
      IT-trainee
      last edited by

      Server
      • FOG Version: 12.0
      • OS: kubuntu 14.0.5
      Description

      i upgraded my fog server from 1.2.0 to 1.3.0 and after that i had some issuses with the isc-dhcp-server i even tried to restart the service with: “sudo isc-dhcp-server restart” then it says i cant start the job, i even tried to delete it with sudo apt-get purge isc-dhcp-server and then tried to reinstall it says it works but it doesnt leases any ip adresses to my host pc’s

      1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by

        Please give us the output of these three commands:
        service dhcpd status -l
        ip addr show
        cat /etc/dhcp/dhcpd.conf

        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/

        I 1 Reply Last reply Reply Quote 0
        • I
          IT-trainee
          last edited by

          i will send you the output as soon as possible

          1 Reply Last reply Reply Quote 0
          • I
            IT-trainee
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • I
              IT-trainee @Wayne Workman
              last edited by Wayne Workman

              the results of the output

              service dhcpd status -l
              dhcpd: unrecognized service
              
              
              
              
              ip addr show
              
              1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default 
                  link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
                  inet 127.0.0.1/8 scope host lo
                     valid_lft forever preferred_lft forever
                  inet6 ::1/128 scope host 
                     valid_lft forever preferred_lft forever
              2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
                  link/ether 00:e0:4c:69:2c:c1 brd ff:ff:ff:ff:ff:ff
              3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
                  link/ether 00:e0:4c:69:2c:c2 brd ff:ff:ff:ff:ff:ff
              4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
                  link/ether 00:26:55:37:57:b9 brd ff:ff:ff:ff:ff:ff
                  inet 10.0.0.1/8 brd 10.255.255.255 scope global eth2
                     valid_lft forever preferred_lft forever
                  inet6 fe80::226:55ff:fe37:57b9/64 scope link 
                     valid_lft forever preferred_lft forever
              5: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
                  link/ether e0:69:95:4a:82:1c brd ff:ff:ff:ff:ff:ff
                  inet6 fe80::e269:95ff:fe4a:821c/64 scope link 
                     valid_lft forever preferred_lft forever
              root@ali-HP-Pro-3010-Microtower-PC:~/fogproject/bin# 
              
              
              
              
              
              cat /etc/dhcp/dhcpd.conf
              
              # DHCP Server Configuration file\n#see /usr/share/doc/dhcp*/dhcpd.conf.sample
              # This file was created by FOG
              #Definition of PXE-specific options
              # Code 1: Multicast IP Address of bootfile
              # Code 2: UDP Port that client should monitor for MTFTP Responses
              # Code 3: UDP Port that MTFTP servers are using to listen for MTFTP requests
              # Code 4: Number of seconds a client must listen for activity before trying
              #         to start a new MTFTP transfer
              # Code 5: Number of seconds a client must listen before trying to restart
              #         a MTFTP transfer
              option space PXE;
              option PXE.mtftp-ip code 1 = ip-address;
              option PXE.mtftp-cport code 2 = unsigned integer 16;
              option PXE.mtftp-sport code 3 = unsigned integer 16;
              option PXE.mtftp-tmout code 4 = unsigned integer 8;
              option PXE.mtftp-delay code 5 = unsigned integer 8;
              option arch code 93 = unsigned integer 16;
              use-host-decl-names on;
              ddns-update-style interim;
              ignore client-updates;
              # Specify subnet of ether device you do NOT want service.
              # For systems with two or more ethernet devices.
              # subnet 136.165.0.0 netmask 255.255.0.0 {}
              subnet 0.0.0.0 netmask {
                  option subnet-mask ;
                  range dynamic-bootp 0.0.0.10 No IP Passed;
                  default-lease-time 21600;
                  max-lease-time 43200;
                  option routers 10.0.0.1;
                  option domain-name-servers 10.0.0.1;
                  next-server 10.0.0.1;
                  class "Legacy" {
                      match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00000";
                      filename "undionly.kkpxe";
                  }
                  class "UEFI-32-2" {
                      match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00002";
                      filename "i386-efi/ipxe.efi";
                  }
                  class "UEFI-32-1" {
                      match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00006";
                      filename "i386-efi/ipxe.efi";
                  }
                  class "UEFI-64-1" {
                      match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00007";
                      filename "ipxe.efi";
                  }
                  class "UEFI-64-2" {
                      match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00008";
                      filename "ipxe.efi";
                  }
                  class "UEFI-64-3" {
                      match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00009";
                      filename "ipxe.efi";
                  }
                  class "SURFACE-PRO-4" {
                      match if substring(option vendor-class-identifier, 0, 32) = "PXEClient:Arch:00007:UNDI:003016";
                      filename "ipxe7156.efi";
                  }
                  class "Apple-Intel-Netboot" {
                      match if substring(option vendor-class-identifier, 0, 14) = "AAPLBSDPC/i386";
                      option dhcp-parameter-request-list 1,3,17,43,60;
                      if (option dhcp-message-type = 8) {
                          option vendor-class-identifier "AAPLBSDPC";
                          if (substring(option vendor-encapsulated-options, 0, 3) = 01:01:01) {
                              # BSDP List
                              option vendor-encapsulated-options 01:01:01:04:02:80:00:07:04:81:00:05:2a:09:0D:81:00:05:2a:08:69:50:58:45:2d:46:4f:47;
                              filename "ipxe.efi";
                          }
                      }
                  }
              }
              
              Wayne WorkmanW 1 Reply Last reply Reply Quote 0
              • Wayne WorkmanW
                Wayne Workman @IT-trainee
                last edited by Wayne Workman

                @IT-trainee Your dhcp configuration is just incorrect, that’s why it fails to start.

                Is your server’s address really 10.0.0.1 ??? I really doubt this, but if it is, you can follow these instructions below. If it’s not that address, then we need to figure out what in the world happened and what your configuration should be.


                Run this command, but don’t copy/paste all the output because we don’t need to see it, only you need to see it.

                cat /opt/fog/.fogsettings

                Look for these fields in the output:

                ipaddress=
                interface=
                submask=
                routeraddress=
                plainrouter=
                dnsaddress=
                dodhcp=
                bldhcp=
                dhcpd=
                

                For you, they should be:

                ipaddress='10.0.0.1'     <---- Server IP address.
                interface='eth2'              <--- Desired interface
                submask='255.0.0.0'       <---- your desired interface's subnet mask.
                routeraddress=''    <---whatever your router address is     -
                plainrouter=''        <---whatever your router address is
                dnsaddress=''      <---whatever your dns server address is
                dodhcp='Y'             <----Tell fog to start DHCP.
                bldhcp='1'              <---- Tell fog to build the DHCP configuration.
                dhcpd='isc-dhcp-server'     <------Command used to start and enable the DHCP service.
                

                Edit the file /opt/fog/.fogsettings to correct these values.

                Then pull the latest version of FOG 1.3.0 RC via these instructions and re-run the installer as the instructions say: https://wiki.fogproject.org/wiki/index.php?title=Upgrade_to_trunk

                Additional reading:
                https://wiki.fogproject.org/wiki/index.php?title=.fogsettings

                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/

                I 1 Reply Last reply Reply Quote 0
                • I
                  IT-trainee @Wayne Workman
                  last edited by

                  @Wayne-Workman

                  thanks wayne i will see if i can solve the problem with this solution

                  i really appreciate that you help me keep up the good work !

                  Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                  • Wayne WorkmanW
                    Wayne Workman @IT-trainee
                    last edited by

                    @IT-trainee If you have problems just ask for help here.

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

                    290

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project