LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices



Reply
 
Search this Thread
Old 07-15-2010, 01:39 AM   #46
BabyStuey
Member
 
Registered: Apr 2010
Location: Toronto, ON
Distribution: Debian
Posts: 41

Rep: Reputation: 22

It was an "old thread" when I found it, so no worries.

If you have a blue light on your adapter and are detecting networks, chances are the problem is not with your driver, but your network configuration.

You have version 1 of the adapter (0071) and not version 2 (0079) for which the tutorial was written. Steps of the tutorial may be helpful, but you should be able to download the "normal" driver and have that work (i.e. RT2870USB) without the modifications that refer to adding the 0079 bit.

Hope that helps,

-- Stu
 
Old 07-18-2010, 01:28 AM   #47
vansugar24
LQ Newbie
 
Registered: Jul 2010
Location: Canada
Distribution: 10.04 LTS
Posts: 14

Rep: Reputation: 0
ok, so this may or may not be a dumb question/comment but...
the blue light doesnt light up when u plug it into my computer with ubuntu, but it works fine on any other computer. It did work fine on my computer with windows but i messed windows up and ended up just putting ubuntu on my system...

eric@eric-desktop:~$ lsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 045e:009d Microsoft Corp.
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 1737:0079 Linksys
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
eric@eric-desktop:~$

I've tried following the walkthough given but nothing seems to work...

Step 7.
If you scroll waaaay to the bottom of ${BASE}/README_STA, you'll see some confusing instructions. What they are trying to say is:
- As the superuser, open /etc/modules
$ sudo nano /etc/modules
OR
$ su
# nano /etc/modules
- In Ubuntu, add the lines:
rt3572sta # Ubuntu only!
alias ra0 rt3572sta
- In Debian, add only the line:
alias ra0 rt3572sta
Step 8.
If you want your driver module to load at startup (and this you do)...
- As the superuser, open /etc/network/interfaces
$ sudo nano /etc/network/interfaces
OR
$ su
# nano /etc/network/interfaces
- Update the line that starts with "auto" to include "ra0", for example:
auto lo ra0
and add the line:
allow-hotplug ra0
- For more information on this step, type the command:
man 5 interfaces


i do want to point out that when you have to add lines to the modules file it wont save them, also the file after that one..

the command 'su' doesnt work either, it asks for a password and i put mine in but it says unable to authenticate... sudo worked for the most part but i dont know what else to do..

help...please?

Last edited by vansugar24; 07-18-2010 at 04:30 PM.
 
Old 07-18-2010, 10:36 PM   #48
BabyStuey
Member
 
Registered: Apr 2010
Location: Toronto, ON
Distribution: Debian
Posts: 41

Rep: Reputation: 22
Your adapter is being detected when you plug it in, so that's a good start...

eric@eric-desktop:~$ lsusb
Bus 001 Device 003: ID 1737:0079 Linksys



You can't save to the files if you aren't authenticated as root - the super-user and owner of those files. Ubuntu has some different defaults for root access. Refer to the note above the tutorial for clarification of this issue...

NOTE: Ubuntu users, please read: https://help.ubuntu.com/community/RootSudo for information running commands as the super-user.

Hope that helps!

-- Stu
 
Old 07-19-2010, 12:17 AM   #49
vansugar24
LQ Newbie
 
Registered: Jul 2010
Location: Canada
Distribution: 10.04 LTS
Posts: 14

Rep: Reputation: 0
so i finally got that part of it to work. what i ended up doing was

eric@eric-desktop:~$ sudo gedit
[sudo] password for eric:

and of course gedit pops up as root user and i search for the files and edit..etc..

but no such luck getting it working, so I started the whole process over..
here is a readout of step 6:
eric@eric-desktop:~/Desktop/2010_0709_RT3572_Linux_STA_v2.4.0.1$ make
make -C tools
make[1]: Entering directory `/home/eric/Desktop/2010_0709_RT3572_Linux_STA_v2.4.0.1/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/home/eric/Desktop/2010_0709_RT3572_Linux_STA_v2.4.0.1/tools'
/home/eric/Desktop/2010_0709_RT3572_Linux_STA_v2.4.0.1/tools/bin2h
cp -f os/linux/Makefile.6 /home/eric/Desktop/2010_0709_RT3572_Linux_STA_v2.4.0.1/os/linux/Makefile
make -C /lib/modules/2.6.32-24-generic/build SUBDIRS=/home/eric/Desktop/2010_0709_RT3572_Linux_STA_v2.4.0.1/os/linux modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-24-generic'
CC [M] /home/eric/Desktop/2010_0709_RT3572_Linux_STA_v2.4.0.1/os/linux/../../common/rtmp_mcu.o
LD [M] /home/eric/Desktop/2010_0709_RT3572_Linux_STA_v2.4.0.1/os/linux/rt3572sta.o
Building modules, stage 2.
MODPOST 1 modules
LD [M] /home/eric/Desktop/2010_0709_RT3572_Linux_STA_v2.4.0.1/os/linux/rt3572sta.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-24-generic'
eric@eric-desktop:~/Desktop/2010_0709_RT3572_Linux_STA_v2.4.0.1$ sudo make install
make -C /home/eric/Desktop/2010_0709_RT3572_Linux_STA_v2.4.0.1/os/linux -f Makefile.6 install
mkdir: cannot create directory `/etc/Wireless': File exists
make[1]: Entering directory `/home/eric/Desktop/2010_0709_RT3572_Linux_STA_v2.4.0.1/os/linux'
rm -rf /etc/Wireless/RT2870STA
mkdir /etc/Wireless/RT2870STA
cp /home/eric/Desktop/2010_0709_RT3572_Linux_STA_v2.4.0.1/RT2870STA.dat /etc/Wireless/RT2870STA/.
install -d /lib/modules/2.6.32-24-generic/kernel/drivers/net/wireless/
install -m 644 -c rt3572sta.ko /lib/modules/2.6.32-24-generic/kernel/drivers/net/wireless/
/sbin/depmod -a 2.6.32-24-generic
make[1]: Leaving directory `/home/eric/Desktop/2010_0709_RT3572_Linux_STA_v2.4.0.1/os/linux'
eric@eric-desktop:~/Desktop/2010_0709_RT3572_Linux_STA_v2.4.0.1$


modules file:

# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

lp
rt3572sta # Ubuntu only!
alias ra0 rt3572sta


interfaces:

auto lo ra0
iface lo inet loopback
allow-hotplug ra0



i have all those drivers blacklisted that are on there.. and so far nothing..

can you see what I am missing?
 
Old 07-19-2010, 01:18 AM   #50
BabyStuey
Member
 
Registered: Apr 2010
Location: Toronto, ON
Distribution: Debian
Posts: 41

Rep: Reputation: 22
Hey Eric,

It looks good to me! Did you noodle around in your network manager to connect to the wireless network? I sometimes have to unplug and re-insert the USB adapter before it will work, but once I had the driver installed and everything configured as described, it worked for me. Only other thing I can suggest is to have a look at the "Step 9 Troubleshooting" and see if that helps.

Cheers,

-- Stu
 
Old 07-19-2010, 08:00 AM   #51
vansugar24
LQ Newbie
 
Registered: Jul 2010
Location: Canada
Distribution: 10.04 LTS
Posts: 14

Rep: Reputation: 0
ok sweet.. i dont know what i did.. i was just reading some more how to's and what the best wifi program to use.. and it just started working. lol i dont know what happened but its working now!

Thanks Stu!
 
Old 07-19-2010, 03:02 PM   #52
BabyStuey
Member
 
Registered: Apr 2010
Location: Toronto, ON
Distribution: Debian
Posts: 41

Rep: Reputation: 22
Glad it worked for you, Eric!
 
Old 07-20-2010, 01:50 AM   #53
hawbster
LQ Newbie
 
Registered: Jul 2010
Posts: 2

Rep: Reputation: 0
Thanks Stu, you're a hero. I found my answer and now I can enjoy life. It's so beautiful.. i was in a dark place for a long time Stu...

Thanks
 
Old 07-23-2010, 11:45 PM   #54
vansugar24
LQ Newbie
 
Registered: Jul 2010
Location: Canada
Distribution: 10.04 LTS
Posts: 14

Rep: Reputation: 0
just a note to anyone else who may be having trouble with this still..

i do have to disable the driver and re-enable it everytime i start my computer

(system>administration>hardware driver)

then it works
 
Old 08-07-2010, 02:44 PM   #55
swanseahost
LQ Newbie
 
Registered: Aug 2010
Posts: 2

Rep: Reputation: 0
ClearOS with Linksys WUSB600N Help Please

Hi BabyStuey,

I hope you don't mind me asking a few questions as I seem to be banging my head against a brick wall. I am quite new to linux and found your guide very helpful and I think it is the distro I have that is causing the problems.

I got to step 7 where you say to run make and I get the following error

"make -C /lib/modules/2.6.18-194.8.1v5/build SUBDIRS=/home/steve/usbwifi/os/linux modules" then
"make *** /lib/modules/2.6.18-194.8.1.v5/build: No such file or directory"

Now looking at the output I believe it is looking for os/linux/modules directory which does not exist.

The version of linux (after running uname -a) is 2.6.18-194.8.1.v5 i686 ahtlon i386 GNU/Linux

Please could you help me. Also, do you know if this usb wifi will work in Master mode so it can act as an AP ?

Thanks
 
Old 08-08-2010, 03:17 PM   #56
BabyStuey
Member
 
Registered: Apr 2010
Location: Toronto, ON
Distribution: Debian
Posts: 41

Rep: Reputation: 22
Hey there,

I don't know about using the WUSB600N as an AP, but I found an alternative solution that will do pretty much any networking function that you could ever want. It involves replacing the firmware on your router to something called DD-WRT. You need to be careful to follow the directions precisely or you may end up with a new paperweight instead of a router, but the firmware is sooooo powerful, you can flip your common wireless router into an a wireless repeater, a wireless adapter for your computer, etc. Check it out: http://www.dd-wrt.com/

Now, on to your other issues...

The driver claims to work for 2.4- and 2.6-series kernels, so your system looks okay from that standpoint.

The folder it's trying to find is "/home/steve/usbwifi/os/linux" - the "modules" tacked on the end is a separate parameter and not part of the path.

Check out post #13 above for a full terminal output of a successful installation. In comparing your output to mine, what jumps out at me is that there's an extra period in the error message. Check to see if you actually have a folder /lib/modules/2.6.18-194.8.1v5/ or /lib/modules/2.6.18-194.8.1.v5/ Also, check to ensure you have all of the necessary packages installed to compile programs, including linux-headers-${uname -r}

Code:
make -C /lib/modules/2.6.18-194.8.1v5/build SUBDIRS=/home/steve/usbwifi/os/linux modules
make *** /lib/modules/2.6.18-194.8.1.v5/build: No such file or directory

vs. 

make -C /lib/modules/2.6.26-2-686/build SUBDIRS=/home/username/Desktop/2009_1214_RT3572_LinuxSTA_V2.3.0.0/os/linux modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.26-2-686'

Hope that helps!

-- Stu

Last edited by BabyStuey; 08-08-2010 at 03:18 PM.
 
Old 08-10-2010, 08:15 PM   #57
sdavmor
LQ Newbie
 
Registered: Jun 2010
Location: Simi Valley, California
Distribution: Ubuntu 10.04
Posts: 4

Rep: Reputation: 1
Has anybody tried this with the Ubuntu Maverick 10.10 Alpha? Or the new (July 2010) RT3572 drivers. I upgraded my laptop from 10.04 to 10.10 Alpha 3 today, and as long as I have it reboot with the old kernel (2.6.32-22-generic) the Cisco WUSB600 works properly with the Dec 2009 RT3572 drivers. But I haven't managed to get it working with the latest kernel (2.6.35-14-generic) regardless of which driver I install.
 
Old 08-18-2010, 04:53 AM   #58
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 55
My WMP600N (the PCI version of what you have) will work from the Ubuntu Live CD; see the HCL (under "Wireless Cards/Linksys") for details.
 
Old 11-24-2010, 03:37 PM   #59
mod-u-lar
LQ Newbie
 
Registered: Nov 2010
Posts: 2

Rep: Reputation: 0
I can't get past the compilation step. I have checked the the makefile and all paths to headers and sources are available. Really no idea what's missing and any help would be appreciated.

The only difference from the tutorials is the version of the driver on the Ralink website, but it's auto-download so I can't check if an older version would work.

Code:
xbmc@MediaPortal:~/Downloads/2010_0915_RT3572_Linux_STA_v2.4.0.2$ make
make -C tools
make[1]: Entering directory `/home/xbmc/Downloads/2010_0915_RT3572_Linux_STA_v2.4.0.2/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/home/xbmc/Downloads/2010_0915_RT3572_Linux_STA_v2.4.0.2/tools'
/home/xbmc/Downloads/2010_0915_RT3572_Linux_STA_v2.4.0.2/tools/bin2h
cp -f os/linux/Makefile.6 /home/xbmc/Downloads/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/Makefile
make -C /lib/modules/2.6.35-23-generic/build SUBDIRS=/home/xbmc/Downloads/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.35-23-generic'
  CC [M]  /home/xbmc/Downloads/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.o
/home/xbmc/Downloads/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c: In function ‘RTMPAllocUsbBulkBufStruct’:
/home/xbmc/Downloads/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:52: error: implicit declaration of function ‘usb_buffer_alloc’
/home/xbmc/Downloads/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:52: warning: assignment makes pointer from integer without a cast
/home/xbmc/Downloads/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c: In function ‘RTMPFreeUsbBulkBufStruct’:
/home/xbmc/Downloads/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:78: error: implicit declaration of function ‘usb_buffer_free’
/home/xbmc/Downloads/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c: In function ‘RTMPFreeTxRxRingMemory’:
/home/xbmc/Downloads/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:234: warning: passing argument 3 of ‘RTMPFreeUsbBulkBufStruct’ from incompatible pointer type
/home/xbmc/Downloads/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:62: note: expected ‘UCHAR **’ but argument is of type ‘struct __TX_BUFFER **’
/home/xbmc/Downloads/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:241: warning: passing argument 3 of ‘RTMPFreeUsbBulkBufStruct’ from incompatible pointer type
/home/xbmc/Downloads/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:62: note: expected ‘UCHAR **’ but argument is of type ‘struct __TX_BUFFER **’
/home/xbmc/Downloads/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:278: warning: passing argument 3 of ‘RTMPFreeUsbBulkBufStruct’ from incompatible pointer type
/home/xbmc/Downloads/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:62: note: expected ‘UCHAR **’ but argument is of type ‘struct __HTTX_BUFFER **’
/home/xbmc/Downloads/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c: In function ‘NICInitTransmit’:
/home/xbmc/Downloads/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:507: warning: passing argument 3 of ‘RTMPFreeUsbBulkBufStruct’ from incompatible pointer type
/home/xbmc/Downloads/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:62: note: expected ‘UCHAR **’ but argument is of type ‘struct __TX_BUFFER **’
/home/xbmc/Downloads/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c: In function ‘RTMPAllocTxRxRingMemory’:
/home/xbmc/Downloads/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:566: warning: passing argument 3 of ‘RTMPAllocUsbBulkBufStruct’ from incompatible pointer type
/home/xbmc/Downloads/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:34: note: expected ‘VOID **’ but argument is of type ‘struct __HTTX_BUFFER **’
/home/xbmc/Downloads/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:596: warning: passing argument 3 of ‘RTMPAllocUsbBulkBufStruct’ from incompatible pointer type
/home/xbmc/Downloads/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:34: note: expected ‘VOID **’ but argument is of type ‘struct __TX_BUFFER **’
/home/xbmc/Downloads/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:610: warning: passing argument 3 of ‘RTMPAllocUsbBulkBufStruct’ from incompatible pointer type
/home/xbmc/Downloads/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:34: note: expected ‘VOID **’ but argument is of type ‘struct __TX_BUFFER **’
/home/xbmc/Downloads/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:628: warning: passing argument 3 of ‘RTMPAllocUsbBulkBufStruct’ from incompatible pointer type
/home/xbmc/Downloads/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:34: note: expected ‘VOID **’ but argument is of type ‘UCHAR **’
make[2]: *** [/home/xbmc/Downloads/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.o] Error 1
make[1]: *** [_module_/home/xbmc/Downloads/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-23-generic'
make: *** [LINUX] Error 2
 
Old 11-24-2010, 10:38 PM   #60
BabyStuey
Member
 
Registered: Apr 2010
Location: Toronto, ON
Distribution: Debian
Posts: 41

Rep: Reputation: 22
Your output seems to indicate an issue with pointer conversions, which makes me think some sort of type definition header file is missing. The actual error is to do with undefined functions that are defined in include/os/rt_linux.h, which is included (indirectly) via #include "rt_config.h" in common/cmm_mac_usb.c, so there shouldn't be a problem here. I got some similar messages when I was trying to compile this driver on a 64-bit kernel, which won't work. I'll reboot in Ubuntu and see if I can fiddle there and mimic your error.

-- Stu

Last edited by BabyStuey; 11-25-2010 at 12:32 AM.
 
  


Reply

Tags
debian, networking, v2, wireless


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Driver for DLink - DWL-G122 USB Adapter?? kuhlit Linux - Wireless Networking 4 06-08-2007 05:24 PM
Need a DLink DWL-g510 driver for Debian! aznboi1324 Linux - Wireless Networking 6 02-23-2006 10:38 AM
Driver Installation - Dlink DWL-520+ Timepilot Linux - Newbie 12 08-03-2004 11:01 AM
Need driver for a Dlink DWL-G520+ Deadeye Linux - Hardware 4 06-03-2004 05:16 PM
Dlink dwl-650+ Driver iksnizal Linux - Hardware 15 03-13-2003 02:04 AM


All times are GMT -5. The time now is 05:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration