Commit Graph

21623 Commits

Author SHA1 Message Date
Jo-Philipp Wich
d7c90211df [package] 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28612 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-27 00:21:53 +00:00
Felix Fietkau
794228a96c netifd: if core dump support is enabled, use it. also add some delay after start to avoid race conditions with other init scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28611 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-26 18:30:55 +00:00
Felix Fietkau
f43b8fa09d netifd: update to the latest version, contains small fixes for interface reloading and adds support for dependency handling of stacked devices like dsa
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-26 18:30:49 +00:00
Jo-Philipp Wich
80c2325031 [scripts] getver.sh: cope with varying "git log" line formats to reliably extract the git-svn rev (#10268)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-26 14:54:57 +00:00
Michael Büsch
93dc2abf47 Update my email address
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-26 14:54:26 +00:00
Gabor Juhos
84a6ce7180 firmware-utils/mktplinkfw: fix hardware id of the TL-WR740 v3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-26 13:34:48 +00:00
Jonas Gorski
e6d94ff464 package: mac80211: remove uses of $(LINUX_KMOD_SUFFIX)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28601 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-26 13:01:15 +00:00
Jonas Gorski
654e2c5945 package: kernel: remove last use of $(LINUX_KMOD_SUFFIX)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28600 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-26 13:01:11 +00:00
Felix Fietkau
4e80f252de x86: disable crashlog, ioremap of RAM does not work properly here
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-26 11:49:25 +00:00
Nicolas Thill
547d1e7086 package/kernel: remove remaining uses of $(LINUX_KMOD_SUFFIX)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-26 11:33:59 +00:00
Gabor Juhos
dbebe488f6 ar71xx: create image for the WNDR3800
This adds support for the Netgear WNDR3800, it is almost the same as
the WNDR3700v2. It just has more RAM so the hd_id had to be adjusted.

Signed-off-by: Petri Rosenström <petri.rosenstrom@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-26 06:12:47 +00:00
Nicolas Thill
a133a1a62b include/package-ipkg.mk: fix typo
Fix a typo that caused packaging of an empty ./lib/upgrade/keep.d
directory when the package supplied conffiles

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-26 00:49:07 +00:00
Nicolas Thill
a2f8409245 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28591 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-25 21:10:37 +00:00
Jo-Philipp Wich
163c5d5b6b target: remove CONFIG_IDE_PROC_FS support as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28586 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-25 16:40:06 +00:00
Jo-Philipp Wich
05b0a7b54d brcm47xx: revert accidentially added EARLY_PRINTK symbol from previous commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28585 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-25 16:19:52 +00:00
Jo-Philipp Wich
0a7950b452 target: globally disable BSD process accounting
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28584 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-25 16:18:36 +00:00
Felix Fietkau
e28adb381c busybox: fix a compile error on mac os x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28578 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-25 13:03:18 +00:00
Jo-Philipp Wich
62fe878cfc [package] mac80211: allow building ath9k_htc without PCI support, based on patch by Helmut Schaa <helmut.schaa@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-25 11:25:51 +00:00
Gabor Juhos
28f21bbb71 ramips: Support for NexAira BC2
The preconfiguration of the USB LED has benn move to the
/etc/uci-defaults/leds script. [juhosg]

Signed-off-by: Adam Porter <porter.adam at gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 21:49:36 +00:00
Gabor Juhos
d0e52cf25f ramips: fix switch-port assignment for HW550-3G
WAN is on swtich port 0 for Aztech HW550-3G.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 21:49:32 +00:00
Gabor Juhos
32fd7022f9 ramips: combine led setup for all boards in one file
This removes unnecessary duplication and simplifies led setup for new
boards. It would be a one line change most likely.

Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 21:49:31 +00:00
Gabor Juhos
249da9f193 ar71xx: build image for the Buffalo WHR-HP-G300N
Based on a patch by Yoichi Shinoda <shinoda@jaist.ac.jp>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 21:49:29 +00:00
Gabor Juhos
7344100219 ar71xx: Buffalo WHR-HP-G300N kernel support
The initial support for the Buffalo WHR-HP-G300N box.
The code was confirmed to boot and run, but not tested in depth.

Known problem: iw phy phy0 info shows:
	Coverage class: 0 (up to 0m)
	Available Antennas: TX 0 RX 0

Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 21:49:26 +00:00
Gabor Juhos
215ab49ae2 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 21:49:24 +00:00
Gabor Juhos
4ac887fba4 ar71xx: build image for the Allnet ALL0258N board
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 21:49:23 +00:00
Gabor Juhos
5333794b36 ar71xx: add kernel support for the Allnet ALL0258N board
This patchs adds support for the Allnet ALL0258N outdoor AP/bridge.
The ALL0258N is based on the AR7240 SoC paired with an AR9285 radio,
it got 8MB of NOR and 32MB SDRAM.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 21:49:21 +00:00
Gabor Juhos
ab0f50a421 ar71xx: don't override CONFIG_FSNOTIFY
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28563 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 21:49:18 +00:00
Jo-Philipp Wich
704be5a0f9 [ar71xx] base-files: make sure inittab-console-fixup returns with success (#10275)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28562 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 21:35:43 +00:00
Nicolas Thill
1024de3331 package/ipset: move out to packages/net/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28561 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 21:35:02 +00:00
Nicolas Thill
22449062bd package/perf: move out to packages/devel/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28560 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 21:33:35 +00:00
Felix Fietkau
24ef6bdd7f netifd: update to latest version, fixes a crash on dhcp renew
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 18:52:24 +00:00
Jo-Philipp Wich
89640f5073 [package] relayd: update to git head 4e8f1fa4ca2b176500362843a9e57ea5abd4b7a3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 17:05:00 +00:00
Jonas Gorski
4f435a6771 linux: add 3.1 checksum
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 12:58:44 +00:00
Nicolas Thill
2c9dc13a72 package/busybox: make PAM support depend on DEVEL (closes: #8002 & #8743)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28549 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 08:18:33 +00:00
Nicolas Thill
9be2e59eae package/busybox: revert config defaults inadvertently changed in [28513] (thanks to Liu Yu Fei, Eric), bump release number
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28547 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-24 07:39:53 +00:00
Felix Fietkau
3b0ad33ac2 netifd: update to latest version, fixes interface hotplugging issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28546 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-23 17:22:19 +00:00
Felix Fietkau
7b7b3c5a18 netifd: add two simple scripts for querying interface/device status
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28545 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-23 17:22:14 +00:00
Felix Fietkau
952c79097e netifd: reload the network config on ifup -a
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-23 17:22:01 +00:00
Jo-Philipp Wich
3dfbfb9eeb [package] firewall: prevent ip6tables -t nat rules (#10265)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28535 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-23 12:25:57 +00:00
Jo-Philipp Wich
d9ac523b00 [package] firewall: fix another instance of unquoted "*"
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28529 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-22 21:38:10 +00:00
Jo-Philipp Wich
091d0e2e9d [package] firewall: fix possible expansion of "*" when rules with "option src *" are processed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28527 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-22 20:11:25 +00:00
Jo-Philipp Wich
6ee2c2b79c [package] firewall: do not check for module availability, let iptables fail if a feature is not present (#7610)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28525 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-22 19:50:35 +00:00
Nicolas Thill
59bf9e97fa [target] x86: allow VDI & VMDK images for all subtargets (closes: #10255)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-22 13:09:15 +00:00
Nicolas Thill
f70bce7ed9 [package] wrt55agv2-spidevs: fix build with recent kernel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-22 10:40:45 +00:00
Nicolas Thill
64873ac4e6 [package] kernel: add dependency on kmod-crypto-authenc to kmod-ipsec (closes: #7431)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-22 10:19:27 +00:00
Felix Fietkau
ed22194a3f netifd: add a dependency on jshn
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-22 01:51:55 +00:00
Nicolas Thill
3af110207d [package] busybox: update to 1.19.2 (thanks to Peter Wagner)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-21 23:08:45 +00:00
Felix Fietkau
a2797eb1a8 uci: fix segfault on import of anonymous sections (#10204)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-21 20:50:23 +00:00
Felix Fietkau
ed497ae24f uci: update to latest version (includes several bugfixes)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-21 13:20:48 +00:00
Felix Fietkau
f7606791e3 scripts/feeds: override the OPENWRT_BUILD variable when calling internal targets (based on patch from #10212)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-21 13:03:37 +00:00