Fedora 20 / Fedora 21 無線網路連線 (Client)
1. 載入 WLAN Device Driver:
代碼:
ifconfig <wlan_device> up
2. 掃描 Wifi-AP ESSID:
代碼:
iw <wlan_device> scan
3. 產生密碼 Conf File: stdin 輸入密碼 (ENTER)
代碼:
wpa_passphrase <ESSID> > /etc/_some_wifi_conf_file
4. 載入 WPA Supplicant (連線程式):
代碼:
wpa_suppplicant -B -i <wlan_dev> -c /etc/_some_wifi_conf_file
-B: background
-i: WLAN interface
-c: config file
5. 確定 Link Status
代碼:
iw <wlan_device> link
6. dhclient 取得 DHCP IP address
代碼:
dhclient <WLAN_device>
|