no problem:-

I tried this patch and I now have the 2.1.0.0 driver working on WPA
again but not WPA2 but that is better than the last post where i could
get any WPA connection.

I don't know how to use the patch the file so i looked at the patch,
figured out the sytax and realise that what it does is change a value in
the file located in "username"/DPO_RT2860_LinuxSTA_V2.1.0.0/common
called "cmm_wpa.c" as it took me a bit to find the line in the file and
copy over the change I have attached it to my post.  download it and
copy it to the common folder where you have extracted the ralink driver
so it overwrites it.

These are the steps that I took to get here:-

1.  Fire up synaptic (System -> Administration -> Synaptic), for me this was to 
remove the 'rt2860-source' package I installed.  But also check that the 
staging rt2860 driver is removed from the kernel to make sure there is not 
conflict, as 
Dries stated check the directory  
/lib/modules/2.6.28-11-generic/kernel/drivers/staging/rt2860/ and make sure 
there is no file called rt2860sta.ko.

2.  Copy the file cmm_wpa.c to the /common directory where you have
extracted the driver.

(Now I'm working from the README_STA file..............)

3.   Open the Makefile and make sure at the top two lines are as follows:- 
(this is always the case from driver to driver so I normally skip this...) 
RT28xx_MODE = STA
TARGET = LINUX
save the file.

4.  then go to the directory os/linux and open the file called
config.mk.

5.  You then have two choices to make on how the driver works with your
system, either control the driver and connection with the Gnome network
Manager, or by the wpa supplicant & the driver directly, I always use
the network manager to keep in line with the gnome experience.

if you want to use the Network Manager then make sure that
HAS_WPA_SUPPLICANT and HAS_NATIVE_WPA_SUPPLICANT_SUPPORT are set to y

--------------------------------------------------------------------------------------------------
after this, the file asks you to type in this command, I've never been able to 
make sense or correctly use the command.  Can you help Dries???? :-
=> #>cd wpa_supplicant-x.x
=> #>./wpa_supplicant -Dwext -ira0 -c wpa_supplicant.conf -d 

if you wish to do the other method the instructions are in the makefile but i 
wont touch on them as i think most would be happy with the first option 
-------------------------------------------------------------------------------------------------

6.  Now all the config has been done, open a Terminal window and go to the 
extracted driver directory, for me this would be:-
=>cd  DPO_RT2860_LinuxSTA_V2.1.0.0

7.  time to start the process...
=>sudo make
[enter password]

8.  As long as that has compiled with out an Error you then need to copy the 
config file....
=>sudo cp RT2860STA.dat  /etc/Wireless/RT2860STA/RT2860STA.dat

9.  Time to load the driver module!
=>cd os/linux
=>sudo /sbin/insmod rt2860sta.ko


Reboot and see what happens, i think this is the first time that someone has 
been able to change the code and get success so i hope a lot more people can 
try this when they have a spare 20mins,.... 



** Attachment added: "cmm_wpa.c"
   http://launchpadlibrarian.net/25995768/cmm_wpa.c

-- 
[Jaunty] wireless rt2860 not connecting to WPA
https://bugs.launchpad.net/bugs/339891
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to