1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-12 04:10:17 +02:00
Commit Graph

8869 Commits

Author SHA1 Message Date
jow
84032b177b [package] uhttpd: various fixes
- avoid closing descriptors before removing them from uloop (#11755, #11830)
    - do not auto-initialize ubus if no prefix is set (#11832)
    - remove extraneous client context pointer from cgi and lua states
    - code cleanups and debug message changes

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-09 00:08:20 +00:00
nbd
e95293ccbe ath9k: fix the ar9340 tx gain patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32647 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-07 20:03:35 +00:00
nbd
e8a879dd93 ath9k: fix tx gain tables for ar934x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32646 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-07 17:34:33 +00:00
jow
eef559bf3f [package] libubox: bump to latest git head
- uloop: prevent callback invocation for already removed descriptors
 - uloop: handle EPOLLHUP
 - blob, blobmsg: various changes

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32645 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-07 16:49:17 +00:00
jow
61cbda806f [package] uhttpd: do not dispatch pipe error events, fixes use after free for cgi and lua scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32644 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-07 16:43:27 +00:00
jow
c2e7896dea [package] uhttpd: do not subscribe to epoll write events
Watch child read pipe end for data instead of relying on socket write
notification to process cgi data, should lower cpu consumption during
requests on weaker devices.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32640 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-06 17:29:25 +00:00
juhosg
01c2c2a6fb uboot-envtools: OM2P LC support
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32636 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-06 11:11:59 +00:00
jow
73bde4effd [package] iwinfo: properly deal with channels 7..12 on 5GHz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-06 09:30:50 +00:00
jow
fe05aa2e02 [package] iwinfo: find channel & frequency via nl80211 or hostapd instead of wext
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32630 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-06 01:00:14 +00:00
nbd
9a56c34461 netifd: update to latest version, fixes various issues related to interface alias handling, improves handling of wifi interfaces in /etc/config/network
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32625 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 18:42:29 +00:00
jow
a11747db11 package/dnsmasq: allow /etc/config/dhcp to specify --address arguments
Add a config list to the 'config dnsmasq' section to specify fixed DNS
addresses.

For example:

  config dnsmasq:
	[snip]
	list address '/example.com/192.168.0.1'

will result in the argument '-A /example.com/192.168.0.1' to the dnsmasq
options. This configures dnsmasq to return the specified IP for any
queries to '*.example.com' names.

Useful for overriding lookups to a range of DNS names.

[jow: "append args" -> "xappend", "-A" -> "--address"]

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 17:54:14 +00:00
jow
119481db57 Add local TTL option to dnsmasq
-T, --local-ttl=<time>
    When replying with information from /etc/hosts or the DHCP leases
file dnsmasq by default sets the time-to-live field to zero, meaning
that the requestor should not itself cache the information. This is
the correct thing to do in almost all situations. This option allows a
time-to-live (in seconds) to be given for these replies. This will
reduce the load on the server at the expense of clients using stale
data under some circumstances.

[jow: change -T to --local--ttl to conform with the other options]

Signed-off-by: Andrew Byrne <openwrt@andy.id.au>

openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 17:46:32 +00:00
jow
e465d4c763 dropbear: set DEFAULT_PATH for non-interactive logins
Set PATH in non-interactive logins to include /sbin paths,
so to be consistent with what is currently set in /etc/profile
for interactive shells.

[jow: reapply with current patch level, fix inner patch, refresh]

Signed-off-by: Gui Iribarren <gui@altermundi.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 16:44:05 +00:00
jow
ececad638e [package] hostapd: change wpa_supplicant.sh to pass 64 byte hex psk unquoted and remove the undocumented usepasspharse option, this makes it match the logic of the hostapd setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 12:25:29 +00:00
juhosg
44ab3c07da uboot-envtools: OM2P partition information
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32612 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 08:26:55 +00:00
juhosg
38f3dd8825 package/om-watchdog: add om2p-lc support
Patch-by: Marek Linder <marek@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 08:26:52 +00:00
jow
dd97bbee8a mtd - remove partition table assumption when writing fis table
When mtd alters the fis partition table it assumes that the first partition
table entry also is the first logical parition table entry. For instance our
table could look like this (irrelevant partitions put aside):
 * vmlinux.bin.l7 0xA8710000
 * rootfs         0xA8030000
Here mtd would assume vmlinux.bin.l7 being the first partition and use its
address to calculate the size and offset which ultimately leads to a broken
partition table.
This patch alters the behavior by checking what partition has the smaller
address to do the calculations based on that address.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32601 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-04 11:56:25 +00:00
jow
6a288531d7 mtd - add partition offset parameter
The offset parameter can be used to write the data at the offset
instead of writing it to the beginning of the partition.

Signed-off-by: Marek Linder <lindner_marek@yahoo.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32600 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-04 11:37:53 +00:00
thepeople
36f95026ed mac80211: make channel bandwidth setting generic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-04 00:25:46 +00:00
thepeople
2b972426d7 commit patch from https://lists.ath5k.org/pipermail/ath5k-devel/2011-November/005043.html, fixed up for newer ath5k and added in more radios.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-04 00:09:18 +00:00
nbd
16ba0265da ath9k: add a patch to make the hw queue length configurable via debugfs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32589 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-03 21:00:47 +00:00
juhosg
08ec8f0d80 mac80211: add support for AR9550
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-03 18:05:04 +00:00
jow
0a5e278435 [package] base-files: ensure that /sys is available during sysupgrade, some essential services like om-watchdog need it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-03 15:43:43 +00:00
jow
9253d87a21 [package] 6to4: fix ifname resolving for adv_interface option (#11796)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32576 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-02 12:14:50 +00:00
jow
2bd97dd89a [package] netifd: repair dhcp client id option
Busybox udhcpc dropped support for the -c option, instead it can be emulated by using -x 0x3d:id,
change the dhcp protocol script accordingly and filter all colons from the id while we're at it.
This change supersedes http://patchwork.openwrt.org/patch/1810/

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-01 12:43:14 +00:00
jow
8b203dc527 [package] dnsmasq: introduce "add_local_hostname" and "add_local_domain" options
- add_local_domain defaults to 1 and controls whether the local domain is written as search directive to the local resolv.conf
 - add_local_hostname defaults to 1 and controls whether A and PTR records are created automatically for the local hostname
These change supersedes http://patchwork.openwrt.org/patch/2207/ and http://patchwork.openwrt.org/patch/2208/

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-01 11:32:46 +00:00
jow
3a1e1be03a package/dnsmasq: permit UCI configuration of --dhcp-fqdn option
This adds a new boolean option, fqdn, to the "config dnsmasq" section of
/etc/config/dhcp. The default is off. When set on, it enables the dhcp-fqdn
option to dnsmasq. dhcp-fqdn causes dnsmasq's DNS server to not resolve
unqualifed local hostnames. The "domain" option is required when using "fqdn".
Local hostnames will remain available for lookup using fully-qualified names.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-01 11:32:45 +00:00
jow
2caf3c66a2 [PATCH 1/4] package/dnsmasq: permit dhcp_option in global dnsmasq config section
dnsmasq currently permits dhcp_options to be specified only in "config dhcp"
sections of /etc/config/dhcp. When dnsmasq is providing DHCP service for
multiple subnets and there are multiple "config dhcp" sections without "option
ignore", it makes sense to allow dhcp_options that should apply globally in
the "config dnsmasq" section of /etc/config/dhcp. dhcp_option is a list option.

[jow: rework patch to apply after dhcp-option-force handling got introduced]

Signed-off-by: Mark Mentovai <mark@moxienet.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-01 11:32:29 +00:00
jow
b6a1b5d84d Fix extroot by UUID
Extroot works fine when the target device is specified by a path. It fails
however if the device is specified by UUID (the target partition gets mounted
much later by hotplug hooks). This is because the blkid command is no longer
compiled into BusyBox (since changeset [1]) so it's unavailable for the
preinit phase.

The closest bug report I was able to find is [2], although the reporting person
mentions that /tmp/overlay-disabled showed up which wasn't there in my case.

This patch sets PATH and LD_LIBRARY_PATH environment variables so that the
blkid command installed on the target device can be used by that particular
preinit script.

[1] https://dev.openwrt.org/changeset/26245
[2] https://dev.openwrt.org/ticket/10653

Signed-off-by: Jaroslaw Swierczynski <jarek1701@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-01 11:06:32 +00:00
jow
9f93ad9ef0 kernel/modules: load pppol2tp after pppox
l2tp_ppp needs to be loaded after pppox, otherwise it ends up like this:
l2tp_ppp: Unknown symbol pppox_ioctl (err 0)
...
during boot.
I also fixed the dependency, it should be pppox rather than pppoe.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32562 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-01 10:34:45 +00:00
jow
97f0df7a84 [package] base-files: implement network_get_dnsserver() and network_get_dnssearch() in /lib/functions/network.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-29 19:04:11 +00:00
nbd
0387092597 ath9k: revert an upstream initval update to fix a rx sensitivity regression on ar9380 (fixes #11756)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32528 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-29 17:59:39 +00:00
jow
79cdadea60 [package] base-files: only consider enabled default routes when finding the wan iface (#11774)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32525 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-29 11:58:35 +00:00
jow
b7fcfbf381 [package] netifd: update to current git head, exposes enabled state, mtu and metric overrides for routes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32524 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-29 11:42:15 +00:00
nbd
2ac75aacc1 ath9k: de-duplicate initvals, reduces uncompressed binary size by 24 KB
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-28 00:34:19 +00:00
nbd
c1c8e3bb46 ath9k: update the ar934x initvals
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-27 22:32:56 +00:00
nbd
3fdee93c55 ath9k: remove the queue length limiting patch, the approach was experimental, not used by default and a different solution is required
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-27 22:32:51 +00:00
nbd
126de14e4c base-files: enable TCP timestamps, enable sack/dsack. (patch by Dave Täht)
A year of testing in the cerowrt project shows not using timestamps
to be a very bad idea in nearly any TCP at speeds above a few Mbit.

Lastly sack/dsack help on recovery from larger amounts of packet
loss.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-27 22:32:44 +00:00
nbd
1ab7fc1991 ath9k: improve ani behavior during scanning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-27 12:45:00 +00:00
nbd
fc00da6b46 ath9k: more ani fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32510 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-27 02:15:25 +00:00
nbd
5f0e5c8f58 ath9k: enable rx for tx antennas earlier (and only for multi-stream devices) to fix some validation corner cases
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-27 01:29:56 +00:00
nbd
8a31cf1a07 ath9k: make antenna mask validation more flexible, allow arbitrary tx chain combinations, enable rx for chains that have enabled tx as well, fix using the second antenna for single-stream diversity based devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-27 01:23:17 +00:00
nbd
1a0f31f9ad ath9k: reject invalid antenna mask configurations
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-27 01:10:18 +00:00
nbd
3d1b9cd3fb netifd: update to latest version, fixes bridge member interface settings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-26 23:34:07 +00:00
jow
f4e0c95bb6 [package] broadcom-wl: fix WDS hotplug for multiple networks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32505 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-26 15:43:09 +00:00
jow
968a2a2451 [package] linux-atm: remove defunct ipoa protocol support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-26 15:40:03 +00:00
jow
40add56ce9 [package] base-files: allow wireless ifaces to be part of multiple networks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-26 15:25:33 +00:00
nbd
4c77c170f6 ath9k: fix a dynamic WEP related regression
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-23 17:30:45 +00:00
nbd
bbf9fad77f ath9k: merge a patch for improving ad-hoc mode performance
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-23 17:30:40 +00:00
jow
5129ca13a6 [package] ppp: the pptp buffering option is not supported anymore, remove it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32482 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-21 19:41:47 +00:00
nbd
01f5ff58f7 toolchain: move eglibc-files from base-files to toolchain, it is packaged as part of the libc package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-20 13:45:01 +00:00
acinonyx
52d8a6d589 [package] busybox: Enable ibs, obs and conv options on 'dd'
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32464 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 22:34:49 +00:00
jow
5cae7371a7 [package] ppp: annotate most patches with description and S-o-b
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 17:03:24 +00:00
nbd
5a4d032c71 mac80211: fix linux 3.5 compatibility
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32449 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 00:59:19 +00:00
nbd
ba1de008db mac80211: fix AP multi-BSSID support (#11698)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32448 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 00:53:20 +00:00
jow
295fa0808d zlib fix for btrfs
Hi,

yes, it is true...

In the standard, unpatched trunk is zlib_inflate.ko compiled, but not included
in any package... So, my previous version was functional, but with system bug.

Here is fixed patch.

On Wed, Jun 13, 2012 at 05:00:02PM +0200, Jo-Philipp Wich wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> - -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi.
>
> Shouldn't you also add CONFIG_ZLIB_DEFLATE to KCONFIG then?
>
> ~ Jow
> - -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk/YqrcACgkQdputYINPTPM6dgCfYDgzK1XHiKDJNSdc/+HgIoRp
> HSgAoKdUxcqXzHqTLiyEkiQqCnDuuVmu
> =0DUX
> - -----END PGP SIGNATURE-----
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk/YqvIACgkQdputYINPTPNMagCePNwPSYHfoCd5eXywQ+sTATqQ
> 2CQAoJW/Fez+DqflHlJVcvng/LvsfrCm
> =s6B0
> -----END PGP SIGNATURE-----
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Signed-off-by: Michal Heppler <mhepp@ics.muni.cz>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-18 23:59:57 +00:00
jow
d1f2a4a601 openssl does not compile with uml and arch x86_64
Hi,

I found that openssl did not compile on the uml target under x86_64. The
attached patch should
correct this and is working for me. Is this the right way to do it?

thanks,
Thomas

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-18 23:54:08 +00:00
nbd
8a25c3c9d3 kmod-ipt-nathelper-extra: fix missing nf_conntrack_broadcast.ko
kmod-ipt-nathelper-extra is missing the package nf_conntrack_broadcast.ko

if it is not included into the kmod-ipt-nathelper-extra packge the modules
nf_conntrack_snmp and nf_nat_snmp_basic cant get loaded:

[   44.500000] nf_conntrack_snmp: Unknown symbol nf_conntrack_broadcast_help (err 0)
[   44.664000] nf_nat_snmp_basic: Unknown symbol nf_nat_snmp_hook (err 0)

Signed-off-by: Peter Wagner <tripolar@gmx.at>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-18 23:30:48 +00:00
jow
2f3ce32769 [package] kernel: split kmod-pppoe into kmod-pppox and kmod-pppoe, make kmod-pptp depend on kmod-pppox (#11677)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-18 23:26:36 +00:00
jow
d84c1a6815 [package] 6rd: apply the same simplifications done in 6to4 and 6in4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-18 23:08:20 +00:00
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
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
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
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
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
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
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
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
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
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
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
jow
d675c9051f [package] drop userspace pptp - it is defunct, slow and badly integrated
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32198 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-11 20:09:01 +00:00
jow
3c67ec7920 [package] ppp: add support for kernel mode pptp
- add ppp-mod-pptp, based on patch by Daniel Golle <dgolle@allnet.de>
 - add netifd integration for pptp to ppp.sh

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32197 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-11 20:07:46 +00:00
jow
6ae19d404b [package] netifd: localize internally used shell variables (#11567)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32192 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-11 13:25:58 +00:00
nbd
499d03c2f3 e2fsprogs: move dependencies to the right packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32184 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-11 00:56:45 +00:00
nbd
043ef04cf0 util-linux: disable udev support, add missing dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32183 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-11 00:56:41 +00:00
nbd
d184ace808 fuse: add missing dependency
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32182 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-11 00:56:38 +00:00
nbd
5e27d1ed3b ebtables: add a missing dependency
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32181 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-11 00:56:34 +00:00
nbd
3c87508f98 toolchain: remove target dependencies on libgcc/libgfortran, add checks to package install template instead
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32176 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-10 22:24:28 +00:00
nbd
8171f3fbb7 busybox: remove BUSYBOX_USE_LIBRPC
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32175 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-10 22:24:24 +00:00
nbd
e5778e471c ubus: add a missing dependency
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32174 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-10 20:27:47 +00:00