John Crispin
20940138ac
scripts: fix wrong usage of '==' operator
...
[base-files] shell-scripting: fix wrong usage of '==' operator
normally the '==' is used for invoking a regex parser and is a bashism.
all of the fixes just want to compare a string. the used busybox-ash
will silently "ignore" this mistake, but make it portable/clean at least.
this patch does not change the behavior/logic of the scripts.
Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
SVN-Revision: 42911
10 years ago
Jo-Philipp Wich
4f1e282238
wpa_supplicant: fix beacon_int configuration option
...
wpa_supplicant expects beacon_int instead of beacon_interval in its config
file.
Signed-off-by: Bruno Randolf <br1@einfach.org>
SVN-Revision: 38451
11 years ago
Jo-Philipp Wich
e804a663e3
hostapd: don't configure wpa_supplicant with empty password="" if no password is specified ( #12912 )
...
SVN-Revision: 35358
12 years ago
Felix Fietkau
056d75049d
wpa_supplicant.sh: always use parameters from the current section
...
Using variables from the outer scope unnecessarily complicates the code and
leads to issues.
This patch fixes the bug when having an "adhoc" wifi-iface section before a
"sta" section prevents wpa_supplicant from using the key specified in the
corresponding section as it tries to use the "adhoc" key instead (1 by
default).
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
SVN-Revision: 34716
12 years ago
Felix Fietkau
405e21d167
packages: sort network related packages into package/network/
...
SVN-Revision: 33688
12 years ago
Jo-Philipp Wich
ff1b163540
hostapd: ensure that wpa_supplicant_setup_vif() returns success in cases where wpa_supplicant is not invoked ( #11996 )
...
SVN-Revision: 33674
12 years ago
Jo-Philipp Wich
55c322dc68
hostapd: fix ap/sta regression which got accidentally introduced by r32829 ( #11914 )
...
SVN-Revision: 33053
12 years ago
John Crispin
7639c9b580
mac80211/hostapd: add support for HT capa in case of IBSS/RSN
...
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
SVN-Revision: 32830
12 years ago
John Crispin
8b3882224a
wpa_supplicant: add more parameters
...
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
SVN-Revision: 32829
12 years ago
Jo-Philipp Wich
17f5287b0e
hostapd: change wpa_supplicant.sh to pass 64 byte hex psk unquoted and remove the undocumented usepasspharse option, this makes it match the logic of the hostapd setup
...
SVN-Revision: 32614
13 years ago
Felix Fietkau
bcd4209323
hostapd: fix driver setting for wpa_s in IBSS/WPA-NONE
...
This fix is needed to correctly set the driver to use with wpa_s in case of
IBSS/WPA-NONE. The current setting is not made correctly.
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
SVN-Revision: 32084
13 years ago
Felix Fietkau
34ccdb348d
wpa_supplicant: make key_mgmt default to NONE
...
SVN-Revision: 31145
13 years ago
Felix Fietkau
d5833ff3f3
wpa_supplicant: fix regressions introduced by the ibss-rsn changes
...
SVN-Revision: 31087
13 years ago
Felix Fietkau
1eaf4bf8fc
wpa_supplicant: modify wpa_supplicant.sh in order to support IBSS-RSN/WPA-NONE
...
Based on patch by: Antonio Quartulli <ordex@autistici.org>
SVN-Revision: 31085
13 years ago
Hamish Guthrie
92d36617b6
hostapd: correctly pass 64 char hex PSK to wpa_supplicant
...
SVN-Revision: 30504
13 years ago
Jo-Philipp Wich
e1d199bbbc
hostapd: introduce a client_cert option which is passed on to wpa_supplicant ( #8876 )
...
SVN-Revision: 29901
13 years ago
Jo-Philipp Wich
ec20b84048
hostapd: add code to prevent accidentally bridging non-wds sta mode interfaces
...
SVN-Revision: 28858
13 years ago
Vasilis Tsiligiannis
87cba7eb46
hostapd: Add 'identity' config option when eap_type is 'tls' on wpa_supplicant ( #8164 )
...
SVN-Revision: 23817
14 years ago
Felix Fietkau
35cdc5d722
hostapd/mac80211: implement support for AP+STA
...
SVN-Revision: 23602
14 years ago
Jo-Philipp Wich
4289fa555e
hostapd: forgot the actual change in previous commit
...
SVN-Revision: 21821
15 years ago
Travis Kemen
21f006f156
Enable management frame protection in wpa_supplicant, and make it configurable in /etc/config/wireless.
...
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 20395
15 years ago
Travis Kemen
e74fbc183b
Cleanup redundant psk handling code in wpa_supplicant.sh. (I sent this one to openwrt-devel before, but I am resending it as part of this series because the next patch will also edit wpa_supplicant.sh).
...
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 20394
15 years ago
Felix Fietkau
7fdbfef92f
wpa_supplicant: fix bridging settings for wds
...
SVN-Revision: 20088
15 years ago
Felix Fietkau
d692a2340c
mac80211: always use wpa_supplicant for client connections (patch by Stijn Tintel)
...
Since client mode in mac80211is unreliable without using wpa_supplicant,
it would be better to enable wpa_supplicant by default.
With this patch, wpa_supplicant will always be used for mac80211-based
drivers in client mode. This will break client mode for images that
don't include wpa_supplicant or wpad, so maybe I need to add a check
somewhere to see if wpa_supplicant is available, and show the user a
warning if he tries client mode without wpa_supplicant. Suggestions on
where to add this check are welcome.
Tested with ath5k in client mode on open and wpa2-psk network, and
tested on my ath9k based AP as well to make sure it doesn't break AP mode.
SVN-Revision: 19718
15 years ago
Felix Fietkau
e1efddf19b
mac80211: use wpa_supplicant for unencrypted connections to improve client mode reliability (patch by Stijn Tintel from #6653 )
...
SVN-Revision: 19550
15 years ago
Felix Fietkau
64268c7165
hostapd: add a build variant for wpa_supplicant and one for a multicall hostapd+supplicant program (wpad) and remove the old wpa_supplicant package
...
SVN-Revision: 19286
15 years ago
Jo-Philipp Wich
f8973238da
wpa_supplicant: fix two syntax errors in wpa_supplicant.sh ( #6504 )
...
SVN-Revision: 19128
15 years ago
Jo-Philipp Wich
1b452e82b7
wpa_supplicant: add WEP key handling to conform with documented behaviour in mac80211.sh ( #6493 )
...
SVN-Revision: 19119
15 years ago
Jo-Philipp Wich
37758a2672
wpa_supplicant: relax parsing of encryption mode, drop support for uppercase modes
...
SVN-Revision: 18663
15 years ago
Jo-Philipp Wich
2a59f52a0f
fix unparsable options generated by wpa_supplicant.sh ( #4835 )
...
SVN-Revision: 15058
16 years ago
Andy Boyett
aa59a08b45
hostapd,wpa_supplicant: create control interfaces for hostapd_cli and wpa_cli
...
SVN-Revision: 14039
16 years ago
Florian Fainelli
a30ed4d09d
Fix typo in wpa_supplicant ( #4208 )
...
SVN-Revision: 13209
16 years ago
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
16 years ago
Florian Fainelli
dbb59f014a
Fix a bug when parsing ca_cert and eap_type with wpa_supplicant, this should only be set for 802.1x setups
...
SVN-Revision: 12292
16 years ago
Florian Fainelli
8c8b85b54c
Add generic wpa_supplicant calls and use them for mac80211 and madwifi.
...
SVN-Revision: 12289
16 years ago