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]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux