Date: Mon, 9 Jul 2001 16:32:39 -0700 From: Brooks Davis <brooks@one-eyed-alien.net> To: freebsd-mobile@FreeBSD.ORG Subject: Re: ifconfig wireless card options and DHCP Message-ID: <20010709163239.A9832@Odin.AC.HMC.Edu> In-Reply-To: <20010707151139.A27611@pir.net>; from pir@pir.net on Sat, Jul 07, 2001 at 03:11:39PM -0400 References: <20010707151139.A27611@pir.net>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Sat, Jul 07, 2001 at 03:11:39PM -0400, Peter Radcliffe wrote:
> Seems like this would be easy currently for non-DHCP configured
> interfaces, but as soon as you specify DHCP in $ifconfig_${interface}
> you lose the ability to pass further arguments. In my opinion setting
> up some media options before DHCP is called could be generally useful
> with cards that need something to be forced before they will pass
> packets at all (such as 802.11b with WEP enabled).
>
> Looking at /etc/pccard_ether is looks like this patch would allow
> you to do things like:
>
> ifconfig_an0="DHCP wepmode on wepkey ThisIsAKey"
>
> I also added in a check for pccard_ether.local, since there are things
> I do at every interface up/down and I'd rather not keep maintaining
> changes between my pccard_ether script and the standard ones.
>
> What do people think ?
On this patch in particular, patches that create differences between
the startup sequence via rc.network and /etc/pccard_ether should be
avoided. On the approach, I've been thinking about creating a method
for adding external commands to ifconfig so you could add DHCP support
via a script. I'm still thinking about how this would be done, but I
think it's a better approach then continuing the hacks in /etc/rc.network
and /etc/pccard_ether. Thoughts?
-- Brooks
--
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE7Sj8WXY6L6fI4GtQRAoblAKDohijbdGIBVdJvHyZiU1R36KglLQCgyit5
CAbANmcumklwliYYGaOzP1k=
=buV/
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010709163239.A9832>
