OESF Portables Forum
Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => 6000 - Tosa => Topic started by: Razzle on November 15, 2004, 03:43:34 pm
-
So far I couldn't figure out a way to bring up the WLAN device on my 6000W from console. There has to be a way to do it besides creating a new connection with the GUI.
And I want to be able to use iwconfig. Whatever I try to set with it, it always returns "SET failed on device wlan0 ; Function not implemented."
-
as root:
usbctl on 1
wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
wlanctl-ng wlan0 lnxreq_autojoin ssid=myssid authtype=opensystem
ifconfig wlan0 up
ifconfig wlan0 192.168.2.17
You have to change at least the IP address and essid. This is without WEP. Presumably there is wlanctl-ng magic. Yeah, I was annoyed to have learn a new tool as well.
PS. as a trivia note, usbctl actually works as a normal user.
-
usbctl on 1
Ah thank you, that's what I was missing.
For reference, I managed to bring up my wlan with WEP like this:
#!/bin/bash
usbctl on 1
sleep 1
wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
wlanctl-ng wlan0 dot11req_mibset mibattribute=p2CnfRoamingMode=1
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKeyID=0
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11ExcludeUnencrypted=true
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11PrivacyInvoked=true
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKey0=00:00:00:00:00:00:00:00:00:00:00:00:00
wlanctl-ng wlan0 lnxreq_autojoin ssid="" authtype=sharedkey
ifconfig wlan0 up
route add default gw
-
Hi Razzle,
What about bluetooth on english ROM? I saw you have a 6000W and I guess you have an english ROM.
Thanks!
-
The english seemingly doesn't support bluetooth out of the box, probably because there is no 6000W outside of Japan officially.
I'm currently trying hard to get bluez working
But luckily guylhem is very helpful.
For more details look here (https://www.oesf.org/forums/index.php?showtopic=8522&hl=)
-
Hi Razzle and everyone else
I have a 6000L, and i try to do exactly want u ar doing, but when i use ur code and try to connect, the return message is all "resultcode=success", but my zaurus did not connect to the wireless network. Is there anything i need to change besides the ssid, my_ip and router_ip? I am using 64 bit WEP key. Can u give a bit more detail on the shell script u wrote if possible, i am not very familiar with shell script.
Thanks in advance
-
Err, also you need to replace the zeros with your WEP key. There should be
10 digits for a 64bit key, I think.
But maybe you knew that.