o11s / open80211s

open80211s
Other
242 stars 55 forks source link

ping not working in the secured mesh #60

Closed sritam2 closed 7 years ago

sritam2 commented 7 years ago

Dear All,

I am trying to form a secure MESH network using SAE authentication mechanism and open80211s. I followed the guidelines given at : https://github.com/o11s/open80211s/wiki/HOWTO

I am successfully able to form the secured mesh network between 3 laptops. But the problem I am facing is as follows:

  1. I open a new terminal in one of the nodes and type: ping 192.168.3.82. My nodes are assigned IP addresses in the subnet 192.168.3.81/90. So, the nodes/laptops forming the secured MESH network are having IP addresses 192.168.3.82, 192.168.3.83, 192.168.3.90. When I do "iw dev mesh10 station dump" I get a list in which it has established secured connections with the other 2 laptops. But when I open a new terminal in one of the laptops (having IP address 192.168.3.90) and try to ping to another laptop, with whom secured MESH connection has been established, I am not able to ping. The screen shot is attached below: snapshot

But when I form an open MESH network without any authentication, I am able to ping successfully between all the laptops. But when I form a secured MESH network then the secure network gets formed but I am not able to ping between laptops.

Please help me to solve this problem.

Thanks and Regards, Sritam Paltasingh.

sritam2 commented 7 years ago

Dear All,

I was able to solve the above problem by using wpa_supplicant instead of authsae. Please download wpa_supplicant from git://github.com/cozybit/wpa_supplicant.git. Make a copy of the defconfig file and name it as .config. In the .config file add the following lines: CONFIG_MESH=y CONFIG_AP=y CONFIG_SAE=y CONFIG_LIBNL32=y

Then build and install the wpa_supplicant using the make and make install command. Now follow the procedure of forming the MESH network using the guidelines at the wiki page. After securely forming the MESH network, if you try to ping between the secured MESH nodes, then you will be able to do it.

Thus, wpa_supplicant performs better than authsae.

Thank you all once again.

Thanks and Regards, Sritam Paltasingh.