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>
This commit is contained in:
parent
b793dc47bc
commit
5d15680d9e
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=15476
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue