The right way to do DHCP with wi/ed?

Dan Langille dan at langille.org
Mon Apr 7 05:39:24 PDT 2003


What is the correct way to do DHCP with wi0?  I've been trying 
various methods, but the only solution I've found is to do this:  

/etc/rc.conf:
ifconfig_wi0="DHCP"
pccard_enable="YES"
dhcp_program=/tmp/foo

/tmp/foo:
( /sbin/dhclient -d $* & ) > /tmp/foo.out 2>&1

If I don't use /tmp/foo, dhclient hangs.  So far, the dicussion on 
the ISC DHCP client list hasn't found a solution.  The lease is 
granted, but wi0 never gets an IP addresses.  If interested, the 
thread is at http://marc.theaimsgroup.com/?t=104950219300003&r=1&w=2

Ideas?

FreeBSD laptop.unixathome.org 4.8-RC FreeBSD 4.8-RC #7: Fri Apr  4
12:21:41 EST 2003 dan at xeon.unixathome.org:/usr/obj/usr/src/sys/LAPTOP
i386  but FWIW, the same problem occurred under 4.7-STABLE.

Thank you.
-- 
Dan Langille : http://www.langille.org/



More information about the freebsd-mobile mailing list