Re: DHCP assistance required.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Simon Slater wrote:
> 	G'day all,
> 		I'm just starting to get to know dhcp and have got stuck very early on
> with the dhcp parser rejecting dhcpd.conf as shown below:
> 
> Feb 17 16:46:36 dell dhcpd: /etc/dhcpd.conf line 4: expecting a
> parameter or declaration
> Feb 17 16:46:36 dell dhcpd: default-lease-time 600;

Could the file be in DOS format, i.e. with CRLF?

What does:

file /etc/dhcpd.conf

say?

If you see the text "[dos]" after the file name
at the bottom line when you open it in vi then this
is your problem. Then do a

:ff=unix

and save the file and exit.

Mogens
-- 
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Mobile: +45 22 12 53 25
Email: mk@xxxxxx Homepage: http://www.crc.dk

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux