On Monday 21 January 2013 12:02:18 Kent A. Reed did opine: Message additions Copyright Monday 21 January 2013 by Gene Heskett
> On 1/21/2013 9:28 AM, Kent A. Reed wrote: > > On 1/21/2013 12:11 AM, EBo wrote: > >> It sounds like this condition should be checked for in the scripts > >> and/or code -- there are a number of conditions where stale files can > >> be left around (although one would hope that this would be taken > >> care of on bootup). > > > > Ebo: > > > > I added stanzas to /etc/rc.local that check for the existence of the > > leases files and delete them if present (I don't like blind deletes; > > this way I can include a log message if the file exists). > > > > However, Bas' most recent message may lead to a different fix. > > Oh, please, shoot me now. This is one of those answers that is short, > neat, and wrong. The offending lease file gets created after rc.local > runs. > > Regards, > Kent +100. Basically, if the lease file exists, it hasn't expired. Nuking it just for the hell of it should cause the lease to be renewed, or the connection to be dropped until it has been renewed. But that is not saying that there aren't broken dhcp(d)'s in the wild. Amazingly, with my hosts files version defining my local network, that is not and never has been a problem here. For small local networks of less than a class D size (253) machines, running dchp against a dchpd server is a time wasting PITA. Sure, use dhcp in your router to define your address the ISP gives you, but once the router NAT's that to your local 192.168.xx.xx address space, dhcp is of no further real use, and gets in the way of locally addressing your machines. I have my laptop using dhcp over its 802-11, and still do but when using that connection it is not pingable by name. And it takes something like 3 or 4 minutes for NM to gain a connection after booting. Drag a cat5 over to it and its available at "lappy" before it has even started the x server. Cheers, Gene -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) My web page: <http://coyoteden.dyndns-free.com:85/gene> is up! My views <http://www.armchairpatriot.com/What%20Has%20America%20Become.shtml> All heiresses are beautiful. -- John Dryden I was taught to respect my elders, but its getting harder and harder to find any... ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
