Re: The right way to do DHCP with wi/ed?
Emanuel Haupt <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.mobile |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 07 Apr 2003 08:39:22 -0400 "Dan Langille" <[email protected]> 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 [email protected]:/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 _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-mobile To unsubscribe, send any mail to "[email protected]"