[Voyage-linux] Voyage Linux 0.7.0 (27-May-2011 build) and WPA_Supplicant

Gustin Johnson (spam-protected)
Wed Jun 1 15:01:53 HKT 2011


You may wish try simplifying your wpa_supplicant.conf

Try removing everything except the ssid and psk lines.  Then add the
other variables in one at a time until you figure out which line is
giving you the invalid argument error.

You may also wish to try a 2.4 Ghz channel to start with.  I have not
checked in a while, but there used to be issues with 5Ghz channels in
AP mode for some drivers (most of the open ones).

2011/5/31 John Schultz <jschultz0614 at gmail.com>:
> I am having issues getting WPA_Supplicant running in ad-hoc mode for a
> multi-node mesh network.
>
> Right now, there are only two nodes in this network as this is a development
> setting.
>
> Both nodes are running 2.6.38 or better
>
> Config for node 1 is as follows:
> wlan0 is a DNMA-92
>
> interfaces file:
>>
>> auto lo
>>
>> iface lo inet loopback
>>
>> auto eth0
>> iface eth0 inet dhcp
>>
>> auto wlan0
>> iface wlan0 inet static
>>         address 10.1.0.1
>>         netmask 255.0.0.0
>>         broadcast 10.0.0.0
>>         gateway 10.0.0.1
>>         wireless-channel 149
>>         wireless-essid #################
>>         wireless-mode ad-hoc
>
> wpa_supplicant.conf
>>
>> ctrl_interface=/var/run/wpa_supplicant
>> network={
>>         ssid="#################"
>>         key_mgmt=WPA-NONE
>>         mode=1
>>         proto=WPA
>>         pairwise=NONE
>>         group=TKIP
>>         psk="#################"
>> }
>
> when this node is started up, I get
> ioctl[SIOCSIWPMKSA]: Invalid argument
>
> 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.
>
> 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.
>
> 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.
>
> Any assistance ANY one can provide would be most appreciative.
>
> Thanks,
> John
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
>
>




More information about the Voyage-linux mailing list