< >
Home » TK1入门教程基础篇 » TK1入门教程基础篇-安装intel7260无线网卡

TK1入门教程基础篇-安装intel7260无线网卡

TK1入门教程基础篇-安装intel7260无线网卡

说明:

  • 介绍如何使用intel 7260无线网卡

网卡图:

请输入图片描述

  • 注意:一定要加天线,要不没有信号。

安装方法1:

  • 安装驱动:
$ sudo apt-get install git
$ git clone https://github.com/jetsonhacks/installGrinch.git
$ cd installGrinch
$ ./installGrinch.sh
$ sudo reboot

安装方法2:

  • 安装驱动:
sudo apt-get install linux-firmware
  • 查看:
 ls /lib/firmware/iwlwifi-*
  • 效果:
/lib/firmware/iwlwifi-1000-5.ucode  /lib/firmware/iwlwifi-5150-2.ucode
/lib/firmware/iwlwifi-100-5.ucode   /lib/firmware/iwlwifi-6000-4.ucode
/lib/firmware/iwlwifi-105-6.ucode   /lib/firmware/iwlwifi-6000g2a-5.ucode
/lib/firmware/iwlwifi-135-6.ucode   /lib/firmware/iwlwifi-6000g2a-6.ucode
/lib/firmware/iwlwifi-2000-6.ucode  /lib/firmware/iwlwifi-6000g2b-6.ucode
/lib/firmware/iwlwifi-2030-6.ucode  /lib/firmware/iwlwifi-6050-5.ucode
/lib/firmware/iwlwifi-3160-7.ucode  /lib/firmware/iwlwifi-7260-7.ucode
/lib/firmware/iwlwifi-3160-8.ucode  /lib/firmware/iwlwifi-7260-8.ucode
/lib/firmware/iwlwifi-3160-9.ucode  /lib/firmware/iwlwifi-7260-9.ucode
/lib/firmware/iwlwifi-3945-2.ucode  /lib/firmware/iwlwifi-7265-8.ucode
/lib/firmware/iwlwifi-4965-2.ucode  /lib/firmware/iwlwifi-7265-9.ucode
/lib/firmware/iwlwifi-5000-5.ucode
  • 重启后,再检查驱动是否生效:
dmesg | grep iwlwifi
  • 效果:
[    9.441308] iwlwifi 0000:01:00.0: loaded firmware version 22.1.7.0 op_mode iwlmvm
[    9.664570] iwlwifi 0000:01:00.0: Detected Intel(R) Dual Band Wireless AC 7260, REV=0x144
[    9.664658] iwlwifi 0000:01:00.0: L1 Enabled; Disabling L0S
[    9.664898] iwlwifi 0000:01:00.0: L1 Enabled; Disabling L0S
[    9.788834] iwlwifi 0000:01:00.0: NVM section 0 read completed
[    9.788957] iwlwifi 0000:01:00.0: NVM section 1 read completed
[    9.789072] iwlwifi 0000:01:00.0: NVM section 4 read completed
[    9.789193] iwlwifi 0000:01:00.0: NVM section 5 read completed
[   12.331778] iwlwifi 0000:01:00.0: L1 Enabled; Disabling L0S
[   12.332022] iwlwifi 0000:01:00.0: L1 Enabled; Disabling L0S
  • 如果顺利,将有新网络设备:
$ nmcli dev                                                                                                      
DEVICE     TYPE              STATE        
eth0       802-3-ethernet    connected  
wlan0      802-11-wireless   disconnected   
  • 扫描wifi网络1:
sudo iw dev wlan0 scan | less
  • 效果:
BSS 96:83:cd:11:23:39 (on wlan0)
    TSF: 219635859001 usec (2d, 13:00:35)
    freq: 2412
    beacon interval: 100
    capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)
    signal: -46.00 dBm
    last seen: 14 ms ago
    SSID: 10-1302
    Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0 
    DS Parameter set: channel 1
    Country: CN Environment: Indoor/Outdoor
        Channels [1 - 13] @ 32 dBm
    ERP: <no flags>
    RSN:     * Version: 1
         * Group cipher: CCMP
         * Pairwise ciphers: CCMP
         * Authentication suites: PSK
         * Capabilities: (0x0000)
    Extended supported rates: 24.0 36.0 48.0 54.0 
    HT capabilities:
  • 扫描wifi网络2:
iwlist wlan0 scan
  • 手动连接:
nmcli dev wifi connect <YOUR_SSID_HERE> password <YOUR_KEY_HERE>
  • <YOUR_SSID_HERE>为wifi名称,<YOUR_KEY_HERE> 为wifi密码

  • 如果连接成功,wlan0显示为connected

  • 查看详细的连接信息:

$ iwconfig wlan0
  • 效果:
wlan0     IEEE 802.11abgn  ESSID:"Euclid"  
          Mode:Managed  Frequency:2.452 GHz  Access Point: 88:1F:A1:32:8B:7A   
          Bit Rate=1 Mb/s   Tx-Power=27 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:on
          Link Quality=57/70  Signal level=-53 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
  • 查看WIFI信号强弱:
$ iwconfig wlan0 | grep -i --color quality   //查询网络连接质量着红色
          Link Quality=47/70  Signal level=-63 dBm 

$ iwconfig wlan0 | grep -i --color signal    //查询信号强度着红色
         Link Quality=44/70  Signal level=-66 dBm 

异常问题:

  • 问题:提示缺少iwlwifi-7260-7.ucode
  • 修复:
wget https://wireless.wiki.kernel.org/_media/en/users/drivers/iwlwifi-7260-ucode-22.1.7.0.tgz
sudo cp iwlwifi-7260-ucode-22.1.7.0/iwlwifi-7260-7.ucode /lib/firmware/

参考:

  • http://blog.csdn.net/hubai789/article/details/50868717
  • http://distrustsimplicity.net/articles/nvidia-jetson-tk1-wifi/
  • http://www.jetsonhacks.com/2014/10/12/installing-wireless-intel-7260-adapter-nvidia-jetson-tk1/
  • http://www.linuxidc.com/Linux/2014-10/108096.htm
  • http://blog.csdn.net/lbyyy/article/details/51392629

纠错,疑问,交流: 请进入讨论区点击加入Q群

获取最新文章: 扫一扫右上角的二维码加入“创客智造”公众号


标签: tk1入门教程基础篇