![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Networking & Wireless Having problems getting connected to the internet or getting your wireless card to work? Ask here. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Just Give Me the Beans!
![]() Join Date: Jan 2006
Beans: 58
|
This is a mini-howto setup the RaLink RT61 Wireless.
August 2, 2006 update: Thanks to reharpernc's post, I think a solution to the "No DHCPOFFERS Received" error is now available. See further down for a summary. It seems several Ubuntu users have posted on the forums their troubles with setting up the RT61 Wireless as this is not properly identified and configured by Ubuntu Breezy 5.10. I myself encountered the same problems and had to google around for a solution. I got it up and running and would want to share my experience. (a) "lspci" identifies the RT61 wireless chipset as Code:
0000:01:02.0 Network controller: RaLink: Unknown device 0302 http://www.ralinktech.com/drivers/Li...1.0.3.0.tar.gz (c) Untar and follow the instructions in the included readme file. Basic steps would be: Code:
$ sudo cp Makefile.6 Makefile $ sudo make all $ sudo mkdir /etc/Wireless/RT61STA/ $ sudo cp *.bin /etc/Wireless/RT61STA/. $ sudo cp rt61sta.dat /etc/Wireless/RT61STA/. Code:
$ cd /etc/Wireless/RT61STA $ sudo vi -b rt61sta.dat (e) copy the rt61.ko driver file to the modules directory then load it Code:
$ sudo cp rt61.ko /lib/modules/`uname -r`/kernel/drivers/net/. $ sudo depmod $ sudo modprobe rt61 (e) check if the driver was loaded Code:
$ iwconfig (f) connect to the network to set a static IP address, do: Code:
$ sudo ifconfig ra0 {IP ADDRESS} up
Code:
$ sudo dhclient ra0 Code:
$ sudo gedit /etc/init.d/rt61up Code:
#!/bin/sh
echo "Bringing up ra0"
# obtain an IP address from a DHCP server
dhclient ra0
# alternately, you can uncomment the following line to set a static IP address
# ifconfig ra0 {IP ADDRESS} up
# if you uncomment the line above, make sure to comment line #4
Code:
$ cd /etc/init.d $ sudo chmod +x rt61up Code:
$ cd /etc/rcS.d $ sudo ln -s /etc/init.d/rt61up S33rt61up Some additional notes: (a) Do not use the "Networking" tool (network-admin). You will get a lock-up at boot time at the point where the network interfaces are bieng configured. If you have used the Networking tool, you will have to comment out the entries in the file "/etc/network/interfaces." to do this: Code:
$ sudo vi /etc/network/interfaces # replace vi with your editor of choice (nano, gedit, kate etc.) Code:
auto lo iface lo inet loopback #iface ra0 inet dhcp #wireless-essid xxxx #auto ra0 Ubuntu 6.06 (Dapper Drake) comes with the rt61 driver. However, you will still have to copy the firmware files to /etc/Wireless/RT61STA. 1. Download http://www.ralinktech.com/drivers/Li...mware_V1.2.zip(c) "No DHCPOFFERS Received" A lot of people have posted in this thread complaining about the error "No DHCPOFFERS Received" error when they try "sudo dhclient ra0". I myself have encountered this error when trying to connect to one of the APs in the building where I work. However, I couldn't find a solution and thus could not reply to their posts. Until I read reharpernc's post which suggested using "iwpriv" instead of "iwconfig". [For more information on "iwpriv", type "man iwpriv" in your terminal.] So for people who have encountered this problem, try: Code:
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> Code:
sudo dhclient ra0 That's it! # Edited Sun Jun 4 18:53:32 PHT 2006 in response to posts made in this thread. Thanks to all the inputs! (a) made some steps more newbie-friendly (b) instead of making the symbolic link in /etc/rc2.d, suggested that it be made in /etc/rcS.d (c) added note about not using network-admin (d) added note about installing in dapper # Edited Monday, 19 June 2006 07:55 PM (a) under Dapper instructions, corrected #3, should be steps (f) to (h) instead of (f) to (g). thanks to ferenczi and KuifjePDX # Edited Wed Aug 2 20:22:03 PHT 2006 (a) added possible solution to "No DHCPOFFERS Received" problem. Last edited by judgekaster; August 2nd, 2006 at 08:23 AM.. Reason: Made instructions clearer and added steps for dapper |
|
|
|
|
|
#2 |
|
Dipped in Ubuntu
![]() Join Date: Mar 2006
Beans: 559
|
Re: RaLink RT61 Wireless Solved
I get to the part about the rt61.ko copy and everything just falls apart. I get an error "No such file or directory" referring to rt61.ko...could there be anything that was omitted?
|
|
|
|
|
|
#3 |
|
5 Cups of Ubuntu
![]() Join Date: Feb 2006
Beans: 23
|
Re: RaLink RT61 Wireless Solved
many thanks for the mini-howto, it worked perfectly for my setup. kudos, kudos!
![]() |
|
|
|
|
|
#4 |
|
Spilled the Beans
![]() Join Date: Feb 2005
Beans: 14
|
Re: RaLink RT61 Wireless Solved
i'm trying to complete the "make all" command but i get the following error:
"/usr/src/linux-headers-2.6.12-9-386/scripts/gcc-version.sh: line 11: gcc-3.4: command not found". i've installed the kernel headers that came on my kubuntu install cd and all of the gcc, gcc-4.0, c++, etc compilers i could find on my install cd any help? |
|
|
|
|
|
#5 |
|
Spilled the Beans
![]() Join Date: Feb 2005
Beans: 14
|
Re: RaLink RT61 Wireless Solved
maybe if someone could just e-mail me the binary i could get it going that way.... morpheus2485@gmail.com
|
|
|
|
|
|
#6 |
|
5 Cups of Ubuntu
![]() Join Date: Feb 2006
Beans: 23
|
Re: RaLink RT61 Wireless Solved
what name should I put in the symbolink link in /etc/rc2.d pointing to /etc/init.d/rt61ip ? I tried S15rt61, and after that my system would freeze on bootup, specifically on the Configuring network interfaces portion.
|
|
|
|
|
|
#7 | |
|
5 Cups of Ubuntu
![]() Join Date: Sep 2005
Beans: 20
|
Re: RaLink RT61 Wireless Solved
Quote:
Code:
sudo apt-get install gcc-3.4 build-essential |
|
|
|
|
|
|
#8 | ||||
|
A Carafe of Ubuntu
![]() Join Date: Dec 2005
Location: Sweden
Beans: 122
Ubuntu 7.10 Gutsy Gibbon
|
Re: RaLink RT61 Wireless Solved
ok i fixed my rt61 on dwl-g510 rev c1 , fw :5 ,
EDITED(i could not get bootup connection with interface so i created a boot sript (and there is nothing more in /etc/network/interfaces file only lo loop )) and i removed wifi-radar , that was freezing the system or gdm in dapper :~$ sudo gedit /etc/init.d/xrt61 CODE: Quote:
:~$ sudo update-rc.d xrt61 default :~$sudo chmod 777 /etc/init.d/xrt61 Unlink runlevel 0 and 6. :~$ sudo rm /etc/rc6.d/K20xrt61 :~$sudo rm /etc/rc0.d/K20xrt61 //or just do ls /etc/rc6.d/ |grep xrt61 and ls /etc/rc0.d/ |grep xrt61 and remove them with rm #cat /etc/network/interfaces : Quote:
cat /etc/modprobe.d/rt61d Quote:
Quote:
:~$ sudo apt-get install tofrodos :~$ dos2unix rt61sta.dat :~$sudo chmod +x /etc/Wireless/RT61STA/rt61sta.dat Last edited by Stone123; April 13th, 2006 at 08:07 AM.. |
||||
|
|
|
|
|
#9 |
|
5 Cups of Ubuntu
![]() Join Date: Nov 2005
Location: Sweden
Beans: 30
Ubuntu Breezy 5.10
|
Re: RaLink RT61 Wireless Solved
Hi,
I have now tried this two times with my D-link DWL-G510 REV.C card. But I still can't get it to work. The card is recognised but as soon as I try to configure it I get a crash e.g. Code:
$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
sit0 no wireless extensions.
ra0 RT61 Wireless ESSID:""
Mode:Auto Channel:0
RTS thr=0 B Fragment thr=0 B
Link Quality:0 Signal level:0 Noise level:113
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
$ sudo dhclient ra0
Internet Systems Consortium DHCP Client V3.0.2
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
sit0: unknown hardware address type 776
/etc/dhcp3/dhclient-script: line 139: 7913 Killed ifconfig $interface 0 up
Has anyone managed to use these rt61 drivers on a 64 bit system? Cheers //Johan Last edited by UbuntuJohan; March 20th, 2006 at 05:41 PM.. |
|
|
|
|
|
#10 |
|
Dipped in Ubuntu
![]() Join Date: Mar 2006
Beans: 559
|
Re: RaLink RT61 Wireless Solved
try as I may, I can't even get my card to be recognized, let alone try to configure it...
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|