You are not logged in.

#1 2010-11-11 17:54:44

Jessie Woodberry
Member
Registered: 2010-11-11
Posts: 3

WUSB600n v2

Has anyone had any luck getting this thing to work in ARCH? It works fine in Ubuntu 10-.04
when I try to compile it I get this error-

sudo make
Password:
make -C tools
make[1]: Entering directory `/usr/src/RT3572/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/usr/src/RT3572/tools'
/usr/src/RT3572/tools/bin2h
cp -f os/linux/Makefile.6 /usr/src/RT3572/os/linux/Makefile
make -C /lib/modules/2.6.35-ARCH/build SUBDIRS=/usr/src/RT3572/os/linux modules
make: *** /lib/modules/2.6.35-ARCH/build: No such file or directory.  Stop.
make: *** [LINUX] Error 2



Any help would be greatly appreciated. I am new here by the way and fairly new to ARCH. So far I like it a lot. I have openbox installed and love its light quickness and simplicity.

Offline

#2 2010-11-11 19:25:17

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: WUSB600n v2

You have a very clear error message there, one that tells you exactly why the build failed. Did you investigate that error before posting here? If so, what did you do to try to solve the problem?

Offline

#3 2010-11-13 00:08:03

Jessie Woodberry
Member
Registered: 2010-11-11
Posts: 3

Re: WUSB600n v2

tomk wrote:

You have a very clear error message there, one that tells you exactly why the build failed. Did you investigate that error before posting here? If so, what did you do to try to solve the problem?


Actually I have searched a good bit on the matter and don't seem to find a lot of info about installing it in ARCH linux.

It seems to me the makefile is calling for a build file which does not exist inside the /lib/modules/2.6.35-ARCH file.


This is how I got it working in Ubuntu after blacklisting the old rt2870 driver. And thats my current setup right now  -

https://help.ubuntu.com/community/WifiD … 20WUSB600N


Download the driver RT3572USB from the Ralink web page. The file name at the time of writing this was 2009_1222_RT3572_LinuxSTA_V2[1].3.0.0.tar.bz2

Unpack the file

tar xjf 2009_1222_RT3572_LinuxSTA_V2[1].3.0.0.tar.bz2

and change to the directory 2009_1214_RT3572_LinuxSTA_V2.3.0.0

cd 2009_1214_RT3572_LinuxSTA_V2.3.0.0

Edit the file 2009_1214_RT3572_LinuxSTA_V2.3.0.0/os/linux/config.mk

gedit os/linux/config.mk

and make sure the following settings are set to value "y" (change the values where needed)

    * HAS_WPA_SUPPLICANT
    * HAS_NATIVE_WPA_SUPPLICANT_SUPPORT
    * HAS_QOS_DLS_SUPPORT
    * HAS_DOT11N_DRAFT3_SUPPORT
    * HAS_DOT11_N_SUPPORT
    * HAS_STATS_COUNT

Save the changes you made and exit gedit.

Now edit the file common/rtusb_dev_id.c

gedit common/rtusb_dev_id.c

and locate the following section:

#ifdef RT35xx
{USB_DEVICE(0x148F,0x3572)}, /* Ralink 3572 */
{USB_DEVICE(0x1740,0x9801)}, /* EnGenius 3572 */
{USB_DEVICE(0x0DF6,0x0041)}, /* Sitecom 3572 */
{USB_DEVICE(0x0DF6,0x0042)},
{USB_DEVICE(0x04BB,0x0944)}, /* I-O DATA 3572 */
{USB_DEVICE(0x1690,0x0740)}, /* 3572 */
{USB_DEVICE(0x1690,0x0744)}, /* 3572 */
{USB_DEVICE(0x5A57,0x0284)}, /* Zinwell 3572 */
{USB_DEVICE(0x167B,0x4001)}, /* 3572 */
#endif // RT35xx //

Add WUSB600Nv2 to this section by changing it to:

#ifdef RT35xx
{USB_DEVICE(0x148F,0x3572)}, /* Ralink 3572 */
{USB_DEVICE(0x1740,0x9801)}, /* EnGenius 3572 */
{USB_DEVICE(0x0DF6,0x0041)}, /* Sitecom 3572 */
{USB_DEVICE(0x0DF6,0x0042)},
{USB_DEVICE(0x04BB,0x0944)}, /* I-O DATA 3572 */
{USB_DEVICE(0x1690,0x0740)}, /* 3572 */
{USB_DEVICE(0x1690,0x0744)}, /* 3572 */
{USB_DEVICE(0x5A57,0x0284)}, /* Zinwell 3572 */
{USB_DEVICE(0x167B,0x4001)}, /* 3572 */
{USB_DEVICE(0x1737,0x0079)}, /* WUSB600Nv2 */
#endif // RT35xx //

Save the changes you made and exit gedit.

Now compile the driver by running

make

and install it (you need superuser privileges) by running

sudo make install

Connect (or reconnect) your WUSB600Nv2 to your computer, and it should light up. You can confirm it is working with the command

iwlist

Look for an entry labeled "ra0".

Offline

#4 2010-11-13 00:40:01

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: WUSB600n v2

OK. You need to install the kernel26-headers package.

Offline

#5 2010-11-17 12:27:25

Jessie Woodberry
Member
Registered: 2010-11-11
Posts: 3

Re: WUSB600n v2

tomk wrote:

OK. You need to install the kernel26-headers package.

Thanks that did the trick.

Offline

Board footer

Powered by FluxBB