Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have installed isc-dhcp-server, and I wish to using this dhcp server as wireless hotspot. I have the following dhcpd.conf file in /etc/dhcp/dhcpd.conf

ddns-update-style none; 
option domain-name-servers 172.31.1.130, 172.31.1.1;
authoritative; 
log-facility local7;
subnet 10.10.0.0 netmask 255.255.255.0 { 
range 10.10.0.2 10.10.0.4; 
option routers 10.10.0.1; 
option subnet-mask 255.255.255.0; 
option domain-name-servers 172.31.1.130,172.31.1.1; 
}

I run the following command

sudo dhcpd -t /etc/dhcp/dhcpd.conf 

It gives the following output

interface name too long (is 20).
share|improve this question
    
Try this: dhcpd -t -cf /etc/dhcp/dhcpd.conf –  user159569 May 17 '13 at 13:18
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.