Date: Thu, 18 Aug 2005 14:00:11 -0400 From: Bob Johnson <fbsdlists@gmail.com> To: Pablo Allietti <pablo@lacnic.net> Cc: freebsd-questions@freebsd.org Subject: Re: wireless DHCP + wep Message-ID: <54db439905081811002fc16b5c@mail.gmail.com> In-Reply-To: <20050818173851.GA43579@micron.lacnic.net.uy> References: <20050818173851.GA43579@micron.lacnic.net.uy>
next in thread | previous in thread | raw e-mail | index | archive | help
On 8/18/05, Pablo Allietti <pablo@lacnic.net> wrote: > Hi all i have a question. >=20 > i configure a Intel 2200 wireless card and the system detect ok and load > in the start time. >=20 > so. now i need to add wep Key and DHCP. > =20 > is that possible to do in automatically. >=20 > because rigth now i cant do dhcp and need to do a ifconfig blablabla > wepkey xxxxxx wepmode 0 any time when i restart my laptop. >=20 Read the dhclient.conf man pages. I think you use the "media" statement to do it, which lets you list alternate interface configurations that DHCP should attempt to use until it finds one that successfully communicates with a DHCP server. I don't remember the details, but it has come up before, so you might be able to find an example by searching the mailing list archives. Maybe even in the Handbook. The ifconfig_xxx statements in rc.conf are just the arguments that get sent to ifconfig, so you can put your wep settings in rc.conf that way, but at the present time I don't think that method lets you configure WEP and also use DHCP (I've read rumors that it will in the future). - Bob
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54db439905081811002fc16b5c>