Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Apr 2003 08:39:22 -0400
From:      "Dan Langille" <dan@langille.org>
To:        freebsd-mobile@freebsd.org
Subject:   The right way to do DHCP with wi/ed?
Message-ID:  <3E91393A.7398.A009B14@localhost>

next in thread | raw e-mail | index | archive | help
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@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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E91393A.7398.A009B14>