Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

usb wireless adapter: rt2870

operation system: debian 6

Things I've done: 1, download drive from http://www.ralinktech.com

2, unzip to /home/vincent

3, open /home/vincent/RT2870/os/linux/config.mk Change the following attributes from “no (=n)”:

Support Wpa_Supplicant

HAS_WPA_SUPPLICANT=n

Support Native WpaSupplicant for Network Maganger

HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n

… to value “yes (=y)”:

Support Wpa_Supplicant

HAS_WPA_SUPPLICANT=y

Support Native WpaSupplicant for Network Maganger

HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y

4, install linux-headers, build-essential

sudo apt-get install linux-headers-2.6.32-5-686

sudo apt-get install build-essential

5, install firmware-ralink, wireless-tools

sudo apt-get install firmware-ralink wireless-tools

AND The light on the wireless adapter is flashing Computer can recognize wireless adapter:


vincent@debian:~/RT2870DRIVE$ lsusb

Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

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 010: ID 12d1:1436 Huawei Technologies Co., Ltd.

Bus 002 Device 008: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter

Bus 002 Device 002: ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0 multicard reader

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 001 Device 002: ID 0bda:8189 Realtek Semiconductor Corp. RTL8187B Wireless 802.11g 54Mbps Network Adapter

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


BUT I was stuck up after run make


vincent@debian:~$ cd RT2870DRIVE

vincent@debian:~/RT2870DRIVE$ make

make -C tools

make[1]: Entering directory `/home/vincent/RT2870DRIVE/tools'

gcc -g bin2h.c -o bin2h

make[1]: Leaving directory `/home/vincent/RT2870DRIVE/tools'

/home/vincent/RT2870DRIVE/tools/bin2h

cp -f os/linux/Makefile.6 /home/vincent/RT2870DRIVE/os/linux/Makefile

make -C /lib/modules/2.6.32-5-686/build SUBDIRS=/home/vincent/RT2870DRIVE/os/linux

modules

make[1]: Entering directory `/lib/modules/2.6.32-5-686/build'

make[1]: * 没有规则可以创建目标“modules”。 停止。//translate: no rules can create

target"modules". stop.(I don't know whether it's right...)

make[1]: Leaving directory `/lib/modules/2.6.32-5-686/build'

make: * [LINUX] 错误 2

vincent@debian:~/RT2870DRIVE$


What can I do to continue my installation?

share|improve this question
    
This is askubuntu. We can't possibly answer debian 6 questions since rt2870 runs at ubuntu by default. –  aquaherd Jan 27 '13 at 11:25
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.