Can you please let me where i missed semicolon ,i could not find it but it keep on saying /etc/dhcp/dhcpd.conf line 7: semicolon expected. option domain-name ��
authoritative;
default-lease-time 3600;
max-lease-time 7200;
subnet 192.168.2.0 netmask 255.255.255.0 {
option routers 192.168.2.1;
option subnet-mask 255.255.255.0;
option domain-name “Freewifi”;
option domain-name-servers 8.8.8.8;
range 192.168.2.2 192.168.2.40;
}
CentOS 7 DHCP.CONF
-
- Posts: 1521
- Joined: 2014/05/21 20:16:00
- Location: Central New York, USA
Re: CentOS 7 DHCP.CONF
My uneducated guess would be that those quotation marks in line 7 are throwing for a loop.
Re: CentOS 7 DHCP.CONF
Or perhaps it's expecting a real domain name in there not just a name - e.g. "freewifi.local.";
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 1
- Joined: 2017/08/04 05:52:45
Re: CentOS 7 DHCP.CONF
Hey,
Try to use option domain-name "Freewifi";
instead of option domain-name “Freewifi”;
I think there is some issue with inverted commas that are used for this line. use " this not “ this.
or try to print the same using your keyboard.
BR,
Try to use option domain-name "Freewifi";
instead of option domain-name “Freewifi”;
I think there is some issue with inverted commas that are used for this line. use " this not “ this.
or try to print the same using your keyboard.
BR,