![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Networking & Wireless Having problems getting connected to the internet or getting your wireless card to work? Ask here. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
5 Cups of Ubuntu
![]() Join Date: Sep 2007
Beans: 40
Ubuntu 9.04 Jaunty Jackalope
|
[RESOLVED] Wireless issues with WUSB54GC v3
[SEE BELOW FOR RESOLUTION TO GETTING THIS TO WORK]
Hi, I just upgraded my ubuntu from 7.04 -> 9.04 after a short hiatus from Ubuntu to SuSE10. I have purchased yesterday a LinkSys WUSB54GC wireless adapter and plugged it into my usb port. It did not work. However, lsusb showed that my linksys card was recognized. LinkSys cards use the rtxxxxx chips, so I wanted to see what version of rt I should have. I checked the cd and found that there's an adapter called rt2870.inf, so I figured that I am rt2870. (Can someone here confirm this?) I decided to follow the steps here: http://ubuntuforums.org/showthread.php?t=960642 I used this .tar.gz file: 04/24/2009 2.1.1.0 RT2870USB(RT2870/RT2770) http://www.ralinktech.com.tw/data/dr...A_V2.1.1.0.tgz I built the driver, did an insmod st2870sta.ko, then i put rt2870sta in /etc/modules Somewhere along the steps in that tutorial, my light turned green! Which is a huge step towards connectivity.. When I do a iwconfig, I see my adapter, as well as when I do a ifconfig. When I did a /etc/init.d/networking restart, I see that there is no dhcp server, as we're making DHCPREQUESTs, but I receive no DHCPOFFERS. I can not see my wireless network, nor can I see any of my neighbors. I have pretty much lost a good 10+ hours on this, any ideas on what do? Thanks! Last edited by radixor; June 18th, 2009 at 02:13 PM.. Reason: Resolved issue |
|
|
|
|
|
#2 | |
|
5 Cups of Ubuntu
![]() Join Date: Sep 2007
Beans: 40
Ubuntu 9.04 Jaunty Jackalope
|
Re: Wireless issues with WUSB54GC v3
Quote:
Please see above link for working file Guys, here's a step-by-step process on how to resolve this issue on Ubuntu 9.04: The drivers that work with WUSB54GC v3 ARE NOT THE 2.1.1.0 on the RALINK site. They are the http://www.ralink.com.tw/data/driver....4.0.0.tar.bz2 BEFORE EXECUTING ANY OF THESE STEPS, PLEASE DO A Code:
sudo -i Code:
wget http://www.ralink.com.tw/data/drivers/2008_0925_RT2870_Linux_STA_v1.4.0.0.tar.bz2 Code:
tar xjf 2008_0925_RT2870_Linux_STA_v1.4.0.0.tar.bz2 Code:
cd 2008_0925_RT2870_Linux_STA_v1.4.0.0 replace the file located in include/rt2870.h with rt2870.h from the attached rt2870.h.tar.gz Step 5. Execute Code:
perl -p -i.old -e 's/(HAS*WPA*SUPPLICANT*=)n/{$1}y/g' os/linux/config.mk
Code:
make && make install Make sure that /lib/modules/`uname -r`/updates/ exists! If this directory does not exist, then create it. After you've ensured that it does exist, then run: Code:
cp -p /lib/modules/`uname -r`/kernel/drivers/net/wireless/rt2870sta.ko /lib/modules/`uname -r`/updates/ Code:
depmod -a Code:
gedit /etc/Wireless/RT2870STA/RT2870STA.dat AuthMode, EncrypType can be any of the values you see below. For WEP, you would have AuthMode=WEPAUTO and EncrypType=WEP For WPA, you would have AuthMode=WPA and EncrypType=TKIP (** your values here may differ **) Code:
@> AuthMode=value
value
OPEN For open system
SHARED For shared key system
WEPAUTO Auto switch between OPEN and SHARED
WPAPSK For WPA pre-shared key (Infra)
WPA2PSK For WPA2 pre-shared key (Infra)
WPANONE For WPA pre-shared key (Adhoc)
WPA Use WPA-Supplicant
WPA2 Use WPA-Supplicant
@> EncrypType=value
value
NONE For AuthMode=OPEN
WEP For AuthMode=OPEN or AuthMode=SHARED
TKIP For AuthMode=WPAPSK or WPA2PSK
AES For AuthMode=WPAPSK or WPA2PSK
Code:
echo "alias ra0 rt2870sta" >> /etc/modules Code:
echo "ifconfig ra0 inet up" >> /etc/init.d/rc.local Reboot Step 13. If you're not connected to the internet by now, there is ONE more step to take but you have TWO CHOICES: Step 13a. Something that I learned that activated my network-manager was this: Code:
sudo vi /etc/NetworkManager/nm-system-settings.conf Code:
sudo killall nm-system-settings If this works, SKIP STEP 13B. If you want to use the command-line, use the below step. Step 13b. Using wpa_supplicant to connect! Read this great tutorial/walk-through here: http://ubuntuforums.org/showthread.php?t=263136 ------------------------------------------------------------- PLEASE NOTE THAT THE WIRELESS ADAPTER DOES NOT BLINK OR LIGHT UP GREEN BUT IT STILL WORKS. TO TEST THIS YOU CAN TYPE Code:
iwlist ra0 scan Please leave some feedback or your comments. Thanks, radixor. P.S. I will write a small python script to automate this ordeal... Last edited by radixor; October 20th, 2009 at 08:09 PM.. Reason: perl code fix.. |
|
|
|
|
|
|
#3 |
|
Just Give Me the Beans!
![]() Join Date: Oct 2007
Location: Canada
Beans: 77
Ubuntu Jaunty Jackalope (testing)
|
Re: Wireless issues with WUSB54GC v3
Sorry for the noob question, but how can I find my SSID, channel, and all that? I tried the rest of the instructions there to no avail so I'm hoping that's all I need to fix. Thanks so much for the help...
|
|
|
|
|
|
#4 | |
|
5 Cups of Ubuntu
![]() Join Date: Sep 2007
Beans: 40
Ubuntu 9.04 Jaunty Jackalope
|
Re: Wireless issues with WUSB54GC v3
Quote:
However, I can only answer based on your answers of this question: Is your router already setup and running? If yes, then type in: Code:
iwlist <%DEVICE%> scan Code:
iwlist ra0 scan If no, then your wireless will usually have defaults, which you will find easily again by typing in Code:
iwlist ra0 scan |
|
|
|
|
|
|
#5 |
|
First Cup of Ubuntu
![]() Join Date: May 2009
Beans: 3
|
Re: Wireless issues with WUSB54GC v3
i googled this same problem 2 days ago, but didn't find anything that solved it. thanks!!!
did v3 of this device just come out or something? i am total MS-fed n00b |
|
|
|
|
|
#6 | |
|
5 Cups of Ubuntu
![]() Join Date: Sep 2007
Beans: 40
Ubuntu 9.04 Jaunty Jackalope
|
Re: Wireless issues with WUSB54GC v3
Quote:
I checked LinkSys, v3 is definitely the newest version. However, the 1.4.4.0 drivers WORK ABSOLUTELY PERFECTLY. I am hoping for a better driver to emerge soon from RaLink (one that makes the green light work). I might have to even read the source code to see what the problems would be and compile my own driver. Will keep you guys posted. |
|
|
|
|
|
|
#7 |
|
Just Give Me the Beans!
![]() Join Date: Oct 2007
Location: Canada
Beans: 77
Ubuntu Jaunty Jackalope (testing)
|
Re: Wireless issues with WUSB54GC v3
radixor: I'll check the router through another computer on the network. I haven't got anything set up on this computer so I can't scan anything from here. I'm hopeful this will work for me so thanks so much!
gordonjay: ya v3 just came out recently |
|
|
|
|
|
#8 |
|
First Cup of Ubuntu
![]() Join Date: May 2009
Beans: 3
|
Re: Wireless issues with WUSB54GC v3
so i made it to step 7: cp -p /lib/modules/`uname -r`/kernel/drivers/net/wireless/rt2870sta.ko /lib/modules/`name -r`/updates
but i got this error: -bash: name: command not found past experiences with errors in setting up things in Linux persuade me to stay where i am at. i Googled "-bash: name: command not found"+Ubuntu+9.04 but only got 2 results, both of which were technical enough to make my head explode. |
|
|
|
|
|
#9 | |
|
5 Cups of Ubuntu
![]() Join Date: Sep 2007
Beans: 40
Ubuntu 9.04 Jaunty Jackalope
|
Re: Wireless issues with WUSB54GC v3
Quote:
use this: Code:
cp -p /lib/modules/`uname -r`/kernel/drivers/net/wireless/rt2870sta.ko /lib/modules/`uname -r`/updates |
|
|
|
|
|
|
#10 |
|
First Cup of Ubuntu
![]() Join Date: May 2009
Beans: 3
|
Re: Wireless issues with WUSB54GC v3
you rule!
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|