Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    13th sept bugs in dhcp, nanobsd

    2.1 Snapshot Feedback and Problems - RETIRED
    3
    7
    2.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.
    • X
      xbipin
      last edited by

      Sep 14 11:13:23 	dhcpd: Internet Systems Consortium DHCP Server 4.2.4-P1
      Sep 14 11:13:23 	dhcpd: Copyright 2004-2012 Internet Systems Consortium.
      Sep 14 11:13:23 	dhcpd: All rights reserved.
      Sep 14 11:13:23 	dhcpd: For info, please visit https://www.isc.org/software/dhcp/
      Sep 14 11:13:23 	dhcpd: /etc/dhcpd.conf line 15: expecting right-hand side.
      Sep 14 11:13:23 	dhcpd: match if substring (hardware, 1, 1) = ;
      Sep 14 11:13:23 	dhcpd: ^
      Sep 14 11:13:23 	dhcpd: Configuration file errors encountered -- exiting
      Sep 14 11:13:23 	dhcpd:
      Sep 14 11:13:23 	dhcpd: If you did not get this software from ftp.isc.org, please
      Sep 14 11:13:23 	dhcpd: get the latest from ftp.isc.org and install that before
      Sep 14 11:13:23 	dhcpd: requesting help.
      Sep 14 11:13:23 	dhcpd:
      Sep 14 11:13:23 	dhcpd: If you did get this software from ftp.isc.org and have not
      Sep 14 11:13:23 	dhcpd: yet read the README, please read it before requesting help.
      Sep 14 11:13:23 	dhcpd: If you intend to request help from the dhcp-server@isc.org
      Sep 14 11:13:23 	dhcpd: mailing list, please read the section on the README about
      Sep 14 11:13:23 	dhcpd: submitting bug reports and requests for help.
      Sep 14 11:13:23 	dhcpd:
      Sep 14 11:13:23 	dhcpd: Please do not under any circumstances send requests for
      Sep 14 11:13:23 	dhcpd: help directly to the authors of this software - please
      Sep 14 11:13:23 	dhcpd: send them to the appropriate mailing list as described in
      Sep 14 11:13:23 	dhcpd: the README file.
      Sep 14 11:13:23 	dhcpd:
      Sep 14 11:13:23 	dhcpd: exiting.
      
      Sep 14 11:13:23 	php: /diag_logs_dhcp.php: The command '/usr/local/sbin/dhcpd -user dhcpd -group _dhcp -chroot /var/dhcpd -cf /etc/dhcpd.conf -pf /var/run/dhcpd.pid vr0' returned exit code '1', the output was 'Internet Systems Consortium DHCP Server 4.2.4-P1 Copyright 2004-2012 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ /etc/dhcpd.conf line 15: expecting right-hand side. match if substring (hardware, 1, 1) = ; ^ Configuration file errors encountered -- exiting If you did not get this software from ftp.isc.org, please get the latest from ftp.isc.org and install that before requesting help. If you did get this software from ftp.isc.org and have not yet read the README, please read it before requesting help. If you intend to request help from the dhcp-server@isc.org mailing list, please read the section on the README about submitting bug reports and requests for help. Please do not under any circu
      
      1 Reply Last reply Reply Quote 0
      • X
        xbipin
        last edited by

        it has something to do with this commit

        ID 1f1a08c85b7e8ddc6473795534ed5422a2c5aaaf
        Parent e288ddb1

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

          is line 15 of the file /var/dhcpd/etc/dhcpd.conf supposed to be:
          match if substring (hardware, 1, 1) = "" ;
          ???

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

            i gave up trying to debug /etc/inc/services.inc and just copied the old one in and it works for now.

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              I probably just left out a check for an empty somewhere - what does your  /var/dhcpd/etc/dhcpd.conf look like when it's broken?

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • jimpJ
                jimp Rebel Alliance Developer Netgate
                last edited by

                n/m - found & fixed

                https://github.com/bsdperimeter/pfsense/commit/80d30a83463f3ee8160bbd9b38cd2f2f510560d7

                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

                1 Reply Last reply Reply Quote 0
                • X
                  xbipin
                  last edited by

                  my config is this on older snapshot

                  
                  option domain-name "domain";
                  option ldap-server code 95 = text;
                  option domain-search-list code 119 = text;
                  
                  default-lease-time 7200;
                  max-lease-time 86400;
                  log-facility local7;
                  ddns-update-style none;
                  one-lease-per-client true;
                  deny duplicates;
                  ping-check true;
                  authoritative;
                  subnet 192.168.0.0 netmask 255.255.255.0 {
                  	pool {
                  		deny unknown-clients;
                  		range 192.168.0.55 192.168.0.100;
                  	}
                  	option routers 192.168.0.1;
                  	option domain-name-servers 192.168.0.1;
                  	default-lease-time 3000;
                  	max-lease-time 3600;
                  
                  }
                  host s_lan_0 {
                  	hardware ethernet xx:xx:xx:xx:xx:xx;
                  	fixed-address 192.168.0.2;
                  	option host-name "SipuraSPA";
                  }
                  host s_lan_1 {
                  	hardware ethernet xx:xx:xx:xx:xx:xx;
                  	fixed-address 192.168.0.11;
                  	option host-name "Bipin-PC";
                  }
                  host s_lan_2 {
                  	hardware ethernet xx:xx:xx:xx:xx:xx;
                  	fixed-address 192.168.0.12;
                  }
                  
                  
                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.