Date: Mon, 7 Apr 2003 14:50:01 +0200 From: Emanuel Haupt <emanuel.haupt@cablecom.ch> To: "Dan Langille" <dan@langille.org> Cc: freebsd-mobile@freebsd.org Subject: Re: The right way to do DHCP with wi/ed? Message-ID: <20030407145001.0e953f1a.emanuel.haupt@cablecom.ch> In-Reply-To: <3E91393A.7398.A009B14@localhost> References: <3E91393A.7398.A009B14@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 07 Apr 2003 08:39:22 -0400 "Dan Langille" <dan@langille.org> wrote: : 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. ifconfig_wi0="DHCP" should work. but first of all, you might want to configure your WEP keys, frequency, porttype... you can do this with wicontrol (man 8 wicontrol). good luck. emanuel
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030407145001.0e953f1a.emanuel.haupt>