I am having issues getting WPA_Supplicant running in ad-hoc mode for a multi-node mesh network.<br><br>Right now, there are only two nodes in this network as this is a development setting.<br><br>Both nodes are running 2.6.38 or better<br>
<br>Config for node 1 is as follows:<br>wlan0 is a DNMA-92<br><br>interfaces file:<br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">auto lo<br>
</blockquote><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">iface lo inet loopback<br><br>auto eth0<br>iface eth0 inet dhcp<br><br>auto wlan0<br>
iface wlan0 inet static<br> address 10.1.0.1<br> netmask 255.0.0.0<br> broadcast 10.0.0.0<br> gateway 10.0.0.1<br> wireless-channel 149<br> wireless-essid #################<br> wireless-mode ad-hoc<br>
</blockquote><br>wpa_supplicant.conf<br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">ctrl_interface=/var/run/wpa_supplicant<br>network={<br>
ssid="#################"<br> key_mgmt=WPA-NONE<br> mode=1<br> proto=WPA<br> pairwise=NONE<br> group=TKIP<br> psk="#################"<br>}<br></blockquote>
<br>when this node is started up, I get<br>ioctl[SIOCSIWPMKSA]: Invalid argument<br><br>I have tried adding the wpa-conf flag in the interfaces as well as calling wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -B and get the same results either way.<br>
<br>For node 2, the config is virtually the same with the exception that wlan0 is now wlan1. wlan1 on this node is for client access using hostapd.<br><br>Ive spent over 8 hours on this problem so far with no luck and have not been very fruitful searching google as everything I have found is a different configuration of the above mentioned.<br>
<br>Any assistance ANY one can provide would be most appreciative.<br><br>Thanks,<br>John<br>