View Single Post
Old 23rd September 2010
AnilG AnilG is offline
Real Name: Anil Gee
Port Guard
 
Join Date: Sep 2010
Location: Sydney Australia
Posts: 20
Default

Now wireless set up is by the book:
http://www.freebsd.org/doc/en_US.ISO...-wireless.html

Add the following lines to /boot/loader.conf.
upgt is the driver of course but the other two enable WPA authentication support.
> vi /boot/loader.conf
if_upgt_load="YES"
wlan_ccmp_load="YES"
wlan_tkip_load="YES"

Enable services at start up and use supplicant for WPA:
> vi /etc/rc.conf
wlans_upgt0="wlan0"
wpa_supplicant_enable="YES"
ifconfig_wlan0="ssid thewirelessssid country AU DHCP"
# ifconfig_wlan0="WPA SYNCDHCP" # Might try this in a minute.
# ifconfig_wlan0="inet 10.0.1.104 netmask 255.255.255.0 ssid thewirelessssid"

WPA uses TKIP cipher or AES-CCMP cipher as WPA2 (or RSN).
WPA Personal is used unless you can run Radius.
> vi /etc/wpa_supplicant.conf
network={
ssid="thewirelessssid"
scan_ssid=1
key_mgmt=WPA-PSK
psk="theverysecretwirelesswpakey"
}

Manually start network:
> /etc/rc.d/netif start
> wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -B
> dhclient wlan0
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPACK from 10.0.1.1
bound to 10.0.1.101 -- renewal in 43200 seconds.
> ifconfig wlan0
Associated
Reply With Quote