Ralink RT3290無線網卡驅動安裝 (linux)

來源:互聯網
上載者:User

標籤:des   style   blog   http   color   os   strong   io   

 

Ralink RT3290無線網卡驅動安裝
(linux, 筆記備忘)

 

1. 裝置資訊
查看無線網卡裝置資訊

1 # lspci 2 02:00.0 Network controller: Ralink corp. Device 3290

 

2. 驅動下載
http://pan.baidu.com/s/1sjsHNgp

 

3. 解壓,修改,編譯,安裝
(1) 編輯解壓後的 DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/目錄中的 config.mk

HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n
修改為
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y

(2) make

(3) make install

4. 配置模組別名
添加 /etc/modprobe.d/wireless.conf 檔案,內容如下:
alias ra0 rt3290sta

5. /etc/sysconfig/wpa_supplicant

# Use the flag "-i" before each of your interfaces, like so:#  INTERFACES="-ieth1 -iwlan0"INTERFACES="-ira0"# Use the flag "-D" before each driver, like so:DRIVERS="-Dwext"#  DRIVERS=""# Other arguments#   -u   Enable the D-Bus interface (required for use with NetworkManager)#   -f   Log to /var/log/wpa_supplicant.log#   -P   Write pid file to /var/run/wpa_supplicant.pid #        required to return proper codes by init scripts (e.g. double "start" action)#        -B to daemonize that has to be used together with -P is already in wpa_supplicant.init.dOTHER_ARGS="-u -f /var/log/wpa_supplicant.log -P /var/run/wpa_supplicant.pid"

 


6. /etc/wpa_supplicant/wpa_supplicant.conf (WPA-PSK)

ctrl_interface=/var/run/wpa_supplicantctrl_interface_group=0ap_scan=1# WPA-PSKnetwork={    ssid="TPLink1"    #bssid=74:EA:3A:19:D9:3A    key_mgmt=WPA-PSK    pairwise=CCMP    group=CCMP    psk="123456"    priority=2}

 

7. 啟動指令碼

#!/bin/bash# This script is used for config the wireless to# connect CHX_DORM#ifconfig ra0 upiwconfig ra0 essid "CHX_DORM"iwconfig ra0 mode Managed#wpa_supplicant -B -ira0 -c /etc/wpa_supplicant/wpa_supplicant.conf service wpa_supplicant start > /dev/nulldhclient ra0ping www.baidu.com -c 1 > /dev/nullif [ $? == 0 ]; then    echo "success."else    echo "failed."fi

 

 8. 參考
(1) http://askubuntu.com/questions/253632/how-do-i-get-a-ralink-rt3290-wireless-card-working

 

 

 

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.