You are not logged in.
hi !
I am trying to create a dhcp server, i followed the wiki to configure it, when i start it with "systemctl" it says it's been started but really no host can connect to the AP.
sudo systemctl status dhcpd4@at0.service
dhcpd4@at0.service - IPv4 DHCP server on at0
Loaded: loaded (/etc/systemd/system/dhcpd4@.service; disabled; vendor preset: disabled)
Active: active (running) since Fri 2016-03-25 18:40:01 CET; 7s ago
Process: 28153 ExecStart=/usr/bin/dhcpd -4 -q -pf /run/dhcpd4.pid %I (code=exited, status=0/SUCCESS)
Main PID: 28155 (dhcpd)
Tasks: 1 (limit: 512)
CGroup: /system.slice/system-dhcpd4.slice/dhcpd4@at0.service
└─28155 /usr/bin/dhcpd -4 -q -pf /run/dhcpd4.pid at0
Mar 25 18:40:01 host systemd[1]: Starting IPv4 DHCP server on at0...
Mar 25 18:40:01 host dhcpd[28153]: irs_resconf_load failed: 59.
Mar 25 18:40:01 host dhcpd[28153]: Unable to set resolver from resolv.conf; startup continuing but DDNS support may be affected
Mar 25 18:40:01 host dhcpd[28153]: Wrote 0 leases to leases file.
Mar 25 18:40:01 host dhcpd[28155]: Server starting service.
Mar 25 18:40:01 host systemd[1]: Started IPv4 DHCP server on at0.
this is /etc/dhcpd.conf
option domain-name-servers 8.8.8.8, 8.8.4.4;
option subnet-mask 255.255.255.0;
option routers 139.96.30.100;
#default-lease-time 600;
#max-lease-time 7200;
subnet 139.96.30.0 netmask 255.255.255.0 {
option broadcast-address 139.96.30.255;
range 139.96.30.150 139.96.30.250;
}
# No dhcp on wls1 the interface i use to connect to internet
subnet 192.168.1.0 netmask 255.255.255.0 {
}
any idea how to get to work ?
Last edited by fuhrer (2016-03-25 18:08:45)
Offline