• 80211无线加密认证


    参考:加密配置:https://www.cnblogs.com/diligenceday/p/7930447.html

    参考:加密和认证介绍: https://wenku.baidu.com/view/4fafa192f08583d049649b6648d7c1c709a10b4a.html

    vim /etc/config/wireless

      修改配置文件:

    运行下面代码

     
    config wifi-device  radio0                                                 
            option type     mac80211                                           
            option channel  11                                                 
            option hwmode   11ng                                               
            option macaddr  14:cf:92:9d:81:6a                                  
            option htmode   HT20                                               
            list ht_capab   SHORT-GI-20                                        
            list ht_capab   SHORT-GI-40                                        
            list ht_capab   RX-STBC1                                           
            list ht_capab   DSSS_CCK-40                                        
            # REMOVE THIS LINE TO ENABLE WIFI:                                 
            # option disabled 1                                                
                                                                               
    config wifi-iface                                                          
            option device   radio0                                             
            option network  lan                                                
    option mode ap                                                             
    option ssid "FreeWifi"                                                     
            option encryption none                                             
                                                                               
    config wifi-device  radio1                                                 
            option type     mac80211                                           
            option channel  11          //无线网络的信道                                       
            option hwmode   11ng                                               
            option macaddr  84:16:f9:1a:17:d4                                  
            option htmode   HT20                                               
            list ht_capab   SHORT-GI-20                                        
            list ht_capab   SHORT-GI-40                                        
            list ht_capab   RX-STBC1                                           
            list ht_capab   DSSS_CCK-40                                        
            # REMOVE THIS LINE TO ENABLE WIFI:                                 
            # option disabled 1                                                
                                                                               
    config wifi-iface                                                          
            option device   radio1                                             
            option network  wwan                           //网卡端口                    
            option mode     sta                                                
            option ssid     502                                   //无线网络名字             
            option encryption mixed-psk+ccmp                              // 加密方式   
            option key 123456789     //加密密码     

      encrytion是指加密方式, 加密方式有可以参考下表 encryption:

    ValueWPA VersionCiphers
    psk2+tkip+ccmp
    psk2+tkip+aes
    WPA2 Personal (PSK) TKIP, CCMP
    psk2+tkip WPA2 Personal (PSK) TKIP
    psk2+ccmp
    psk2+aes
    psk2
    WPA2 Personal (PSK) CCMP
    psk+tkip+ccmp
    psk+tkip+aes
    WPA Personal (PSK) TKIP, CCMP
    psk+tkip WPA Personal (PSK) TKIP
    psk+ccmp
    psk+aes
    psk
    WPA Personal (PSK) CCMP
    psk-mixed+tkip+ccmp
    psk-mixed+tkip+aes
    WPA/WPA2 Personal (PSK) mixed mode TKIP, CCMP
    psk-mixed+tkip WPA/WPA2 Personal (PSK) mixed mode TKIP
    psk-mixed+ccmp
    psk-mixed+aes
    psk-mixed
    WPA/WPA2 Personal (PSK) mixed mode CCMP
    wpa2+tkip+ccmp
    wpa2+tkip+aes
    WPA2 Enterprise TKIP, CCMP
    wpa2+ccmp
    wpa2+aes
    wpa2
    WPA2 Enterprise CCMP
    wpa2+tkip WPA2 Enterprise TKIP
    wpa+tkip+ccmp
    wpa+tkip+aes
    WPA Enterprise TKIP, CCMP
    wpa+ccmp
    wpa+aes
    WPA Enterprise CCMP
    wpa+tkip
    wpa
    WPA Enterprise TKIP
    wpa-mixed+tkip+ccmp
    wpa-mixed+tkip+aes
    WPA/WPA2 Enterprise mixed mode TKIP, CCMP
    wpa-mixed+tkip WPA/WPA2 Enterprise mixed mode TKIP
    wpa-mixed+ccmp
    wpa-mixed+aes
    wpa-mixed
    WPA/WPA2 Enterprise mixed mode CCMP

      5:执行命令:

  • 相关阅读:
    并发解决方案
    主外键
    ms
    mq消息丢失
    五种IO模型
    程序运行时间计算gettimeofday&clock_gettime
    exec与xargs区别
    mysql修改数据存放路径(linux)
    od用不同的编码输出文件内容
    segfault at f0 ip 00007f9954108feb sp 00007fffb5e64fc0 error 4 in libxxx.so[7f99540df000+54000]
  • 原文地址:https://www.cnblogs.com/newjiang/p/13612496.html
Copyright © 2020-2023  润新知