This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

nas4free 9.1 with wireless network card

NIC, network controllers, compatibility questions, WOL, wake on lan
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
secathor
NewUser
NewUser
Posts: 6
Joined: 22 Jan 2013 19:06
Status: Offline

nas4free 9.1 with wireless network card

Post 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

Onichan
Advanced User
Advanced User
Posts: 238
Joined: 04 Jul 2012 21:41
Status: Offline

Re: nas4free 9.1 with wireless network card

Post 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?

secathor
NewUser
NewUser
Posts: 6
Joined: 22 Jan 2013 19:06
Status: Offline

Re: nas4free 9.1 with wireless network card

Post 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

Code: Select all

dhclient wlan0

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)

Onichan
Advanced User
Advanced User
Posts: 238
Joined: 04 Jul 2012 21:41
Status: Offline

Re: nas4free 9.1 with wireless network card

Post 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.

secathor
NewUser
NewUser
Posts: 6
Joined: 22 Jan 2013 19:06
Status: Offline

Re: nas4free 9.1 with wireless network card

Post 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

Code: Select all

kldload if_ath
but the drivers probably not support your wireless card
you can also try if_uath and if_ath_pci

kradich
NewUser
NewUser
Posts: 4
Joined: 22 Feb 2013 21:36
Status: Offline

Re: nas4free 9.1 with wireless network card

Post 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

secathor
NewUser
NewUser
Posts: 6
Joined: 22 Jan 2013 19:06
Status: Offline

Re: nas4free 9.1 with wireless network card

Post 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) ?

kradich
NewUser
NewUser
Posts: 4
Joined: 22 Feb 2013 21:36
Status: Offline

Re: nas4free 9.1 with wireless network card

Post 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

kradich
NewUser
NewUser
Posts: 4
Joined: 22 Feb 2013 21:36
Status: Offline

Re: nas4free 9.1 with wireless network card

Post 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>

secathor
NewUser
NewUser
Posts: 6
Joined: 22 Jan 2013 19:06
Status: Offline

Re: nas4free 9.1 with wireless network card

Post 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" ?

kradich
NewUser
NewUser
Posts: 4
Joined: 22 Feb 2013 21:36
Status: Offline

Re: nas4free 9.1 with wireless network card

Post 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

secathor
NewUser
NewUser
Posts: 6
Joined: 22 Jan 2013 19:06
Status: Offline

Re: nas4free 9.1 with wireless network card

Post by secathor »

try to run "dhclient wlan0"
probably interface didn't get IP address

Post Reply

Return to “LAN , Network controllers”