Commit graph

2134 commits

Author SHA1 Message Date
Florian Fainelli
b9489c5983 Correctly set b/g rate tables for mac80211, thanks sn9
SVN-Revision: 12445
2008-08-31 11:35:51 +00:00
Florian Fainelli
b25f2f5edb Update acx-mac80211 to a more recent snapshot, thanks sn9
SVN-Revision: 12439
2008-08-30 12:25:38 +00:00
Felix Fietkau
fff4882561 fix madwifi hal target for mips*
SVN-Revision: 12435
2008-08-30 09:59:00 +00:00
Felix Fietkau
6aa8c5de64 leave libtool m4 files in both $(STAGING_DIR)/host and $(STAGING_DIR_HOST)
SVN-Revision: 12434
2008-08-29 17:02:15 +00:00
Felix Fietkau
c37665895b Integrate new HAL release (by OpenWrt, DD-WRT, MakSat Technologies)
SVN-Revision: 12429
2008-08-29 09:59:39 +00:00
Felix Fietkau
b28a095964 revert accidental change to madwifi.sh
SVN-Revision: 12428
2008-08-29 01:07:53 +00:00
Andy Boyett
a12f23ba98 Use unsigned longs for bitwise operations in awk, thanks benoar. - Resolves the ipcalc.sh bug on some arches, closes #3012, #3946 - Submitted upstream as busybox bug #4774
SVN-Revision: 12427
2008-08-28 16:40:53 +00:00
Felix Fietkau
2176ae1a6f fix a race condition which would leave dnsmasq in infinite resolving recursion nirvana
SVN-Revision: 12424
2008-08-28 14:10:55 +00:00
Felix Fietkau
20054336c0 add back busybox httpd password auth support - fixes x-wrt
SVN-Revision: 12422
2008-08-28 12:58:59 +00:00
Felix Fietkau
683789250d madwifi: fix encryption type check
SVN-Revision: 12421
2008-08-28 12:41:55 +00:00
Felix Fietkau
a2e70fed22 madwifi: only start hostapd when necessary
SVN-Revision: 12420
2008-08-28 12:13:36 +00:00
Felix Fietkau
5f30b3de44 add autoload for spi-ks8995
SVN-Revision: 12419
2008-08-28 00:15:31 +00:00
Felix Fietkau
4ac7d33b7a mtd: add jffs2 cleanmarker for big endian systems
SVN-Revision: 12418
2008-08-28 00:15:22 +00:00
Felix Fietkau
6488abc11c ppp: derive interface unit numbers from previous enumeration
SVN-Revision: 12417
2008-08-28 00:15:10 +00:00
Felix Fietkau
1c3b76013a fix ppp interface enumeration - don't enumerate already processed interfaces
SVN-Revision: 12416
2008-08-27 22:19:42 +00:00
Felix Fietkau
e44384cae9 upgrade to uci 0.6.1 - lots of cli and lua binding fixes
SVN-Revision: 12413
2008-08-27 21:16:20 +00:00
Felix Fietkau
053188e8c5 fix uboot-ifxmips compile on mac os x
SVN-Revision: 12412
2008-08-27 21:02:01 +00:00
John Crispin
12df593510 fixes broken if-then in led init script
SVN-Revision: 12411
2008-08-27 20:33:13 +00:00
Felix Fietkau
d42892ab5e fix busybox compile on mac os x
SVN-Revision: 12409
2008-08-27 19:35:47 +00:00
John Crispin
7f6ee846b7 make uci firewall backwards compatible to the old firewall.user
SVN-Revision: 12408
2008-08-27 19:16:54 +00:00
John Crispin
20216aa44d add proto tcpudp to firewall
SVN-Revision: 12407
2008-08-27 18:54:52 +00:00
John Crispin
9eaae4c61d fix device duplication in firewall if the balancing of ifup and ifdown is broken
SVN-Revision: 12404
2008-08-27 18:31:34 +00:00
John Crispin
924d10d611 make sure uci firewall reverts its states when stopped
SVN-Revision: 12403
2008-08-27 16:48:54 +00:00
John Crispin
146b47b60a fixes uci firewall init order, Signed-off-by: Roberto Riggio
SVN-Revision: 12402
2008-08-27 15:55:21 +00:00
Florian Fainelli
89632fef34 This patch enables the new ath5k driver. Works for me with X86 Alix board an AR2413 minipci card. iw and iwconfig works.
Signed-off-by:  Dirk Nehring <dnehring@gmx.net>

SVN-Revision: 12397
2008-08-27 14:09:29 +00:00
Steven Barth
24c318dfe7 firewall: Added support for port-ranges as firstPort-lastPort to redirect sections
SVN-Revision: 12396
2008-08-27 14:04:52 +00:00
John Crispin
517dfd27e5 adds 5 new chains to the uci firewall that can be used to hook custom rules
SVN-Revision: 12395
2008-08-27 12:03:48 +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
John Crispin
974ad00cf3 adds several fixes to etrax, make openssl work on etrax
SVN-Revision: 12393
2008-08-26 11:36:06 +00:00
John Crispin
4d7f694c43 adds more sanity checks to uci firewall
SVN-Revision: 12392
2008-08-26 11:07:04 +00:00
John Crispin
aa6c019c11 use proto instead of protocol in uci firewall
SVN-Revision: 12391
2008-08-26 07:23:29 +00:00
Florian Fainelli
d16323d481 Fix bridge-utils configuration failure (#3931), thanks sn9
SVN-Revision: 12388
2008-08-25 10:06:25 +00:00
Florian Fainelli
1673462564 Use busybox mount, could be overriden to use util-linux-ng for instance, thanks sn9
SVN-Revision: 12386
2008-08-25 05:21:42 +00:00
Steven Barth
4b7249183c Updated Lua to 5.1.4
SVN-Revision: 12383
2008-08-24 15:45:26 +00:00
Felix Fietkau
e219aaf034 lua: remove an unnecessary check and replace switch (GET_OPCODE(i)) as well (thx, lars)
SVN-Revision: 12381
2008-08-24 14:28:04 +00:00
Felix Fietkau
62333dabe1 improve lua opcode dispatch performance by using computed goto instead of switch/case - improves performance by about 10% in a simple loop test
SVN-Revision: 12378
2008-08-24 13:37:56 +00:00
Travis Kemen
86ab7cb9de fix bridge utils for brcm-2.4 from http://dev.luci.freifunk-halle.net/001-brcm2.4-fix-bridge-utils.patch
SVN-Revision: 12377
2008-08-24 02:40:20 +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
Felix Fietkau
f2c022c927 upgrade uci to 0.6.0 - many bugfixes and an API cleanup
SVN-Revision: 12373
2008-08-23 14:26:31 +00:00
Nicolas Thill
7075c9f917 oops, fix typo in [12368]
SVN-Revision: 12369
2008-08-22 05:03:37 +00:00
Nicolas Thill
2ac5a81ab4 install ppp development headers
SVN-Revision: 12368
2008-08-22 05:02:04 +00:00
Gabor Juhos
8d28e6dc68 fix the CF driver on 2.6.26.x, and create a package for it
SVN-Revision: 12364
2008-08-21 16:52:06 +00:00
Felix Fietkau
4419978f84 madwifi: keep a/g mode and pureg setting in sync across vaps
SVN-Revision: 12363
2008-08-21 14:54:51 +00:00
Nicolas Thill
f04069c30b fix kmod-ipt-imq module generation (closes: #3896)
SVN-Revision: 12361
2008-08-21 13:17:47 +00:00
Nicolas Thill
89124c8a0a move more extra packages from ./trunk to ./packages
SVN-Revision: 12359
2008-08-20 22:00:41 +00:00
Nicolas Thill
6922a3692d add missing dependencies on libblkid/libuuid for mount-utils/swap-utils (should close: #3730), bump release number
SVN-Revision: 12356
2008-08-20 16:04:21 +00:00
Nicolas Thill
43dc17c66c add a patch to use relative symlinks for development shared libraries
SVN-Revision: 12355
2008-08-20 16:01:33 +00:00
Felix Fietkau
13970a65ce disable ath9k on all platforms without pci support, not just uml
SVN-Revision: 12354
2008-08-20 15:46:46 +00:00
Felix Fietkau
8a08f95e42 upgrade to uci 0.5.0, adds list handling support
SVN-Revision: 12353
2008-08-20 15:38:51 +00:00
Nicolas Thill
f52f0ecb9c disable ath9k on uml
SVN-Revision: 12352
2008-08-20 15:33:05 +00:00
Nicolas Thill
257ee32b7d disable ipv6 systcl call, as ipv6 is not enabled by default
SVN-Revision: 12351
2008-08-20 15:29:11 +00:00
Nicolas Thill
be1b3822d9 remove empty patches left over after [12348]
SVN-Revision: 12350
2008-08-20 15:20:19 +00:00
Imre Kaloz
1e82faaa5e upgrade busybox to v1.11.1 and add current upstream fixes
SVN-Revision: 12348
2008-08-20 14:00:34 +00:00
Imre Kaloz
e3d9bc5779 rename patch
SVN-Revision: 12347
2008-08-20 13:58:09 +00:00
Imre Kaloz
97ebf00292 upgrade bridge-utils to v1.4
SVN-Revision: 12346
2008-08-20 13:56:57 +00:00
Felix Fietkau
1ffa647fe1 fix uci_set_state for empty values
SVN-Revision: 12345
2008-08-20 12:34:17 +00:00
John Crispin
fd26ece7f1 fixes variables, oops
SVN-Revision: 12344
2008-08-20 11:45:23 +00:00
John Crispin
3cf1a8932b adds the option to have no proto for a interface, usefull if the uci states need to be set, but interface bring up is handled somewhere else
SVN-Revision: 12343
2008-08-20 11:17:40 +00:00
John Crispin
9e17c77236 add section names to dnsmasq config
SVN-Revision: 12342
2008-08-19 22:05:41 +00:00
Felix Fietkau
e0ab01285d madwifi: more wds sta related fixes
SVN-Revision: 12341
2008-08-19 18:22:03 +00:00
Felix Fietkau
f27fd2ecc3 enable TCP ECN by default (see #3001 for more information)
SVN-Revision: 12334
2008-08-17 13:01:59 +00:00
Felix Fietkau
8ab217accc fix some firewall script typos (patch from #3897)
SVN-Revision: 12332
2008-08-17 12:01:01 +00:00
Travis Kemen
b3b5e54099 add /etc/firewall.user to be backed up becuase it is an example in /etc/config/firewall
SVN-Revision: 12326
2008-08-16 18:01:18 +00:00
Felix Fietkau
1bdd7d0460 add vif selection fix for the broadcom-wl wifi script (thx, sn9)
SVN-Revision: 12324
2008-08-16 17:00:27 +00:00
Felix Fietkau
3f9fcf1c06 fix madwifi napi polling packet counting final fix for #3880
SVN-Revision: 12323
2008-08-16 17:00:13 +00:00
Travis Kemen
a15a10c85a remove unneeded line
SVN-Revision: 12321
2008-08-16 16:46:11 +00:00
Travis Kemen
0b2111d1fb remove /etc/firewall.* from being kept as they no longer are used in trunk
SVN-Revision: 12320
2008-08-16 16:04:51 +00:00
Travis Kemen
99dd3e13fc make opkg the default package manager, disable busybox ipkg from building by default
SVN-Revision: 12319
2008-08-16 06:35:14 +00:00
Travis Kemen
64a8d6c405 fix typo, proto should be protocol
SVN-Revision: 12318
2008-08-16 06:33:22 +00:00
John Crispin
7681547293 trigger error if dport is used when no proto is defined
SVN-Revision: 12317
2008-08-15 20:18:13 +00:00
Travis Kemen
e7c9479ae4 fix symlinks when installing opkg into a image
SVN-Revision: 12316
2008-08-15 04:13:21 +00:00
Florian Fainelli
38d1cb8cbd Fix negative calculation of the tmpfs for devices with few RAM (#3557)
SVN-Revision: 12315
2008-08-14 22:21:35 +00:00
John Crispin
3403cbe948 remove /etc/functions.sh call from led hotplug script
SVN-Revision: 12312
2008-08-14 19:07:22 +00:00
Nicolas Thill
58fb9f67ec move qc-usb from trunk to packages as well (see [12260])
SVN-Revision: 12304
2008-08-14 10:53:12 +00:00
Florian Fainelli
68bdb68247 Fix opkg compilation with ccache, thanks sn9
SVN-Revision: 12303
2008-08-13 21:12:26 +00:00
Florian Fainelli
2c6b679ceb Update b43 to work in AP mode
SVN-Revision: 12300
2008-08-13 19:37:40 +00:00
Florian Fainelli
1d05e688ab Allow mac80211 drivers to work in master mode
SVN-Revision: 12299
2008-08-13 19:35:29 +00:00
Florian Fainelli
2a888f2e23 Update hostapd to 0.6.4
SVN-Revision: 12298
2008-08-13 19:32:40 +00:00
Gabor Juhos
da77408537 i2c-gpio-custom: minor bugfix
SVN-Revision: 12297
2008-08-13 18:48:48 +00:00
Florian Fainelli
02780ec100 Fix putting mac80211 interfaces in monitor and managed modes
SVN-Revision: 12293
2008-08-13 14:06:16 +00:00
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
2008-08-13 13:30:27 +00:00
Florian Fainelli
8c8b85b54c Add generic wpa_supplicant calls and use them for mac80211 and madwifi.
SVN-Revision: 12289
2008-08-12 14:22:42 +00:00
John Crispin
c9f2df5cea fixes firewall makefile description
SVN-Revision: 12285
2008-08-11 22:28:52 +00:00
John Crispin
5627667654 uci firewall - make uci firewall default and remove old code - fix up dependencies
SVN-Revision: 12284
2008-08-11 22:27:36 +00:00
Florian Fainelli
4b5488ebfa Add 802.1x client configuration support and corresponding documentation (#2069)
SVN-Revision: 12283
2008-08-11 21:38:50 +00:00
John Crispin
43e28bf153 uci_firewall - fixes hotplug.d script
SVN-Revision: 12282
2008-08-11 20:51:51 +00:00
John Crispin
0f5cbca010 uci firewall - remove implicit creation of zones, based on network interfaces
SVN-Revision: 12281
2008-08-11 20:46:17 +00:00
Felix Fietkau
5745e536d4 madwifi: napi polling fix - fix u_int negative comparison - add some reserve for polling packets (ff has two frames in one descriptor)
SVN-Revision: 12280
2008-08-11 14:36:50 +00:00
Felix Fietkau
2e46841afd switch the br2684 default to routed mode instead of bridged mode, as it's more common
SVN-Revision: 12277
2008-08-11 13:02:44 +00:00
Felix Fietkau
0778290e26 add missing dependency
SVN-Revision: 12270
2008-08-10 15:49:52 +00:00
Felix Fietkau
166de52b8f fix kmod-ide-core packaging for 2.6.26+
SVN-Revision: 12269
2008-08-10 14:37:23 +00:00
Felix Fietkau
b1683b748d add missing kconfig symbol for generic ide
SVN-Revision: 12268
2008-08-10 14:37:18 +00:00
Felix Fietkau
26aa731dc1 fix aes on x86 (thx, Acinonyx)
SVN-Revision: 12267
2008-08-10 12:06:23 +00:00
Felix Fietkau
91a01e4106 move some webcam/sound related stuff from trunk to packages
SVN-Revision: 12260
2008-08-09 20:36:05 +00:00
Florian Fainelli
d7c8f38007 Make sure we will have lower case MAC addresses when doing WDS
SVN-Revision: 12259
2008-08-09 10:00:49 +00:00
Florian Fainelli
a53aa71c83 Do not run telnet if either dropbear or openssh server are running (#3839)
SVN-Revision: 12258
2008-08-09 09:50:12 +00:00
Florian Fainelli
22aa7c6406 Support encrypted WDS connections (#2463)
SVN-Revision: 12251
2008-08-09 00:18:25 +00:00
Felix Fietkau
753e5b492d add support for appending a file to jffs2 during reflash on the fly
SVN-Revision: 12250
2008-08-08 22:43:19 +00:00
Florian Fainelli
e71cdf8127 package iproute2 has problems building on recent BSD-derived platforms because some programs to be run on the host use malloc.h in an incompatible way.
package/iproute2/patches/004-darwin_fixes.patch has a fix for Darwin,
however the fix can be made to work on other BSD platforms
by changing the patch as below.

I think a similar approach should work for other BSD-derived platforms,
replacing the
	#ifndef __APPLE__
with
	#if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(...)

or perhaps even with just

	#ifdef __linux__

if the set of platforms where malloc.h is ok is small or restricted
to just linux

In any case, the patch is below. (#3869)
Signed-off-by: Luigi Rizzo <rizzo@iet.unipi.it>

SVN-Revision: 12249
2008-08-08 21:49:17 +00:00
Felix Fietkau
c05eb4ba63 add basic interface alias support. for now (since we don't use ip in our network scripts yet), it adds :1, :2, ... alias interfaces this will change when we add support for the ip utility, but the config format will remain the same. example:
config alias     test
option interface lan
option ipaddr    192.168.1.1
option netmask   255.255.0.0

SVN-Revision: 12241
2008-08-07 15:28:48 +00:00