Christian Lamparter
5a8a986dd5
base-files: remove non-working filter option for wifi detect
...
This patch removes the non-working wifi driver filter for
the wifi detection script.
I figured that rather than replacing ${2:-$DRIVERS} with
${1:-$DRIVERS}, it would be better to remove it. Nobody
needed it in the previous years.
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2016-10-04 11:50:48 +02:00
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
2014-10-14 12:21:11 +00:00
Felix Fietkau
b656a56225
/sbin/wifi: reload network/wireless on wifi restart
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39036
2013-12-11 19:48:19 +00:00
Luka Perkov
3ceb6b3274
base-files: fix whitespaces
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 39006
2013-12-09 11:30:14 +00:00
Felix Fietkau
6e0fafd816
wifi: restart netifd wifi interfaces on the "up" command like the old variant
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38990
2013-12-02 16:53:27 +00:00
Felix Fietkau
3c50feca19
wifi: rename the "reload" (restarting non-netifd wifi) command to "reload_legacy"
...
Add a new "reload" command that reloads the netifd config as well
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38989
2013-12-02 16:53:24 +00:00
Felix Fietkau
498d84fc4e
netifd: add wireless configuration support and port mac80211 to the new framework
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38988
2013-12-02 16:41:03 +00:00
Jo-Philipp Wich
f2dde4f5ba
base-files: allow wireless ifaces to be part of multiple networks
...
SVN-Revision: 32503
2012-06-26 15:25:33 +00:00
Jo-Philipp Wich
9ae901445b
/etc/functions.sh => /lib/functions.sh
...
SVN-Revision: 32062
2012-06-05 16:04:23 +00:00
Jo-Philipp Wich
a73fffe857
base-files: properly handle wifi ifaces with no network attached, useful for unmanaged interfaces like used for batman or monitoring
...
SVN-Revision: 28860
2011-11-08 14:42:58 +00:00
Felix Fietkau
dab5ebaa76
netifd: ensure that a bridge gets created before hostapd needs it, hostapd must not attempt to create the bridge by itself
...
SVN-Revision: 28745
2011-11-04 01:05:12 +00:00
Florian Fainelli
ebe7bdba88
adds a --help option to /sbin/wifi
...
Signed-off-by: Sebastian Philipp <sebastian@spawnhost.de>
SVN-Revision: 24258
2010-12-05 11:22:56 +00:00
Felix Fietkau
3e75044a95
wifi: fix duplicate ht capabilities in the hostapd config file by clearing the list at config load time
...
SVN-Revision: 22099
2010-07-08 18:36:12 +00:00
Felix Fietkau
19555b702e
/sbin/wifi: improve reliability of restarts by resetting the state properly
...
SVN-Revision: 19495
2010-02-02 02:19:10 +00:00
Felix Fietkau
62d7bb6ecd
fix a typo in the hwmode handling in /sbin/wifi (thx, maddes)
...
SVN-Revision: 19313
2010-01-24 14:27:27 +00:00
Jo-Philipp Wich
cb30b52ec1
base-files, mac80211 ( #6491 ) - fix wep key handling in iw with mac80211 based drivers - sanitize keys where necessary - put a procedure prepare_key_wep() into /sbin/wifi for use by other driver backends
...
SVN-Revision: 19118
2010-01-13 18:39:44 +00:00
Hauke Mehrtens
90fc200a60
In wifi_fixup_hwmode the value 11bg for hwmode was not transfered to bg.
...
SVN-Revision: 15180
2009-04-09 20:16:01 +00:00
Felix Fietkau
ca749bea97
wifi: fix hostapd + autochannel
...
SVN-Revision: 15055
2009-03-27 21:14:59 +00:00
Jo-Philipp Wich
9a72419724
- fix mac assignment for broadcom vifs in bridging mode - thanks abramoff1 for spotting this - fix possible regression with different interface protocols - bump PKG_RELEASE
...
SVN-Revision: 15042
2009-03-25 19:13:15 +00:00
Jo-Philipp Wich
7e6c947e4b
sync macs with vif bssids in broadcom.sh, fixes multi-ssid with wpa
...
SVN-Revision: 15028
2009-03-24 23:42:09 +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
c0e753bcdc
make sure that the dhcp client (or other processes necessary to get a connection) gets restarted when the wifi is restarted
...
SVN-Revision: 13026
2008-10-23 01:07:35 +00:00
Felix Fietkau
0cf1a58282
Here comes the new UCI. Enjoy :)
...
SVN-Revision: 10367
2008-02-03 06:48:15 +00:00
Felix Fietkau
b085680b96
tab/whitespace fix
...
SVN-Revision: 8338
2007-08-04 11:30:40 +00:00
Felix Fietkau
600d29f61e
fix an error message
...
SVN-Revision: 8109
2007-07-22 18:46:57 +00:00
Felix Fietkau
b13426e21b
keep track of the wifi interface state in /var/state/wireless
...
SVN-Revision: 8108
2007-07-22 18:32:47 +00:00
Felix Fietkau
e58d9626f2
add a workaround for the hostapd killed issue when using more than one wifi card ( #1928 , #2040 )
...
SVN-Revision: 8077
2007-07-20 16:11:46 +00:00
Felix Fietkau
90d54c0faa
more fixes
...
SVN-Revision: 7639
2007-06-15 16:07:09 +00:00
Felix Fietkau
2954f04b41
small cleanup
...
SVN-Revision: 6663
2007-03-24 13:42:53 +00:00
Mike Baker
a738f566e6
add a new 'option disabled' to wifi-device
...
SVN-Revision: 6576
2007-03-16 13:56:36 +00:00
Felix Fietkau
4215478ffe
move config_get_bool from /sbin/wifi to /etc/functions.sh
...
SVN-Revision: 6407
2007-02-27 23:09:57 +00:00
Felix Fietkau
20e82c48ef
fix typo in /sbin/wifi ( #1016 - thanks, dairiki)
...
SVN-Revision: 5689
2006-12-04 23:11:47 +00:00
Felix Fietkau
59a06c71cb
rename default/ to files/
...
SVN-Revision: 5622
2006-11-22 23:30:57 +00:00