Nas4Free Freenas Wireless Setup

I have used Nas4Free and Freenas for some time now and I love it. However the documentation to do some of the most basic things seems to be lacking. One such area is seting up a Wireless network card.

I will give a brief outline of how to set up a wifi network card with Nas4Free Freenas.

Some good references are:
https://www.freebsd.org/doc/handbook/network-wireless.html
https://www.freebsd.org/cgi/man.cgi?ifconfig(8)
https://wiki.nas4free.org/doku.php?id=documentation:setup_and_user_guide...
https://wiki.nas4free.org/doku.php?id=documentation:setup_and_user_guide...

I am using an Embedded installation of Nas4free. This causes additional difficulties as any changes to system files are wiped on a system shut down. So what I needed to do was use the 'Command Scripts' tab under the menu System->Advanced

I will also assume that Nas4Free automatically recognises your wifi hardware. If it doesn't that is something you will have to wrestle with first.

My wifi hardware is notated by FreeBSD as 'rum'. So my usb wifi device is rum0.

Step 1:

Setup a cloned wlandev device based on your hardware. (rum0 in my case)

Under the 'Command Scripts' tab under the menu System->Advanced

Command Type
ifconfig wlan0 create wlandev rum0 PreInit

You will need to reboot at this stage so Nas4Free will recognise the cloned wlan0 device.

Step 2:

Under Network->Interface Management add an OPT1 interface for your wifi device. Then set up an OPT2 interface for your cloned wlan0 device

Interface Network port
LAN
OPT1 rum0
OPT2 wlan0

Step 3:

Configure the OPT1 interface under Interfaces->Optional 1

Interfaces|Optional 1 (OPT1)

DHCP
extra options up
802.11g
SSID PudnWoods
encryption none

Step 4:

Configure the OPT2 interface under Interfaces->Optional 2

Interfaces|Optional 2 (OPT2)

static
192.168.1.251/25
extra options up
802.11g
PudnWoods
WPA
WPA-PSK
CCMP-TKIP
your wpa password

Reboot and it should work.

Comments

What Wifi adapter do you use?

Hi,
Thank you for your write up.
I'm about to attempt this on a N4F build, but wanted to ask what wifi adapter you are using? I want to buy one that I know will work 100%, out of box.

Thank you

I had used the one at:

I had used the one at: http://www.belkin.com/IWCatProductPage.process?Product_Id=180325 I currently no longer use wifi so I can't comment on it's use in newer versions of N4F