Thank you so much, Krzysztof and C D! Your suggestions were really helpful!!!
I dealt with this a while back too.
Here's a sample of my /etc/network/interfaces file to workaround the
bug with wpa.
##### Start of File
# Configure Loopback
iface lo inet loopback
iface usb0 inet dhcp
iface bnep0 inet dhcp
iface eth0 inet dhcp
iface eth1 inet dhcp
iface wlan0 inet dhcp
iface mwlan0 inet dhcp
#pre-up /sbin/iwconfig $IFACE essid any txpower 100mW
pre-up /sbin/wpa_supplicant -Bw -Dmarvell -imwlan0
pre-up /bin/sleep 5 ; /sbin/iwconfig $IFACE essid MySSID_
post-down killall -q wpa_supplicant
############ End of File
and then in the wpa_supplicant
In reality I have the precomputed value there and of course my actual ssid...
Someone should mention this trouble on the wiki.
On 6/26/07, Blondikk <firstname.lastname@example.org > wrote:
> Hi Caitie,
> Finally I've managed to make the Wifistix talking with WPA (as well WEP)
> enabled network using wpa_supplicant.
> In my case I just started from scratch, using currently available revision
> of buildroot and default config (make defconfig) to avoid confusion with my
> previous trials...and errors.
> It seems that problem in iwconfig (truncating last letter in essid netname)
> isn't fixed yet.
> Workaround: as mentioned previously, add one more char at the end when use
> iwconfig (i.e. iwconfig mwlan0 essid mynetwork_)
> After this fixup WEP configuration started to work:
> iwconfig mwlan0 mode managed key 1234567890 key on essid mynetwork_
> Don't forget about "key on" switch ;)
> However, to make WPA encryption workin it is more challenging:
> Wpa_supplicant should be applied according to the receipe on
> In my case script executed smoothly, but still hadn't associated with my AP.
> After running wpa_supplicant with -dd option (and without -Bw!) you can get
> some debug info.
> I'm not 100% sure but it seems that "truncating bug" described above raises
> some internal cofusion within the driver.
> Workaround: Try to run iwconfig mwlan0 essid mynetwork_
> Just quick check: iwconfig mwlan0 and..it works..at least in my case.
> The next problem is to apply this workaround to execute automagically at
> boot time. It is some magic indeed;). For some unknown reasons it won't work
> if you put iwconfig mwlan0 essid mynetwork_ within /etc/network/interfaces
> file (neither in pre-up, up, and post-up sections -I mention that to avoid
> further confusion and waste of others time)
> Workaround: Write separate startup script and put it into /etc/init.d/
> directory. Just don't forget to put Sxx as a prefix (i.e. S60wifi, where xx
> is a number and indicates script position within execution queue. It seems
> reasonable to copy and modify(section start) one of existing ones.
> After that WPA should associate automatically after power up.
> Finally I've observed that after some period of time wifistix deassociate
> from AP again and does it for some unclear reasons (power save mode, dhcp
> timeout?).However I didn't have time and mood to investigate it further.
> Workaroud: something cron-like to run init.d script periodically?;)
> Hope this bit long info will help others and save at least their time...
> BTW- has someone been succesfull with playing mp3s through an audiostix? It
> would save my time:)
> Caitie Lustig wrote:
> > Anyway, if anyone can figure out why it's
> > printing out 'm' or another way for me to set up the gumstix to connect
> > with
> > the network (since I'm still rather new to Linux) that would be so so
> > appreciated. Thanks!
> View this message in context: http://www.nabble.com/More-wifi-problems-with-mwlan0-tf3963933.html#a11297640
> Sent from the Gumstix mailing list archive at Nabble.com.
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> gumstix-users mailing list
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
gumstix-users mailing list