Monday, May 18, 2009

Security Issue(Enabling WEP128)

If you are concerned about security - you
Should enable WEP 128.It won't make you much more secure but
at least you won't be totally open. On the other hand it
usually does slow the connection. WEP works in 0.1.14-pre3
and newer. Enabling it is simple:

1. Generate 3-4 26 hex-digits keys - you may use nwepgen but be
carefull as some OSs (like Windows XP) use different
algorithms so always use 26-hex digits form, not the
password string - the latter is only usefull to recover the
key if you forgotten it (but recover it with THE SAME
program you used to generate it)

2. Enable WEP128 on your AP and enter keys there, pick one you
will use: I suggest not the first one as this is the one
which is usually tried first if someone tries to hack in
3. Edit /etc/wlan.conf, these are the important lines:

dot11PrivacyInvoked=true
dot11WEPDefaultKeyID=2 # 0|1|2|3
dot11WEPDefaultKey0=xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
dot11WEPDefaultKey1=xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
dot11WEPDefaultKey2=xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
dot11WEPDefaultKey3=xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
AuthType="sharedkey"

4. restart wlan and replug the card and should be fine. If it
does not work - try rebooting.

No comments: