conf/103893: [PATCH] dhclient does not take settings in
/etc/rc.conf.d/network into account
Nick Hibma
nick at anywi.com
Mon Oct 2 00:00:32 PDT 2006
>Number: 103893
>Category: conf
>Synopsis: [PATCH] dhclient does not take settings in /etc/rc.conf.d/network into account
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Oct 02 07:00:30 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Nick Hibma
>Release: FreeBSD 6.1-STABLE i386
>Organization:
AnyWi Technologies
>Environment:
System: FreeBSD hind.van-laarhoven.org 6.1-STABLE FreeBSD 6.1-STABLE #19: Thu Aug 17 16:31:39 CEST 2006 toor at hind.van-laarhoven.org:/usr/src/sys/i386/compile/HIND i386
>Description:
Setting the following in /etc/rc.conf.d/network (instead of /etc/rc.conf)
does not work as /etc/rc.d/dhclient does not load rc config network
ifconfig_ath0="WPA DHCP"
It fires up wpa_supplicant but then fails to start dhclient.
As this is an image built with nanobsd, adding this line to ifconfig_ath0 is
not a good alternative as it requires me to have non-default /etc/rc.conf
files. /etc/rc.conf.local is an alternative.
>How-To-Repeat:
Move the ifconfig statement above to /etc/rc.conf.d/network and run
/etc/rc.d/netif start ath0
ps ax | grep dhclient
shows no dhclient active.
>Fix:
--- dhclient.orig Thu Jan 6 07:49:38 2005
+++ dhclient Thu Jan 6 07:43:18 2005
@@ -42,6 +42,7 @@
ifn="$2"
load_rc_config $name
+load_rc_config network
if ! dhcpif $ifn; then
return 1
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list