So we are trying to make this Wireless card Intel 8260 to work on NAS4Free (Version 11.0.0.4 - Sayyadina (revision 3330) - I think there are drivers included in the kernel being freebsd as base) and trying to remote through the Wireless card instead of LAN ( not possible, sorry, at least for the moment)
1. I have added in System -> Advanced -> loader.conf
if_iwm_load="YES"
iwm8000Cfw_load="YES"
2. I have added in System -> Advanced -> rc.conf
ifconfig_wlan0=-ht WPA SYNCDHCP (not sure what -ht stands for)
wlans_iwm0=wlan0
wpa_supplicant_enable="YES" - add this through the WebGUI as manually altering rc.conf under /etc/rc.conf (if you change the line inside after reboot it's still value NO, so the workaround it's through the WebGUI - developers again) - anyway still added through the WebGUI still did not fixed our issue but this is something for developers to look at why doesn't take the rc.conf file and applies and something else amends it.
Points 1 and 2 were added through the WebGUI and rebooted the N4F system
3. Command line check to see if the Wi-Fi card its seen with command dmesg lines bellow
iwm0: <Intel Dual Band Wireless AC 8260> mem 0xdf000000-0xdf001fff irq 17 at device 0.0 on pci4 (could be another pci5/6/7)
iwm0: hw rev 0x200, fw ver 16.242414.0, address a4:34:d9:01:23:d6
wlan0: Ethernet address: a4:34:d9:01:23:d6
Then try command (WEBGUI) ifconfig wlan0 gives you next where can be seen that status is no carrier - disconnected
wlan0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether a4:34:d9:01:23:d6
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
ssid "" channel 1 (2412 MHz 11b)
regdomain FCC country US authmode OPEN privacy OFF txpower 30
bmiss 10 scanvalid 60 wme bintval 0
groups: wlan
Then try command (WEBGUI) ifconfig wlan0 up scan and gives you the Wi-Fi networks around your router
SSID/MESH ID BSSID CHAN RATE S:N INT CAPS
TALKTALK09B5D1 ac:cf:85:09:b5:d8 1 54M 10:0 100 EP HTCAP WPA RSN WME WPS
TALKTALK774E53 00:9a: cd:77:4e:5c 1 54M 10:0 100 EP HTCAP WPA RSN WME WPS
If you reach so far that means you Wi-Fi card does work properly and its loaded up the drivers by the kernel
4. Now you need to create this file in notepad called wpa_supplicant.conf (extension .conf) in which you put the next lines, save and copy in /etc/ and if here you have already wpa_supplicant.conf delete it as wont let you paste this new one in WebGUI - so file path /etc/wpa_supplicant.conf
network={
ssid="your ssid name of wifi network"
key_mgmt=WPA-PSK
psk="your-password"
}
5. After the step 4 was done you need to run in WebGUI the next command line (which it will initialize under /var/run/wpa_supplicant.pid):
wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf
After this wpa_supplicant.pid it's initialized then the wpa_supplicant.conf its read by this pid and you can check your Wi-Fi card with next command (WebGUI):
ifconfig wlan0 - and now you shall see that is associated and gets an DHCP Ip address which you can ping it - but if it doesnt get one try command
dhclient wlan0 - this wlan0 its the wifi card where in othercase could be called ath0, etc....
Issues:
1. After first reboot the wpa_supplicant.conf file (with all the settings above in loader,rc.conf, wpa_supplicant_enable) losses the lines (the inside configuration) and you are obliged to copy again and again - not feasible
2. If the command (wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf) from step 5 isn't run (becasue this initialize the wpa_supplicant.pid) the Wi-Fi doesn't get and Ip from router (why this process isn't started automatically if in the rc.conf it's enabled ! no idea-developer)
3. If this its possible for this to be fixed in next releases and update the WebGUI with the Wi-Fi network cards under Network->WLAN Management-> and here to see the configuration of the Wi-Fi card so we can configure from here with static IP and be able to access our N4F system through Wi-Fi instead of cables
In the bellow topics I have tried to make it work (maybe some more information for developers as well) as the Wi-Fi card its missing from N4F GUI under Network->WLAN Management->Ipv4Configuration (of the Wi-Fi card - here we should be able to see the Wi-Fi card as the kernel drivers are loaded by the FreeBSD)
More documentation and try to make it work, links under :
viewtopic.php?f=55&t=2424&p=74161#p74161
http://www.forums.nas4free.org/viewtopi ... 160#p74160
viewtopic.php?t=2418
Sources:
http://www.troubleshooters.com/bsd/free ... eeBSD_Wifi
http://www.unix.com/bsd/259350-freebsd- ... ssues.html
https://forums.freebsd.org/threads/52346/
https://forums.freebsd.org/threads/49058/
https://forums.freebsd.org/threads/51980/page-2
https://www.freebsd.org/doc/en_US.ISO88 ... eless.html
https://www.freebsd.org/cgi/man.cgi?wpa ... nt.conf(5)
Quite a lot of information gathered but maybe it will help others and please for developers to put all this in as it make our live easier
