Commit graph

5979 commits

Author SHA1 Message Date
Jo-Philipp Wich
a73fffe857 base-files: properly handle wifi ifaces with no network attached, useful for unmanaged interfaces like used for batman or monitoring
SVN-Revision: 28860
2011-11-08 14:42:58 +00:00
Jo-Philipp Wich
ec20b84048 hostapd: add code to prevent accidentally bridging non-wds sta mode interfaces
SVN-Revision: 28858
2011-11-08 14:22:56 +00:00
Nicolas Thill
b6aef59ea8 package/base-files: move /etc/functions.sh to /lib/functions.sh
SVN-Revision: 28857
2011-11-08 14:14:29 +00:00
Felix Fietkau
9906717bfb netifd: fix compile error when both libnl and libnl-tiny are built
SVN-Revision: 28854
2011-11-08 10:12:31 +00:00
Felix Fietkau
3a12bd8bce busybox: use bash for gen_build_files.sh to avoid printf argument list issues on some systems
SVN-Revision: 28849
2011-11-08 00:33:10 +00:00
Nicolas Thill
75e186832a package/uhttpd: use new service wrapper
SVN-Revision: 28841
2011-11-07 22:59:06 +00:00
Nicolas Thill
d7409c85b5 package/ubus: use new service wrapper
SVN-Revision: 28840
2011-11-07 22:59:01 +00:00
Nicolas Thill
7a176742bb package/netifd: use new service wrapper
SVN-Revision: 28839
2011-11-07 22:58:56 +00:00
Nicolas Thill
be27ac53f2 package/dropbear: use new service wrapper
SVN-Revision: 28838
2011-11-07 22:58:50 +00:00
Nicolas Thill
4f5cbf9f9b package/dnsmasq: use new service wrapper
SVN-Revision: 28837
2011-11-07 22:58:45 +00:00
Nicolas Thill
e4a8f5abe6 package/busybox: use new service wrapper
SVN-Revision: 28836
2011-11-07 22:58:39 +00:00
Nicolas Thill
93886bc776 package/base-files: use new service wrapper
SVN-Revision: 28835
2011-11-07 22:58:34 +00:00
Nicolas Thill
10a03275bf package/base-files: /etc/rc.common: add service wrapper around start-stop-daemon
SVN-Revision: 28834
2011-11-07 22:58:27 +00:00
Felix Fietkau
0fb7c80659 ath9k: fix LED related crashes on AR913x
SVN-Revision: 28809
2011-11-07 20:14:09 +00:00
Felix Fietkau
476ca6d5d1 carl9170: add dependency on kmod-input-core
SVN-Revision: 28808
2011-11-07 14:50:04 +00:00
Nicolas Thill
8413e90418 package/base-files: /etc/passwd: fix uid number for user 'daemon' (conflicting with user 'nobody')
SVN-Revision: 28799
2011-11-07 11:02:55 +00:00
Jo-Philipp Wich
ef98919ff0 busybox: ntpd: indefinitely try to resolve peer addresses (#10361)
SVN-Revision: 28794
2011-11-07 01:45:04 +00:00
Jo-Philipp Wich
8189bd9260 uhttpd: provide rpath-link flag, thanks mazilo
SVN-Revision: 28792
2011-11-07 00:10:52 +00:00
Jo-Philipp Wich
ee875810eb madwifi: change wireless ifname numbering schema Instead of simply counting up until we hit a free iface, group ifnames by wiphy so that the first wlanX on a phy gets the phy number and following ifaces an index-suffix, e.g. ath0 for network 1 on phy 1 and ath0-1 for network 2 on phy 1. This fixes state var confusion when operating multiple radios and allows to reliably take down and restart one radio only, even if the number of networks changes in between. This should, along with other changes in LuCI, fix #10335.
SVN-Revision: 28785
2011-11-06 19:57:07 +00:00
Jo-Philipp Wich
d7205a9021 mac80211: change wireless ifname numbering schema Instead of simply counting up until we hit a free iface, group ifnames by wiphy so that the first wlanX on a phy gets the phy number and following ifaces an index-suffix, e.g. wlan0 for network 1 on phy 1 and wlan0-1 for network 2 on phy 1. This fixes state var confusion when operating multiple radios and allows to reliably take down and restart one radio only, even if the number of networks changes in between. This should, along with other changes in LuCI, fix #10335.
SVN-Revision: 28784
2011-11-06 18:49:17 +00:00
Jo-Philipp Wich
6037187a80 uhttpd: Fix wrong certificate options with multiple words
For instance two word city names will result in weird certificates.
Therefore adding the missing quotations.

Signed-off-by: Linus Lüssing <linus.luessing@web.de>

SVN-Revision: 28776
2011-11-06 15:44:42 +00:00
Felix Fietkau
2201e32df3 ath9k: add some fixes for radio reinit and frame flush
SVN-Revision: 28772
2011-11-05 19:51:32 +00:00
Felix Fietkau
973308ebfe mac80211: update to wireless-testing 2011-11-04
SVN-Revision: 28771
2011-11-05 19:51:16 +00:00
Jo-Philipp Wich
fcea88e3b5 uhttpd: fix Makefiles and linking of tls plugin
SVN-Revision: 28769
2011-11-05 17:36:47 +00:00
Felix Fietkau
248ab4ac2f base-files: process platform hotplug calls in the early launch of hotplug2 to avoid having crda calls get stuck at boot time (fixes #10350, #10354)
SVN-Revision: 28768
2011-11-05 17:16:01 +00:00
Jo-Philipp Wich
3c96dee342 uhttpd: bump version
SVN-Revision: 28762
2011-11-05 03:19:29 +00:00
Jo-Philipp Wich
3d035a6f6a uhttpd: rework CyaSSL and OpenSSL integration; move protected recv() and send() operations below the ssl layer - fixes hangs when accessing via https
SVN-Revision: 28761
2011-11-05 03:19:07 +00:00
Felix Fietkau
c8321c3ca6 hostapd: update to latest git version
SVN-Revision: 28746
2011-11-04 01:05:26 +00:00
Felix Fietkau
dab5ebaa76 netifd: ensure that a bridge gets created before hostapd needs it, hostapd must not attempt to create the bridge by itself
SVN-Revision: 28745
2011-11-04 01:05:12 +00:00
Felix Fietkau
d4d91df5fe netifd: start wifi at boot
SVN-Revision: 28738
2011-11-03 20:02:52 +00:00
Felix Fietkau
3ac5165690 netifd: update to latest version, fix redundant ifdown hotplug events
SVN-Revision: 28737
2011-11-03 20:02:47 +00:00
Felix Fietkau
eff467b5cc openssl: refresh patches
SVN-Revision: 28736
2011-11-03 20:02:42 +00:00
Felix Fietkau
faf5f84cbf openssl: update to 1.0.0e (patch by tripolar)
SVN-Revision: 28735
2011-11-03 20:02:36 +00:00
Felix Fietkau
44ba13b578 base-files: load modules early, run wifi detect afterwards and only then process uci defaults
this allows uci-defaults scripts to override wifi settings

SVN-Revision: 28733
2011-11-03 20:02:25 +00:00
Jo-Philipp Wich
e3daeabda3 base-files: add some more protected services to sysupgrade kill blacklist
SVN-Revision: 28732
2011-11-03 19:25:25 +00:00
Jo-Philipp Wich
48c37ff7eb qos-scripts: only use the lower 8 bits for firewall marks, allows coexistence with other programs like nodogsplash - patch by Tobias Wolf (#10096)
SVN-Revision: 28731
2011-11-03 19:11:01 +00:00
Nicolas Thill
89827e33ce package/busybox: update to 1.19.3
SVN-Revision: 28725
2011-11-03 15:55:23 +00:00
John Crispin
f78a0b80cc modules: fixes ko files that were renamed in 3.1
SVN-Revision: 28724
2011-11-03 15:16:50 +00:00
John Crispin
4263d93da0 ltq-dsl: fixes driver for targets other than danube
SVN-Revision: 28723
2011-11-03 15:16:39 +00:00
John Crispin
d47e4959d2 ltq-vmmc: should be available for falcon and danube only
SVN-Revision: 28722
2011-11-03 15:16:25 +00:00
Nicolas Thill
d8722fac70 package/dropbear: fix segfault with remote port forwarding (closes: #10339)
SVN-Revision: 28718
2011-11-03 08:12:17 +00:00
Daniel Dickinson
c4e9e4d27e block-mount: Fixed module loading (double cat is wrong)
SVN-Revision: 28717
2011-11-02 18:38:38 +00:00
Felix Fietkau
b8d90aceb2 netifd: add missing proto handler conversion after r28632 (thx, Jonathan Bennet)
SVN-Revision: 28713
2011-11-01 22:02:40 +00:00
Felix Fietkau
039658f8b3 netifd: update to latest version, fixes handling of hotplug devices (for wifi)
SVN-Revision: 28712
2011-11-01 22:02:33 +00:00
Felix Fietkau
48a77bb98b mac80211: update to wireless-testing 2011-11-01
SVN-Revision: 28711
2011-11-01 22:02:27 +00:00
Felix Fietkau
2afada967c iw: fix setting txpower (#10254)
SVN-Revision: 28710
2011-11-01 19:16:52 +00:00
Gabor Juhos
df4579dc64 package/uboot-envtools: make fw_setenv symlink optional
Make the creation of the fw_set-symlink optional, so it can be
disabled in user-builds so only people who know what they are
doing will mess with uboot-env.

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

SVN-Revision: 28698
2011-11-01 09:23:29 +00:00
Gabor Juhos
3ac119b8cf package/uboot-envtools: generate config-file from UCI
This adds an init-script for generating /etc/fw_env.config from UCI in
case it doesn't exist yet.

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

SVN-Revision: 28697
2011-11-01 09:23:28 +00:00
Gabor Juhos
c5ff1e8e96 package/uboot-envtools: remove runtime dependency of zlib
zlib is a build-dependency, but in runtime zlib is not required,
see:
root@OpenWrt:/# ldd /usr/sbin/fw_printenv
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2abb2000)
        libc.so.0 => /lib/libc.so.0 (0x2abd4000)
        ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x2ab9a000)

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

SVN-Revision: 28696
2011-11-01 09:23:27 +00:00
Jo-Philipp Wich
ef6d7a7e33 base-files: fix typo
SVN-Revision: 28681
2011-10-30 15:48:14 +00:00
Michael Büsch
a3db2f2055 omap24xx: Fix MUSB compile
SVN-Revision: 28674
2011-10-29 22:26:27 +00:00
Jo-Philipp Wich
50a22f4f9e firewall: relocate TCPMSS rules into mangle table, add code to selectively clear them out again
SVN-Revision: 28669
2011-10-29 18:02:45 +00:00
Nicolas Thill
0a84f6a74e package/kernel: various NLS handling fixes
* move AddDepends/nls to 001-depends.mk for proper use by other packages (closes: #7639)
 * make kmod-usb-core use it
 * fix deps generated from its arguments (as used in kmod-fs-hfsplus)

SVN-Revision: 28668
2011-10-29 15:03:56 +00:00
Nicolas Thill
0c95fe5de1 package/kernel: add dependency on kmod-lib-crc-itu-t to kmod-fs-udf (closes: #8045)
SVN-Revision: 28666
2011-10-29 13:20:36 +00:00
Nicolas Thill
defe47ebbc package/kernel: add dependency on kmod-lib-crc-itu-t to kmod-firewire
SVN-Revision: 28665
2011-10-29 13:20:30 +00:00
Nicolas Thill
04f03b149d package/kernel: fix my previous kmod-fs-cifs fix in r28661 (could I be sleep-deprived?)
SVN-Revision: 28663
2011-10-28 22:22:13 +00:00
Nicolas Thill
01fcc80afc package/kernel: enable kmod-ata-core & kmod-scsi-core on x86
SVN-Revision: 28662
2011-10-28 19:16:27 +00:00
Nicolas Thill
897ab36e93 package/kernel: fix kmod-fs-cifs dependencies (closes: #9381, #10055)
SVN-Revision: 28661
2011-10-28 19:16:21 +00:00
Nicolas Thill
c824c76aae package/kernel: move MD4 crypto module in its own package
SVN-Revision: 28660
2011-10-28 19:16:12 +00:00
Nicolas Thill
4eeb0e1246 package/kernel: fix kmod-fs-btrfs dependencies (missed in r28656)
SVN-Revision: 28659
2011-10-28 14:31:29 +00:00
Nicolas Thill
ab29084cdb package/kernel: prefix library modules with lib-
SVN-Revision: 28656
2011-10-28 13:24:41 +00:00
Nicolas Thill
fb1297dd1f package/kernel: add dependency on kmod-lib-lzo to kmod-fs-btrfs
SVN-Revision: 28655
2011-10-28 13:11:17 +00:00
Nicolas Thill
340e50b393 package/kernel: add kmod-lib-lzo
SVN-Revision: 28654
2011-10-28 13:11:12 +00:00
Nicolas Thill
a13f6a4b75 package/kernel: remove SetDepends not needed anymore
SVN-Revision: 28653
2011-10-28 13:11:06 +00:00
Nicolas Thill
1f1ae372dd package/kernel: change kmod-libcrc32 dependency to kmod-crypto-crc32c only
SVN-Revision: 28652
2011-10-28 13:11:01 +00:00
Nicolas Thill
a66a8875bb package/kernel: move crc32c in its own package
SVN-Revision: 28651
2011-10-28 13:10:55 +00:00
Nicolas Thill
3bcb16b305 package/blockmount: simplify extroot module loading logic
SVN-Revision: 28650
2011-10-28 13:10:50 +00:00
Felix Fietkau
b58d54f621 comgt: add missing file (fixes #10301)
SVN-Revision: 28648
2011-10-28 11:30:21 +00:00
Michael Büsch
b2d89b45d3 bluetooth: set L2CAP and SCO kconfig options to =y. It should be forced to =m for older kernels automagically.
SVN-Revision: 28638
2011-10-27 21:22:53 +00:00
Felix Fietkau
5601dc5f38 comgt: fix pin code config option
SVN-Revision: 28637
2011-10-27 20:29:14 +00:00
Felix Fietkau
3eea31fc6d comgt: delay 3g bringup for sierra wireless cards until the card has locked on to the carrier, this helps with avoiding firmware hangs (thx, chris)
SVN-Revision: 28636
2011-10-27 20:29:10 +00:00
Felix Fietkau
c932bcee1c add sierra-directip, a package based on the latest DirectIP capable sierra wireless drivers + some fixes
SVN-Revision: 28635
2011-10-27 20:29:05 +00:00
Felix Fietkau
d495281b6e comgt: port 3g.sh to netifd
SVN-Revision: 28634
2011-10-27 20:29:00 +00:00
Felix Fietkau
2af4d04336 ubus: update to latest version, fixes recursion issues in libubus
SVN-Revision: 28633
2011-10-27 20:28:46 +00:00
Felix Fietkau
bebd9aec71 netifd: update, prefix proto handler callbacks with 'proto_'
SVN-Revision: 28632
2011-10-27 20:28:42 +00:00
Felix Fietkau
24bf5c41a0 netifd: remove obsolete _init callbacks, set available=1 for ppp
SVN-Revision: 28631
2011-10-27 20:28:37 +00:00
Felix Fietkau
b3d7c7b1b5 netifd: allow ppp based proto handlers to override the connect/disconnect script
SVN-Revision: 28630
2011-10-27 20:28:33 +00:00
Felix Fietkau
1138f84e6c netifd: update to latest, adds support for protocol notifiers to signal interface availability
SVN-Revision: 28629
2011-10-27 20:28:28 +00:00
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