Commit graph

2113 commits

Author SHA1 Message Date
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
Florian Fainelli
9c8bb0241f Add 11gdt, 11adt, 11ast and fh modes (#3824)
SVN-Revision: 12240
2008-08-07 15:28:07 +00:00
Gabor Juhos
db4d23b457 add 2.6.26 specific files
SVN-Revision: 12239
2008-08-07 13:50:02 +00:00
Steven Barth
6b6d027172 added support for the timer-trigger to uci LED support
SVN-Revision: 12236
2008-08-07 11:01:46 +00:00
Mike Baker
1139608784 allow ctrl-c to trigger preinit
SVN-Revision: 12231
2008-08-07 07:17:03 +00:00
Felix Fietkau
e9ea28b0af use $(FPIC) in a few places where it matters
SVN-Revision: 12225
2008-08-06 22:10:29 +00:00
Florian Fainelli
ce8903f1ce kexec for powerpc actually only support ps3 or gamecube, not magicbox for instance
SVN-Revision: 12223
2008-08-06 20:20:02 +00:00
Gabor Juhos
6c0474b383 ebtables: useless without kmod-eptables
SVN-Revision: 12214
2008-08-06 15:28:49 +00:00
Felix Fietkau
4d795ca98f spca5xx-le does not work with linux 2.6.26+
SVN-Revision: 12194
2008-08-06 01:21:02 +00:00
Felix Fietkau
b4727d665e fix qc-usb compile on atheros
SVN-Revision: 12185
2008-08-05 23:20:42 +00:00
Felix Fietkau
dde1f5fb54 fix ov51x-jpeg compile
SVN-Revision: 12183
2008-08-05 22:56:34 +00:00
Felix Fietkau
0cc7199e71 install libshared into the staging dir (required by wrt-radauth)
SVN-Revision: 12181
2008-08-05 22:32:26 +00:00
Felix Fietkau
e0b43982fb fix nw802-2.4 compile
SVN-Revision: 12180
2008-08-05 22:31:32 +00:00
Felix Fietkau
7bb55d1b91 madwifi: fix crash on ad-hoc interface init
SVN-Revision: 12161
2008-08-05 20:53:39 +00:00
Felix Fietkau
c2cf1d04c9 mark mac80211 as broken on avr32
SVN-Revision: 12147
2008-08-05 18:02:34 +00:00
Florian Fainelli
d3dd2b6ae5 Fix ipkg compilation with ccache, thanks sn9
SVN-Revision: 12137
2008-08-05 14:04:23 +00:00
Florian Fainelli
1b0318158d Reinstate rdc bootability and force it to use init=/etc/preinit, thus the remove the hackish SetInitramfs actions
SVN-Revision: 12136
2008-08-05 13:42:36 +00:00
Gabor Juhos
3527e7a649 modules/gpio_dev: move to drivers/char/ on older kernels as well, and create a package for it
SVN-Revision: 12133
2008-08-05 09:52:23 +00:00
Felix Fietkau
cf8eecaad5 some more fixes for wds sta separation
SVN-Revision: 12127
2008-08-05 07:19:07 +00:00
Travis Kemen
56172a1eba update opkg to 4564, fixes a couple of memory leaks
SVN-Revision: 12115
2008-08-05 00:48:44 +00:00
John Crispin
dd3f4dd178 move json-c to packages feed
SVN-Revision: 12114
2008-08-05 00:34:30 +00:00
John Crispin
936f53e69c EOF for fonera-mp3 packages
SVN-Revision: 12113
2008-08-05 00:33:04 +00:00