The right way to do DHCP with wi/ed?
Emanuel Haupt
emanuel.haupt at cablecom.ch
Mon Apr 7 05:50:13 PDT 2003
On Mon, 07 Apr 2003 08:39:22 -0400
"Dan Langille" <dan at 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 at 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
More information about the freebsd-mobile
mailing list