Setting up wireless on FreeBSD laptop
Identify installed wi-fi adapter:
hostobsd#pciconf -lv |grep Wireless
device = 'Intel 3945ABG Wireless LAN controller (10208086)'
find device in Hardware Notes:
[i386, amd64] Intel PRO/Wireless 3945ABG MiniPCI network adapters ( wpi(4) driver)
So, wpi is driver for my wi-fi device.
Following the instruction wpi(4), going to configure the kernel with options:
device wpi
device wpifw
device pci
device wlan
device wlan_amrr
device firmware
You also can load driver without kernel configuring by adding in /boot/loader.conf
if_wpi_load=”YES”
add in /etc/rc.conf:
wlans_wpi0=wlan0
ifconfig_wlan0=”WPA DHCP”
create configuration file for our wireless connection :
howtobsd#touch /etc/wpa_supplicant.conf
howtobsd#vim /etc/wpa_supplicant.conf
and add there ssid and password(for WPA-PSK):
network={
ssid=”yourssid”
psk=”yourspass”
}
and finally reboot
Posted on October 23rd, 2010 by admin
Filed under: Hardware