summaryrefslogtreecommitdiffstats
path: root/package/hostapd/files/hostapd.sh
Commit message (Collapse)AuthorAgeFilesLines
* hostapd: Create one control interface per virtual bssidnbd2011-01-141-1/+3
| | | | | | | | | | | | | | | | | | | | 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
* hostapd: fix appending the iapp_interface variable to the confignbd2010-12-191-1/+1
| | | | | | Signed-off-by: Alexander Couzens <lynxis@c-base.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24724 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: Allow rsn_preauth configurationnbd2010-12-191-14/+26
| | | | | | | | | | | | | | | | | 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
* [PATCH] Set auth_algs in hostapd.conf, make it configurable for WEPjow2010-10-271-1/+9
| | | | | | | | | | | | | | | | | | 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
* [package] hostapd: Add support for 'iapp_interface' option, thanks stsp (#7719)acinonyx2010-08-081-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22527 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: add preliminary wps script support (push-button only, does not ↵nbd2010-07-081-1/+10
| | | | | | handle multi-bss yet) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22100 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hostapd: enforce CCMP WPA cipher if hwmode is 11ng or 11najow2010-06-301-0/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22000 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hostapd: allow *ccmp+tkip and *aes+tkip as well for cipher overridejow2010-06-301-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21998 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: add ap isolate support for mac80211nbd2010-04-261-0/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21179 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hostapd: fixup madwifi turbo modes (#7060)jow2010-04-031-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20675 3c298f89-4303-0410-b956-a3cf2f4a3e73
* When enabling MFP, hostapd will read assoc_sa_query_max_timeout andthepeople2010-03-241-0/+8
| | | | | | | | | | | 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
* Enable management frame protection in hostapd, and make it configurablethepeople2010-03-241-0/+7
| | | | | | | | | | 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
* [package] hostapd: always strip "11" from hwmode valuejow2010-03-211-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20363 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: support creating WEP networks for mac80211 (patch by Stijn Tintel), ↵nbd2010-02-191-0/+22
| | | | | | fixes #6672 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19720 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: restructure /lib/wifi/mac80211.shnbd2010-01-201-97/+45
| | | | | | | | 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
* hostapd: parse the option for hiding the ESSID (#6310)nbd2009-12-091-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18727 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: replace the wme_* config variables with wmm_* ones (fixes #6247)nbd2009-11-291-21/+21
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18602 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: implement wds ap supportnbd2009-11-111-1/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18364 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fill some important capabilities into ht_capab in the hostapd confignbd2009-11-041-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18293 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: do not configure wme when using madwifi - fixes wpa/wpa2 ↵nbd2009-10-171-0/+8
| | | | | | association problems git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18051 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: initialize wme to sane valuesnbd2009-10-021-0/+37
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17823 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] add additions from (#5149)florian2009-07-141-2/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16841 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hostapd: Remove deprecated 'debug' configuration variableacinonyx2009-06-271-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16594 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [hostapd] hostapd only supports either b or g as hwmode configuration variable.hauke2009-04-091-0/+3
| | | | | | | 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
* wifi: fix hostapd + autochannelnbd2009-03-271-15/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15055 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [packages] hostapd: add 11n mode and ht_capab option for hostapdjuhosg2009-03-011-1/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14713 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add country code option for hostapd (patch from #4675)nbd2009-02-221-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14608 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix hostapd startup for no-crypto configurationsnbd2009-01-301-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14276 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hostapd,wpa_supplicant: create control interfaces for hostapd_cli ↵agb2009-01-151-0/+1
| | | | | | and wpa_cli git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14039 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hostapd,madwifi: rename agmode option to hwmode. 11a and 11g ↵agb2008-12-311-8/+8
| | | | | | aren't the only allowed values git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13790 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix typonbd2008-10-301-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13084 3c298f89-4303-0410-b956-a3cf2f4a3e73
* use pidfiles for hostapd/wpa_supplicant instead of killing all processes ↵nbd2008-10-291-1/+1
| | | | | | 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
* fix hostapd a/g mode if only the channel is configured in the confignbd2008-10-291-1/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13076 3c298f89-4303-0410-b956-a3cf2f4a3e73
* parse the a/g mode setting in /etc/config/wireless when setting up hostapd ↵nbd2008-09-231-1/+8
| | | | | | (instead of hardcoding it to g) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12673 3c298f89-4303-0410-b956-a3cf2f4a3e73
* A WPA(2) pre-shared key can either be specified as a 8 to 63 character ↵florian2008-08-261-1/+5
| | | | | | | | | 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
* Fix hostapd with open access point and per-device configuration, thanks sn9florian2008-08-231-1/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12375 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add wpa-eap uci configs Signed-off-by: David Bird <david@coova.com>thepeople2008-06-041-1/+18
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11355 3c298f89-4303-0410-b956-a3cf2f4a3e73
* change psk back to keythepeople2008-02-181-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10488 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd.sh: Fix typo. The PSK is expected in the "psk" variable, but we put ↵mb2008-02-171-3/+3
| | | | | | it into the "key" variable. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10478 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move hostapd setup script from wireless-tools to hostapd packagenbd2007-04-181-0/+66
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7000 3c298f89-4303-0410-b956-a3cf2f4a3e73