openwrt configuration

David Luyens david.luyens at gmail.com
Fri Nov 20 02:31:44 PST 2015


Hi, I am trying to setup a hostapd on openwrt router, but it seems
that some specific options are not recognised.

root at OpenWrt:/# hostapd_cli -v
hostapd_cli v2.5-devel
Copyright (c) 2004-2015, Jouni Malinen <j at w1.fi> and contributors




root at OpenWrt:/# /usr/sbin/hostapd -P /var/run/wifi-phy1.pid -B
/var/run/hostapd-phy1.conf
Configuration file: /var/run/hostapd-phy1.conf
Line 38: unknown configuration item 'interworking'
Line 39: unknown configuration item 'internet'
Line 40: unknown configuration item 'asra'
Line 41: unknown configuration item 'network_auth_type'
Line 42: unknown configuration item 'nai_realm'
Line 43: unknown configuration item 'anqp_3gpp_cell_net'
6 errors found in configuration file '/var/run/hostapd-phy1.conf'
Failed to set up interface with /var/run/hostapd-phy1.conf
Failed to initialize interface



root at OpenWrt:/# cat /var/run/hostapd-phy1.conf
driver=nl80211
logger_syslog=127
logger_syslog_level=2
logger_stdout=127
logger_stdout_level=2
hw_mode=a
channel=36
ieee80211n=1
ht_coex=0
ht_capab=[LDPC][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1][DSSS_CCK-40]

interface=wlan1
ctrl_interface=/var/run/hostapd
disassoc_low_ack=1
preamble=1
wmm_enabled=1
ignore_broadcast_ssid=0
uapsd_advertisement_enabled=1
auth_server_addr=10.57.23.84
auth_server_port=1812
auth_server_shared_secret=EAPsecret
acct_server_addr=10.57.23.84
acct_server_port=1813
acct_server_shared_secret=EAPsecret
eapol_key_index_workaround=1
ieee8021x=1
auth_algs=1
wpa=2
wpa_pairwise=CCMP
ssid=EAPtest
bridge=br-lan
nas_identifier=EAPap
wpa_key_mgmt=WPA-EAP
okc=0
disable_pmksa_caching=1
bssid=60:e3:27:b8:21:ca
interworking=1
internet=1
asra=1
network_auth_type=00
nai_realm=0,mytest.com,18:[5:1][5:2]
anqp_3gpp_cell_net=206,01;206,10;206,20;206,05



Any idea what could be wrong?

David



More information about the Hostap mailing list