WPA2 in Ad-hoc mode
Dan Williams
dcbw
Tue May 7 08:44:07 PDT 2013
On Tue, 2013-05-07 at 17:23 +0200, Alex L?pez wrote:
> Hello guys.
>
> I've already searched some messages but I didn't find the answer I need,
> maybe you can help me a bit [image: wink]
>
> I want to configure a secure mesh network with a WPA2 encryption. I have 2
> routers TP-Link WR1043ND with OpenWRT backfire version installed. The
> problem is that when I set up the encryption in the wifi interface options,
> it doesn't seem to work. I set diferent keys in both of them to try the
> security but they can still connect each other, so it doesn't work.
What's the wpa_supplicant config you're using? In any case, you want
something like:
network={
ssid=mynet
mode=1
frequency=<whatever freq you want>
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
group=CCMP
}
or something like that, that's from memory, so it might not be exactly
right. The point is that you want proto=RSN and key_mgmt=WPA-PSK, *not*
proto=WPA/key_mgmt=WPA-NONE.
mac80211 hasn't really supported WPA1 IBSS, and if you try to use that
for most mac80211 drivers, you'll end up with unencrypted mode. WPA1
IBSS is pretty broken and insecure anyway, and shouldn't be used.
Dan
> Any suggestion?
>
> P.D: I forget to mention that I'm using OLSR, I don't know if it affects or
> not.
>
> Thanks in advance!
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
More information about the Hostap
mailing list