Subject: bin/12572: 1.5.1_BETA NetBSD/alpha 20010406
To: None <gnats-bugs@gnats.netbsd.org>
From: Love <lha@stacken.kth.se>
List: netbsd-bugs
Date: 04/07/2001 22:28:14
>Number:         12572
>Category:       bin
>Synopsis:       1.5.1_BETA problems with dhclient
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 07 13:29:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Love
>Release:        1.5.1_BETA
>Organization:
        Stacken Computer Club
>Environment:
System: NetBSD  1.5.1_BETA NetBSD 1.5.1_BETA (GENERIC) #27: Fri Apr  6 13:32:08 MEST 2001     he@albatross.runit.no:/usr/src/sys/arch/alpha/compile/GENERIC alpha
Architecture: alpha
Machine: alpha
>Description:

        dhclient have problems finding dhclient-script in /sbin

>How-To-Repeat:

	# /sbin/dhclient de0
	Internet Software Consortium DHCP Client V3.0b2pl23
	Copyright 1995-2001 Internet Software Consortium.
	All rights reserved.
	For info, please visit http://www.isc.org/products/DHCP
	
	execve (/sbin/dhclient-script, ...): No such file or directory
	de0: not found
	
	If you did not get this software from ftp.isc.org, please
	[...]
	# ls 
	# ls -l /sbin/dhclient /etc/dhclient
	ls: /sbin/dhclient: No such file or directory
	-r-xr-xr-x  1 root  wheel  758656 Apr  6 03:14 /etc/dhclient


When I fixed it, I got this error

	DHCPREQUEST on de0 to 255.255.255.255 port 67
	Discarding packet with bogus hlen.
	receive_packet failed on de0: Resource temporarily unavailable
	DHCPREQUEST on de0 to 255.255.255.255 port 67
	Discarding packet with bogus hlen.
	receive_packet failed on de0: Resource temporarily unavailable
	DHCPDISCOVER on de0 to 255.255.255.255 port 67 interval 3
	Discarding packet with bogus hlen.
	receive_packet failed on de0: Resource temporarily unavailable
	DHCPDISCOVER on de0 to 255.255.255.255 port 67 interval 7
	Discarding packet with bogus hlen.
	receive_packet failed on de0: Resource temporarily unavailable
	DHCPDISCOVER on de0 to 255.255.255.255 port 67 interval 11
	

Since there is no change between de driver between netbsd-1-5-RELEASE and
netbsd-1-5-branch (that the snapshot was based on). I tried dhclient from netbsd-1-5-RELEASE


	# /usr/netbsd-1.5/sbin/dhclient de0
	Internet Software Consortium DHCP Client V3.0b2pl9
	Copyright 1995-2000 Internet Software Consortium.
	All rights reserved.
	For info, please visit http://www.isc.org/products/DHCP
	
	Listening on BPF/de0/00:00:f8:22:7b:68
	Sending on   BPF/de0/00:00:f8:22:7b:68
	Sending on   Socket/fallback
	ifconfig: SIOCDIFADDR: Can't assign requested address
	DHCPDISCOVER on de0 to 255.255.255.255 port 67 interval 8
	DHCPOFFER from 130.237.7.66
	DHCPREQUEST on de0 to 255.255.255.255 port 67
	DHCPACK from 130.237.7.66
	New Network Number: 130.237.7.64
	New Broadcast Address: 130.237.7.127
	
	bound to 130.237.7.109 -- renewal in 1748 seconds.

>Fix:

Obvious in the first case.

Dunno where to start looking in the second case.
>Release-Note:
>Audit-Trail:
>Unformatted: