Re: DHCP assistance required.

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

 



On Tue, Feb 17, 2009 at 09:50:30PM +1100, Simon Slater wrote:
> On Tue, 2009-02-17 at 10:32 +0000, Steve Searle wrote:
> > Around 05:56am on Tuesday, February 17, 2009 (UK time), Simon Slater scrawled:
> > 
> > You owe me one :-)
> > 
> > > default-lease-time 600;
> > > max−lease−time 7200; 
> >         should be:
> >   max-lease-time
> > 
> > 
> > The max-lease-time does not contain dashes but some sort of double
> > length dash.
> > 
> > Steve
> > 
> You got it!  Finally dhcp is up and running. Many thanks!  I just wonder
> why the parser was pointing to the line before this one?
> 
> Now I can start setting up the clients ... in the morning.

It does pay to use "od" or the like with the ascii man page.

$ echo 'max−lease−time 7200' | xod
Offset:    0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f   0123456789abcdef
00000000: 6d 61 78 e2 88 92 6c 65 61 73 65 e2 88 92 74 69 | max...lease...ti |
00000010: 6d 65 20 37 32 30 30 0a 00 00 00 00 00 00 00 00 | me 7200......... |
$ echo 'max-lease-time 7200' | xod
Offset:    0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f   0123456789abcdef
00000000: 6d 61 78 2d 6c 65 61 73 65 2d 74 69 6d 65 20 37 | max-lease-time 7 |
00000010: 32 30 30 0a 00 00 00 00 00 00 00 00 00 00 00 00 | 200............. |
$ echo '- - - ' | xod
Offset:    0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f   0123456789abcdef
00000000: 2d 20 2d 20 2d 20 0a 00 00 00 00 00 00 00 00 00 | - - - .......... |
$ echo ' − −' | xod
Offset:    0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f   0123456789abcdef
00000000: 20 e2 88 92 20 e2 88 92 0a 00 00 00 00 00 00 00 |  ... ........... |



-- 
	T o m  M i t c h e l l 
	Found me a new hat, now what?


-- 
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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux