Re: NetReg: Deleting Leases

New Message Reply Date view Thread view Subject view Author view Attachment view

From: valianp@southwestern.edu
Date: Thu Jul 08 2004 - 15:50:03 CDT


Tim,

The web admin interface provides the interface for deleting registrations thus
forcing a re-register after their current lease has expired.

Quoting Tim Tyler <tyler@beloit.edu>:

> Jeff,
> Ok, I am interested in this topic as well. I used your script and it
> seems that it may be working fine. I need a couple clarifications though.
> 1. Removing leases is one thing, but forcing new registrations is
> another. Do I need to manually delete entries at the bottom of dhcpd.conf
> in order to force new registrations (dhcpd.conf.new,
> dhcpd.conf.bak)? While your script seems to handle dhcpd.leases, its not
> clear how one should handle dhcpd.conf.
>
> 2. While I presume that the input file is
> /var/state/dhcp/dhcpd.leases what is the output file for? Is that what I
> should use to over write dhcpd.leases?
>
> 3. Should dhcpd deamon be shut down while running this script?
>
> Thanks. -Tim
>
> At 08:17 AM 7/6/2004, you wrote:
> >Hi,
> > I wrote a perl script a while back that will clean the lease file.
> >It writes output to a specified file elsewhere. Questions? Write back.
> >Script is attached.
> >
> >Jeff Earickson
> >Colby College
> >
> >On Tue, 6 Jul 2004, David Davis wrote:
> >
> > > Date: Tue, 6 Jul 2004 08:40:35 -0400
> > > From: David Davis <dddavis@rmwc.edu>
> > > Reply-To: netreg@southwestern.edu
> > > To: netreg@southwestern.edu
> > > Subject: NetReg: Deleting Leases
> > >
> > > Morning,
> > >
> > > Is there any easy way to delete all of the leases on NetReg? Can I just
> > > clear the dhcpd entries and force new registrations on the system?
> > >
> > > D. David Davis III
> > > Network Manager
> > > Information Technology Department
> > > Randolph-Macon Woman's College
> > > dddavis@rmwc.edu
> > >
> > >
>
> Tim Tyler
> Network Engineer - Beloit College
> tyler@beloit.edu
>
> **********************************************************************
> To unsubscribe from this list, send an e-mail message to
> majordomo@southwestern.edu containing a single line with the words:
> unsubscribe netreg
> Send requests for assistance to: owner-netreg@southwestern.edu
> **********************************************************************
>

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

**********************************************************************
To unsubscribe from this list, send an e-mail message to
majordomo@southwestern.edu containing a single line with the words:
unsubscribe netreg
Send requests for assistance to: owner-netreg@southwestern.edu
**********************************************************************


New Message Reply Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.4 : Thu Aug 12 2004 - 12:01:46 CDT