Discussion:
[Freedos-user] SNTP complains about lease time
Marcos Favero Florence de Barros
2013-08-30 12:29:32 UTC
Permalink
Hi Mike,

I've been using SNTP regularly to adjust the computer clock, but
recently it began to give this message:

mTCP SNTP Client by M Brutman (***@gmail.com) (C)opyright 2009-2013
Version: Apr 26 2013
Your DHCP lease expires in less than an hour! Please run DHCP.EXE.

My batch file does run DHCP before SNTP, and indeed the lease is
less than one hour:

Sending DHCP requests, Press [ESC] to abort.
DHCP request sent, attempt 1: Offer received, Acknowledged
Good news everyone!
IPADDR = ...
NETMASK = ...
GATEWAY = ...
NAMESERVER = ...
LEASE_TIME = 1800 seconds
Settings written to 'c:\internet\mtcp\mtcp_mar.cfg'

It used to be 3600 seconds, and SNTP did work.

Presumably we now must either increase lease time to one hour,
or reduce SNTP's requirement of a one-hour lease. How can we do
it?

Thanks,

Marcos


--------------------------------------
Marcos Fávero Florence de Barros
Campinas, Brazil
Robert Riebisch
2013-09-01 16:56:39 UTC
Permalink
Post by Marcos Favero Florence de Barros
I've been using SNTP regularly to adjust the computer clock, but
What do you mean by saying `recently´?
What device is your DHCP server? A router? Did you change it `recently´?

Robert Riebisch
--
+++ BTTR Software +++
Home page: http://www.bttr-software.de/
DOS ain't dead: http://www.bttr-software.de/forum/
Marcos Favero Florence de Barros
2013-09-01 19:40:54 UTC
Permalink
Hi,
Post by Marcos Favero Florence de Barros
I've been using SNTP regularly to adjust the computer clock, but
What do you mean by saying `recently'?
I mean a few weeks ago.
What device is your DHCP server? A router? Did you change it `recently'?
Sorry, I do not know what a DHCP server is.

My internet provider has installed what I suppose is a modem
several years ago, and it has not been changed since. It is
connected by cable to the Ethernet card of my computer.

Marcos



--------------------------------------
Marcos Fávero Florence de Barros
Campinas, Brazil
Chris Evans
2013-09-01 20:23:58 UTC
Permalink
Dhcp is dynamic host configuration protocol basicly it doles out IP address
to client pc

Normally it is on the router to your network, at *0.1 or *1.1 address

You have to make sure the dhcp client has the correct ip for the router and
it is communicate on right network mask
Post by Marcos Favero Florence de Barros
Hi,
Post by Marcos Favero Florence de Barros
I've been using SNTP regularly to adjust the computer clock, but
What do you mean by saying `recently'?
I mean a few weeks ago.
What device is your DHCP server? A router? Did you change it `recently'?
Sorry, I do not know what a DHCP server is.
My internet provider has installed what I suppose is a modem
several years ago, and it has not been changed since. It is
connected by cable to the Ethernet card of my computer.
Marcos
--------------------------------------
Marcos Fávero Florence de Barros
Campinas, Brazil
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Freedos-user mailing list
https://lists.sourceforge.net/lists/listinfo/freedos-user
Loading...