List Info

Thread: Re: pccard, wi0, wep and DHCP




Re: pccard, wi0, wep and DHCP
user name
2005-09-06 05:14:25
On Mon, Sep 05, 2005 at 11:34:55PM +0200, Maarten Sanders
wrote:

> 'ifconfig_wi0="DHCP"' this works and brings
up wi0. Since my town is
> crowded with wardrivers I would like to use wep.
Because my wife often

It's better than nothing, but WEP wouldn't stop a serious
wardriver
these days. 

> /etc/start_if.wi0 is not interpretted and the WEP key
is not set so
> dhclient fails.

You could add something like this to your
/etc/dhclient.conf:

interface "wi0" {
        media   "ssid <SSID> wepmode on wepkey
<WEPKEY>";
}

Uwe

_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
Re: pccard, wi0, wep and DHCP
user name
2005-09-06 05:21:56
Uwe Laverenz wrote:
>>'ifconfig_wi0="DHCP"' this works and
brings up wi0. Since my town is
>>crowded with wardrivers I would like to use wep.
Because my wife often
> You could add something like this to your
/etc/dhclient.conf:
> 
> interface "wi0" {
>         media   "ssid <SSID> wepmode on
wepkey <WEPKEY>";
> }

Which version of FBSD are you on? On 5.X you can add options
to the 
dchlient.conf as described in the previous mail.
Alternatively you can 
(IIRC) add options in rc.conf:

   ifconfig_wi0="ssid <SSID> wepmode on wepkey
<WEPKEY> DHCP"

This has the unfortunate effect that you can only configure
for one network.

On 6.0 the old dhclient has been replaced by OpenBSD's
dhclient and 
wpa_supplicant. In that case, including options in
dhclient.conf won't work.

Instead you configure the wireless networks you know in
wpa_supplicant.conf

Cheers, Erik

-- 
Ph: +34.666334818                                  web:
www.locolomo.org
S/MIME Certificate:
www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4D:87:73:
7F:4E:82:E7:08:9C:72
Fingerprint: 5B5:1E:3E:
47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5F:18:0F:
B9
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )