daniel.le at exfo.com
Mon Nov 2 20:40:25 UTC 2009
I'm having a similar problem on a Linux platform.
I manually copied and renamed client/scripts/linux* from ISC source
distribution to my local Linux root filesystem /sbin/dhclient-script. I
also put the dhclient executable program under /sbin. When the command
"dhclient -6 -d -v" is run, it says "execve (/sbin/dhclient-script,
...): No such file or directory", even though the dhclient-script is
there, under /sbin, and the client does successfully acquire a global
IPv6 address. Eventually, dhclient ends up with NoAddrsAvail:
"NOADDRS-AVAIL", PRC: Lease failed to satisfy.
Any help/pointers would be very appreciated.
/sbin #ls -l
-rwxr-xr-x 1 root root 2006945 Nov 2 19:53 dhclient
-rwxr-xr-x 1 root root 9118 Nov 2 20:07 dhclient-script
/sbin #dhclient -6 -d -v
Internet Systems Consortium DHCP Client 4.1.0p1
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
execve (/sbin/dhclient-script, ...): No such file or directory
Bound to *:546
Listening on Socket/eth0
Sending on Socket/eth0
PRC: Soliciting for leases (INIT).
XMT: Forming Solicit, 0 ms elapsed.
XMT: X-- IA_NA 17:26:70:03
XMT: | X-- Request renew in +3600
XMT: | X-- Request rebind in +5400
XMT: Solicit on eth0, interval 1050ms.
RCV: Advertise message on eth0 from fe80::21e:f7ff:fe84:85c3.
RCV: X-- IA_NA 17:26:70:03
RCV: | X-- starts 1257192907
RCV: | X-- t1 - renew +0
RCV: | X-- t2 - rebind +0
RCV: | X-- [Options]
RCV: X-- Server ID: 00:03:00:01:00:1e:f7:84:85:80
IA_NA status code NoAddrsAvail: "NOADDRS-AVAIL"
PRC: Lease failed to satisfy.
From: dhcp-users-bounces at lists.isc.org
[mailto:dhcp-users-bounces at lists.isc.org] On Behalf Of hobbes
Sent: Monday, November 02, 2009 11:38 AM
To: dhcp-users at lists.isc.org
Subject: macos script
I'm trying to use the dhclient on OS X (10.5 and 10.6), but I'm a bit
confused as to how I have to do it.
So far, I have installed dhclient (dhcp-4.1.1b3), but when I start it
(sudo dhclient -6 -d -v en0), an error is displayed:
/sbin/dhclient-script: line 133: ifconfig: command not found, and
although it seems that the dhclient sees incoming DHCP packets,
nothing changes when I do ifconfig...
I have copied the macos client under /sbin/dhclient-script
Why can't the script find the ifconfig command? Was it incorrect to do
"sudo cp macos /sbin/dhclient-script"?
dhcp-users mailing list
dhcp-users at lists.isc.org
More information about the dhcp-users