📄 wep-howto.txt
字号:
Wired Equivalent Privacy (WEP) Security for madwifi=========================================================================This document details the commands currently used to configurea station or AP to use WEP security.WEP is known to have vulnerabilities that make it a less attractivefor networks with stringent security requirements. However, widedeployment and relative ease-of-use make it a simple way to addlink layer encryption between stations (STAs) and access points(APs).The WEP modes most commonly available on 802.11 implementationsare: 1) WEP 40/64 bit key, open 802.11 authentication 2) WEP 104/128 bit key, open 802.11 authentication 3) WEP 40/64 bit key, shared key 802.11 authentication 4) WEP 104/128 bit key, shared key 802.11 authenticationThe commands used to configure an Atheros interface (in this case,'ath0') are the standard Linux wireless tools (iwconfig, iwprivand ifconfig).To configure the madwifi to use WEP encryption, simply add anencryption key to the interface using iwconfig. To configure thedriver to use 802.11 shared key authentication, iwpriv is usedto change the protocol authentication mode. iwpriv ath0 authmode 1 # open authentication iwpriv ath0 authmode 2 # shared key authentication iwpriv ath0 authmode 3 # 802.1x authenticationThese sets of commands work for a station in each of the 4cases above. 1) iwconfig ath0 essid <yourAPssid> key 0123-4567-89 2) iwconfig ath0 essid <yourAPssid> key 0123-4567-8901-2345-6789-0123-4567-8901 3) iwconfig ath0 essid <yourAPssid> key 0123-4567-89 iwpriv ath0 authmode 2 4) iwconfig ath0 essid <yourAPssid> key 0123-4567-8901-2345-6789-0123-4567-8901 iwpriv ath0 authmode 2If you want the driver to perform as an AP, you can add 'modemaster' to the iwconfig line.The interface MUST be brought UP for the driver to associatewith the AP (or an AP to accept new stations). This is achievedusing ifconfig ifconfig ath0 X.X.X.X upKnown Problems==============Switching 802.11 authentication modes after entering a WEP keyAND after entering a new authmode sometimes erases the key fromthe driver configuration. e.g. issuing iwpriv ath0 authmode 1after following steps 3 or 4 clears the WEP key.Happy privacy :)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -