무선랜(usb) rt2870 드라이버 설치관련

라링크 홈페이지에서 리눅스 버전 RT2870 드라이버를 다운 받았는데요.

빨간색으로 해놓은 부분부터 막힙니다…ㅠ_ㅠ

해결방법이 없을까요? 운영체제는 win7과 코분투 10.10을 사용하고 있습니다.

데스크탑입니다…ㅜㅜ

1> $tar -xvzf DPB_RT2870_Linux_STA_x.x.x.x.tgz

go to "./DPB_RT2870_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 or wpa_supplicant wext functions

  Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y'.

[color=#FF0000:h4lakti7] => #>cd wpa_supplicant-x.x[/color:h4lakti7]
=> #>./wpa_supplicant -Dwext -ira0 -c wpa_supplicant.conf -d

** Build for being controlled by WpaSupplicant with Ralink Driver

  Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n'.

  => #>cd wpa_supplicant-0.5.7

  => #>./wpa_supplicant -Dralink -ira0 -c wpa_supplicant.conf -d

4> $make

# compile driver source code

# To fix "error: too few arguments to function ‥iwe_stream_add_event"

 => $patch -i os/linux/sta_ioctl.c.patch os/linux/sta_ioctl.c

5> $cp RT2870STA.dat /etc/Wireless/RT2870STA/RT2870STA.dat

6> load driver, go to "os/linux/" directory.

#[kernel 2.4]

#    $/sbin/insmod rt2870sta.o

#    $/sbin/ifconfig ra0 inet YOUR_IP up

    

#[kernel 2.6]

#    $/sbin/insmod rt2870sta.ko

#    $/sbin/ifconfig ra0 inet YOUR_IP up

7> unload driver

$/sbin/ifconfig ra0 down

$/sbin/rmmod rt2870sta

빨강색 글자 이름하고 비슷한 디렉토리로 가서 그 밑에 명령을 수행하면 될듯해요. x.x 되있는건 버전숫자를 적시하지 않은거 같아보입니다.

그런 폴더가 전혀보이질 않아서요…ㅠㅠ