Page 1 of 1
nas4free 9.1 with wireless network card
Posted: 22 Jan 2013 19:20
by secathor
Hi everyone !
I have a wireless network card and try to get it working on boot.
I can do in the shell
Code: Select all
ifconfig wlan0 create wlandev ath0
wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf
and network card work, but "wlan0" is not create afther a reboot
I have added in /boot/loader.conf
Code: Select all
wlan_wep_load="YES"
wlan_tkip_load="YES"
wlan_ccmp_load="YES"
and in /etc/rc.conf
Code: Select all
wlans_ath0="wlan0"
ifconfig_wlan0="syncdhcp WPA"
wpa_supplicant_enable="YES"
but doens't work, "wlan0" still missing after a reboot
Also, does it possible to put WebGui listen on all interface ?
Thanks everyone
Re: nas4free 9.1 with wireless network card
Posted: 23 Jan 2013 00:51
by Onichan
I don't know the answer to your question, but are you saying your wireless works when you manually do the ifconfig and that wpa_supplicant? I have been wondering how to get wireless to work on NAS4Free for a while and just didn't know what commands needed to be done. What is that wpa_supplicant.conf? What wireless card are you using?
Re: nas4free 9.1 with wireless network card
Posted: 23 Jan 2013 04:12
by secathor
Hi Onichan,
first you need to check if your network card is detected with "ifconfig"
If you don't have an interface named "ath0", your network card is maybe not supported
You need to create /etc/wpa_supplicant.conf and add this
Code: Select all
network={
ssid="yourSSID"
psk="password"
}
When done, just run
Code: Select all
ifconfig wlan0 create wlandev ath0
to create wireless interface
and
Code: Select all
wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf
to connect to your wireless network
if after few seconds, it didn't received IP address, just run
For my issue, I put ifconfig and wpa_supplicant command at the end of the file /etc/rc.d/local
(FYI : I have a old DLink DWL-G520)
Re: nas4free 9.1 with wireless network card
Posted: 25 Jan 2013 04:34
by Onichan
Mine doesn't show up when I do ifconfig. It is suppose to have FreeBSD driver support, but I guess not building into NAS4Free. I have the WN722N which has the AR9271 firmware and the drivers and firmware are at
http://linuxwireless.org/en/users/Drivers/ath9k_htc the problem is I never found out how to load the drivers and firmware while in NAS4Free. Thanks for the info though as I didn't know what to do even if I was able to get the adapter recognized.
Re: nas4free 9.1 with wireless network card
Posted: 25 Jan 2013 05:23
by secathor
https://wiki.freebsd.org/dev/ath%284%29
This page tell that AR9271 is not supported yet, but is in a wish list
You can try loading the drivers with
but the drivers probably not support your wireless card
you can also try if_uath and if_ath_pci
Re: nas4free 9.1 with wireless network card
Posted: 22 Feb 2013 21:44
by kradich
hello friends,
I'm new here and am trying to configure my NAS with the board wi-fi, no no this ahead
also tried the configuration that you guys posted here and nothing.
My NAS is the last verção and it recognizes my card, it shows the two MAC mosta the re0 and ath0.
Added after configure the SSID password, but not the signal connect.
my motherboard is ASUS E35M1-I Deluxe
can someone give me a light or a path or the right place for me to study and see what I'm fazedno wrong.
thank you
Re: nas4free 9.1 with wireless network card
Posted: 23 Feb 2013 04:11
by secathor
kradich wrote:hello friends,
I'm new here and am trying to configure my NAS with the board wi-fi, no no this ahead
also tried the configuration that you guys posted here and nothing.
My NAS is the last verção and it recognizes my card, it shows the two MAC mosta the re0 and ath0.
Added after configure the SSID password, but not the signal connect.
my motherboard is ASUS E35M1-I Deluxe
can someone give me a light or a path or the right place for me to study and see what I'm fazedno wrong.
thank you
did you follow my howto (
viewtopic.php?f=55&t=2424) ?
Re: nas4free 9.1 with wireless network card
Posted: 26 Feb 2013 01:41
by kradich
secathor wrote:kradich wrote:hello friends,
I'm new here and am trying to configure my NAS with the board wi-fi, no no this ahead
also tried the configuration that you guys posted here and nothing.
My NAS is the last verção and it recognizes my card, it shows the two MAC mosta the re0 and ath0.
Added after configure the SSID password, but not the signal connect.
my motherboard is ASUS E35M1-I Deluxe
can someone give me a light or a path or the right place for me to study and see what I'm fazedno wrong.
thank you
did you follow my howto (
viewtopic.php?f=55&t=2424) ?
yes, also did not work, but my doubt is that when I go into Network | Interface Management has two network adapters, first and second RE0 ath0.
RE0 - works normal
ath0 - normal with this set ssd and passwords, but not connect
thanks
Re: nas4free 9.1 with wireless network card
Posted: 26 Feb 2013 12:36
by kradich
look at the status of my card
Interfaces:
-----------
ath0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290
ether 48:5d:60:5e:6b:51
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC,LINKSTATE>
ether f4:6d:04:d8:3a:40
inet 192.168.25.10 netmask 0xffffff00 broadcast 192.168.25.255
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
ipfw0: flags=8801<UP,SIMPLEX,MULTICAST> metric 0 mtu 65536
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0xd
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
Re: nas4free 9.1 with wireless network card
Posted: 26 Feb 2013 15:07
by secathor
So, you didn't follow my HowTo
did you create "/etc/wpa_supplicant.conf" file ?
did you run "ifconfig wlan0 create wlandev ath0" ?
did you run "wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf" ?
Re: nas4free 9.1 with wireless network card
Posted: 01 Mar 2013 02:55
by kradich
yes, I had done it before but it did not work.
I followed step by step again and now everything is working.
Nome wlan0
Endereço MAC 48:5d:60:5e:6b:51
Canal 11
SSID Kradich-Net
MTU 1500
Pacotes I/O 401/10 (85 KB/3 KB)
Erros de I/O 0/1
Colisões 0
Status associated
but I can not aceceçar the NAS over the network wlan0.
WebGUI also not working.
shared folders also not.
why not work?.
but I am very grateful for the help
thank you
Re: nas4free 9.1 with wireless network card
Posted: 01 Mar 2013 03:04
by secathor
try to run "dhclient wlan0"
probably interface didn't get IP address