close

 

####################

Create /etc/wpa_supplicant.conf with SSID and PSK.

network={
        ssid="myssid"
        psk="myultrasecretkey"
}

Command Line Manual Method

# kldload if_urtw  1
# ifconfig wlan0 create wlandev urtw0  2
# wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf  3
# dhclient wlan0  4
1 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.
2 Create a generic wireless device for the wireless network code to use.
3 Run wpa_supplicant(8) to associate to an access point defined in /etc/wpa_supplicant.conf.
4 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

 

 

 

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 yves2005 的頭像
    yves2005

    YvEs2005

    yves2005 發表在 痞客邦 留言(0) 人氣()