OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> 1.0rc4 Wireless Setup, Wifi tips and troubleshooting.
orodriguez
post Oct 30 2005, 08:32 AM
Post #1





Group: Members
Posts: 19
Joined: 17-October 04
Member No.: 5,065



I have added a new script to the ones provided by Guylhem in 1.0rc4 (just added wep stuff to net.wifi.local).

This one is to connect to a WEP enabled network.


STEP BY STEP GUIDE:

1) Download and unpack attached script (net.wifi.wep)
2) Change network setup on lines 3 to 24
3) On the Zaurus' console become root:
su <enter>
When asked for password, press <enter>.
4) Copy the file to the Zaurus' /usr/local/bin/
i.e. cp /mnt/cf/net.wifi.wep /usr/local/bin
5) Define script perms:
chown root:qpe /usr/local/bin/net.wifi.wep
chmod 0755 /usr/local/bin/net.wifi.wep


To CONNECT:
net.wifi.wep

To DISCONNECT:
net.wifi.off

Optional:
You can edit /etc/resolv.conf to match the DNS servers provided by your ISP. Some may find that name resolution is faster that way

I have checked this setup just after a fresh NAND restore so I hope everyone is able to connect this time wink.gif.

FIX: Sometimes wep keys do not get loaded by wlanctl-ng. Waiting a little bit more and setting up WEP keys after bringing up the network interface makes a big difference.

I have updated the attached script.

This post has been edited by orodriguez: Oct 30 2005, 01:51 PM
Attached File(s)
Attached File  net_wifi_wep_fixed.zip ( 926bytes ) Number of downloads: 220
 
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
jimjimbobim
post Oct 30 2005, 12:03 PM
Post #2





Group: Members
Posts: 5
Joined: 15-October 05
Member No.: 8,319



Thanks so much for posting these instructions.

I followed the instructions but still no luck!

I configured /usr/local/bin/net.wifi.wep as indicated.

I get ththis when I execute the script:

message=lnxreq_ifstate
ifstate=enable
resultcode=success
message=dot11req_mibset
mibattribute=dot11WEPDefaultKeyID=1
resultcode=success
message=dot11req_mibset
mibattribute=dot11ExcludeUnencrypted=true
resultcode=success
message=dot11req_mibset
mibattribute=dot11PrivacyInvoked=true
resultcode=success
message=dot11req_mibset
mibattribute=dot11WEPDefaultKey0=99:99:99:99:91
resultcode=success
message=dot11req_mibset
mibattribute=dot11WEPDefaultKey1=99:99:99:99:91
resultcode=success
message=dot11req_mibset
mibattribute=dot11WEPDefaultKey2=99:99:99:99:91
resultcode=success
message=dot11req_mibset
mibattribute=dot11WEPDefaultKey3=99:99:99:99:91
resultcode=success
message=lnxreq_autojoin
ssid='hades'
authtype=sharedkey
resultcode=success


Which seems good, but when I do iwconfig I get this:

wlan0 IEEE 802.11-b ESSID:""
Mode:Managed Frequency:2.412GHz Access Point: 00:12:17:B5:B0:8A
Bit Rate:2Mb/s Tx-Power:2346 dBm
Retry min limit:8 RTS thr:off Fragment thr:off
Link Quality:62/92 Signal level:-50 dBm Noise level:-96 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0


I also tried 'opensystem' (same result) and 'restricted' (did not work)

I am baffled. I have been able to get wireless to work on almost every other rom.
I even wrote a nice little set of scripts for pdaXrom to automate the setting up of the wifi.

I really like this rom (1.0rc4) and want to use it.

I can get it to assign the ssid by editing the wlan.conf file, I but can't ever seem get it to change any of the other settings.

Could there be something wrong with the rom I downloaded, maybe it did not save correctly?

Thanks!
-Jim
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 24th October 2014 - 10:06 AM