Forcing expiration of DHCP lease
OK, this seems like it should be obvious but I'm not getting anywhere. I work in a corporate environment where the networking infrastructure (particularly the DHCP) is all Windows stuff and the guy in charge of it understands very little about DHCP and nothing at all about Linux, so he's not much use. I swapped the NICs in my Linux box (let's say it previously had the hostname linux) and the DHCP server has now assigned my machine the name linux-1 since it believes a lease with the old name is still held by another interface (the old NIC). I want to communicate to the server that it's OK to assign the old name to my new interface (I've put 'send host-name "linux";' into my /etc/dhclient.conf) but until it's convinced that the old lease should be abandoned it seems unwilling to do it. Meanwhile, other systems that refer to my Linux box by name are failing to find it. In the past I've managed Linux dhcpd systems where, as a last resort, I could hand-hack the leases file and restart the DHCP server, but that's not an option in this case. I did RTFM but can't find anything that tells how to direct the client to inform the server that the lease should expire. ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Re: Forcing expiration of DHCP lease
On Thu, 3 Jun 2004, Michael ODonnell wrote: > I work in a corporate environment where the > networking infrastructure (particularly the DHCP) > is all Windows stuff and the guy in charge of it > understands very little about DHCP and nothing at > all about Linux, so he's not much use. I swapped > the NICs in my Linux box (let's say it previously > had the hostname linux) and the DHCP server has > now assigned my machine the name linux-1 since > it believes a lease with the old name is still > held by another interface (the old NIC). > > I want to communicate to the server that it's > OK to assign the old name to my new interface The simplest thing would be for the Windows sysadmin to just delete the lease and let it be reassigned. It ought not be but a minute to do. (I am not in front of one of my Windows servers, so I can't tell you exactly what steps to do.) Alternatively, you could force your system to have the same IP that it had when it was called "linux." -- Dan Jenkins ([EMAIL PROTECTED]) Rastech Inc., Bedford, NH, USA --- 603-624-7272 *** Technical Support Excellence for over a Quarter Century ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Re: Forcing expiration of DHCP lease
On Thu, 3 Jun 2004, Michael ODonnell wrote: > I work in a corporate environment where the > networking infrastructure (particularly the DHCP) > is all Windows stuff and the guy in charge of it > understands very little about DHCP and nothing at > all about Linux, so he's not much use. I swapped > the NICs in my Linux box (let's say it previously > had the hostname linux) and the DHCP server has > now assigned my machine the name linux-1 since > it believes a lease with the old name is still > held by another interface (the old NIC). > > I want to communicate to the server that it's > OK to assign the old name to my new interface (I meant to continue, but accidentally sent it to early.) Manually set your IP to the same one as when you were know as "linux" until the lease expires. That still doesn't help that it now knows "linux-1" as the name associated with your MAC. Hopefully the lease for "linux-1" would have expired by then and you'll get "linux" when you go back to DHCP. If you could change the MAC address of your NIC to the same MAC you formerly had when known as "linux" that would also work. How to do this varies from NIC to NIC. If you had the original NIC, you release the address. Though I'm not sure how Windows handles that since it would still know the new NIC as "linux-1." Again, the best thing is if the Windows sysadmin just corrected the problem, but as that doesn't seem to be a possibility, these other kluges may help. -- Dan Jenkins ([EMAIL PROTECTED]) Rastech Inc., Bedford, NH, USA --- 603-624-7272 *** Technical Support Excellence for over a Quarter Century ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Re: Forcing expiration of DHCP lease
Note, the following is supposition and I'd appreciate that if anybody notices I'm wrong they would say so. My understanding of DHCP is that the client does not *have* a mechanism to tell the server to release a lease for a different system. Now, I understand that you've simply changed NIC's, but the DHCP server has no way to know that. Hence, the only way to get the DHCP server to dole out that IP/host to you is to go to the DHCP server and manually expire the lease. Not knowing a thing about Windows DHCP server, I wouldn't have the first clue how though. 8) -- So, make a real effort to avoid getting sucked into all the expensive lifestyle habits of typical Americans. Because if you do that, then people with the money will dictate what you do with your life. -- Richard Stallman Cole Tuininga Lead Developer Code Energy, Inc [EMAIL PROTECTED] PGP Key ID: 0x43E5755D ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Re: Forcing expiration of DHCP lease
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Jun 03, 2004 at 10:32:46AM -0400, Michael ODonnell wrote: > I did RTFM but can't find anything that tells how to direct the > client to inform the server that the lease should expire. Not that I've ever done it, but what about spoofing the MAC of your old NIC long enough to issue a DHCP release? I'm not sure of the exact mechanism, but it should be possible. dhclient has a '-r' option to release the current lease. - -- Matt BrodeurRHCE [EMAIL PROTECTED]http://www.NextTime.com I used to be indecisive, now I'm not sure. -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQFAvz+Wc8/WFSz+GKMRAi73AKDAQW02XqLmrasqQP5r5JdjFMEDiQCfVTnO MzHvW6IPzf1RdjsV9m+jf7U= =oaSC -END PGP SIGNATURE- ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Re: Forcing expiration of DHCP lease
On Thu, 3 Jun 2004, Cole Tuininga wrote: > Note, the following is supposition and I'd appreciate that if anybody > notices I'm wrong they would say so. > > My understanding of DHCP is that the client does not *have* a mechanism > to tell the server to release a lease for a different system. Now, I > understand that you've simply changed NIC's, but the DHCP server has no > way to know that. Hence, the only way to get the DHCP server to dole > out that IP/host to you is to go to the DHCP server and manually expire > the lease. To the best of my knowledge, this is correct. I know of no way to accelerate the expiration of a lease. > Not knowing a thing about Windows DHCP server, I wouldn't have the first > clue how though. 8) I ought to, but I do it so rarely, I'd have to look at the screens. It does vary too some from version to version of Windows server. Generally, the first thing I do when faced with a Windows DHCP server is replace it with a Linux one. ;-) -- Dan Jenkins ([EMAIL PROTECTED]) Rastech Inc., Bedford, NH, USA --- 603-624-7272 *** Technical Support Excellence for over a Quarter Century ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Re: Forcing expiration of DHCP lease
the command on the window client is from the dos prompt issue the command: ipconfig /release - Original Message - From: "Dan Jenkins" <[EMAIL PROTECTED]> Cc: "GNHLUG" <[EMAIL PROTECTED]> Sent: Thursday, June 03, 2004 12:39 PM Subject: Re: Forcing expiration of DHCP lease > On Thu, 3 Jun 2004, Cole Tuininga wrote: > > > Note, the following is supposition and I'd appreciate that if anybody > > notices I'm wrong they would say so. > > > > My understanding of DHCP is that the client does not *have* a mechanism > > to tell the server to release a lease for a different system. Now, I > > understand that you've simply changed NIC's, but the DHCP server has no > > way to know that. Hence, the only way to get the DHCP server to dole > > out that IP/host to you is to go to the DHCP server and manually expire > > the lease. > > To the best of my knowledge, this is correct. I know of no way to accelerate > the expiration of a lease. > > > Not knowing a thing about Windows DHCP server, I wouldn't have the first > > clue how though. 8) > > I ought to, but I do it so rarely, I'd have to look at the screens. It does > vary too some from version to version of Windows server. > > Generally, the first thing I do when faced with a Windows DHCP server is > replace it with a Linux one. ;-) > > -- > Dan Jenkins ([EMAIL PROTECTED]) > Rastech Inc., Bedford, NH, USA --- 603-624-7272 > *** Technical Support Excellence for over a Quarter Century > > ___ > gnhlug-discuss mailing list > [EMAIL PROTECTED] > http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
missing Gimp talk...
those of you who were at last month's SLUG meeting probably remember how interested i was in the talk on GIMP to be given at our next meeting... alas, i will be in class that night and be unable(!) to attend. if anyone would care to .mp3 the presentation for me, i would greatly appreciate it. my classroom also has window$ boxen on broadband if anyone can think of a nerdier solution to this unfortunate scheduling conflict thanks, dave ___ gnhlug-announce mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-announce ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
LOST MY DONGLE
greetings, all, i could use your help... at the last CentraLUG meeting (2004.05.03), i seem to have lost the DONGLE for my PCMCIA nic... if anyone has seen it, please drop me a line. thanks! dave ___ gnhlug-announce mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-announce ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Searching a site - including in PDFs and (ugh) DOCs?
Hi all - Does anyone know of a package which can provide a search capability for a Web site - including searching in PDF and .DOC files? It can even be proprietary for this need... TIA -Bill ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Re: Forcing expiration of DHCP lease
On Thu, 3 Jun 2004, Richard A Sharpe wrote: > the command on the window client is from the dos prompt issue the command: > ipconfig /release That is the command to release the IP on the CLIENT. I was talking about removing an issued lease from the DHCP SERVER. And, releasing the IP from the client, AFAIK, doesn't mean the lease is cancelled, just inactive. If you renew the IP during the lease term (ipconfig /renew) you ought to get the same IP number. The MAC is still associated with that IP and, in his case, the name. According to the Microsoft DHCP Server documentation I just checked, the lease is valid until the expiration date. So, if you have a three year lease on an IP, it cannot be issued to a different MAC address until the three years are up. I haven't checked the RFCs for DHCP, but I doubt there is any way for the client to force a lease to expire. The point of DHCP is that the DHCP server is configuring the client, not the other one around. -- Dan Jenkins ([EMAIL PROTECTED]) Rastech Inc., Bedford, NH, USA --- 603-624-7272 *** Technical Support Excellence for over a Quarter Century ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Re: Searching a site - including in PDFs and (ugh) DOCs?
Bill Sconce <[EMAIL PROTECTED]> writes: > Does anyone know of a package which can provide a search capability > for a Web site - including searching in PDF and .DOC files? > > It can even be proprietary for this need... Submit the site to google? (seriously) Regards, --kevin -- "Tell them [the customer] their disk is the wrong format. If they use Mac, tell them we use PC. If they use PC, tell them we're Mac. And if they got both, then tell them we use Linux. If they got that, then tell them the computers are down." -- Dave Chapelle ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Re: Searching a site - including in PDFs and (ugh) DOCs?
On Thu, Jun 03, 2004 at 03:21:01PM -0400, Bill Sconce <[EMAIL PROTECTED]> wrote: Does anyone know of a package which can provide a search capability for a Web site - including searching in PDF and .DOC files? It can even be proprietary for this need... Google.com does this, and Google makes search appliances (http://www.google.com/appliance/), that can do this as well. Be aware that it may cost $32,000 for a 2 year license, though... (http://www.google.com/appliance/faq.html#4) Of course, if you want to go really cheap, you can use Google's free site search: http://www.google.com/searchcode.html#both I'm not aware of anything in the middle from Google. -- Bob Bell ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Re: missing Gimp talk...
alas, i will be in class that night and be unable(!) to attend. if anyone would care to .mp3 the presentation for me, i would greatly appreciate it. my classroom also has window$ boxen on broadband if anyone can think of a nerdier solution to this unfortunate scheduling conflict As an experiment, we videotaped (miniDV) my last presentation, and Rob Lembree simultaneously captured the video to his drive for conversion to DVD. I didn't have time to do anything with the miniDV video yet, but maybe I can do a better presentation this time, and tape it, and do a DVD. Rob, Do you have a DVD of the first presentation? I've got blank DVD+R. thanks, dave ___ gnhlug-announce mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-announce -- FREePHILE We are 'Open' for Business Free and Open Source Software http://www.freephile.com (978) 270-2425 Trouble strikes in series of threes, but when working around the house the next job after a series of three is not the fourth job -- it's the start of a brand new series of three. ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Re: Searching a site - including in PDFs and (ugh) DOCs?
On Thu, 2004-06-03 at 15:21, Bill Sconce wrote: > Hi all - > > Does anyone know of a package which can provide a search capability > for a Web site - including searching in PDF and .DOC files? > > It can even be proprietary for this need... > > TIA > > -Bill I've deployed WebGlimpse for a client's intranet and they're very happy with it. It costs about $250 (the cost is variable) and they will even install it for you with a money back guarantee that if the install cannot be done then you get your money back. http://www.webglimpse.net/ They are *very* Linux savvy. -- Dan Coutu Managing Director Snowy Owl Internet Consulting, LLC http://www.snowy-owl.com ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Re: Searching a site - including in PDFs and (ugh) DOCs?
It's been a while since I thought about Glimpse/WebGlimpse but they might be of interest. Once upon a time they were somewhere near http://glimpse.cs.arizona.edu/ but much has changed since they began - they alienated part of their audience when they went from something resembling FOSS to a for-profit model and have probably moved elsewhere in the meantime... ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Re: Searching a site - including in PDFs and (ugh) DOCs?
>It's been a while since I thought about Glimpse/WebGlimpse but >they might be of interest. Once upon a time they were somewhere >near http://glimpse.cs.arizona.edu/ but much has changed since >they began - they alienated part of their audience when they >went from something resembling FOSS to a for-profit model and >have probably moved elsewhere in the meantime... Actually it's not quite true that I haven't thought about Glimpse in a while; I use glimpse almost every day in my various development environments where I have an old version (4.1 circa 1997) deployed as part of my code analysis toolset. Glimpse basically pre-greps a specified collection of files, which makes subsequent searches quite fast. For example, I routinely search entire kernel source trees in one or two seconds. Glimpse also allows searches with configurable amounts of error-tolerance, or "fuzz" . ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Microsoft patents double-clicking
http://www.itworld.com/Man/2687/040603mspatent/ http://patft.uspto.gov/netacgi/nph-Parser?Sect1=PTO1&Sect2=HITOFF&d=PALL&p=1&u=/netahtml/srchnum.htm&r=1&f=G&l=50&s1=6,727,830.WKU.&OS=PN/6,727,830&RS=PN/6,727,830 ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Re: Microsoft patents double-clicking
Well, now that Microsoft has patented double-clicking and given Amazon's one-click patent*, I might as well throw away my mouse, right? It's a good thing I kept up my commandline skills...no one has a patent on typing, do they?! :-) (* Yes, I know Amazon's patent is related to checkouts; hey, I'm trying to be cute and sarcastic here, gimme a break.) -- How many thousands of Iraqis do we have to kill and torture before we figure out they do not want us in their country? US troops home now! ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Re: Searching a site - including in PDFs and (ugh) DOCs?
On Thu, 2004-06-03 at 15:21, Bill Sconce wrote: > Hi all - > > Does anyone know of a package which can provide a search capability > for a Web site - including searching in PDF and .DOC files? How about namazu? For debian users, use: apt-get install namazu2 I've been using it on my laptop (mostly email and text) but it claims to support a bunch of file formats including Microsoft Office formats, PDF, gzip, etc. See the manual.html that comes with the kit for a complete list. -marc -- Marc Nozell ([EMAIL PROTECTED]) http://www.nozell.com/blog/ ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss