Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Main Support Categories > Hardware & Laptops
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hardware & Laptops
Problems with hardware & laptops not being detected or supported during or after install.

 
Thread Tools Display Modes
Old September 23rd, 2009   #1
zip311
First Cup of Ubuntu
 
Join Date: Sep 2009
Beans: 1
Smile Linksys WUSB54GC Version 3 AMD64 (1737:0077)

It took me a while, but I discovered a very simple solution to using this wireless card.

Make sure your device id is 1737:0077 from lsusb.

First, download the source for the rt3070 usb driver from ralinktecit h: http://www.ralinktech.com/support.php?s=2
(should be RT3070USB(RT307x) link)

Untar the source, which should be a file named something like: 2009_0525_RT3070_Linux_STA_v2.1.1.0.bz2

You will then need to edit two (2) files.

In os/linux/config.mk change:
Code:
HAS_WPA_SUPPLICANT=n
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n
to:
Code:
HAS_WPA_SUPPLICANT=y
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y
In os/linux/usb_main_dev.c:
On about line #44 starts the definition of the rt_usb_id struct:
Code:
/* module table */
struct usb_device_id rtusb_usb_id[] = {
You want to change the end of that structure on about line #76 from:
Code:
        {USB_DEVICE(0x203D,0x1480)}, /* Encore 3070 */
#endif // RT3070 //
        { }/* Terminating entry */
};
to:
Code:
        {USB_DEVICE(0x203D,0x1480)}, /* Encore 3070 */
        {USB_DEVICE(0x1737,0x0077)}, /* Linksys WUSB54GC */
#endif // RT3070 //
        { }/* Terminating entry */
};
Make and install the module, making sure to edit your /etc/modules.

Why this works:
The WUSB54GC Version 3 card has the rt3070 chipset - it's just that the ralink drivers don't contain the device ID for the linksys model (doh!)
zip311 is offline   Reply With Quote
Old September 29th, 2009   #2
skriwelae
First Cup of Ubuntu
 
Join Date: Sep 2009
Beans: 1
Re: Linksys WUSB54GC Version 3 AMD64 (1737:0077)

Hi,

I have modified the files as you show, and built the module. How can I make sure it is correctly installed? Do I have to call modprobe to load it?

After following your instructions my dongle is still not working. What else do I have to do?

Thanks!
skriwelae is offline   Reply With Quote
Old October 13th, 2009   #3
rockon1215
First Cup of Ubuntu
 
Join Date: Feb 2009
Beans: 4
Re: Linksys WUSB54GC Version 3 AMD64 (1737:0077)

I followed the steps, but whenever I try to 'make' I get

Code:
install: cannot stat `rt3070sta.ko': No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/alex/Documents/Wireless/os/linux'
make: *** [install] Error 2
I tried again with 'sudo make' but no such luck.

(I renamed '2009_0525_RT3070_Linux_STA_v2.1.1.0' to 'Wireless' to make typing it out in the terminal easier)
rockon1215 is offline   Reply With Quote
Old October 20th, 2009   #4
Kjeldgaard
5 Cups of Ubuntu
 
Join Date: Oct 2009
Beans: 26
Re: Linksys WUSB54GC Version 3 AMD64 (1737:0077)

Quote:
Originally Posted by zip311 View Post
Make and install the module, making sure to edit your /etc/modules.
What is it exactly I need to write in the module file?

/Kjeldgaard
Kjeldgaard is offline   Reply With Quote
Old November 3rd, 2009   #5
TeamCK
First Cup of Ubuntu
 
Join Date: Nov 2009
Beans: 1
Re: Linksys WUSB54GC Version 3 AMD64 (1737:0077)

So, I am brand new to ubuntu (and haven't even thought about programming languages in quite a while). Can you tell me what I need to write in order to build a module and install a module please?

thanks.
TeamCK is offline   Reply With Quote
Old November 6th, 2009   #6
vanjan
First Cup of Ubuntu
 
Join Date: Nov 2009
Location: UK
Beans: 2
Ubuntu 9.10 Karmic Koala
Re: Linksys WUSB54GC Version 3 AMD64 (1737:0077)

trying to build this in 9.10 I get a following error:
Code:
make -C tools
make[1]: Entering directory `/home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/tools'
/home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/tools/bin2h
cp -f os/linux/Makefile.6 /home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/Makefile
make  -C  /lib/modules/2.6.31-14-generic/build SUBDIRS=/home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.31-14-generic'
  CC [M]  /home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../common/crypt_md5.o
  CC [M]  /home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../common/crypt_sha2.o
  CC [M]  /home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../common/crypt_hmac.o
  CC [M]  /home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../common/mlme.o
/home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../common/mlme.c: In function ‘BssTableSortByRssi’:
/home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../common/mlme.c:4406: warning: the frame size of 1572 bytes is larger than 1024 bytes
  CC [M]  /home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../common/cmm_wep.o
  CC [M]  /home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../common/action.o
  CC [M]  /home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../common/cmm_data.o
  CC [M]  /home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../common/rtmp_init.o
/home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../common/rtmp_init.c: In function ‘RtmpRaDevCtrlInit’:
/home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../common/rtmp_init.c:3710: warning: passing argument 2 of ‘os_alloc_mem’ from incompatible pointer type
/home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/include/rtmp.h:5687: note: expected ‘UCHAR **’ but argument is of type ‘UCHAR *’
  CC [M]  /home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../common/cmm_tkip.o
  CC [M]  /home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../common/cmm_aes.o
/home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../common/cmm_aes.c: In function ‘AES_GTK_KEY_WRAP’:
/home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../common/cmm_aes.c:1338: warning: the frame size of 1092 bytes is larger than 1024 bytes
  CC [M]  /home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../common/cmm_sync.o
  CC [M]  /home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../common/eeprom.o
  CC [M]  /home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../common/cmm_sanity.o
  CC [M]  /home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../common/cmm_info.o
  CC [M]  /home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../common/cmm_cfg.o
  CC [M]  /home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../common/cmm_wpa.o
  CC [M]  /home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../common/dfs.o
  CC [M]  /home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../common/spectrum.o
  CC [M]  /home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../common/rtmp_timer.o
  CC [M]  /home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../common/rt_channel.o
  CC [M]  /home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../common/cmm_profile.o
  CC [M]  /home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../common/cmm_asic.o
  CC [M]  /home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../sta/assoc.o
/home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../sta/assoc.c: In function ‘wext_notify_event_assoc’:
/home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../sta/assoc.c:1401: warning: pointer targets in passing argument 5 of ‘RtmpOSWrielessEventSend’ differ in signedness
/home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/include/rtmp.h:7025: note: expected ‘PUCHAR’ but argument is of type ‘char *’
  CC [M]  /home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../sta/auth.o
  CC [M]  /home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../sta/auth_rsp.o
  CC [M]  /home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../sta/sync.o
/home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../sta/sync.c: In function ‘PeerBeaconAtScanAction’:
/home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../sta/sync.c:651: warning: the frame size of 1252 bytes is larger than 1024 bytes
/home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../sta/sync.c: In function ‘PeerBeacon’:
/home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../sta/sync.c:1429: warning: the frame size of 1312 bytes is larger than 1024 bytes
/home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../sta/sync.c: In function ‘PeerBeaconAtJoinAction’:
/home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../sta/sync.c:929: warning: the frame size of 1260 bytes is larger than 1024 bytes
/home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../sta/sync.c: In function ‘MlmeStartReqAction’:
/home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../sta/sync.c:525: warning: the frame size of 1064 bytes is larger than 1024 bytes
  CC [M]  /home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../sta/sanity.o
  CC [M]  /home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../sta/rtmp_data.o
  CC [M]  /home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../sta/connect.o
/home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../sta/connect.c: In function ‘LinkDown’:
/home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../sta/connect.c:1975: warning: unused variable ‘Cancelled’
/home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../sta/connect.c: In function ‘CntlOidScanProc’:
/home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../sta/connect.c:343: warning: the frame size of 1600 bytes is larger than 1024 bytes
  CC [M]  /home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../sta/wpa.o
  CC [M]  /home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../os/linux/rt_linux.o
/home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSNetDevAttach’:
/home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../os/linux/rt_linux.c:1510: error: ‘struct net_device’ has no member named ‘open’
/home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../os/linux/rt_linux.c:1511: error: ‘struct net_device’ has no member named ‘stop’
/home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../os/linux/rt_linux.c:1512: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../os/linux/rt_linux.c:1513: error: ‘struct net_device’ has no member named ‘do_ioctl’
/home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../os/linux/rt_linux.c:1519: error: ‘struct net_device’ has no member named ‘get_stats’
/home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../os/linux/rt_linux.c:1553: error: ‘struct net_device’ has no member named ‘validate_addr’
make[2]: *** [/home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux/../../os/linux/rt_linux.o] Error 1
make[1]: *** [_module_/home/jan/Downloads/Drivers/2009_0525_RT3070_Linux_STA_v2.1.1.0/os/linux] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic'
make: *** [LINUX] Error 2
vanjan is offline   Reply With Quote
Old November 18th, 2009   #7
mandava
First Cup of Ubuntu
 
Join Date: Nov 2009
Beans: 1
Re: Linksys WUSB54GC Version 3 AMD64 (1737:0077)

I am getting the same errors as vanjan above!
Did anyone find a solution for this one?

I am going to try the instructions given here.
Let's see what happens!
mandava is offline   Reply With Quote
Old December 6th, 2009   #8
noppie
Spilled the Beans
 
Join Date: Oct 2005
Beans: 13
Re: Linksys WUSB54GC Version 3 AMD64 (1737:0077)

Quote:
Originally Posted by Kjeldgaard View Post
What is it exactly I need to write in the module file?

/Kjeldgaard
I don't have a
making sure to edit your /etc/modules.

and went I do #modprobe rt3070sta with sudo in front nothing happens.

#ifconfig ra0 inet 192.168.0.33 up
#iwconfig ra0
nothing happens.. using sudo in front of all
and where do i find where to configure the card
thank you very much
noppie
noppie is offline   Reply With Quote
Old 4 Weeks Ago   #9
RiveraK2
First Cup of Ubuntu
 
Join Date: Jan 2010
Beans: 1
Re: Linksys WUSB54GC Version 3 AMD64 (1737:0077)

Hey,

I was wondering if someone can help me through this process.
I'm brand new to Linux/Ubuntu having installed it a few hours ago.

Anyway, I own this exact adapter (WUSB54GC V3 1737:0077) and I
would like to get it working on my PC.

I followed the steps above, but I have no idea on how to make and
install a module to get this thing working. Can anyone help me
out with this?

I'll greatly appreciate any help I get.

Thanks!,
RK2
RiveraK2 is offline   Reply With Quote
Old 3 Weeks Ago   #10
KherKhere
First Cup of Ubuntu
 
Join Date: Jan 2010
Beans: 2
Re: Linksys WUSB54GC Version 3 AMD64 (1737:0077)

Please some one help us how can i install it setp by step .

Thanks in advance .
KherKhere is offline   Reply With Quote

Bookmarks

Tags
linksys, ralink, usb, wireless

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:34 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry