From 5d15680d9ef565654a626d11b88f67bd62f89d7c Mon Sep 17 00:00:00 2001 From: Marc Fonvieille <blackend@FreeBSD.org> 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 <firewolf@lightningfire.net> --- .../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 <para>It is better than nothing, so here's how to turn on WEP on your new FreeBSD access point:</para> - <screen>&prompt.root; <userinput>ifconfig wi0 inet up ssid my_net wepkey 0x1234567890 mediaopt hostap</userinput></screen> + <screen>&prompt.root; <userinput>ifconfig wi0 inet up ssid my_net wepmode on wepkey 0x1234567890 mediaopt hostap</userinput></screen> <para>And here's how you turn on WEP on a client:</para> - <screen>&prompt.root; <userinput>ifconfig wi0 inet 192.168.0.20 netmask 255.255.255.0 ssid my_net wepkey 0x1234567890</userinput></screen> + <screen>&prompt.root; <userinput>ifconfig wi0 inet 192.168.0.20 netmask 255.255.255.0 ssid my_net wepmode on wepkey 0x1234567890</userinput></screen> <para>Note that you should replace the 0x1234567890 with a more unique key.</para>