NetReg: netreg with dhcpd3.0rc3

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

From: Luke McKee (luke@webpay.com.au)
Date: Tue Jun 05 2001 - 20:09:01 CDT


Hello NetReg Users,

Firstly before I put in a little niggles about netreg and the newer
dhcpd servers I better say it is a great piece of Software.
Thanks to the maintainers and when the hell is netreg 2.0 coming out - I
want more!! :-)

I have had a few minor problems with netreg 1.2 working with ISC's most
recent DHCPD.
The format of the dhcpd.leases file must have changed. I had to add
another "$TRASH" into register.cgi so it could get the right MAC.

Here's a code snippet from register.cgi.

 ($TRASH, $TRASH, $TRASH, $MAC) = split / +|\;/;

Note the extra $TRASH...

Maybe there could be a configuration time option for the people who
don't hack netreg once they get it. (I think most people do except ITS @
Southwestern ! )

Also earlier I had problems with authentication working. I am using a
newer perl (5.6.1) and when it ran variables.pl it kept defaulting to
FTP for authentication when I set it to use POP.
I made the following extremely minor changes to fix the problem.

  $AUTH_METHOD = "POP"; # possible values: (FTP|POP)
  if ($AUTH_METHOD =~ "POP") { use Mail::POP3Client; }
  if ($AUTH_METHOD =~ "FTP") { use Net::FTP; }

Ok I hoped I helped a few people with similar installation problems
using newer packages.

Luke McKee
Supporter and Network Admin

**********************************************************************
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:35 CDT