Jo-Philipp Wich
d1c7ec88b3
Add new package for configuring 6rd tunnels.
...
This patch adds support for manually configuring 6rd tunnels. It depends on
the netifd patches I sent earlier, which add 6rd support.
A basic interface configuration looks like:
config interface 'wan6'
option proto '6rd'
option peeraddr '192.0.2.1'
option ip6prefix '2123::'
option ip6prefixlen '16'
option ip4prefixlen '0'
Where ip4prefixlen is optional and actually defaults to 0, which would use all
bits of the IPv4 in the calculated IPv6 subnet.
I believe it should be possible to configure a regular 6to4 tunnel using this,
and that we may want to merge the two eventually, but there are some larger
differences between the two at the moment:
- 6rd addresses can be more difficult to calculate. My ISP, for example, has
a setup with a v6 mask of 43 bits, and a v4 mask of 19.
- 6to4 has support for configuring radvd. This is something we want, of
course, but it seems best to deal with this in a separate patch.
Just creating a new package looked like the quickest way to get this in.
This work is based on the 6in4 package, and work by Stijn Tintel.
Signed-off-by: Stéphan Kochen <stephan@kochen.nl>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32431 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-18 23:08:18 +00:00
Jo-Philipp Wich
edf05801fd
[package] netifd: bump again to git head, fix device present state after reconnecting shell protos
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32430 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-18 23:01:04 +00:00
Felix Fietkau
6563322199
netifd: update to latest version again, fixes route6 issues ( #11528 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32429 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-18 21:52:28 +00:00
Jo-Philipp Wich
0a73ff2600
[package] 6in4, 6to4: further simplify protocol backends
...
- use new default route dependencies to trigger bringup
- remove old hotplug scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32428 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-18 21:40:34 +00:00
Jo-Philipp Wich
ff81d5ec3a
[package] remove leftover pptp directories
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-18 21:37:46 +00:00
Felix Fietkau
e1bec27e5c
netifd: update to latest version, adds 6rd related changes and adds support for default route dependencies (through host route dependencies)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32426 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-18 21:23:09 +00:00
Florian Fainelli
812b0b0ade
build: allow KERNELNAME to contain multiple kernel make targets
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-18 13:20:50 +00:00
Jo-Philipp Wich
07e87689fb
[kvm_guest] remove inittab override
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32422 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-18 11:50:37 +00:00
John Crispin
37b25592de
[uclibc++] fix ccache related build breakage
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32421 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-18 08:50:26 +00:00
Felix Fietkau
75a137d38b
mac80211: update to wireless-testing 2012-06-14
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32420 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-18 01:26:36 +00:00
Jo-Philipp Wich
d787e8414b
[package] uhttpd: finish inherited uloop in forked childs, fixes misdispatched events leading to race conditions and bad memory accesses
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32419 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-18 00:41:43 +00:00
Luka Perkov
8ddefa0cd3
e2fsprogs: fix md5sum issue
...
md5sum from kernel.org and sourceforge.net are not the same
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-17 21:34:16 +00:00
Vasilis Tsiligiannis
b3c9436f80
[package] acx-mac80211: Add workaround for mac80211 hw-queue check
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32417 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-17 20:50:43 +00:00
Vasilis Tsiligiannis
8328938dd2
[package] acx-mac80211: Bump to v20120607
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32416 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-17 20:49:55 +00:00
Vasilis Tsiligiannis
509872cba8
[package] acx-mac80211: Allow firmware downloading for more ACX1xx cards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-17 20:46:31 +00:00
Luka Perkov
3e7d0411d2
[package] e2fsprogs: update to 1.42.4
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-17 17:53:01 +00:00
Luka Perkov
31627df962
[tools] e2fsprogs: update to 1.42.4
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-17 17:52:59 +00:00
Florian Fainelli
ffa83cc2dc
[brcm63xx] fix SPI message control handling for BCM6338/6348
...
BCM6338 and BCM6338 have their MSG_CONTROL register width of 8-bits instead of
16-bits. We were previously using a 16-bits write which corrupted the first
byte of the TX FIFO. Also the message type was always set to Full-duplex even
in the case of half-duplex messages.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-17 16:17:29 +00:00
Jo-Philipp Wich
3e2e8e81da
[package] 6in4, 6to4: remove dependency on "ip"
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-17 13:18:40 +00:00
Jo-Philipp Wich
58795003a7
[package] 6to4: use network_find_wan() and network_get_iapddr() to find local ip, use json_get_vars() to read settings
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32402 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-17 13:17:39 +00:00
Jo-Philipp Wich
942bbda6d9
[package] 6in4: change local4 option name back to ipaddr
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-17 12:27:16 +00:00
Jo-Philipp Wich
d5da33a0af
[package] 6in4: use network_find_wan() and network_get_iapddr() to find local ip, use json_get_vars() to read settings
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32400 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-17 12:18:39 +00:00
Jo-Philipp Wich
5ee560d56c
[package] base-files: implement network_get_gateway(), network_get_gateway6(), network_find_wan() and network_find_wan6() in /lib/functions/network.sh
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-17 11:50:50 +00:00
Felix Fietkau
6c3386ab33
fuse: update to 2.9.0
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-16 21:06:37 +00:00
Felix Fietkau
1aa9a2c11f
kernel: replace the brcm47xx fuse workaround patches with a generic patch that applies to all mips targets
...
The dcache bug that it works around is a generic issue, not a brcm47xx cache quirk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-16 21:06:33 +00:00
Felix Fietkau
3185ecd1ae
fuse: move kmod-fuse to package/kernel
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-16 21:06:24 +00:00
Felix Fietkau
10c6ed19c8
fuse: remove obsolete patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-16 21:06:20 +00:00
Florian Fainelli
3761f17417
[rdc] remove broken flags
...
Thanks to Nicolas Le Falher for testing on Bifferboard.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32389 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-16 16:45:28 +00:00
John Crispin
e03478368d
[ltq-tapidemo] set explicit -lpthread
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32388 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-16 14:52:33 +00:00
John Crispin
dc9000ba82
[pjsip] fixes ccache compile and adds missing -lc
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32387 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-15 23:42:48 +00:00
John Crispin
e55e9ac7da
[tools] ccache does not need zcat
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32385 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-15 19:44:56 +00:00
Jo-Philipp Wich
b9a5139dc5
[x86] use ttyS0 @ 115200 baud as default for KVM guests
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-15 12:59:49 +00:00
Jo-Philipp Wich
41e9131509
[include] uclibc++.mk: override the cc binary instead of the wrapper command when ccache is used
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-15 12:57:29 +00:00
Felix Fietkau
697d8300d0
ath9k: fix an invalid pointer access in the tx path
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32376 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-14 21:36:05 +00:00
Felix Fietkau
0ec23389f8
build: add a config option for choosing the prefered standard c++ library and add uclibc++.mk to make this easy to handle in packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32369 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-14 20:26:04 +00:00
Felix Fietkau
8ef94e67c3
build: add a variable for injecting config variable dependencies for the .prepared stamp
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32368 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-14 20:26:00 +00:00
Felix Fietkau
5dd04b43f5
add uclibc++ (from packages)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-14 20:25:57 +00:00
Felix Fietkau
a178df6dde
Config.in: remove obsolete dependency
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32366 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-14 20:25:43 +00:00
Felix Fietkau
88364f16c2
include/package-ipkg.mk: fix copying provides list introduced in r32332
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-14 18:09:54 +00:00
Felix Fietkau
34d48a8951
netifd: update to latest version, adds back the workaround for ignoring wlan* in /etc/config/network
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-14 16:50:45 +00:00
Luka Perkov
67e7cb5f1d
kirkwood: fix typo in uci-defaults/leds
...
Signed-off-by: Martin Mueller <mm@sig21.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32343 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-13 18:41:42 +00:00
Jo-Philipp Wich
e5da9951c2
[package] base-files: enable shell tracing in initscripts when INIT_TRACE is set
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32340 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-13 17:10:41 +00:00
Felix Fietkau
54e8a193e3
base-files: override Build/Compile/Default instead of Build/Compile ( fixes #11667 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32339 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-13 16:25:29 +00:00
Felix Fietkau
df713331bf
ar71xx: swap the PHY address of the ethernet port of TL-MR3040/TL-MR11U similar to TL-MR3020 to fix ethernet link detection
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-13 12:54:22 +00:00
Jo-Philipp Wich
2a372d147f
[include] package-ipkg.sh: copy the package provides list for all virtual PROVIDES
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32332 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-13 11:42:17 +00:00
Jo-Philipp Wich
0362b77a24
[scripts] gen-dependencies.sh: only include lib*.so* files in dependency list, to match the filtering of provides lists
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32272 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-12 22:02:41 +00:00
Jo-Philipp Wich
d0cf9384e6
[package] ppp: make ppp-mod-pptp depend on resolveip
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-12 21:07:53 +00:00
Jo-Philipp Wich
cc5535ec3f
[package] ppp: add missing options.pptp
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32233 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-11 23:22:52 +00:00
Jonas Gorski
4f488ee099
bcm63xx: readd accidentially dropped ignore_oc in ehci driver
...
fixes overcurrent warning spam on 3.3 kernels for bcm63xx again.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32221 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-11 22:24:58 +00:00
Jo-Philipp Wich
17abd54667
[include] autotools.mk: cope with Debian version strings in libtool
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32207 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-11 21:50:50 +00:00