Не могу понять, как установить driver Wi-Fi на Debian.
В наличии:
- Debian 7.7.0 amd64
- ASUS USB-N13
- USB-N13 driver Linux Driver - v.2.3.0.2
Build Instructions:
- $tar -xvzf DPB_RT2870_Linux_STA_x.x.x.x.tgz go to "./DPB_RT2870_Linux_STA_x.x.x.x" directory.
- 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.
- 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'. => #>cd wpa_supplicant-x.x => #>./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
- $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
- $cp RT2870STA.dat /etc/Wireless/RT2870STA/RT2870STA.dat
- 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
- unload driver $/sbin/ifconfig ra0 down $/sbin/rmmod rt2870sta
Я не понимаю почти всё. Разве что, вроде бы, понимаю шаг 1, что нужно разархивировать содержимое. Не понимаю, что значит «set the „MODE = STA“, „TARGET = LINUX“ и так далее.
Если кто-нибудь может объяснить по порядку, что нужно сделать, я буду очень благодарен.