I'm looking to start using linux as my primary OS (Ubuntu 7.10),
and before I was finding it pretty simple to use; however, my onboard ethernet crapped out and I had to get a wireless card (I was planning on moving this computer far away from the router anyway). Installing the wireless card on windows is simple, just install from the cd that came with it.
But now I can't use internet in Ubuntu, so I asked if a linux driver existed. It turns out that there is one, but I have no clue where to begin (my only real experience compiling anything is in DEV-C++).
If anybody here could help me install this card on ubuntu, that would be great.
I've also read about an alternative involving copying the driver from windows and using NDISwrapper. I would need this to work with WPA.
The build instructions are as follows:
and before I was finding it pretty simple to use; however, my onboard ethernet crapped out and I had to get a wireless card (I was planning on moving this computer far away from the router anyway). Installing the wireless card on windows is simple, just install from the cd that came with it.
But now I can't use internet in Ubuntu, so I asked if a linux driver existed. It turns out that there is one, but I have no clue where to begin (my only real experience compiling anything is in DEV-C++).
If anybody here could help me install this card on ubuntu, that would be great.
I've also read about an alternative involving copying the driver from windows and using NDISwrapper. I would need this to work with WPA.
The build instructions are as follows:
1> $tar -xvzf DPB_RT2860_Linux_STA_x.x.x.x.tgz
go to "./DPB_RT2860_Linux_STA_x.x.x.x" directory.
2> In Makefile
set the "MODE = STA" in Makefile and chose the TARGET to Linux by set "TARGET = LINUX"
define the linux kernel source include file path LINUX_SRC
modify to meet your need.
3> In os/linux/config.mk
define the GCC and LD of the target machine
define the compiler flags CFLAGS
modify to meet your need.
** Build for being controlled by NetworkManager
Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y'.
** Build for being controlled by WpaSupplicant with Ralink Driver
Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n'.
4> $make # compile driver source code
5> $cp RT2860STA.dat /etc/Wireless/RT2860STA/RT2860STA.dat
# !!!check if it is a binary file before loading !!!
6> load driver
#[kernel 2.4]
# $/sbin/insmod rt2860sta.o
# $/sbin/ifconfig ra0 inet YOUR_IP up
#[kernel 2.6]
# $/sbin/insmod rt2860sta.ko
# $/sbin/ifconfig ra0 inet YOUR_IP up
7> unload driver
$/sbin/ifconfig ra0 down
$/sbin/rmmod rt2860sta