Commit Graph

40 Commits (72ca180fd71bf76bac998aaf622869a5671e615d)

Author SHA1 Message Date
Felix Fietkau b60332deb0 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>

SVN-Revision: 24985
2011-01-14 10:52:54 +00:00
Felix Fietkau 58ed4ded0e hostapd: fix appending the iapp_interface variable to the config
Signed-off-by: Alexander Couzens <lynxis@c-base.org>

SVN-Revision: 24724
2010-12-19 11:56:49 +00:00
Felix Fietkau d08bc913a8 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>

SVN-Revision: 24721
2010-12-19 11:48:31 +00:00
Jo-Philipp Wich 0280ac8c92 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>

SVN-Revision: 23655
2010-10-27 11:11:04 +00:00
Vasilis Tsiligiannis 1beef305cf hostapd: Add support for 'iapp_interface' option, thanks stsp (#7719)
SVN-Revision: 22527
2010-08-08 10:46:24 +00:00
Felix Fietkau ca4a8b1bee hostapd: add preliminary wps script support (push-button only, does not handle multi-bss yet)
SVN-Revision: 22100
2010-07-08 18:36:17 +00:00
Jo-Philipp Wich 5f895af9fb hostapd: enforce CCMP WPA cipher if hwmode is 11ng or 11na
SVN-Revision: 22000
2010-06-30 21:24:30 +00:00
Jo-Philipp Wich f391ff4ec8 hostapd: allow *ccmp+tkip and *aes+tkip as well for cipher override
SVN-Revision: 21998
2010-06-30 21:03:56 +00:00
Felix Fietkau db8b1922fc hostapd: add ap isolate support for mac80211
SVN-Revision: 21179
2010-04-26 23:08:03 +00:00
Jo-Philipp Wich 38b256105d hostapd: fixup madwifi turbo modes (#7060)
SVN-Revision: 20675
2010-04-03 15:16:33 +00:00
Travis Kemen 7a00430b3e 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>

SVN-Revision: 20397
2010-03-24 00:23:10 +00:00
Travis Kemen 22b92b3e13 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>

SVN-Revision: 20396
2010-03-24 00:22:19 +00:00
Jo-Philipp Wich 90c566f557 hostapd: always strip "11" from hwmode value
SVN-Revision: 20363
2010-03-21 22:35:58 +00:00
Felix Fietkau 31cfd93be4 hostapd: support creating WEP networks for mac80211 (patch by Stijn Tintel), fixes #6672
SVN-Revision: 19720
2010-02-19 01:34:44 +00:00
Felix Fietkau ba7bfddaae 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-
SVN-Revision: 19235
2010-01-20 02:26:05 +00:00
Felix Fietkau b4ea1b0ac3 hostapd: parse the option for hiding the ESSID (#6310)
SVN-Revision: 18727
2009-12-09 19:10:54 +00:00
Felix Fietkau 7e3d67e546 hostapd: replace the wme_* config variables with wmm_* ones (fixes #6247)
SVN-Revision: 18602
2009-11-29 14:13:47 +00:00
Felix Fietkau 36eccaad21 hostapd: implement wds ap support
SVN-Revision: 18364
2009-11-11 05:15:51 +00:00
Felix Fietkau 875d957512 mac80211: fill some important capabilities into ht_capab in the hostapd config
SVN-Revision: 18293
2009-11-04 21:53:49 +00:00
Felix Fietkau 6e9ada01c0 hostapd: do not configure wme when using madwifi - fixes wpa/wpa2 association problems
SVN-Revision: 18051
2009-10-17 04:55:59 +00:00
Felix Fietkau 260d749684 hostapd: initialize wme to sane values
SVN-Revision: 17823
2009-10-02 18:55:03 +00:00
Florian Fainelli 838c1d7cd0 add additions from (#5149)
SVN-Revision: 16841
2009-07-14 13:06:34 +00:00
Vasilis Tsiligiannis 94b56b6c6c hostapd: Remove deprecated 'debug' configuration variable
SVN-Revision: 16594
2009-06-27 22:14:21 +00:00
Hauke Mehrtens e2f8f72041 hostapd only supports either b or g as hwmode configuration variable. If bg is set the scripts transfers it now to g mode.
SVN-Revision: 15182
2009-04-09 21:44:30 +00:00
Felix Fietkau ca749bea97 wifi: fix hostapd + autochannel
SVN-Revision: 15055
2009-03-27 21:14:59 +00:00
Gabor Juhos 782ca84485 hostapd: add 11n mode and ht_capab option for hostapd
SVN-Revision: 14713
2009-03-01 18:02:49 +00:00
Felix Fietkau b29544b2c3 add country code option for hostapd (patch from #4675)
SVN-Revision: 14608
2009-02-22 02:46:04 +00:00
Felix Fietkau 408690fb74 fix hostapd startup for no-crypto configurations
SVN-Revision: 14276
2009-01-30 02:52:14 +00:00
Andy Boyett aa59a08b45 hostapd,wpa_supplicant: create control interfaces for hostapd_cli and wpa_cli
SVN-Revision: 14039
2009-01-15 07:50:11 +00:00
Andy Boyett 35078a6a52 hostapd,madwifi: rename agmode option to hwmode. 11a and 11g aren't the only allowed values
SVN-Revision: 13790
2008-12-31 19:09:26 +00:00
Felix Fietkau e050667baa fix typo
SVN-Revision: 13084
2008-10-30 22:49:15 +00:00
Felix Fietkau a4f11ca22e use pidfiles for hostapd/wpa_supplicant instead of killing all processes when bringing an interface down - fixes an issue with random hostapd death
SVN-Revision: 13078
2008-10-29 17:26:49 +00:00
Felix Fietkau 9161a70235 fix hostapd a/g mode if only the channel is configured in the config
SVN-Revision: 13076
2008-10-29 15:52:58 +00:00
Felix Fietkau 69692e019a parse the a/g mode setting in /etc/config/wireless when setting up hostapd (instead of hardcoding it to g)
SVN-Revision: 12673
2008-09-23 18:18:21 +00:00
Florian Fainelli 6b04ad55f9 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

SVN-Revision: 12394
2008-08-26 17:19:00 +00:00
Florian Fainelli 6c56733f40 Fix hostapd with open access point and per-device configuration, thanks sn9
SVN-Revision: 12375
2008-08-23 21:21:04 +00:00
Travis Kemen b35e663111 add wpa-eap uci configs Signed-off-by: David Bird <david@coova.com>
SVN-Revision: 11355
2008-06-04 18:18:58 +00:00
Travis Kemen fe7e52b4fa change psk back to key
SVN-Revision: 10488
2008-02-18 23:40:31 +00:00
Michael Büsch 7a62cb1f15 hostapd.sh: Fix typo. The PSK is expected in the "psk" variable, but we put it into the "key" variable.
SVN-Revision: 10478
2008-02-17 13:30:24 +00:00
Felix Fietkau d913bf3c49 move hostapd setup script from wireless-tools to hostapd package
SVN-Revision: 7000
2007-04-18 12:40:27 +00:00