View Single Post
  #1   (View Single Post)  
Old 21st August 2009
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,053
Post HOWTO: Wireless with Intel 3945ABG/4965AGN on FreeBSD 8.0

Since handbook covers only method that works up to 7.x series I will add here what to do to have working wireless Intel 3945ABG on FreeBSD 8.0.

You need to add these things to these files:

/boot/loader.conf
Code:
if_wpi_load="YES"
/etc/rc.conf
Code:
wlans_wpi0="wlan0"
ifconfig_wlan0="WPA DHCP"
/etc/wpa_supplicant.conf
Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel

network={
  ssid="network0"
  proto=WPA
  psk="5a$$w04d0"
  }

network={
  ssid="network1"
  proto=WPA
  psk="5a$$w04d1"
  }
This is of course setup for WPA encryption, currently the most popular sollution.

It works reliably, I was able to pkg_add -r -v xorg without any problems.

To search new networks just type: ifconfig wlan0 up scan

EDIT 2009-12-01

To get wireless connection on Intel 4965AGN, it will require the following changes to this cnofiguration:

/boot/loader.conf
Code:
-if_wpi_load="YES"
+if_iwn_load="YES"
/etc/rc.conf
Code:
-wlans_wpi0="wlan0"
+wlans_iwn0="wlan0"
 ifconfig_wlan0="WPA DHCP"
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote