RaLink RT61 Wireless chipset HOWTO for Ubuntu Breezy Badger
Written for Edimax EW-7128g wireless card (RT61 version) with a fresh Breezy install
This howto is a modified version of judgekaster's howto at http://www.ubuntuforums.org/showthread.php?t=132980. Hopefully it'll make installing this card easier for newbies like me... Many thanks to all those who have helped me!
Please note that at the time of writing (2006-04-06), Dapper Drake (Flight 6) does not work with this card (a driver is loaded but does not function correctly).
----------------
If you can't connect to the internet because your wireless card isn't working (!), try to connect using Ethernet (for example, Internet Connection Sharing from a PC or Mac that has a working connection, or direct connection into a router).
----------------
1) Check that you have an RT61 wireless card installed
Open a terminal window and type lspci -n
Somewhere in the list should be the numbers 1814:0301 or 1814:0302
2) Get driver source code from Ralink
Download this file
http://www.ralinktech.com/drivers/Li...1.0.3.0.tar.gz
3) Extract the source code
In the terminal window, navigate to the directory you have downloaded the file to (e.g. type cd /home/yourusername/Desktop)
Extract the source code by typing the following into the terminal window and entering your password when requested:
sudo tar -xzf 2005_1230_RT61_Linux_STA_Drv1.0.3.0.tar.gz
4) Make sure you have the necessary tools to build the drivers
In the terminal window, type sudo apt-get install gcc-3.4 build-essential linux-headers-$(uname -r)
Type Y then Enter to accept and wait for the files to be downloaded.
5) Build the driver
In the terminal window, navigate to the extracted folder by typing the following:
cd RT61_Linux_STA_Drv1.0.3.0_200512230/Module
In the terminal window, type the following:
sudo cp Makefile.6 Makefile
sudo make all
Wait!
6) Copy files to a new location
In the terminal window, type the following:
sudo mkdir /etc/Wireless
sudo mkdir /etc/Wireless/RT61STA
sudo cp *.bin /etc/Wireless/RT61STA/
sudo cp rt61sta.dat /etc/Wireless/RT61STA/
7) Copy the driver file to the modules directory and load it
In the terminal window, type the following:
sudo cp rt61.ko /lib/modules/`uname -r`/kernel/drivers/net/
sudo depmod
sudo modprobe rt61
The driver module should be loaded automatically every time you boot your machine...
8) Check that the driver was loaded
In the terminal window, type the following:
iwconfig
This should show some information for "ra0"
Exit the terminal by typing exit
9) Configure the card in the Networking application
Click on 'System > Administration > Networking'
Click on the 'Wireless connection' section and click 'Properties'
Click the checkbox next to 'Enable this connection' to enable the card
Enter the appropriate settings for your wireless network. It's probably best to try to get the card working without WEP first, so if possible, disable this on your wireless router.
Enter the appropriate IP settings for the connection (if you don't know these, you should probably set it to DHCP)
Click on the DNS tab and enter your wireless router's IP address (otherwise, you'll be able to ping IP addresses, but not domain names).
Click 'OK'
10) Test the network
Unplug whatever other connections you'd been using to connect to the internet, if any.
Try opening up a browser window and typing in http://www.google.co.uk
If this doesn't work, try pinging your router (eg. type ping 10.0.0.2 into a terminal window) and then an external IP address (e.g. type ping 4.2.2.2). If this works but pinging www.google.co.uk doesn't, your DNS settings are wrong.
11) Delete unnecessary files
Delete the downloaded file and extracted folder from your desktop.
You may need to use a terminal to do so (eg. type sudo rm -r /home/yourusername/Desktop/filename)
--------------------
Greg Swinford
Ubuntu Forums username: gregswinford



Adv Reply


Bookmarks