Commit Graph

11943 Commits (d470b39ad9b4c18ae243ac5a2afd356435558aa3)

Author SHA1 Message Date
Steven Barth 332585be14 map: fix portsets starting with 0 and use regular NAT for 1:1 MAP
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42741 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 19:15:38 +00:00
Jonas Gorski f4c1b25a5f brcm-wl: use new brcm63xx fallback sprom
This fixes brcm63xx fallback sprom extraction.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 12:24:05 +00:00
Felix Fietkau fed0932d4d uqmi: set data format to 802.3 at startup
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42724 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 12:19:37 +00:00
Felix Fietkau 6419c9a961 uqmi: do not wait for network connection before starting dhcp
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 12:19:26 +00:00
Felix Fietkau 03e3d0d0a4 uqmi: update to the latest version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 12:19:09 +00:00
Felix Fietkau 700e098ab3 uqmi: use the autoconnect feature
Instead of connecting once and saving the packet data handle, let the
firmware handle connecting/reconnecting automatically. This is more
reliable and reduces reliance on potentially stale data.

Use the global packet data handle to attempt to disable autoconnect
before restarting the connection. This ensures that the firmware will
take the new APN/auth settings.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42721 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 12:18:58 +00:00
Felix Fietkau d2b5f93d8c uqmi: replace logger calls in netifd with echo
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 12:18:43 +00:00
Felix Fietkau b003339cfb uqmi: work out the ifname instead of relying on it being in uci
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42719 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 12:18:28 +00:00
Felix Fietkau 2b96480b58 binutils: fix build with gcc 4.9
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42707 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-30 21:36:33 +00:00
Felix Fietkau ff783c9e70 ath9k: add a fix for dynack
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-30 21:36:04 +00:00
Felix Fietkau eeb2ae5353 ath9k: add back missing fixes from the last version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42701 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-29 18:51:25 +00:00
Steven Barth 2fceef9017 GRE: Tos support
Tos support is added as a generic grev4/grev6 parameter which can have the following values :
     -inherit (outer header inherits the tos value of the inner header)
     -hex value

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42700 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-29 18:00:02 +00:00
Steven Barth 696b5c1e57 netifd: add support for promisc and GRE tos option
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42699 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-29 17:59:50 +00:00
Steven Barth 51e2e77081 nftables: bump for bugfixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-29 08:35:18 +00:00
Steven Barth f48d0d2caf libnftnl: bump for bugfixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42697 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-29 08:31:31 +00:00
Zoltan HERPAI 7642fcc283 uboot-sunxi: add support for Olimex A13 SOM
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42692 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-28 23:20:36 +00:00
Zoltan HERPAI ff9bc2fc42 uboot-sunxi: add patch to fix gmac reliability issue on bananapi
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42691 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-28 20:39:04 +00:00
Felix Fietkau c65ab70b49 iw: add support for dynamic distance selection (supported by ath9k now)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-27 21:19:27 +00:00
Felix Fietkau 36ca9108cc iw: sync nl80211.h
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42688 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-27 21:19:18 +00:00
Felix Fietkau bcc7e4a3d0 ath9k: fix some issues with ar934x rev 3 (especially ad-hoc mode)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-27 20:52:11 +00:00
Felix Fietkau dd8008aa78 mac80211: update to wireless-testing 2014-09-26
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-27 20:51:43 +00:00
Florian Fainelli 7771ecddf3 brcm2708-gpu-fw: update to Sep. 27 2014 snapshot
Update the brcm2708-gpu-fw package to commit
e25efc4545d0cef7c49c82e770b3e4ccfc8aba4c

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42676 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-27 17:42:15 +00:00
Steven Barth 8b4e066f80 odhcp6c: work around weird ISP RS behaviour
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42674 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-27 16:57:47 +00:00
Felix Fietkau b9b19931ab comgt: fix directip auth type
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42671 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-26 15:55:45 +00:00
Steven Barth c3d564bd29 comgt: fireup a dhcpv6-client for directip as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42670 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-26 13:58:40 +00:00
Felix Fietkau 83e01b374f comgt: in directip, derive the wwan ifname automatically instead of specifying it in the config
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42669 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-26 13:44:21 +00:00
Steven Barth 992d1bbd8b dnsmasq: bump to 2.72
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42668 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-26 08:57:36 +00:00
Florian Fainelli ccd5dae4f1 base-files: add a protocol argument to ucidef_set_interface_raw
Add a third argument to ucidef_set_interface_raw, which is specifying
the protocol.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42665 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-25 19:08:56 +00:00
Steven Barth e4c755d65f odhcpd: fix segfault when parsing domain options in UCI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-25 11:53:12 +00:00
Felix Fietkau 763502f621 curl: only set ca path for openssl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42662 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-25 10:51:56 +00:00
Felix Fietkau 22c9a17d25 curl: use the system certificates
Signed-off-by: Cristian Morales Vega <cristian@samknows.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42661 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-25 10:37:06 +00:00
Felix Fietkau a795c53d4b ca-certificates: create symbolic link for certificate hashes
Implementing "add-cert.sh" functionality described at
http://wiki.openwrt.org/doc/howto/wget-ssl-certs into Makefile
otherwise you need to create symbolic links for certificate hashes
yourself.

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-25 07:38:02 +00:00
Felix Fietkau 8256836040 comgt: initialize ifname for directip
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42658 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-24 17:04:20 +00:00
Felix Fietkau 181cc2eb18 comgt: add no_device=1 for directip proto
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42657 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-24 08:07:45 +00:00
Felix Fietkau 2fbcd366eb comgt: fix misplaced : in directip setup script
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42656 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-24 08:07:40 +00:00
Felix Fietkau 7fb8b904c4 ustream-ssl: select polarssl as default variant, skip openssl/cyassl dependencies if unused
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42655 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-23 10:41:24 +00:00
Steven Barth 7050d8130b dnsmasq: fix lockup when interfaces disappear
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-22 12:07:20 +00:00
Hauke Mehrtens d36def3f4e bcm53xx: add fixtrx
Without running fixtrx the image will not boot at the second time, 
because the CRC the boot loader check is invalid at that time.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-21 21:56:31 +00:00
Zoltan HERPAI 3a34450692 modules: fix typo in package description define
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42633 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-21 16:42:30 +00:00
Zoltan HERPAI ac57ee3293 packages: enable AP mode on r8188eu
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-21 12:24:42 +00:00
Jo-Philipp Wich 82ba2ad017 firewall: allow '*' as synonym for any / all in family and proto options
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-19 18:18:58 +00:00
Jo-Philipp Wich 17a3d853e9 firewall: fix heap corruption in fw3_bitlen2netmask() with IPv6 addresses
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-18 12:05:12 +00:00
Jo-Philipp Wich 09bc1aee9e firewall: fix invalid memory access when processing /128 IPv6 addresses from ubus, properly emit REDIRECT rules for local port forwards
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 22:09:52 +00:00
Steven Barth 73985d24f2 netfilter: some more dependency hell fixes
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 15:04:30 +00:00
Steven Barth a8ac72608b netfilter: fix dependencies of kmod-ipt-nat6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42601 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 15:01:16 +00:00
Nicolas Thill 7b3e5e9192 netfilter: add missing symbol to disable nft_queue
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42600 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 14:28:05 +00:00
Steven Barth 82230772a1 nftables: introduce experimental nftables
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 12:11:06 +00:00
Steven Barth 73c1110ff3 libnftnl: Add nftables libnftnl
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 12:10:57 +00:00
Steven Barth 6aa8fc2901 Reorganize netfilter kernel modules and package nftables kernel support
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 12:10:44 +00:00
Felix Fietkau 7e44d7d94e ubus: update to latest version, adds various fixes and improvements
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42594 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 11:34:16 +00:00
Zoltan HERPAI 6d7e054ed6 modules: allow building rtl8188eu on 3.14
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 10:12:29 +00:00
Zoltan HERPAI 68530a33fd uboot-sunxi: add PSCI support for bringing up secondary core on A20
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 08:25:04 +00:00
John Crispin 2d577d923d hostapd: do not remove foreign wpa_supplicant sockets
https://dev.openwrt.org/ticket/17886

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42586 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 07:41:31 +00:00
Steven Barth 96518e74ac libmnl: add some upstream fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-16 13:31:20 +00:00
John Crispin 5cbb5194ba ubox: update to latest git
make the remote logging feature RFC3164 compliant

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-16 12:26:35 +00:00
John Crispin a0bbe0d6ce postinst trigger: the new postinst trigger broke IB
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-16 11:56:19 +00:00
John Crispin 420eec3ba8 fs-tools: dont use mips16
this causes problems on 47xx/74k

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-16 11:55:57 +00:00
John Crispin aa9365231b lantiq: revert vr9 driver update as it causes problems
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-15 16:19:33 +00:00
Felix Fietkau 9fad4bd83b hostapd: remove bogus default setting for wps_pin (#17873)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-15 16:09:23 +00:00
John Crispin 0e1d636870 iproute2: update from v3.15.0 to v3.16.0
Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42546 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-15 10:18:50 +00:00
John Crispin 4f38c7092c procd: update to latest git HEAD
fixed timeout on shutdown and cmdline param parsing

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42545 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-15 10:18:45 +00:00
Steven Barth 23b3b67e42 libreadline: bump to 6.3
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-15 10:15:23 +00:00
Luka Perkov 38c2d876ab base-files: whitespace fixes
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42542 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-14 23:15:00 +00:00
Hauke Mehrtens 732e4037bf kernel: make hwmon-lm75 only depend on kmod-thermal if needed
This fixes commit r42529 and closes #17855.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-14 12:06:38 +00:00
Felix Fietkau 33185d007b ath9k_htc: fix decryption errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-14 11:40:51 +00:00
Hauke Mehrtens 489a75bf87 kernel: make kmod-hwmon-lm75 depend on kmod-thermal
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42529 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-13 23:03:36 +00:00
Hauke Mehrtens 6161cab72f cyassl: update to version 3.2.0
This fixes a security problem:
Security fix for RSA Padding check vulnerability 

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42526 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-13 20:56:55 +00:00
Hauke Mehrtens db79e96601 ppp: update to version 2.4.7
This fixes: CVE-2014-3158 and some other bugs.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42525 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-13 20:56:13 +00:00
Hauke Mehrtens 35941f423b package: other.mk: update configuration for ad799x
The ad799x driver moved out of staging since kernel 3.16, so update filepath,
config elements and description.

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42524 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-13 20:35:10 +00:00
Hauke Mehrtens d2075d357e package: nvram: enable on bcm53xx target
It uses mtd, so doesn't require any special adjustments for new target.
It has been succesfully tested (reading, writing and commiting).

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42521 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-13 20:28:18 +00:00
Hauke Mehrtens 0b5199d157 curl: 7.36.0 -> 7.38.0
Main changes:
- URL parser: IPv6 zone identifiers are now supported
- cyassl: Use error-ssl.h when available (drop local patch)
- polarssl: support CURLOPT_CAPATH / --capath
- mkhelp: generate code for --disable-manual as well (drop local patch)

Full release notes: http://curl.haxx.se/changes.html

MIPS 34kc binary size:
- 7.36.0 before: 82,539 bytes
- 7.38.0 after: 83,321 bytes

Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-13 20:26:08 +00:00
Steven Barth 48388f901b toolchain: packetize libatomic
Based on a patch by Tobias Steinicke <tobias.steinicke@inet.tu-berlin.de>.

Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 12:25:55 +00:00
Felix Fietkau 8e1b4c146e qos-scripts: disable fq_codel ecn by default to improve compatibility
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42479 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-11 23:13:24 +00:00
John Crispin 2667bfd6e1 lantiq: update to a newer versions of the vr9 drivers
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42478 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-11 18:22:31 +00:00
John Crispin ae362ceadb ltq-deu: fix compile for 3.14
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42477 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-11 17:50:03 +00:00
John Crispin 5af0ac95ab lldp: remove calls to user/group_add/exists
use the new ipkg based mechanism

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-11 12:28:22 +00:00
John Crispin cee0fdae00 procd: update to latest git
add support for starting services as !root

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-11 12:28:00 +00:00
John Crispin 3caa9395b5 ipkg: add a default postinst/prerm script
the postinst script enables/starts the init.d scripts upon package installation
and installs the users required by the package.

the prerm script stops and disables the init.d scripts.

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-11 12:27:49 +00:00
John Crispin e548b195e1 opkg: indicate upgrade vs install
when running the postinst trigger we set PKG_UPGRADE=1 if this is an upgrade
and not an install.

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42468 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-11 12:27:09 +00:00
John Crispin c83554e93c umbim: remove superflous jshn call
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-11 12:26:52 +00:00
John Crispin d8659cb48e umbim: update to latest git
adds handling for username/password

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-11 12:26:41 +00:00
John Crispin 20c5127df3 comgt: add directip proto
add a proto handler for sierra wireless directip modems

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42465 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-11 12:26:31 +00:00
Felix Fietkau 5d8c6d088a hostapd: add ubus bindings for wps
With this patch WPS discovery can be started or canceled over ubus if
WPS is enabled in wireless configuration. This is equivalent of
'hostapd_cli wps_pbc' and 'hostapd_cli wps_cancel' commands.

Signed-off-by: Petar Koretic <petar.koretic@sartura.hr>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-10 13:01:53 +00:00
Felix Fietkau 8b55a6de74 procd: allow adding empty strings to arrays
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-10 12:56:19 +00:00
Felix Fietkau 16c98e4a9c ath9k: fix pll clock initialization on newer soc devices (fixes #14916)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-09 08:03:00 +00:00
Felix Fietkau fdfb81fd0d ath9k: add some ani related stability / performance fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-08 16:45:30 +00:00
Steven Barth 07b77bfef0 netifd: work-around kernel IPv6 on-link route issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-08 14:45:56 +00:00
Jonas Gorski f263563618 mac80211: enable DFS support for ath9k/10k by default
The DFS pattern detector now supports all three regions; ETSI, FCC and
JP, so there is no reason to not have it enabled anymore.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42431 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-07 09:38:13 +00:00
Zoltan HERPAI 9cb0efa23a uboot-sunxi: bump to 2014.04
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42422 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-06 15:18:40 +00:00
Felix Fietkau 0cbc2079a2 uclient: update to the latest version, fixes some crash issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42419 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-04 11:25:04 +00:00
Florian Fainelli f6ae53df86 at91: add CONFIG_USB_OHCI_HCD_AT91 to usb-ohci
The at91 OHCI driver has a separate Kconfig symbol with newer kernels,
include it.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-03 03:09:24 +00:00
John Crispin 8f5e75b7a2 mdns: update to latest git head
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-02 21:39:40 +00:00
Felix Fietkau 86193ba4cc mtd: disable trx_check() for ar71xx, fixes a regression introduced in r42403
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42405 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-02 21:06:35 +00:00
Felix Fietkau 72dd8201d2 mtd: Fix trx check after partition rename ("linux" to "firmware")
On brcm47xx (Huawei E970), I noticed that sysupgrade now tries to flash trx images which don't fit into the flash, resulting in non-booting system.

I found that mtd does trx size checking only when flashing to a partition called "linux". This patch changes this to be "firmware".

This matches the following patch which changed partition name in bcm47xxpart.c driver to "firmware":

commit 86b4d5ef68ca77ff6724ebb9bddd6b93239c87fc
Author: hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date:   Sun Dec 1 16:32:32 2013 +0000

    brcm47xx: use "firmware" partition name
    ...
    Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

    git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38973 3c298f89-4303-0410-b956-a3cf2f4a3e73

Signed-off-by: Mathias Adam <m.adam--openwrt@adamis.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-02 17:13:42 +00:00
John Crispin 9c751743b2 mac80211: rt2x00: fix of ht20/ht40 switching fix
r42348 uses a wrong register

Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42349 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:19:32 +00:00
John Crispin 40bf3736f8 mac80211: rt2x00 correctly set ht20/ht40 filter
Simple patch to correct ht20/ht40 switching. Tested with rt3290/rt3352/rt5350

Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42348 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 11:40:38 +00:00
Felix Fietkau ad99cc2f44 netifd: update to the latest version, adds interface cleanup fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-31 13:09:01 +00:00
Felix Fietkau b30595ab51 netifd: update to the latest version, fixes proto-shell teardown after renew
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42344 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-31 12:26:26 +00:00
Felix Fietkau 8e259e65d8 nettle: disable mips16 support to improve performance
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42341 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-31 12:03:43 +00:00
Jonas Gorski b308ce739e binutils: link libbfd and libopcodes dynamically again
Build libbfd and libopcodes as shared libraries, else they get linked
statically into every binary, increasing each binary size by ~650kB.

Reduces binutils package size to old expected values.

Fixes #17060.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-30 11:02:22 +00:00
Felix Fietkau 786d33be63 mac80211: fix crash when unloading drivers (#17706)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-29 20:41:01 +00:00
John Crispin 381dc718a9 procd: run the mdns register outside the sub shell container
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-29 18:36:29 +00:00
John Crispin 23bf27fad7 dropbear: add mdns support to the init.d script
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-29 18:16:41 +00:00
John Crispin 1601d4ca84 mdns: update to latest git
* ipv6
* 4 bugs in the dns parser
* service announcement
* tx goodbye support
* proper handling of rx goodbye

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42325 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-29 18:16:32 +00:00
John Crispin d6a4b8e232 procd: update to latest git HEAD
this adds a interafce.update trigger and mdns service registration helpers

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-29 18:16:24 +00:00
John Crispin 93a958ff11 dnsmasq: Make the --dhcp-host logic easier to understand
Use an if/else statement to cover the two different syntaxes.  Add
comments explaining what the end results should look like.

This patch should not change the script's output.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42320 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-28 06:27:57 +00:00
John Crispin 2abc3f33e5 dnsmasq: Fix hosts file format when MAC address is not specified
An entry like this in /etc/config/dhcp:

    config 'host'
        option 'name' 'pc2'
        option 'ip' '192.168.100.56'
        option 'dns' '1'

results in a /tmp/hosts/dhcp entry that looks like this:

    192.168.100.56 .lan

Obviously it should say "pc2.lan".

This happens because $name is set to "" in order to support the MAC-less
syntax: "--dhcp-host=lap,192.168.0.199".  Fix this by reordering the
operations.  Also, refuse to add a DNS entry if the hostname or IP is
missing.

Fixes #17683

Reported-by: Kostas Papadopoulos <kpapad75@travelguide.gr>
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42319 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-28 06:27:53 +00:00
John Crispin 299986df60 dnsmasq: Create rDNS records for LuCI "Hostnames"
LuCI creates "domain" UCI config sections, which the dnsmasq init file
then, currently, translates into "address" config lines. This is not
the correct usage of "address" (see r36943), and also causes rDNS
records to not be created. This patches dnsmasq.init to utilize the
additional hosts file introduced in r40799 for such domain names,
resolving both issues.

Signed-off-by: Tyler Fenby <tylerf@securecominc.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42318 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-28 06:27:49 +00:00
Nicolas Thill 9b8643ef78 kernel: revert [40784]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-27 08:49:55 +00:00
John Crispin 427d705a65 kernel: add package for huawei ncm modems
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42304 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-26 13:11:56 +00:00
John Crispin 5c4e3032a1 umbim: update to latest git
add pincode sanitization and handling for authproto/user/pass

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42299 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-26 09:36:59 +00:00
John Crispin 9fefa35525 usbmode: update to latest git
this adds support for a new mode MBIM that auto detects the bConfigurationValue.

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42298 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-26 08:39:55 +00:00
John Crispin de888b8dd4 kernel: add ohci-platform.ko for 3.11+
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42288 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 16:30:52 +00:00
Jo-Philipp Wich 6894492f81 uhttpd: do not configure TLS parameters if libustream-ssl is not present
A quite frequent problem after sysupgrading from an older, SSL enabled build
is that ustream-ssl is not installed so uhttpd fails to come up again due to
https listening directives in the preserved configuration.

Skip key/cert and ssl listen options when libustream-ssl.so is not present.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 12:39:34 +00:00
John Crispin c1333c5602 mac80211/rt2x00: allow disabling bands through dts
Add dts property ralink,2ghz and ralink,5ghz
e.g. disable 2ghz band:
wmac@10180000 {
  status = "okay";
  ralink,2ghz = <0>;
}

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42281 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 06:36:01 +00:00
John Crispin e723b7928a package/*: remove useless explicit set of function returncode
somebody started to set a function returncode in the validation
stuff and everybody copies it, e.g.

myfunction()
{
	fire_command

	return $?
}

a function automatically returns with the last returncode,
so we can safely remove the command 'return $?'. reference:

http://tldp.org/LDP/abs/html/exit-status.html
"The last command executed in the function or script determines the exit status."

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42278 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 06:35:50 +00:00
Steven Barth e7adecda3f odhcp6c: enable softwires support by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42274 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 06:11:53 +00:00
Jo-Philipp Wich 9a4301d15e iwinfo: properly decode SSIDs when scanning through wpa_supplicant
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42273 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-24 21:42:26 +00:00
Steven Barth 7bbfb59996 odhcpd: fix static lease behavior with dhcpv4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42270 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-24 08:12:57 +00:00
John Crispin c3f7b0fe6d umbim: add netifd proto handler for mbim style lte modems
tested on vodafone k5105

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42262 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-22 19:02:30 +00:00
John Crispin 75653caad1 base-files: properly generate the ula
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42261 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-22 14:19:07 +00:00
Felix Fietkau dff426fd61 uclient: update to latest version, fixes HTTP keepalive issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42257 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 19:12:38 +00:00
Felix Fietkau d55fa23224 xtables-addons: update to version 2.5
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 19:12:34 +00:00
Jonas Gorski 0d96d86bc3 dropbear: restore performance by disabling mips16
Disable MIPS16 to prevent it negatively affecting performance.
Observed was a increase of connection delay from ~6 to ~11 seconds
and a reduction of scp speed from 1.1MB/s to 710kB/s on brcm63xx.

Fixes #15209.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42250 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:29:04 +00:00
Jonas Gorski a67d5e1eeb dropbear: fix keepalive more
Add a further upstream commit to more closely match the keepalive
to OpenSSH.

Should now really fix #17523.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:29:02 +00:00
John Crispin 16be44f48f firewall: the firewall did not start properly on boot
https://dev.openwrt.org/ticket/17593

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42233 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 09:53:25 +00:00
John Crispin b0a70151a8 libubox: update to latest git revision
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-20 18:21:59 +00:00
Nicolas Thill b7cff96218 valgrind: fix build failure on uml
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42229 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-20 13:58:23 +00:00
Steven Barth e5a925bd47 base-files: increase igmp_max_memberships to improve multicast-proxy handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-20 10:18:40 +00:00
Steven Barth 5401347fda dnsmasq: fix a race condition possibly leading to lockup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42225 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-20 09:52:29 +00:00
John Crispin fede953fc2 base-files: fix inverse logic in board_detect script
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42220 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-19 09:59:39 +00:00
Steven Barth 8d22f9d0f4 odhcpd: various DHCPv4 and DHCPv6 fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42217 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-19 05:58:51 +00:00
Steven Barth bb96082ca0 dnsmasq: respect option dhcpv4 disabled in dhcp-config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-19 05:58:44 +00:00
John Crispin 0ffbe9abd5 base-files: wan6 should reference wan intead of referencing itself.
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42199 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 13:16:35 +00:00
John Crispin 2d3cfd2061 valgrind: set --enable-only64bit option for x86_64
There does not seem to be a good reason to build both
when building for x86_64.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42198 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 13:10:19 +00:00
John Crispin 7137fdc6c2 valgrind: explicitly disable mpicc compiler
If there's an mpicc compile on the machine, the configure
script will take it, causing a bit of headache.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42197 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 13:10:16 +00:00
John Crispin 3652210b32 gmp: add host compile
Currently, any package that uses host compile and depends on
libgmp.so will fail. This is because gmp is not compile for
host machine. So, staging_dir/host has only static lib for gmp

 $ ls staging_dir/host/lib/libgmp* -1
 staging_dir/host/lib/libgmp.a
 staging_dir/host/lib/libgmp.la
 staging_dir/host/lib/libgmpxx.a
 staging_dir/host/lib/libgmpxx.la

Addind host compile in gmp, the dependent package can use:

 PKG_BUILD_DEPENDS:=gmp/host

That will compile gmp to staging_dir/host with *.so files

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 13:10:11 +00:00
John Crispin 90b2348344 busybox: Fix pam_start link errors when PAM support is enabled
Patch to BusyBox Makefile to fix linker errors when PAM support is enabled by
CONFIG_BUSYBOX_CONFIG_PAM=y. Typical errors include:
login.c:(.text.login_main+0x122): undefined reference to `pam_start'

Signed-off-by: Stephen Parry <sgparry@mainscreen.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42195 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 13:10:08 +00:00
John Crispin d5a9dd2b58 base-files: add a hardware detection layer
this allows targets to use the new uci-default helper which will generate
a file called /etc/board.json. a tool called /bin/config_generate can then
be used to generate the default uci settings.

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42185 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 13:09:17 +00:00
Jonas Gorski 8cc51ba777 dropbear: fix keepalive with putty
Don't send SSH_MSG_UNIMPLEMENTED for keepalive responses, which broke
at least putty.

Fixes #17522 / #17523.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42162 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-13 20:49:56 +00:00
Steven Barth fa2bcf4fda netifd: assign ipv6-prefixes with length <64 with /64 on-link routes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42161 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-13 14:57:11 +00:00
Steven Barth b1603fdc88 odhcpd: improve DHCPv6-PD detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42160 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-13 14:57:07 +00:00
Steven Barth 1bfc9798bc ppp: enable IPv6CP by default
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42158 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-13 10:18:20 +00:00
Steven Barth 269de3d2b3 odhcpd: multiple DHCPv4 improvements (thx Christian Mehlis)
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42153 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-12 13:30:04 +00:00
Jo-Philipp Wich 5447ad5ac7 package: fix segfault of iwinfo.scanlist("radio0").
This is a bug revealed in r41830.

First, the static variable `char nif[IFNAMSIZ]` of nl80211_phy2ifname()
would be zeroed out if the argument is "wlan0" or the like.  This will
happen in the following call stack.

 nl80211_get_scanlist("radio0", buf, len);
   nl80211_phy2ifname("radio0")			// return static var nif with content "wlan0"
   nl80211_get_scanlist(nif, buf, len);		// tail call
     nl80211_get_mode(nif);
        nl80211_phy2ifname(nif);		// zero out nif

Later we try nl80211_ifadd("") which was supposed to create interface
"tmp.", but that won't happen because nl80211_msg() will put an invalid
ifidx 0 to the nlmsg.

Then iwinfo_ifup() and iwinfo_ifdown() would fail and happily
nl80211_get_scanlist() returned 0 and left *len undefined.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42151 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-12 11:14:11 +00:00
Luka Perkov 6b2145fca6 imx6: kernel: add GW16083 Ethernet Expansion Mezzanine support
The GW16083 Ethernet Expansion Mezzanine adds the following to supported
Gateworks baseboards:
 * 7-port Ethernet Switch
  * 4x RJ45 ports (ENET1-4) supporing 802.11af/at PoE (with optional PoE module)
  * 2x RJ45 ports or SFP module (ENET5-6) (auto-selected)

This series adds support for a phy driver that adds support for ENET5/ENET6
PHY adding initialization for those PHY's and a polling mechanism that detects
SFP insertion and configuration.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42147 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-11 20:35:10 +00:00
Hauke Mehrtens fe64c487e2 mac80211: fix warning with kernel 3.14
This fixes a redefinition of net_get_random_once() warning.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42141 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-11 20:23:20 +00:00
Jo-Philipp Wich 369b4791ce base-files: /lib/functions/network.sh: fix network_get_ipaddr6
When looking for the first ipaddr also consider the current prefix just
like network_get_ipaddrs6 does. If ipv6-address was empty the function
did not return the first ipaddr even if the list was non-empty.

fixes commit 83e9122f88a002871d5cdf421cf6aa6052b7e006

Signed-off-by: Henning Schild <henning@hennsch.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42139 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-11 18:15:18 +00:00
Jo-Philipp Wich 22bbd9f08e firewall: fix potential NULL pointer access
Properly skip struct ifaddr entries with NULL ifa_addr, thanks Kostas Papadopoulos for reporting.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-11 17:45:18 +00:00
Steven Barth 3d227bab23 dropbear: update to 2014.65
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-11 13:02:43 +00:00
Jo-Philipp Wich 2b24ce9a14 firewall: implement selective conntrack flushing (#10225)
Utilize the new selective conntrack flushing facility to clear
out active conntrack entries referring to old IP addresses after
a firewall reload.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42114 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-11 09:41:20 +00:00
Jo-Philipp Wich 6a499ca44b build: enable PER_FEED_REPO by default
Enable the separate feed repositories by default to align custom builds with the repositories
available on the snapshot download server.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42112 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-11 09:15:17 +00:00
Luka Perkov ae4ebf4e5a hostapd: fix some whitespaces
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42111 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-11 08:44:48 +00:00
Hauke Mehrtens 4ab6f2b389 broadcom-wl: add default tx and rx antennas
This adds default tx and rx antennas, so that LuCI shows automatic as the default radio option for the antennas.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42085 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-08 22:59:45 +00:00
Hauke Mehrtens e48a8f9585 broadcom-wl: add support for a8xx broadcom devices
Tested on Comtrend VR-3025u (brcm6368 + a8d6-43222).

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-08 22:58:54 +00:00
Luka Perkov c520ac0352 uboot-kirkwood: bump to 2014.07
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42080 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-08 15:55:03 +00:00
Luka Perkov 71e7b3b220 uboot-envtools: bump to 2014.07
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-08 15:14:26 +00:00
Steven Barth f34aeeedd4 odhcpd: avoid logspam in certain corner cases
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42067 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-08 08:45:33 +00:00
Steven Barth 9ea186f882 odhcpd: write host-entries for all leased IPv6 addresses
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-08 05:30:59 +00:00
Steven Barth ef0f6ced08 cyassl: update to 3.1.0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-08 05:25:52 +00:00
Steven Barth af39168bf2 polarssl: bump to 1.3.8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42061 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-08 05:20:50 +00:00
John Crispin 3b2b802a38 openssl: another day another bug fix update
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 20:54:41 +00:00
Felix Fietkau bc60d604b8 base-files: enable option to skip the netfilter "filter" table for established connection packets by default
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42048 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 19:30:36 +00:00
Felix Fietkau 54e8abbb4c xtables-addons: remove version 1.x for old kernels
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42047 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 19:30:33 +00:00
Steven Barth 4aa52b6871 odhcpd: update hostfile more often
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42042 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 18:07:37 +00:00
Jo-Philipp Wich 8af50ca921 build: consider sub-directories when deploying packages to image with CONFIG_PER_FEED_REPO (#17430)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 15:35:12 +00:00
Steven Barth 40858eb2d4 iptables: add kmod-ipt-nf* to dependency list of iptables-mod-nf*.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42034 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 12:32:33 +00:00
Steven Barth 523985dbeb netifd: unblock some proto shell actions in teardown state
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 10:21:08 +00:00
Steven Barth b1be939288 odhcpd: correct incorrect commit-id in last commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 05:50:44 +00:00
Steven Barth bd218a4aaf odhcpd: skip MSRs in RAs for prefixes with same size as DP
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 05:34:02 +00:00
Steven Barth a150a9c763 iptables: NFLOG and NFQUEUE targets' full support
NFLOG and NFQUEUE targets' full support for iptables.

Includes all needed kernel modules (Xtables's and Netlink's)
 and userspace libraries.
All added kernel modules can be individually disabled,
 all other new libraries get their own individual packages.

Reported-by: Fabian Hugelshofer <hugelshofer2006@gmx.ch>
Reported-by: Rainer Poisel <rainer.poisel@fhstp.ac.at>
Reported-by: Derek LaHousse <dlahouss@mtu.edu>
Signed-off-by: Guillaume Déflache <guillaume.deflache@ibwag.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 04:42:22 +00:00
Steven Barth 5d618642a6 netifd: disable ds-lite, map & gre for old kernels
this unbreaks netifd compilation on old kernels

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-06 19:57:19 +00:00
Felix Fietkau ac022524ff iwinfo: allow scans in AP mode on nl80211
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42014 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-06 17:07:18 +00:00
Jo-Philipp Wich bdc389b0f5 build: add new option to add disabled feeds commented out to opkg.conf
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-06 09:12:37 +00:00
Jo-Philipp Wich fdb795c3e4 build: introduce per feed repository support
This changeset implements a new menuconfig option to generate separate
repositories for each enabled package feed instead of one monolithic one.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-05 11:24:24 +00:00
Steven Barth 2f757bc989 netifd: minor fixes (thanks Hans Dedecker)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-05 10:03:10 +00:00
Steven Barth 658db62b29 gre: Change hostdependcy to remote endpoint tunnel address
Depend on the GRE tunnel peeraddr to trigger setup of the tunnel interface.
Addresses the issue reported in https://lists.openwrt.org/pipermail/openwrt-devel/2014-August/027201.html

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-05 09:57:55 +00:00
Felix Fietkau 89be00c4f0 hostapd: revert bogus version that was added in r41872
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41960 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 10:53:40 +00:00
Felix Fietkau e37a22922f robocfg: add missing include
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 10:45:39 +00:00
Felix Fietkau 658e03b89e iputils: add missing includes, fix musl support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41958 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 10:45:36 +00:00
Felix Fietkau f9e118358e igmpproxy: add missing include
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41957 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 10:45:31 +00:00
Felix Fietkau 56cfc363b1 iwcap: add missing include
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 10:45:28 +00:00
Felix Fietkau 7daf902bbf iwinfo: add missing include statement
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41955 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 10:45:23 +00:00
Felix Fietkau d7a542d8eb mac80211: refresh patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41953 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-02 19:51:58 +00:00
Felix Fietkau 3bd4699941 ath9k: disable periodic entropy gathering (keep initial) to fix some stability issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-02 19:51:54 +00:00
Zoltan HERPAI 448dde762b uboot-mxs: bump u-boot to 2014.07
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-02 11:17:17 +00:00
Jo-Philipp Wich 1706a28205 netfilter: introduce xt_id match
This commit implements a new netfilter match "xt_id" which can be used to
attach unsigned 32bit IDs to iptables rules.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41945 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-01 22:49:47 +00:00
Jonas Gorski 507c862cb4 mac80211: b43: include ucode30 by default
Fixes

b43-phy0 ERROR: Firmware file "b43-open/ucode30_mimo.fw" not found

for BCM43217 devices.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41943 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-01 21:56:43 +00:00
John Crispin 89b7d17ab1 package:grub2: fix build error on linux missing libzfs
configure enables libzfs support on default.
This will break the build, on systems without libzfs.

Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-01 11:19:46 +00:00
John Crispin f3360b7123 valgrind: add x86_64 support
Signed-off-by: Alexandru Ardelean <aa@ocedo.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-01 11:19:42 +00:00
John Crispin 875e5f14ce ugps: add a minimal gps daemon
* set the system time/data
* "ubus call gps info" will tell you lattitude, longitude, elevation, speed and bearing

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41929 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-01 09:37:49 +00:00
Hauke Mehrtens 51b0b19039 mac80211: b43: update b43 to version master-2014-07-29-1
This add 5GHz support for N-PHY to b43, thanks Rafał Miłecki.

b43_wflush16 was put into an extra function because it is pretty big in asm.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-30 21:15:42 +00:00
Steven Barth 1182d2ae41 gre: Generic Routing Encapsulation package support
The package supports Generic Routing Encapsulation support by registering following protocol kinds:
    -gre
    -gretap
    -grev6
    -grev6tap

Following options are valid for gre and gretap kinds:
    -ipaddr
    -peeraddr
    -df
    -mtu
    -ttl
    -tunlink
    -zone
    -ikey
    -okey
    -icsum
    -ocsum
    -iseqno
    -oseqno

The gretap kind supports additionally the network option

Following options are valid for grev6 and grev6tap kinds:
    -ip6addr
    -peer6addr
    -weakif
    -mtu
    -ttl
    -tunlink
    -zone
    -ikey
    -okey
    -icsum
    -ocsum
    -iseqno
    -oseqno

The grev6tap kind supports additionally the network option

Typical network config for a GREv4 tunnel :

config interface 'gre'
        option peeraddr '172.16.18.240'
        option mtu '1400'
        option proto 'gre'
        option tunlink 'wan'
        option zone 'tunnel'

Typical network config for a GREv4 tap tunnel :

config interface 'gretap'
        option peeraddr '195.207.5.79'
        option mtu '1400'
        option proto 'gretap'
        option zone 'tunnel'
        option tunlink 'wan'
        option network 'wlan_ap'

I added myself as maintainer for the moment; feel free to change.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-30 13:22:24 +00:00
Steven Barth bcd1a1c4c3 netifd: fixes and GRE support (thx Hans Dedecker)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-30 13:21:52 +00:00
Steven Barth f2476799ba odhcp6c: Fix white space typo in dhcpv6.script
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-30 13:18:01 +00:00
Steven Barth d562b50a50 netifd: suppress fw3 warnings in dhcp script
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-30 13:17:56 +00:00
Felix Fietkau be1cdf3260 procd: update to the latest version, fixes parsing of /etc/openwrt_release
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41891 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-30 12:39:46 +00:00
Steven Barth ea22ffc072 netifd: more race condition fixes in proto-shell
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-29 17:24:23 +00:00
Felix Fietkau 02627475b9 base-files: properly escape strings for version info
Make sure they don't break the sed command, and also make device_info
and openwrt_release more robust for parsing by scripts

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41885 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-29 13:30:23 +00:00
Felix Fietkau 5198a23da8 base-files: add extra version configuration options for OEM manufacturer info
Creates /etc/device_info which will be used to fill in information for
WPS and other protocols that need manufacturer/device information

This helps with creating OpenWrt firmware for OEM or rebranded devices.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-29 13:30:12 +00:00