Commit graph

5901 commits

Author SHA1 Message Date
Jo-Philipp Wich
c7ac1b5b0c firewall: do not produce 0.0.0.0/0 if a symbolic masq_src or masq_dest is given but does not resolve to an ip
SVN-Revision: 28628
2011-10-27 18:14:55 +00:00
Jo-Philipp Wich
52e93e54bc base-files: sysupgrade: kill all but essential processes before starting the update
SVN-Revision: 28626
2011-10-27 16:52:31 +00:00
Jo-Philipp Wich
825658977f Add QoS firewall stop script generation
To prevent code duplication for clearing QoS firewall rules, support
"firewall stop" arguments to generate.sh to generate the necessary
script commands.  Make use of this from qos-stop.

Signed-off-by: Kevin Locke <klocke@digitalenginesoftware.com>

SVN-Revision: 28623
2011-10-27 12:39:19 +00:00
Jo-Philipp Wich
3ffe66cbe0 Add qos_* iptables chain namespace for QoS
Prefix the names of the iptables chains used for QoS with "qos_" to
allow for identification of QoS chains for removal across configuration
changes.  When clearing QoS iptables chains, only remove chains with the
namespace prefix in order to preserve user and/or other package chains
in the mangle table.

Signed-off-by: Kevin Locke <klocke@digitalenginesoftware.com>

SVN-Revision: 28622
2011-10-27 12:39:16 +00:00
Felix Fietkau
18368debf1 libubox: update to latest version, fixes issues with using the library from C++ code
SVN-Revision: 28619
2011-10-27 08:21:00 +00:00
Gabor Juhos
4cc48089c7 base-files/sysupgrade: add more busybox applet symlinks to ramdisk
Adds symlinks for printf and wc to make life happier in the sysupgrade ramdisk.
Also make code more readable by escaping that overly long line.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 28616
2011-10-27 07:54:49 +00:00
Jo-Philipp Wich
219d772ce8 busybox: disable rdate, enable ntpd by default
SVN-Revision: 28613
2011-10-27 00:23:16 +00:00
Jo-Philipp Wich
272d95f0f1 base-files: remove rdate integration, add busybox ntpd init script and server list in /etc/config/system The rdate applet proved to be too unreliable to obtain the current time on boot: - public time servers are rare and often unreachable or overloaded - rdate does not daemonize, it needs a network connection the moment it is started, leading to race conditions - the /etc/config/timeserver configuration is overly complex and there is no reliable way to disable rdate invocations - the time protocol as specified in RFC 868 is considered obsolete This commit adds an init script /etc/init.d/sysntpd which starts and stops the busybox ntpd accordingly. The builtin ntpd can be disabled by either disabling the init script, removing the symlink to busybox or by clearing the timeserver list in /etc/config/system.
SVN-Revision: 28612
2011-10-27 00:21:53 +00:00
Felix Fietkau
803c7edcb3 netifd: if core dump support is enabled, use it. also add some delay after start to avoid race conditions with other init scripts
SVN-Revision: 28611
2011-10-26 18:30:55 +00:00
Felix Fietkau
883272696f netifd: update to the latest version, contains small fixes for interface reloading and adds support for dependency handling of stacked devices like dsa
SVN-Revision: 28610
2011-10-26 18:30:49 +00:00
Jonas Gorski
1c251e09ba package: mac80211: remove uses of $(LINUX_KMOD_SUFFIX)
SVN-Revision: 28601
2011-10-26 13:01:15 +00:00
Jonas Gorski
dccc9a6c2e package: kernel: remove last use of $(LINUX_KMOD_SUFFIX)
SVN-Revision: 28600
2011-10-26 13:01:11 +00:00
Nicolas Thill
1663fb6425 package/kernel: remove remaining uses of $(LINUX_KMOD_SUFFIX)
SVN-Revision: 28598
2011-10-26 11:33:59 +00:00
Nicolas Thill
772a22ccb1 package/zlib: include zlib.pc (pkconfig)
Compiling zlib produces zlib.pc (pkgconfig), but it is not currently
installed in staging_dir/usr/lib/pkgconfig. If it was included other
packages depending on zlib could easier be compiled.

Signed-off-by: Espen Jürgensen <espenjurgensen@gmail.com>

SVN-Revision: 28591
2011-10-25 21:10:37 +00:00
Felix Fietkau
5fa4348a70 busybox: fix a compile error on mac os x
SVN-Revision: 28578
2011-10-25 13:03:18 +00:00
Jo-Philipp Wich
2f5cb96222 mac80211: allow building ath9k_htc without PCI support, based on patch by Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 28573
2011-10-25 11:25:51 +00:00
Gabor Juhos
61441fe2de package/u-boot-envtools: update to version 2011.06.
This updates uboot-envtools to the version which comes with U-Boot 2011.06.
The important novelity is that fw_setenv now supports batch processing, which
greatly improves sysupgrade of the ALL0258N as otherwise we would have to
overwrite uboot-env up to 8x in a single firmware upgrade.
Unfortunately, no newer version of the sources is available from Debian, so we
got to take it from the u-boot source which is kinda ugly...

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 28566
2011-10-24 21:49:24 +00:00
Nicolas Thill
8f7d6c66e1 package/ipset: move out to packages/net/
SVN-Revision: 28561
2011-10-24 21:35:02 +00:00
Nicolas Thill
98c5037127 package/perf: move out to packages/devel/
SVN-Revision: 28560
2011-10-24 21:33:35 +00:00
Felix Fietkau
51370f3b28 netifd: update to latest version, fixes a crash on dhcp renew
SVN-Revision: 28557
2011-10-24 18:52:24 +00:00
Jo-Philipp Wich
9f419bc308 relayd: update to git head 4e8f1fa4ca2b176500362843a9e57ea5abd4b7a3
SVN-Revision: 28554
2011-10-24 17:05:00 +00:00
Nicolas Thill
d3a428d406 package/busybox: make PAM support depend on DEVEL (closes: #8002 & #8743)
SVN-Revision: 28549
2011-10-24 08:18:33 +00:00
Nicolas Thill
dba02bbacc package/busybox: revert config defaults inadvertently changed in [28513] (thanks to Liu Yu Fei, Eric), bump release number
SVN-Revision: 28547
2011-10-24 07:39:53 +00:00
Felix Fietkau
cc384ef7b4 netifd: update to latest version, fixes interface hotplugging issues
SVN-Revision: 28546
2011-10-23 17:22:19 +00:00
Felix Fietkau
01f9388cde netifd: add two simple scripts for querying interface/device status
SVN-Revision: 28545
2011-10-23 17:22:14 +00:00
Felix Fietkau
4112fbaafb netifd: reload the network config on ifup -a
SVN-Revision: 28544
2011-10-23 17:22:01 +00:00
Jo-Philipp Wich
204bf6e5fe firewall: prevent ip6tables -t nat rules (#10265)
SVN-Revision: 28535
2011-10-23 12:25:57 +00:00
Jo-Philipp Wich
69df551be3 firewall: fix another instance of unquoted "*"
SVN-Revision: 28529
2011-10-22 21:38:10 +00:00
Jo-Philipp Wich
9a61d9e513 firewall: fix possible expansion of "*" when rules with "option src *" are processed
SVN-Revision: 28527
2011-10-22 20:11:25 +00:00
Jo-Philipp Wich
e0e73928da firewall: do not check for module availability, let iptables fail if a feature is not present (#7610)
SVN-Revision: 28525
2011-10-22 19:50:35 +00:00
Nicolas Thill
1651774ed5 wrt55agv2-spidevs: fix build with recent kernel
SVN-Revision: 28516
2011-10-22 10:40:45 +00:00
Nicolas Thill
ca8712bdbd kernel: add dependency on kmod-crypto-authenc to kmod-ipsec (closes: #7431)
SVN-Revision: 28515
2011-10-22 10:19:27 +00:00
Felix Fietkau
fde2b227b8 netifd: add a dependency on jshn
SVN-Revision: 28514
2011-10-22 01:51:55 +00:00
Nicolas Thill
d10b4495bc busybox: update to 1.19.2 (thanks to Peter Wagner)
SVN-Revision: 28513
2011-10-21 23:08:45 +00:00
Felix Fietkau
3fadea0d6f uci: fix segfault on import of anonymous sections (#10204)
SVN-Revision: 28507
2011-10-21 20:50:23 +00:00
Felix Fietkau
f11ae11093 uci: update to latest version (includes several bugfixes)
SVN-Revision: 28504
2011-10-21 13:20:48 +00:00
Felix Fietkau
ee61d7007a netifd: add missing dependencies on libuci and libnl-tiny
SVN-Revision: 28501
2011-10-21 12:42:57 +00:00
Felix Fietkau
55aeabae10 add an initial (experimental) version of netifd, disabled by default
SVN-Revision: 28499
2011-10-21 01:47:49 +00:00
Felix Fietkau
2ccd191b76 pppd: fix the exit code in case of authentication failure or other errors
SVN-Revision: 28498
2011-10-21 01:34:12 +00:00
Felix Fietkau
d1c05d734b pppd: add a patch for overriding the path to /etc/ppp/ipv6-{up,down}
SVN-Revision: 28497
2011-10-20 21:42:07 +00:00
Felix Fietkau
0798d4a5c7 ubusd: add an init script
SVN-Revision: 28496
2011-10-20 15:01:12 +00:00
Felix Fietkau
c2b5767572 base-files: move network related scripts to a separate package to make the transition to netifd easier
SVN-Revision: 28495
2011-10-20 15:01:06 +00:00
Travis Kemen
fce8379940 add cname section
SVN-Revision: 28493
2011-10-20 12:12:26 +00:00
Jo-Philipp Wich
b656b87d13 6in4: sync with HE.net endpoint update changes
SVN-Revision: 28475
2011-10-17 12:45:07 +00:00
Jo-Philipp Wich
ba0c7accd9 opkg: fix a double free of pkg vectors when recursively removing packages due to --autoremove
SVN-Revision: 28458
2011-10-15 01:05:25 +00:00
Hamish Guthrie
2c92acb699 udev: Provide define to enable compilation with kernel 2.6.32.33 headers
SVN-Revision: 28453
2011-10-14 11:42:40 +00:00
Jo-Philipp Wich
56c2b1f382 mac80211: autoload ath9k_htc after USB controller drivers
SVN-Revision: 28442
2011-10-13 14:29:06 +00:00
Hauke Mehrtens
b27c184b07 mac80211: fix some dependencies and make lib80211 compile without cfg80211 selected
* libertas: does not depend on mac80211 but on cfg80211 and it uses wext
* libipw: also uses wext
* net-hermes: it is enough if the main package net-hermes depends on cfg80211
* Now it is possible to build it without cfg80211 at all

SVN-Revision: 28437
2011-10-13 12:13:25 +00:00
Hauke Mehrtens
4867f34759 mac80211: use new version of carl80211 firmware
This firmware is compatible with the driver version in use.

SVN-Revision: 28436
2011-10-13 12:02:35 +00:00
Hauke Mehrtens
02c3f6c002 mac80211: use correct firmware for ath9k_htc
The old firmware for ath9k_htc was not compatible with the driver since april.
Also update to a new version of linux-firmware to get the newest version of these firmware files.

Thank you Helmut Schaa for reporting this.

SVN-Revision: 28433
2011-10-13 11:34:28 +00:00
Jo-Philipp Wich
59c13202e0 base-files: introduce "igmp_snooping" option to toggle IGMP snooping on bridge interfaces
SVN-Revision: 28412
2011-10-11 13:43:08 +00:00
John Crispin
261389b709 * add support for ar9
* add support for ase

(vr9 support is still a todo)

SVN-Revision: 28406
2011-10-10 15:14:17 +00:00
Felix Fietkau
1359fe4fcf ubus: update to latest version, includes a small bugfix for object call replies
SVN-Revision: 28404
2011-10-10 15:05:31 +00:00
Florian Fainelli
dc8f762e13 kernel: fix i2c section after r28334
SVN-Revision: 28399
2011-10-10 09:23:56 +00:00
Felix Fietkau
58151667a8 update libubox and ubus to the latest version
SVN-Revision: 28393
2011-10-09 16:01:49 +00:00
Felix Fietkau
adfeb00e5a mac80211: update to wireless-testing 2011-10-05 + pending patches
SVN-Revision: 28392
2011-10-09 15:48:03 +00:00
Nicolas Thill
e80e75321f package/gdb: disable expat properly, remove conditional dependency on libexpat, bump release number
SVN-Revision: 28390
2011-10-09 14:11:33 +00:00
Felix Fietkau
2e94be02a8 mac80211: set the country code early to allow crda to settle
SVN-Revision: 28387
2011-10-08 17:34:56 +00:00
Felix Fietkau
d317a227e1 mac80211: remove a WARN_ON that causes compile errors on 2.6.32
SVN-Revision: 28386
2011-10-08 15:20:34 +00:00
Felix Fietkau
b486d768d1 iw: update to v3.1, add support for per-chain signal strength info
SVN-Revision: 28385
2011-10-08 14:48:29 +00:00
Felix Fietkau
91af0d5b25 ath9k: add support for per-chain signal strength info
SVN-Revision: 28384
2011-10-08 14:48:23 +00:00
Felix Fietkau
fc4a676270 ath9k: extend the phy error disable patch
SVN-Revision: 28383
2011-10-08 13:41:04 +00:00
Felix Fietkau
a9d6a59cff ath9k: disable phy error reporting on the rx queue to improve stability under noisy conditions
SVN-Revision: 28379
2011-10-07 19:00:02 +00:00
Florian Fainelli
a3284cb0e1 iproute2: update to 2.6.39
Signed-off-by: Daniel Mierswa <impulze@impulze.org>

SVN-Revision: 28378
2011-10-07 16:03:12 +00:00
Jo-Philipp Wich
5e5416a128 ppp: move the rp_pppoe_* options behind the plugin argument
SVN-Revision: 28368
2011-10-04 23:41:12 +00:00
Jo-Philipp Wich
64f4a89e7c ppp: implement pppoe specific uci options "ac" and "service" which map to "rp_pppoe_ac" and "rp_pppoe_service"
SVN-Revision: 28366
2011-10-04 23:37:53 +00:00
Jo-Philipp Wich
5659ec6918 ppp: add workaround for ignored rp_pppoe_ac and rp_pppoe_service options by appending the nic-xxx argument last
SVN-Revision: 28364
2011-10-04 23:10:36 +00:00
Jonas Gorski
936320f1f9 swconfig: fix vlan/port configs being applied to all switches
Check devn instead of dev (which will never be null at this point).

SVN-Revision: 28362
2011-10-03 23:39:31 +00:00
Daniel Dickinson
c0a625ffbf Add patch for linux-3.0 as well.
Fix typo from previous submission with input-keys-polled.
Philip Prindeville - 2011-10-03 01:44:55

SVN-Revision: 28356
2011-10-03 03:09:20 +00:00
Daniel Dickinson
aaba775f36 The name gpio-cs5535 used to refer to the drivers/char/ module, but in 3.1 it refers to what had been drivers/gpio/cs5535-gpio in more recent kernels. Philip Prindeville - 2011-08-29 04:55:59
SVN-Revision: 28354
2011-10-03 03:04:11 +00:00
John Crispin
3233a7f4a2 package I2C_MUX_GPIO
this module was missing from [28334]

buildbots timed out as the symbol was not defined

SVN-Revision: 28352
2011-10-01 22:36:47 +00:00
Felix Fietkau
e477159e40 ath9k: add some more fixes to AP handling of buffered frames for powersave clients
SVN-Revision: 28344
2011-09-30 22:23:35 +00:00
Florian Fainelli
cfc370eea0 add kmod-hwmon-lm95241
This allows building the module for the national lm95241 i2c temperature sensor.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 28335
2011-09-30 12:55:30 +00:00
Florian Fainelli
d53022a424 add support for more i2c muxes
This patch should bring support for several kernel modules related to
I2C to openwrt, which are existing for several years now. Namely there
is the i2c-tiny-usb bus driver, to hook up an I2C bus on any device with
usb support (prevent voiding warranty when opening and soldering).
Second, there is support for the i2c-mux driver and pca954x as a I2C
switch driver.
Finally there is support for common I2C gpio expander driver modules
pca953x and pcf857x. They work without providing platform data recently
(can be instantiated at runtime).

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>

SVN-Revision: 28334
2011-09-30 12:55:26 +00:00
Florian Fainelli
ddf842d573 dnsmasq: update to 2.58
patch by Raphael Huck.

SVN-Revision: 28333
2011-09-30 12:55:23 +00:00
Vasilis Tsiligiannis
f3be1b4890 hostap-driver: introduce "disabled" option for wifi-iface section to shutdown single networks on a radio
SVN-Revision: 28318
2011-09-29 12:37:04 +00:00
Felix Fietkau
f8bfab96cb kernel: remove the x86 dependency from kmod-sky2 so that it can be used on other platforms as well
SVN-Revision: 28314
2011-09-28 22:05:32 +00:00
John Crispin
07986230f1 * fixes brnboot image generation
SVN-Revision: 28307
2011-09-26 09:00:11 +00:00
Jo-Philipp Wich
bfbbe5893f base-files: use "zonename" system option to symlink /etc/localtime via /tmp/localtime to /usr/share/zoneinfo for glibc and eglibc
SVN-Revision: 28306
2011-09-26 02:28:04 +00:00
Felix Fietkau
a66d423560 ath9k: fix some tx aggregation issues - reduces the number of tx dma stop failures
SVN-Revision: 28301
2011-09-25 18:34:54 +00:00
Felix Fietkau
f45bd67de0 ath9k: merge a pending fix for powersave
SVN-Revision: 28300
2011-09-25 18:34:38 +00:00
Jo-Philipp Wich
6addd50b9d mac80211: rework mac address generation for virtual interfaces; set locally administered bit on generated macs and change the last two bytes isntead of the first one
SVN-Revision: 28298
2011-09-25 14:14:37 +00:00
Felix Fietkau
4246c6a6b5 base-files: apply network interface settings such as macaddr, mtu and txqueuelen in prepare_interface instead of setup_interface. setting the mtu after the interface is up is unreliable on some drivers such as gianfar
SVN-Revision: 28297
2011-09-24 20:34:17 +00:00
Jo-Philipp Wich
41838f4585 base-files: make ip matching in dns add/remove functions more explicit, avoids overmatching pairs like 1.2.3.35 and 1.2.3.3
SVN-Revision: 28291
2011-09-23 08:35:50 +00:00
Jonas Gorski
896847d18c kernel: modules: usb.mk: fix a typo
Closes #10143.

SVN-Revision: 28290
2011-09-22 20:14:42 +00:00
Gabor Juhos
ffb56132e4 package/maccalc: don't expect to get all data in one read
Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>

SVN-Revision: 28266
2011-09-21 11:47:35 +00:00
Felix Fietkau
51a4dc1bb2 wpa_supplicant: increase the time between scans to reduce the number of hw resets
SVN-Revision: 28262
2011-09-20 14:45:38 +00:00
Felix Fietkau
6848e9c830 ath9k: fix antenna gain calculation
SVN-Revision: 28261
2011-09-20 10:42:45 +00:00
Felix Fietkau
ece2882ea4 ath9k: fix handling configured tx power limits
SVN-Revision: 28260
2011-09-19 17:36:41 +00:00
Felix Fietkau
f4954abe39 b43: merge ad-hoc beacon fix
SVN-Revision: 28258
2011-09-19 09:59:00 +00:00
Jo-Philipp Wich
32ae896d00 uhttpd: fix bad pointer use in previous commit
SVN-Revision: 28257
2011-09-18 23:34:25 +00:00
Jo-Philipp Wich
12bbe8b2af uhttpd: fix possible CGI header line parsing beyound the empty line, thanks Linus Luessing for spotting it
SVN-Revision: 28254
2011-09-18 22:30:20 +00:00
Felix Fietkau
b81588bd08 ath9k: add some cleanup patches and rework tx power handling
SVN-Revision: 28253
2011-09-17 16:02:56 +00:00
Felix Fietkau
eee78bbb0b ath9k: do not strip MMIC for key miss frames
SVN-Revision: 28252
2011-09-17 08:41:54 +00:00
Felix Fietkau
800251a7b7 mac80211: reduce tx queue length of wireless interfaces - improves latency under load
SVN-Revision: 28251
2011-09-17 08:34:42 +00:00
Felix Fietkau
0e9e83047d ath9k: fix a regression in handling of MAC key miss events (should improve connection stability)
SVN-Revision: 28250
2011-09-17 08:34:37 +00:00
Felix Fietkau
fca8f05757 ath9k: fix compile without debugfs (#10117)
SVN-Revision: 28249
2011-09-17 07:03:20 +00:00
Felix Fietkau
dbde8f805e mac80211/ath9k: fix excessive "Failed to stop TX DMA" logspam in client mode
SVN-Revision: 28247
2011-09-16 07:59:51 +00:00
Felix Fietkau
22be36418e mac80211: update to wireless-testing 2011-09-14
SVN-Revision: 28245
2011-09-15 17:55:16 +00:00
Vasilis Tsiligiannis
98372a8eb5 base-files: Fix IPv6 address and route adding on aliases with no IPv4 address configured
SVN-Revision: 28241
2011-09-14 13:37:44 +00:00