标签:io ar linux file on shell net class
/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,布布扣,bubuko.com
标签:io ar linux file on shell net class
原文地址:http://my.oschina.net/xxjbs001/blog/299392