Hello folks. I got this APU2C4 last week to use as all in one router, firewall, AP with FreeBSD 11. It has two mini PCIe Compex WLE200NX that uses the Atheros AR9280 chipset.
I am going to be posting my configuration, hoping that someone can shed some light on what I am doing wrong.
# hostapd -dd /etc/hostapd.conf
cat /etc/hostapd.conf
dmesg |grep ath0
ifconfig wlan0 list caps
ifconfig wlan0
# /etc/rc.conf
full /etc/rc.conf can be found here.
# /boot/loader.conf
I do apologize for the long post but I wanted to make sure all possible needed info are here.
Thanks,
Pietro
I am going to be posting my configuration, hoping that someone can shed some light on what I am doing wrong.
# hostapd -dd /etc/hostapd.conf
Code:
Configuration file: /etc/hostapd.conf
ctrl_interface_group=0
pcap_open_live: wlan0 : No such device exists (BIOCSETIF failed: Device not configured)
ifname='wlan0 '
bsd driver initialization failed.
hostapd_interface_deinit_free(0x801c2c000)
hostapd_interface_deinit_free: num_bss=1 conf->num_bss=1
hostapd_interface_deinit(0x801c2c000)
wlan0 : interface state UNINITIALIZED->DISABLED
hostapd_bss_deinit: deinit bss wlan0
wlan0 : AP-DISABLED
hostapd_cleanup(hapd=0x801c6f000 (wlan0 ))
hostapd_free_hapd_data: Interface wlan0 wasn't started
hostapd_interface_deinit_free: driver=0x0 drv_priv=0x0 -> hapd_deinit
hostapd_interface_free(0x801c2c000)
hostapd_interface_free: free hapd 0x801c6f000
hostapd_cleanup_iface(0x801c2c000)
hostapd_cleanup_iface_partial(0x801c2c000)
hostapd_cleanup_iface: free iface=0x801c2c000
cat /etc/hostapd.conf
Code:
interface=wlan0
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=fanculo
wpa=2
wpa_passphrase=freebsd11
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP
dmesg |grep ath0
Code:
ath0: <Atheros 9280> mem 0xfe400000-0xfe40ffff at device 0.0 on pci1
ath0: [HT] enabling HT modes
ath0: [HT] 1 stream STBC receive enabled
ath0: [HT] 1 stream STBC transmit enabled
ath0: [HT] 2 RX streams; 2 TX streams
ath0: AR9280 mac 128.2 RF5133 phy 13.0
ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0
ifconfig wlan0 list caps
Code:
drivercaps=4f8def41<STA,FF,IBSS,PMGT,HOSTAP,AHDEMO,TXPMGT,SHSLOT,SHPREAMBLE,MONITOR,MBSS,WPA1,WPA2,BURST,WME,WDS,TXFRAG>
cryptocaps=1f<WEP,TKIP,AES,AES_CCM,TKIPMIC>
htcaps=701ce<CHWIDTH40,SHORTGI40,TXSTBC>
ifconfig wlan0
Code:
wlan0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 04:f0:21:2e:54:4a
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: IEEE 802.11 Wireless Ethernet autoselect mode 11na <hostap>
status: running
ssid "" channel 36 (5180 MHz 11a ht/20) bssid 04:f0:21:2e:54:4a
regdomain FCC country US ecm authmode OPEN privacy OFF txpower 17
mcastrate 6 mgmtrate 6 scanvalid 60 ampdulimit 64k ampdudensity 8
shortgi wme burst dtimperiod 1 -dfs
groups: wlan
# /etc/rc.conf
Code:
# Wireless HOSTAP
wlans_ath0="wlan0"
create_args_wlan0="wlanmode hostap"
ifconfig_wlan0="ssid fanculo mode 11n channel 11"
wlans_ath1="wlan1"
create_args_wlan1="wlanmode hostap"
hostapd_enable="YES"
full /etc/rc.conf can be found here.
# /boot/loader.conf
Code:
# Serial console boot
boot_multicons="YES"
boot_serial="YES"
comconsole_speed="115200"
console="comconsole"
kern.cam.boot_delay="10000
# Bridge driver
if_bridge_load="YES"
bridgestp_load="YES"
# Atheros wireless drivers
if_ath_load="YES"
# Wireless cryptography
wlan_wep_load="YES"
wlan_ccmp_load="YES"
wlan_tkip_load="YES"
I do apologize for the long post but I wanted to make sure all possible needed info are here.
Thanks,
Pietro