####################
Create /etc/wpa_supplicant.conf with SSID and PSK.
network={
ssid="myssid"
psk="myultrasecretkey"
}
Command Line Manual Method
# kldload if_urtw # ifconfig wlan0 create wlandev urtw0 # wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf # dhclient wlan0
| If your wireless card driver isn’t built into the GENERIC kernel, or you use a custom kernel without it, the driver module must be loaded first. Some devices also need firmware modules, usually provided by a port. See the man page for your device. | |
| Create a generic wireless device for the wireless network code to use. | |
| Run wpa_supplicant(8) to associate to an access point defined in /etc/wpa_supplicant.conf. | |
| Get an IP address and DNS servers. |
reference :http://www.wonkity.com/~wblock/docs/html/wireless.html#_command_line_manual_method
reference:http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html
文章標籤
全站熱搜
