Re: rt2870
define the linux kernel source include file path LINUX_SRC
modify to meet your need.
I think, if you have linux-headers-generic and build-essential installed, it will find the path without any help; it did on my system.
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 Custom Event
Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n'.
command: #./wpa_supplicant -Dralink -ira0 -c wpa_supplicant.conf -d
Since you don't have WPA and may not want it, we can safely skip the latter part. If you intend to allow Network Manager handle your wireless, you should cd 2870/2008_0528_RT2870_Linux_STA_v1.3.0.0/os/linux and sudo gedit config.mk and go down to line 11 and change:
Code:
HAS_WPA_SUPPLICANT=n
to:
Code:
HAS_WPA_SUPPLICANT=y
Then go to line 14 and change:
Code:
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n
to:
Code:
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y
Then proofread, save and close gedit. Next, cd /2870/2008_0528_RT2870_Linux_STA_v1.3.0.0 and run:Then follow the remaining steps in the README_STA.
Post back if you get stuck.
"Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.
Bookmarks