1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-19 12:41:54 +03:00
Commit Graph

23738 Commits

Author SHA1 Message Date
jow
fad2bfb9e1 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
jow
2ffacfdd8e [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
nbd
2038460162 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
jow
065032e9b8 [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
jow
f1ad97efd1 [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
nbd
05109b66fc 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
df1670948d 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
jow
03f2b4f961 [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
blogic
8b3a99d374 [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
nbd
9f3403679d 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
jow
31767f1683 [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
767678c987 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
acinonyx
93c5b6eff6 [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
acinonyx
e51e3d7633 [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
acinonyx
ae67992a87 [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
bc4b2189b6 [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
8e43256e03 [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
4666e9b56d [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
jow
e200a200fa [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
jow
87f9328239 [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
jow
f065f868a4 [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
jow
a17b7b615d [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
jow
f6a09e69e9 [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
nbd
8692f75f73 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
nbd
50d5344375 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
nbd
659b283c6c 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
nbd
fcbd67c599 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
07bc7f5147 [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
blogic
3a55f5af45 [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
blogic
b008f41eef [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
blogic
7ae94609de [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
jow
f1d9712dc3 [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
jow
d7c5077759 [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
nbd
3bb2e382f6 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
nbd
eb1c7a641f 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
nbd
4c137dea8b 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
nbd
fbed636a79 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
nbd
ba9de6d884 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
nbd
47f6b6593c 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
nbd
37845cc239 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
69934f5a34 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
jow
41f27dafe5 [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
nbd
4a84d63d35 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
nbd
2d3cf7a902 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
jow
5309dc0479 [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
jow
bf7305f71f [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
jow
266f935b93 [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
jow
97e89e29c4 [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
jogo
d8ff69c0da 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
jow
416212fa14 [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