[Voyage-linux] Voyage Linux 0.7.0 (27-May-2011 build) and WPA_Supplicant
John Schultz
(spam-protected)
Wed Jun 1 15:20:35 HKT 2011
Made changes as suggested on node 0 - (I failed to mention that this is a
full blown install of Debian 0.6.0a w/ kernel 2.6.39-rc7 -- apologies)
This node or server is the jump off point and has the same config files as
node 1 does. I should also mention that I get the same results on node 1 as
I do on node 0.
This is what I have for my 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 1
> wireless-essid ####################
> wireless-mode ad-hoc
> pre-up wpa_supplicant -B -Dwext -i wlan0 -c/etc/wpa_supplicant.conf
> post-down killall -q wpa_supplicant
>
and wpa_supplicant.conf:
> network={
> ssid="OmegaMeshBackhual"
>
> psk=06b4be19da289f475aa46a33cb793029d4ab3db7a23ee92382eb0106c72ac7bb
> }
>
here is the output from ifup wlan0 -v
> Configuring interface wlan0=wlan0 (inet)
> wpa_supplicant -B -Dwext -i wlan0 -c/etc/wpa_supplicant.conf
> ioctl[SIOCSIWPMKSA]: Invalid argument
> run-parts --verbose /etc/network/if-pre-up.d
> run-parts: executing /etc/network/if-pre-up.d/bridge
> run-parts: executing /etc/network/if-pre-up.d/hostapd
> run-parts: executing /etc/network/if-pre-up.d/wireless-tools
> run-parts: executing /etc/network/if-pre-up.d/wpasupplicant
>
> ifconfig wlan0 10.1.0.1 netmask 255.0.0.0 broadcast 10.0.0.0 up
> route add default gw 10.0.0.1 wlan0
> run-parts --verbose /etc/network/if-up.d
> run-parts: executing /etc/network/if-up.d/000resolvconf
> run-parts: executing /etc/network/if-up.d/avahi-autoipd
> run-parts: executing /etc/network/if-up.d/avahi-daemon
> run-parts: executing /etc/network/if-up.d/bind9
> run-parts: executing /etc/network/if-up.d/mountnfs
> run-parts: executing /etc/network/if-up.d/openssh-server
> run-parts: executing /etc/network/if-up.d/samba
> run-parts: executing /etc/network/if-up.d/wpasupplicant
>
Thanks again,
John
On Wed, Jun 1, 2011 at 01:01, Gustin Johnson <gustin at meganerd.ca> wrote:
> 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
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20110601/4853ae45/attachment.html>
More information about the Voyage-linux
mailing list