View Single Post
Old July 28th, 2006   #117
reharpernc
First Cup of Ubuntu
 
Join Date: Jul 2006
Beans: 1
Re: RaLink RT61 Wireless Solved

well done Judgekaster an excellent mini how-to.

Like quite a few people I to had the problem with dhclient ra0 never getting a valid ip address and iwconfig never returning the correct essid. That is until I discovered the iwpriv command.Apparently iwconfig cannot always set the private wireless settings.

I entered the following

sudo iwpriv ra0 set NetworkType=Infra
sudo iwpriv ra0 set AuthMode=SHARED
sudo iwpriv ra0 set EncrypType=WEP
sudo iwpriv ra0 set DefaultKeyID=1
sudo iwpriv ra0 set Key1=<my wep key>
sudo iwpriv ra0 set SSID=<my essid>

then when I ran the sudo dhclient ra0 everything just worked

Also I was a bit confused on what to set inside of rt61sta.dat - so for those that were asking for some help - here is mine that works for me

[[Default]
CountryRegion=0
CountryRegionABand=7
WirelessMode=0
SSID=<my essid here>
NetworkType=Infra
Channel=0
AuthMode=SHARED
EncrypType=WEP
DefaultKeyID=1
Key1Type=0
Key1Str=<my WEP key in hex>
Key2Type=0
Key2Str=
Key3Type=0
Key3Str=
Key4Type=0
Key4Str=
#WPAPSK=abcdefghijklmnopqrstuvwxyz
TxBurst=0
PktAggregate=0
TurboRate=0
WmmCapable=0
AckPolicy1=0
AckPolicy2=0
AckPolicy3=0
AckPolicy4=0
BGProtection=0
ShortSlot=0
IEEE80211H=0
TxRate=0
RTSThreshold=2347
FragThreshold=2346
PSMode=CAM
TxPreamble=0

HTH

Russ
reharpernc is offline   Reply With Quote