1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-08-22 12:20:15 +03:00
Commit Graph

45 Commits

Author SHA1 Message Date
jow
e1f20d7ef7 [package] hostapd: introduce "wpa_pair_rekey" and "wpa_master_rekey" options, remove hardcoded wpa rekey intervals, remove hardcoded radius_acct_interim_interval as it might overrule the radius Acct-Interim-Interval attribute
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28207 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-09 18:19:18 +00:00
jow
4f0278e702 [package] hostapd: introduce options to configure the logging behaviour.
The config wifi-device section gains the following settings:
	* log_level  (2)    - Defines the minimum message level
	* log_80211  (true) - Log 802.11 events
	* log_8021x  (true) - Log 802.1X events
	* log_radius (true) - Log RADIUS events
	* log_wpa    (true) - Log WPA events
	* log_driver (true) - Log driver interface messages
	* log_iapp   (true) - Log IAPP events
	* log_mlme   (true) - Log MLME events


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28056 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-20 00:13:58 +00:00
acinonyx
6e29b97896 [package] hostapd: add accounting configuration to hostapd uci script
Hello

This patch add accounting configuration in hostapd.sh
It also change "server, port, key" to "auth_server, auth_port, auth_secret" but keep backward compatibility
Please patch backfire & trunk

Thanks in advance.

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26482 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-05 15:09:26 +00:00
nbd
78273cbbc1 hostapd: add more wps config methods to the config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26288 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-25 14:01:05 +00:00
jow
200663f5d9 [package] hostapd: allow mixed TKIP/CCMP for 11n
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-15 08:49:45 +00:00
nbd
f0d9d1c41e hostapd: Create one control interface per virtual bssid
Previously hostapd created one control interface /var/run/hostapd-phyX
which only contained the first virtual bssid (for example wlan0). In
order to access the other virtual bssids with hostapd_cli add all
virtual bssids to /var/run/hostapd-phyX by specifying the ctrl_interface
parameter per bssid.

Previously the control interface looked like:
	/var/run/hostapd-phyX/wlan0

Now, the control interface looks like this:
	/var/run/hostapd-phyX/wlan0
	/var/run/hostapd-phyX/wlan1
	...

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-14 10:52:54 +00:00
nbd
19c86039d4 hostapd: fix appending the iapp_interface variable to the config
Signed-off-by: Alexander Couzens <lynxis@c-base.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24724 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-19 11:56:49 +00:00
nbd
76e5e7f14f hostapd: Allow rsn_preauth configuration
Hostapd can allow preauthentication for WPA2-EAP networks when
the interfaces through which preauthentication is allowed are
configured.

Add a new param "rsn_preauth=0/1" to the configuration that enables
or disables preauthentication on the according bridge interface.

Preauthentication for unbridged networks is not considered in this
patch.

Cc: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24721 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-19 11:48:31 +00:00
jow
86882a55f9 [PATCH] Set auth_algs in hostapd.conf, make it configurable for WEP
Always set auth_algs in hostapd.conf. For WEP, auth_algs is configurable
by setting the encryption parameter of a wifi-iface to contain "open"
(1, open system), "shared" (2, shared key), or "mixed" (3, permits both
open system and shared key.) For example, use "wep+shared" for shared
key authentication. The default is default is "open" as it is more
secure than "shared" (although WEP is pretty weak regardless.) For
non-WEP, "open" is always used.

https://dev.openwrt.org/ticket/8120

Signed-off-by: Mark Mentovai <mark@moxienet.com>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23655 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-27 11:11:04 +00:00
acinonyx
38a075f274 [package] hostapd: Add support for 'iapp_interface' option, thanks stsp (#7719)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22527 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-08 10:46:24 +00:00
nbd
115b6d53ff hostapd: add preliminary wps script support (push-button only, does not handle multi-bss yet)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22100 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-08 18:36:17 +00:00
jow
60a32ced82 [package] hostapd: enforce CCMP WPA cipher if hwmode is 11ng or 11na
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-30 21:24:30 +00:00
jow
b49acf1288 [package] hostapd: allow *ccmp+tkip and *aes+tkip as well for cipher override
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-30 21:03:56 +00:00
nbd
1420b2f40b hostapd: add ap isolate support for mac80211
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21179 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-26 23:08:03 +00:00
jow
4018c96b60 [package] hostapd: fixup madwifi turbo modes (#7060)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-03 15:16:33 +00:00
thepeople
1096da2e3c When enabling MFP, hostapd will read assoc_sa_query_max_timeout and
assoc_sa_query_retry_timeout from it's config file. Make these options
configurable in /etc/config/wireless. To make it clear that these
options are 802.11w related, I named them ieee80211w_max_timeout and
ieee80211w_retry_timeout instead.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-24 00:23:10 +00:00
thepeople
913ec84fef Enable management frame protection in hostapd, and make it configurable
in /etc/config/wireless. Since ath9k is currently the only driver that
supports MFP, it will only be enabled when ath9k is enabled.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-24 00:22:19 +00:00
jow
0e89584a5c [package] hostapd: always strip "11" from hwmode value
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20363 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-21 22:35:58 +00:00
nbd
53f7eaf61c hostapd: support creating WEP networks for mac80211 (patch by Stijn Tintel), fixes #6672
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-19 01:34:44 +00:00
nbd
2eb1c2d1df mac80211: restructure /lib/wifi/mac80211.sh
use the new multi-bss single instance hostapd mode
move mac80211 specific bits out of /lib/wifi/hostapd.sh
add a new option 'htmode' for switching between HT20 and HT40+,HT40-

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19235 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-20 02:26:05 +00:00
nbd
a60b96a907 hostapd: parse the option for hiding the ESSID (#6310)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-09 19:10:54 +00:00
nbd
b1e695999e hostapd: replace the wme_* config variables with wmm_* ones (fixes #6247)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-29 14:13:47 +00:00
nbd
4fa998189d hostapd: implement wds ap support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18364 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-11 05:15:51 +00:00
nbd
244e2944c6 mac80211: fill some important capabilities into ht_capab in the hostapd config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-04 21:53:49 +00:00
nbd
586c0c90e8 hostapd: do not configure wme when using madwifi - fixes wpa/wpa2 association problems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-17 04:55:59 +00:00
nbd
107bc81f4b hostapd: initialize wme to sane values
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17823 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-02 18:55:03 +00:00
florian
0b0c78e9a5 [package] add additions from (#5149)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-14 13:06:34 +00:00
acinonyx
ee89db043c [package] hostapd: Remove deprecated 'debug' configuration variable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16594 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-27 22:14:21 +00:00
hauke
c8a61e1e0b [hostapd] hostapd only supports either b or g as hwmode configuration variable.
If bg is set the scripts transfers it now to g mode.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15182 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-09 21:44:30 +00:00
nbd
dbaa421297 wifi: fix hostapd + autochannel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-27 21:14:59 +00:00
juhosg
6c96d2743b [packages] hostapd: add 11n mode and ht_capab option for hostapd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-01 18:02:49 +00:00
nbd
ab24f3d8c9 add country code option for hostapd (patch from #4675)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 02:46:04 +00:00
nbd
7eba7887af fix hostapd startup for no-crypto configurations
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14276 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-30 02:52:14 +00:00
agb
598f085368 [package] hostapd,wpa_supplicant: create control interfaces for hostapd_cli and wpa_cli
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-15 07:50:11 +00:00
agb
afb87b33ca [package] hostapd,madwifi: rename agmode option to hwmode. 11a and 11g aren't the only allowed values
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-31 19:09:26 +00:00
nbd
6f9f98ff4f fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-30 22:49:15 +00:00
nbd
9909f72e6f use pidfiles for hostapd/wpa_supplicant instead of killing all processes when bringing an interface down - fixes an issue with random hostapd death
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-29 17:26:49 +00:00
nbd
dc7f25c42c fix hostapd a/g mode if only the channel is configured in the config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13076 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-29 15:52:58 +00:00
nbd
f50d46ab20 parse the a/g mode setting in /etc/config/wireless when setting up hostapd (instead of hardcoding it to g)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12673 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-23 18:18:21 +00:00
florian
833c6d3623 A WPA(2) pre-shared key can either be specified as a 8 to 63 character passphrase which is hashed to a 256 bit key together with the SSID, or a 64 character hex key. Currently, the latter option is supported by the broadcom wifi type, but no by hostapd. The attached patch allows using a 64 character hex key. (#3935)
Signed-off-by: thomas@archlinux.org


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-26 17:19:00 +00:00
florian
ce140e52cb Fix hostapd with open access point and per-device configuration, thanks sn9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12375 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-23 21:21:04 +00:00
thepeople
de911eea1a add wpa-eap uci configs Signed-off-by: David Bird <david@coova.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11355 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-04 18:18:58 +00:00
thepeople
842cf92928 change psk back to key
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-18 23:40:31 +00:00
mb
2b63bfb497 hostapd.sh: Fix typo. The PSK is expected in the "psk" variable, but we put it into the "key" variable.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10478 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-17 13:30:24 +00:00
nbd
c352f2f981 move hostapd setup script from wireless-tools to hostapd package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-18 12:40:27 +00:00