Error at dhcpd.conf

Kernels & Hardware, configuring network, installing services

Error at dhcpd.conf

Postby iF4yt » 2017-04-15 15:06

Heyho.

I want to configure my Raspberrypi as DNS / DHCP Server. DNS works fine, but I have some problems with the DHCP configuration.
The problem is:
Code: Select all
root@raspberrypi:/etc/dhcp# dhcpd -t -cf dhcpd.conf
Internet Systems Consortium DHCP Server 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Config file: dhcpd.conf
Database file: /var/lib/dhcp/dhcpd.leases
PID file: /var/run/dhcpd.pid
WARNING: Host declarations are global.  They are not limited to the scope you declared them in.
dhcpd.conf line 33: expecting numeric value.
      hardware ethernet?

Configuration file errors encountered -- exiting


The regarding config Part:
Code: Select all
host raspi {
                hardware ethernet  b8:27:eb:69:25:cc;
                fixed-address      192.168.2.82;
                option host-name   "raspi";
}


System Information:
Code: Select all
Linux raspberrypi 4.4.50-v7+ #970 SMP Mon Feb 20 19:18:29 GMT 2017 armv7l GNU/Linux


I'm editing via SSH from my MacBook at default Terminal. Are there maybe some Codepage problems? Or is something else wrong?

Thanks in advance
iF4yt
 
Posts: 1
Joined: 2017-04-15 14:58

Return to System configuration

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable