Date: Tue, 06 Sep 2005 12:21:56 +0200 From: Erik Norgaard <norgaard@locolomo.org> To: Uwe Laverenz <uwe@laverenz.de> Cc: freebsd-questions@freebsd.org Subject: Re: pccard, wi0, wep and DHCP Message-ID: <431D6DC4.6010700@locolomo.org> In-Reply-To: <20050906101425.GD21326@laverenz.de> References: <1125956095.771.14.camel@maarten> <20050906101425.GD21326@laverenz.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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:E4:DD:87:73:7F:4E:82:E7:08:9C:72 Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?431D6DC4.6010700>