Info: http://wiki.openwrt.org/doc/uci/wireless#wpa.enterprise.access.point
configuration:
/etc/config# cat wireless
config wifi-device 'radio0'
option type 'mac80211'
option phy 'phy0'
option hwmode '11ng'
option noscan '1'
option disabled '0'
option diversity '0'
option rxantenna '2'
option txantenna '2'
option txpower '20'
option beacon_int '1000'
option distance '2000'
list ht_capab 'RX-HT40-SGI'
list ht_capab 'TX-STBC'
list ht_capab 'RX-STBC1'
list ht_capab 'DSSS_CCK-40'
option channel '1'
option country 'PT'
option htmode 'HT20'
option beacon_int '1000'
config wifi-iface
option device 'radio0'
option ifname 'wlan0'
option network 'lan'
option mode 'ap'
option ssid 'test.net'
option hidden '0'
option encryption 'none'
config wifi-iface
option device 'radio0'
option ifname 'adhoc0'
option network 'mesh'
option mode 'adhoc'
option bssid '02:16:e8:6a:0b:1e'
option ssid 'mesh.test'
option hidden '0'
option macfilter 'allow'
option encryption 'psk2'
option key '1234567890'
Problem:
wifi down
wifi up
command failed: Device or resource busy (-16)
Configuration file: /var/run/hostapd-phy0.conf
Using interface wlan0 with hwaddr 5f:e9:98:5c:3e:36 and ssid "test.net"
Successfully initialized wpa_supplicant
Line 12: unknown network field 'beacon_interval'.
Line 33: failed to parse network block.
Failed to read or parse configuration '/var/run/wpa_supplicant-adhoc0.conf'.
enable_mac80211(radio0): Failed to set up wpa_supplicant for interface
adhoc0
Details:
# cat /var/run/wpa_supplicant-adhoc0.conf
ctrl_interface=/var/run/wpa_supplicant-adhoc0
ap_scan=2
network={
mode=1
scan_ssid=0
ssid="mesh.test"
bssid=02:16:c8:6e:0f:1e
key_mgmt=WPA-PSK
proto=RSN
frequency=2472
fixed_freq=1
beacon_interval=1000
htmode=HT20
psk="1234567890"
Linux version 3.3.8 (cmsv@net) (gcc version 4.6.3 20120201 (prerelease)
(Linaro GCC 4.6-2012.02) ) #1 Thu Jun 27 22:23:26 EDT 2013
DISTRIB_ID="OpenWrt"
DISTRIB_RELEASE="Attitude Adjustment"
DISTRIB_REVISION="r37034"
DISTRIB_CODENAME="attitude_adjustment"
DISTRIB_TARGET="ar71xx/generic"
DISTRIB_DESCRIPTION="OpenWrt Attitude Adjustment 12.09"
Conclusion:
It does seem that wpa_supplicant is not compatible with option
beacon_int . However if i remove this option from the configuration or
specify it as option beacon_interval; then wpa_supplicant works for the
specified interface.
Is this a bug, incompatibility or something was not updated to work with
with wpa_supplicant ?
Also; will this option work if specified as beacon_interval in
/et/config/wireless ? The wiki describes it as
beacon_int
--
Site: http://wirelesspt.net
Mesh: http://tinyurl.com/wirelesspt
Admin: http://wirelesspt.net/wiki/Cmsv
Twitter: http://twitter.com/wirelesspt
Suporte técnico via sms: 91 19 11 798
Donativos/Paypal: http://tinyurl.com/doar-verba
Chave publica PGP/SSH: http://wirelesspt.net/arquivos/pk
Email assinado digitalmente pelo emissor assegurando autenticidade
0x782BF73E.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature
_______________________________________________ openwrt-users mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-users
