Wireless WPA Configuration in Freebsd
Recently I formated my laptop and installed freebsd. It was really a pain in the head, because I suddenly forget how to do basic configuration such as setting gnome desktop and other stuffs. That’s why I’d decided to post every configuration that I’ll be doing on my laptop starting on this day.
This is the procedure that I did on configuring my wireless connection specifically on WPA mode of cryptography. Before doing proceeding this tutorial make sure that the you had the right driver installed in your freebsd. I’ll go straight forward the configuration that I did is on a intel wireless.
First load the driver as module during boot time, place the following lines in /boot/loader.conf :
The firmware that is loaded to have license and this can be done by simply adding the line in /boot/loader.conf :
Edit your /etc/rc.conf and add the line :
Create a file named to wpa_supplicant in /etc directory and add the following lines
Reboot your freebsd. Then you should be accessing your internet.
There is also other way of doing it without the need to rebooting your freebsd.
* Loading your wireless driver :
* Verifying if wireless is correctly recognized :
dmesg | grep iwi
* Enabling the wireless radio transmitter :
* Restarting your wireless interface :
* Running the wpa_supplicant :
wpa_supplicant -i iwi0 -c /etc/wpa_supplicant.conf -d
* Getting IP from DHCP :
cheers guys =)