Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Aug 2005 10:09:11 -0800
From:      Beecher Rintoul <akbeech@gmail.com>
To:        freebsd-questions@freebsd.org
Cc:        Pablo Allietti <pablo@lacnic.net>
Subject:   Re: wireless DHCP + wep
Message-ID:  <200508181009.11832.akbeech@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 Thursday 18 August 2005 09:38 am, Pablo Allietti wrote:
> Hi all  i have a question.
>
> i configure a Intel 2200 wireless card and the system detect ok and load
> in the start time.
>
> so. now i need to add wep Key and DHCP.
>
> is that possible to do in automatically.
>
> 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.

In your /etc/rc.conf put:

ifconfig_wi0="DHCP"

Add the following file to /etc:    start_if.wi0

Add your ifconfig settings to that file:

ifconfig wi0 ssid whatever wepkey xxxxxx wepmode 0

Of course change wi0 to whatever driver your card uses. This worked for me and 
should work when you reboot.

Beech



-- 
---------------------------------------------------------------------------------------
Beech Rintoul - System Administrator - akbeech@gmail.com
/"\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \ 
---------------------------------------------------------------------------------------














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