Linux 命令 连接 wirless


/root/automation/bin/2.0/WECB/wifi_wpa_config.sh -s ${U_WIRELESS_2G_SSID1} -b ${U_WIRELESS_2G_BSSID1} -t ${U_WIRELESS_PROTO_WPA} -m ${U_WIRELESS_KEY_MGMT_WPA} -w ${WIRELESS_PAIRWISE_AES} -g ${U_WIRELESS_GROUP_AES} -p ${U_WIRELESS_CUSTOM_WPAPSK} -f ${CURDIR}${/}U_WIRELESS_CONFIG_FILE_2G
cat configure_file


ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
ap_scan=1
fast_reauth=1
network={
    ssid="prince2g"
    bssid=10:9f:a9:70:01:03
    scan_ssid=1
    key_mgmt=WPA-PSK
    priority=5
    pairwise=CCMP
    proto=WPA RSN
    psk="1234567890"
}



ifconfig wlan0 up
 iw dev wlan0 scan
cat U_WIRELESS_CONFIG_FILE_2G
iw dev wlan0 scan | grep "prince2g"
wpa_supplicant -d -i wlan0 -c U_WIRELESS_CONFIG_FILE_2G 





Linux 命令 连接 wirless,古老的榕树,5-wow.com

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。