Subject: Re: dhclient issues
To: Murray Armfield <marmfiel@bigpond.net.au>
From: Luke Mewburn <lukem@wasabisystems.com>
List: tech-net
Date: 03/02/2001 10:14:48
On Fri, Mar 02, 2001 at 10:57:01AM +1100, Murray Armfield wrote:
> Hi Folks,
>            I am an Australian NetBSD user who makes use of our domestic
> cable internet service. This service uses a Nortell networks cable modem
> which is basically just a dhcp relay agent. I tried to use NetBSD as a
> dhclient to this box but dhclient core dumped. After debugging dhclient
> and rebuilding I got the system going. I am not a NetBSD developer and I
> do not know what to do with the bugs/issues I found in the dhclient,
> hence this email to a tech list. I am not entirely confident that my
> changes are really correct.

Hi Murray.

A couple of things:
	* Use send-pr to report bugs (with suggested fix if possible).
	  that way your bug report won't get lost amongst the normal
	  mailing list traffic. (It will just get lost in the bug list!
	  Just Kidding :-)

	* I've been using NetBSD with BigPond Cable for a long time
	  fairly successfully. My /etc/dhclient.conf is:

	timeout			60;
	retry			60;
	reboot			10;
	select-timeout		5;
	initial-interval	2;
	reject			192.168.42.1;
					# my internal interface

	interface "fxp1" {		# my external interface
		send	dhcp-lease-time		3600;
		request	subnet-mask, broadcast-address, routers,
			domain-name, domain-name-servers;
		require	subnet-mask, domain-name-servers;
		script	"/etc/dhclient-script";
	}

	  That seems to work for me ok.

Hope that helps,
Luke.

--
Luke Mewburn  <lukem@wasabisystems.com>  http://www.wasabisystems.com
Luke Mewburn     <lukem@netbsd.org>      http://www.netbsd.org
Wasabi Systems - providing NetBSD sales, support and service.