From 5d15680d9ef565654a626d11b88f67bd62f89d7c Mon Sep 17 00:00:00 2001 From: Marc Fonvieille Date: Tue, 31 Dec 2002 12:31:01 +0000 Subject: [PATCH] Add wepmode on in ifconfig(8) command lines to enable WEP on wireless cards. Without this option it just creates a key nothing more. Submitted by: Chris Stuart --- .../books/handbook/advanced-networking/chapter.sgml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml b/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml index f86bbe8749..47541b32ca 100644 --- a/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml @@ -680,11 +680,11 @@ wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 It is better than nothing, so here's how to turn on WEP on your new FreeBSD access point: - &prompt.root; ifconfig wi0 inet up ssid my_net wepkey 0x1234567890 mediaopt hostap + &prompt.root; ifconfig wi0 inet up ssid my_net wepmode on wepkey 0x1234567890 mediaopt hostap And here's how you turn on WEP on a client: - &prompt.root; ifconfig wi0 inet 192.168.0.20 netmask 255.255.255.0 ssid my_net wepkey 0x1234567890 + &prompt.root; ifconfig wi0 inet 192.168.0.20 netmask 255.255.255.0 ssid my_net wepmode on wepkey 0x1234567890 Note that you should replace the 0x1234567890 with a more unique key.