Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Dec 2005 15:58:29 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Yuan Jue <yuanjue02@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Wireless NIC in FreeBSD 6.0 ?
Message-ID:  <20051228135829.GA27810@flame.pc>
In-Reply-To: <200512282132.13055.yuanjue02@gmail.com>
References:  <200512251530.21898.yuanjue02@gmail.com> <200512261107.45871.yuanjue02@gmail.com> <43AFB052.9070005@locolomo.org> <200512282132.13055.yuanjue02@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2005-12-28 21:32, Yuan Jue <yuanjue02@gmail.com> wrote:
> how can I configure the wireless interface to use DHCP in dhclient.conf?
> like as follows?
>
>     interface ath0 {
>         default {
>             script "/etc/dhclient-script";
>         }
>     }

You don't.  An interface is not configured to use DHCP by
modifying "dhclient.conf".  The dhclient.conf file is used by
dhclient to find out *options* for interfaces that are configured
to use "DHCP" in the "/etc/rc.conf" file.  The rc.conf file is
the one you have to edit & make sure that it contains something
like:

    ifconfig_ath0="DHCP"

Then, when dhclient *is* started for 'ath0' it will read the file
/etc/dhclient.conf looking for a matching set of options.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051228135829.GA27810>