Wireless on Eee PC 901 doesn't work - Ubuntu 10.04 Beta 2

The place to post if you need help or advice

Moderators: ChrisThornett, LXF moderators

Wireless on Eee PC 901 doesn't work - Ubuntu 10.04 Beta 2

Postby finnux » Sat Apr 17, 2010 2:02 pm

Hello all,

I have just decided to switch to Ubuntu 10.04 Beta 2 on my Eee PC 901. Everything works fine, except the Eee PC finds my wireless network (WPA2 protection) but can't connect to it. I tried this fix (http://forum.eeebuntu.org/viewtopic.php?f=1&t=2454) that I posted on the Eeebuntu forums and have used for past versions of Ubuntu. When I restarted the Eee though, it couldn't even find my wireless network. There was an error message while installing but I can't remember what it said. The wireless chip is a Ralink RT2860.

Any help would be greatly appreciated,

finnux
finnux
 
Posts: 2
Joined: Sat Apr 17, 2010 1:27 pm

Postby PCNetSpec » Sat Apr 17, 2010 5:09 pm

Download the RT2860PCI/mPCI/CB/PCIe(RT2760/RT2790/RT2860/RT2890) drivers from here to your home folder:

2010_01_29_RT2860_Linux_STA_v2.3.0.0.tar.bz2

Start a terminal and install the build-essential and linux-headers packages (if you don't have them already):
Code: Select all
sudo apt-get install build-essential linux-headers-generic


Now, in your home folder untar the Ralink package:
Code: Select all
tar -xvjf 2010_01_29_RT2860_Linux_STA_v2.3.0.0.tar.bz2

you should now have a folder called 2010_01_29_RT2860_Linux_STA_v2.3.0.0 inside you home directory.

Edit the 2010_01_29_RT2860_Linux_STA_v2.3.0.0/os/linux/config.mk file to allow network-manager to manage the card:
Code: Select all
gedit ~/2010_01_29_RT2860_Linux_STA_v2.3.0.0/os/linux/config.mk

find these lines:
# Support Wpa_Supplicant
HAS_WPA_SUPPLICANT=n

# Support Native WpaSupplicant for Network Maganger
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n

and change the 'n' in both lines to 'y' so they now read:
# Support Wpa_Supplicant
HAS_WPA_SUPPLICANT=y

# Support Native WpaSupplicant for Network Maganger
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y

and save the file.

Now enter the 2010_01_29_RT2860_Linux_STA_v2.3.0.0 directory, compile and install the driver as root:
Code: Select all
cd ~/2010_01_29_RT2860_Linux_STA_v2.3.0.0
sudo su
make && make install

It is important here not to use "sudo" alone, but "sudo su" because with sudo for some reason the installation script fails to create the necessary files and folders.

Now, while still root modprobe the driver module:
Code: Select all
modprobe rt2860sta


Give it a minute to create the ra0 device node, and network manager should now be able to display all visible wireless networks in your area, meanwhile you can stop being root.
Code: Select all
exit


Make sure that ra0 is up and running as it's supposed to:
Code: Select all
iwconfig

and check for a section similar to
ra0 RT2860 Wireless ESSID:"" Nickname:"RT2860STA"
Mode:Managed Frequency=2.412 GHz Access Point:
Bit Rate=54 Mb/s
RTS thr:off Fragment thr:off
Link Quality=100/100 Signal level:-29 dBm Noise level:-71 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0


Hopefully your wireless card is now working... Use network manager to set your WEP/WPA(2) key, and connect to your network.

To make sure the module is loaded after a reboot, add it to the /etc/modules file:
Code: Select all
sudo echo rt2860sta >> /etc/modules
WARNING: You are logged into reality as 'root'... logging in as 'insane' is the only safe option.
Linux in the UK
The Linux Community Forum
User avatar
PCNetSpec
LXF regular
 
Posts: 631
Joined: Sun Feb 21, 2010 3:50 pm
Location: Cornwall UK

Postby finnux » Sat Apr 17, 2010 6:40 pm

Thank you, PCNetSpec! I now have fully-working wifi. Your solution is simple is you copy and paste the code into the terminal.

Thank you again,

Finnux :D
finnux
 
Posts: 2
Joined: Sat Apr 17, 2010 1:27 pm


Return to Help!

Who is online

Users browsing this forum: No registered users and 2 guests