Commit graph

4605 commits

Author SHA1 Message Date
Jo-Philipp Wich
84b7b812f3 base-files: cached state vars after scan_interfaces might be out of sync when binding dhcp leases, this could lead to an unconfigured wan interface in certain circumstances. Replace config_get calls with uci_get_state
SVN-Revision: 23091
2010-09-19 15:04:08 +00:00
Jo-Philipp Wich
b07620df31 firewall: protect iptables invocations with locks in interface ops, it might run concurrently due to hotplug invocations on network restart
SVN-Revision: 23090
2010-09-19 15:01:47 +00:00
Jo-Philipp Wich
a5d0879de7 ppp: use service_kill()
SVN-Revision: 23088
2010-09-19 14:09:27 +00:00
Jo-Philipp Wich
4815de3f26 base-files: introduce service_kill() into functions.sh - a convenience wrapper for killing services by pid or pidfile with a grace period for termination before kill
SVN-Revision: 23087
2010-09-19 14:03:32 +00:00
Florian Fainelli
8e9736675f Fix missing dependency in solos-pci module
Modinfo for solos-pci tells us that it has a dependency on "atm", but this isn't
 captured in the Makefile.

Signed-off-by: Philip A. Prindeville <philipp_subx@redfish-solutions.com>

SVN-Revision: 23086
2010-09-19 11:18:00 +00:00
Alexandros C. Couloumbis
aea8213bdd package/zlib: fix Darwin compile failure (closes #7963)
SVN-Revision: 23085
2010-09-19 05:33:18 +00:00
Jo-Philipp Wich
f90328f26e firewall: make invalid redirects and duplicate zones non-fatal, print a notice and discard them
SVN-Revision: 23080
2010-09-16 11:47:35 +00:00
Felix Fietkau
4df10391ba rt2800pci: add back ifdown hang workaround that was accidentally dropped during a compat-wireless update
SVN-Revision: 23078
2010-09-16 11:38:27 +00:00
Felix Fietkau
8cd8f6029c hostapd: fix non-multicall wpa_supplicant compile
SVN-Revision: 23073
2010-09-15 17:51:06 +00:00
Jo-Philipp Wich
1e227c0225 Support for Solos PCI ADSL2+ modem This driver is used by Traverse Technologies' Geos ADSL2+ x86 router:
http://www.traverse.com.au/productview.php?product_id=117

Signed-off-by: Nathan Williams <nathan@traverse.com.au>

SVN-Revision: 23070
2010-09-15 03:52:13 +00:00
Jo-Philipp Wich
fe247d02bd Support for RTL-8139C+ ethernet adapters Signed-off-by: Nathan Williams <nathan@traverse.com.au>
SVN-Revision: 23068
2010-09-15 03:48:20 +00:00
Felix Fietkau
7fb3870671 hostapd: fix wpa_supplicant crash issues in WDS STA mode
SVN-Revision: 23067
2010-09-15 03:14:48 +00:00
Jo-Philipp Wich
7557011cb1 firewall: run ifdown hotplug events synchronized, fixes a racecondition on "ifup iface" when ifdown and ifup events are delivered with a small dealy
SVN-Revision: 23064
2010-09-15 01:53:36 +00:00
Jo-Philipp Wich
1fe50da4bb firewall: deliver remove hotplug events for all active zones/networks when restarting the firewall
SVN-Revision: 23062
2010-09-14 23:11:12 +00:00
Felix Fietkau
fc7fbe8349 mac80211: upgrade to wireless-testing 2010-09-14, replace the external carl9170 with the recently merged upstream version
SVN-Revision: 23061
2010-09-14 22:53:54 +00:00
Felix Fietkau
9c2cfd7a1b mac80211: add a pending fix for a locking error in the aggregation reorder release code
SVN-Revision: 23060
2010-09-14 21:13:01 +00:00
Felix Fietkau
2c848d33a9 ath9k: fix multi-bss operation (fixes #7914)
SVN-Revision: 23059
2010-09-14 16:26:46 +00:00
Alexandros C. Couloumbis
c1c4e40dff package/opkg: add missing patch from r23050
SVN-Revision: 23052
2010-09-13 08:57:16 +00:00
Alexandros C. Couloumbis
bf29f6455f package/opkg: update to r563
SVN-Revision: 23050
2010-09-13 08:13:36 +00:00
Alexandros C. Couloumbis
c415d7529b package/zlib: update to zlib-1.2.5
SVN-Revision: 23049
2010-09-13 07:45:25 +00:00
Jo-Philipp Wich
06dd991494 broadcom-diag: SimpleShare: expose power button as reset to the system, remove actual reset button - it's hardwired and will reset the SoC (#7928)
SVN-Revision: 23043
2010-09-13 01:35:39 +00:00
Jo-Philipp Wich
9bb6f3b5f3 opkg: - implement --add-dest and --add-arch commandline options, this allows to run entirely without configuration - tweak default config location patch to not require a config in offline root mode - rename --force-run-hooks option to --force-postinstall, its a more appropriate name - utilize new opkg commandline options in package-ipkg.mk and remove config file generation
SVN-Revision: 23032
2010-09-12 21:16:02 +00:00
Michael Büsch
78539bfa4f Fix compilation of crypto modules. This fixes #7920
SVN-Revision: 23028
2010-09-12 15:31:00 +00:00
Michael Büsch
0c4abfba31 iproute2: Add lex/yacc files dependencies. Refresh other patches.
SVN-Revision: 23027
2010-09-12 11:05:55 +00:00
Michael Büsch
393c83514b Fix kernel crypto modules for >= 2.6.36
SVN-Revision: 23026
2010-09-11 21:42:37 +00:00
Jo-Philipp Wich
f3dd8278bb firewall: - simplify masquerade rule setup - remove various subshell invocations - speedup fw() by not relying on xargs and pipes - rework SNAT support - attach to dest zone, use src_dip/src_dport as snat source
SVN-Revision: 23024
2010-09-11 20:04:34 +00:00
Jo-Philipp Wich
9499018b9a 6in4: don't use abbreviated notation for 0.0.0.0/0, iproute apparently does not like it anymore
SVN-Revision: 23022
2010-09-11 18:58:17 +00:00
Florian Fainelli
a1264431fe nvvram: no checksum error recording on WRT54G3GV2(-VF)
The CFE of the WRT54G3GV2 expects two firmware images, if one of them
produces a CRC error (which is the case after you installed OpenWrt, as
there is no second image), it writes one of three consecutive bytes to
the flash. (Look for "Image Status : IMG2_BAD" during boot.)

After the third boot with a CRC error, it stops and waits for a new
firmware image. To prevent this 'noset_try_flag' must be set to 1 on boot.

Tested with my own box.

Signed-off-by: Niclas Koeser <nks at informatik.uni-kiel.de>

SVN-Revision: 23007
2010-09-11 18:37:09 +00:00
Florian Fainelli
5a9976011e update acx-mac80211 to 20100830
SVN-Revision: 23002
2010-09-11 08:11:28 +00:00
Florian Fainelli
7daf012a27 fix acx-mac80211 build failure with latest compat-wireless
SVN-Revision: 23001
2010-09-11 08:11:22 +00:00
Michael Büsch
83cb9b7a07 iproute2: Once the make calls were fixed up, parallel compile seems to work well.
SVN-Revision: 22992
2010-09-09 21:50:07 +00:00
Jo-Philipp Wich
70dff7070e uhttpd: break tight loop when receiving eof during header reading (#7904)
SVN-Revision: 22988
2010-09-09 20:15:02 +00:00
Michael Büsch
7a54becd63 iproute2: Fix compilation
SVN-Revision: 22987
2010-09-09 00:40:25 +00:00
Jo-Philipp Wich
5af8eb0f36 util-linux-ng: make build depend on libncurses, cfdisk is compiled unconditionally and will fail with missing input files if ncurses was not detected during configure
SVN-Revision: 22982
2010-09-08 06:35:23 +00:00
Jo-Philipp Wich
91118a9500 base-files: add an experimental "-c" flag which tries to preserve *all* changed files in /overlay/etc minus some system files
SVN-Revision: 22977
2010-09-07 22:20:26 +00:00
Michael Büsch
7b30b70e11 From: Joseph Roback <openwrt-devel@roback.cc>
26 Makefile patches for enabling parallel builds. Tested on Linux (8-core) and Darwin (12-core), individually and from clean build_root. The first set is from trunk, the second is from feeds/packages.

Signed-off-by: Joe Roback <joe@roback.cc>

SVN-Revision: 22965
2010-09-07 10:00:34 +00:00
Jo-Philipp Wich
b1edd2ac6e opkg: add --force-run-hooks option to run postinstall scripts in offline root mode, utilize it for host package install
SVN-Revision: 22960
2010-09-06 19:58:05 +00:00
John Crispin
72d4242263 extracted firmware files were generated with an incorrect umask
SVN-Revision: 22957
2010-09-06 16:34:45 +00:00
Alexandros C. Couloumbis
e9996f7cdc package/kernel: update crypto.mk for kernel 2.6.36
SVN-Revision: 22954
2010-09-06 11:41:09 +00:00
Alexandros C. Couloumbis
5510149e78 package/busybox: update to busybox-1.7.2, include upstream patches, refresh patches
SVN-Revision: 22953
2010-09-06 07:22:26 +00:00
Jo-Philipp Wich
5949f33b06 base-files: make build dependant on opkg/host
SVN-Revision: 22948
2010-09-06 02:13:19 +00:00
Jo-Philipp Wich
a836869b69 opkg: reintroduce host build, utilize fixed HOST_BUILD_DEPENDS and depend libtool/host
SVN-Revision: 22947
2010-09-06 02:12:14 +00:00
Jo-Philipp Wich
8315505605 kernel: virtio modules depend on x86_kvm_guest Make the VirtIO modules depend on the new x86_kvm_guest subtarget.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 22945
2010-09-05 23:19:24 +00:00
Jo-Philipp Wich
75ffc6d367 kernel: add VirtIO device support Add support for VirtIO-based paravirtualized devices used by various virtualization platforms.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 22943
2010-09-05 23:16:24 +00:00
Jo-Philipp Wich
1553660de2 kernel: move xen.mk to virtual.mk Move Xen kernel modules into a general virtualization category. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 22942
2010-09-05 23:15:43 +00:00
Jo-Philipp Wich
5ab58aa39c firewall: - fix possible endless loop when the family option is used for forwardings - only generate forwarding rules in SNAT redirect sections if src_dip is specified
SVN-Revision: 22938
2010-09-05 20:17:23 +00:00
Jo-Philipp Wich
eb79296cc1 firewall: introduce SNAT support for redirect sections
SVN-Revision: 22937
2010-09-05 19:03:17 +00:00
Michael Büsch
1c74711ec1 Fix musb-hdrc module loading
SVN-Revision: 22928
2010-09-05 00:10:30 +00:00
Jo-Philipp Wich
a2aa84c1c7 b43: Module option added to change the GPIO LED mask. This patch exposes the GPIO mask as a module option. This makes it possible to limit the GPIO lines used by the b43 module. Useful for those using the GPIO lines for other things like mmc over GPIO.
It is helpful to those not able / interested in recompiling OpenWRT themselves.
The default action is the same as before, that is 0xf gpiomask.

Signed-off-by: Simon Gaynor <openwrt@simong.net>

SVN-Revision: 22927
2010-09-04 23:46:39 +00:00
Michael Büsch
89f806fe5f p54spi: Compile in the default eeprom image
SVN-Revision: 22926
2010-09-04 23:42:19 +00:00
Florian Fainelli
8e089c375d fix fuse dependency against kmod-fuse
SVN-Revision: 22919
2010-09-04 19:12:22 +00:00
Florian Fainelli
573f15826d kmod-sctp: Add SCTP kernel support
This adds a new kmod-sctp option that enables support of SCTP in 2.6x
kernels.
The patch also contains a small cleanup in the dependencies.

Signed-off-by: Sebastien Decugis <sdecugis@nict.go.jp>

SVN-Revision: 22917
2010-09-04 18:06:49 +00:00
Florian Fainelli
54f4be5bd6 add dm-crypt and fix tabs
Signed-off-by: Jan Willies <jan@willies.info>

SVN-Revision: 22916
2010-09-04 18:06:32 +00:00
Florian Fainelli
5bd1c17fd1 add XTS cipher CryptoAPI module
needed for proper dm-crypt support

Signed-off-by: Jan Willies <jan@willies.info>

SVN-Revision: 22915
2010-09-04 18:06:24 +00:00
Jo-Philipp Wich
f4ee14e1c3 firewall: add option to disable NAT reflection
SVN-Revision: 22908
2010-09-04 17:49:14 +00:00
Jo-Philipp Wich
baf4782be6 firewall: clean up description (#7875)
SVN-Revision: 22905
2010-09-04 17:39:00 +00:00
Alexandros C. Couloumbis
a72d6ab714 package/apex: update apex to version 1.6.9
SVN-Revision: 22900
2010-09-04 17:02:18 +00:00
Jo-Philipp Wich
f1303bd074 6in4: fix logic fail in previous commit
SVN-Revision: 22897
2010-09-04 16:12:40 +00:00
Jo-Philipp Wich
52dcaeb65d 6in4: replace sed match with variable substitution, change pattern from a-z to a-f (hex only)
SVN-Revision: 22893
2010-09-04 16:09:49 +00:00
Florian Fainelli
6edf2c577b add kmod-usb-serial-ipw module
This patch adds support to compile kmod-usb-serial-ipw module. It is
used by USB IPWireless communication devices used for 3G.

Signed-off-by: Lukas macura <macura@opf.slu.cz>

SVN-Revision: 22891
2010-09-04 16:03:26 +00:00
Florian Fainelli
4331584485 add cpu msr kernel module package
This adds a separate kernel package for x86 cpu msr support.
MSR module is needed e.g. when updating coreboot bios on alix boards.

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 22890
2010-09-04 16:03:20 +00:00
Florian Fainelli
f7538b6864 support pre-md5summed passwords in 6in4 scripts
The he.net ipv6 tunnels require that a user supply the md5sum of his password
when updating the ipv4 tunnel endpoint. the 6in4 package supports this well,
but requires that a user store his password in plaintext in uci. this patch
tries to detect whether the password in uci is already an md5sum
(32 characters containing only [a-z0-9]), so users can avoid storing plaintext
passwords.

Signed-off-by: Steven Brudenell <steven.brudenell@gmail.com>

SVN-Revision: 22889
2010-09-04 16:03:14 +00:00
Jo-Philipp Wich
ca5bf9e291 firewall: - handle NAT reflection in firewall hotplug, solves synchronizing issues on boot - introduce masq_src and masq_dest options to limit zone masq to specific ip ranges, supports multiple subnets and negation
SVN-Revision: 22888
2010-09-04 15:49:13 +00:00
Gabor Juhos
2a541325d3 package/mtd: write remaining data after adding file to the jffs2 partition
SVN-Revision: 22881
2010-09-03 18:14:32 +00:00
Alexandros C. Couloumbis
faa7df6ace package/iproute2: update iproute2 to version 2.6.35
SVN-Revision: 22879
2010-09-03 07:39:46 +00:00
Felix Fietkau
4dd1e1437b mac80211: another override
SVN-Revision: 22875
2010-09-02 20:10:50 +00:00
Felix Fietkau
72f1c12abd mac80211: add missing config override for ath9k
SVN-Revision: 22874
2010-09-02 20:02:50 +00:00
Felix Fietkau
ea70b60a07 ath9k: add a patch for dumping the eeprom contents via debugfs
SVN-Revision: 22870
2010-09-01 17:51:30 +00:00
Alexandros C. Couloumbis
8df0c8e390 generic: move iptables/netfilter kernel options from generic/config to package/kernel/modules/netfilter.mk
SVN-Revision: 22867
2010-09-01 13:14:05 +00:00
Felix Fietkau
003ec7d795 mac80211: replace 800-nuke_led_code.patch with something smaller. most of the #ifdef spaghetti that the old patch introduced was completely unnecessary
SVN-Revision: 22866
2010-08-31 23:34:27 +00:00
Felix Fietkau
2f014eb8e8 mac80211: update to wireless-testing 2010-08-31
SVN-Revision: 22865
2010-08-31 23:34:21 +00:00
Gabor Juhos
19654fd1c2 package/broadcom-diag: use broadcast_uevent
SVN-Revision: 22860
2010-08-31 20:06:32 +00:00
Gabor Juhos
a4aa4e3973 package/button-hotplug: use brodcast_uevent
SVN-Revision: 22859
2010-08-31 20:06:30 +00:00
Felix Fietkau
d23ca9f0f3 hostapd: backport a fix to check for STA STBC capabilities before setting them (fixes #7464)
SVN-Revision: 22854
2010-08-31 16:16:32 +00:00
Jo-Philipp Wich
ee4dd61b10 firewall: - fix processing of rules with an ip family option - append interface rules at the end of internal zone chains, simplifies injecting user or addon rules - support simple file logging (option log + option log_limit per zone)
SVN-Revision: 22847
2010-08-31 01:54:08 +00:00
Lars-Peter Clausen
85d4291984 Dockstar: Adjust rootfs size to that of the original fw
SVN-Revision: 22839
2010-08-29 21:29:23 +00:00
Alexandros C. Couloumbis
00e17f0ba4 package/madwifi: enable mtu & mac config options for > 2.6.29 kernels
SVN-Revision: 22835
2010-08-29 18:42:11 +00:00
Felix Fietkau
1d6f21de61 ath9k: fix a WARN_ON when aggregation start is issued more than once, should improve stability with 802.11n
SVN-Revision: 22827
2010-08-28 17:59:03 +00:00
Felix Fietkau
c3bcd846e9 ath9k: add some extra checks to the mic failure fix
SVN-Revision: 22825
2010-08-28 16:23:45 +00:00
Jo-Philipp Wich
e874503f3f libreadline: install *.so symlinks as well (#4872)
SVN-Revision: 22824
2010-08-27 20:13:17 +00:00
Florian Fainelli
7ec50d1a2f add compile fixes for ar7-atm
SVN-Revision: 22811
2010-08-26 09:13:38 +00:00
Jo-Philipp Wich
865e34b607 ppp: populate gateway of default route with peer address (#6259)
SVN-Revision: 22806
2010-08-25 23:10:40 +00:00
Jo-Philipp Wich
93c38f2b86 uhttpd: fix segfault triggered by Basic Auth checking
SVN-Revision: 22805
2010-08-25 21:38:48 +00:00
Michael Büsch
7a8066735d Add usb gadget feature flag
SVN-Revision: 22798
2010-08-25 17:35:34 +00:00
Michael Büsch
5106eb903a p54: Fix powersave mode
SVN-Revision: 22797
2010-08-25 13:46:40 +00:00
Felix Fietkau
05cf68cf4c ath9k: fix spurious MIC failure detection, causing instability issues in AP mode
SVN-Revision: 22795
2010-08-25 12:30:50 +00:00
Michael Büsch
3b6d2366bd Add usb gadget packages
SVN-Revision: 22785
2010-08-24 15:15:23 +00:00
Michael Büsch
e54b810ace tahvo-usb: Use platform device interface properly (don't crash)
SVN-Revision: 22780
2010-08-23 14:24:39 +00:00
Lars-Peter Clausen
2233a27d43 Add uboot for marvell kirkwood based boards
SVN-Revision: 22764
2010-08-22 16:48:28 +00:00
Michael Büsch
4df18c296e mac80211: Fix incorrect ifdef placement in 800-nuke_led_code.patch
SVN-Revision: 22749
2010-08-21 16:25:08 +00:00
Felix Fietkau
0f64b1d870 kernel: speed up building kernel packages by getting rid of unnecessary CompareKernelPatchVer calls
SVN-Revision: 22724
2010-08-19 12:49:56 +00:00
Felix Fietkau
62c1740676 toolchain: fix the sysroot mess by getting rid of $(TOOLCHAIN_DIR)/usr and moving it back to $(TOOLCHAIN_DIR), this change makes the toolchain relocatable again, which should fix the SDK
SVN-Revision: 22723
2010-08-19 12:49:51 +00:00
Felix Fietkau
63c6fc88b4 pwm-gpio-custom: fix compile on linux 2.6.31
SVN-Revision: 22721
2010-08-19 12:49:42 +00:00
Felix Fietkau
48c7c56dcb kernel: add a missing config symbol for ext4
SVN-Revision: 22717
2010-08-19 12:49:19 +00:00
Michael Büsch
7c97bbabe7 Add Tahvo USB support
SVN-Revision: 22712
2010-08-19 11:22:15 +00:00
Jo-Philipp Wich
75bbf1bf20 6in4: fix typo in last commit
SVN-Revision: 22710
2010-08-19 01:06:10 +00:00
Jo-Philipp Wich
73c9032e87 6in4: bypass uci state when reading local IPv4 addr, specify TTL during tunnel creation (#7769)
SVN-Revision: 22708
2010-08-19 00:59:05 +00:00
Jo-Philipp Wich
cbdeb30a1b uhttpd: - fix parsing of interpreter entries in the config file, fixes serving of static files as .cgi with X-Wrt - better cope with connection aborts, especially during header transfer - fix return value checking of TLS reads and writes, solves some blocking issues
SVN-Revision: 22692
2010-08-18 00:04:52 +00:00
Felix Fietkau
1d1b83fa4c ath9k: remove an unnecessary BUG_ON in the aggregation code and clean up block ack window tracking to use less memory
SVN-Revision: 22688
2010-08-17 13:24:33 +00:00
Jo-Philipp Wich
84034cf06a iptables: partly revert r22582, fixes ip6tables extension packaging
SVN-Revision: 22686
2010-08-17 09:02:22 +00:00