Commit Graph

11943 Commits (d470b39ad9b4c18ae243ac5a2afd356435558aa3)

Author SHA1 Message Date
Felix Fietkau 6ae004207b base-files: fix telnet login on musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 15:07:19 +00:00
Felix Fietkau 50b9e7832e rpcd: add 802.11ac for iwinfo
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 13:55:11 +00:00
John Crispin 058c79e407 openssl: host build fails when ccache is enabled
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 11:19:53 +00:00
John Crispin f16cd1a9e5 hostapd: Add wpa_psk_file option to netifd.sh
The wpa_psk_file option offers the possibility to use a different WPA-PSK key for each client. The directive points to a file with the following syntax:

mac_address wpa_passphrase_or_hex_key

Example:

00:11:22:33:44:55 passphrase_for_client_1
00:11:22:33:44:67 passphrase_for_client_2
00:11:22:33:44:89 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef

So it is possible to specify both ASCII passphrases and raw 64-chars hex keys.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 11:19:21 +00:00
Imre Kaloz cbc5f498cd [comgt]: fix compile against musl
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 10:00:02 +00:00
Felix Fietkau c0464fcf03 Revert "openssl: add host build."
This reverts commit r42988

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 09:18:21 +00:00
John Crispin a762173207 openssl: add host build.
Only support Linux at the moment.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 06:29:27 +00:00
John Crispin c23daabb8c failsafe-mode: print short help on commandline
[base-files] failsafe-mode: print short help on commandline

Like mentioned in ticket https://dev.openwrt.org/ticket/11911
this should make the IRC much quieter. Failsafe is somehow
special and even experienced users are helpless, because they
are not used to this seldom situation. Also: likely you have
no internet access in this mode, so you cannot use the wiki.

a failsafe-session now looks like this:
first we see from 'package/base-files/files/bin/login.sh' the hint:

 === IMPORTANT ============================
  Use 'passwd' to set your login password
  this will disable telnet and enable SSH
 ------------------------------------------

after this the /etc/banner ("OpenWrt - wireless freedom")
and then the new text:

================= FAILSAFE MODE active ================
special commands:
* firstboot          reset settings to factory defaults
* mount_root     mount root-partition with config files

after mount_root:
* passwd                         change root's password
* /etc/config               directory with config files

for more help see:
http://wiki.openwrt.org/doc/howto/generic.failsafe
=======================================================

this supersedes the old patches:
http://patchwork.openwrt.org/patch/3337/
http://patchwork.openwrt.org/patch/3553/

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 06:29:05 +00:00
Felix Fietkau 19cb89c9a0 iproute2: fix musl build
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 23:04:17 +00:00
Felix Fietkau d7be7f6241 authsae: fix musl build
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 23:04:02 +00:00
Felix Fietkau 500725cc51 gdb: update to version 7.8, fix musl build
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 22:49:42 +00:00
Felix Fietkau 97249405f8 valgrind: update to the latest version, fix musl support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 22:35:27 +00:00
Felix Fietkau 069e264caa base-files: fix ldd definition if /usr/bin/ldd exists
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42976 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 21:46:08 +00:00
Felix Fietkau 8536f53c68 toolchain: drop the mips softfloat symlink hack
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 21:46:03 +00:00
Felix Fietkau e34f086b82 toolchain: when using musl, install a symlink from ld-musl-*.so to /usr/bin/ldd
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42974 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 21:45:58 +00:00
Felix Fietkau e2048f6c80 mountd: explicitly link libubox (needed by libuci)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42972 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 21:45:45 +00:00
Felix Fietkau 2e352aab13 openssl: add ABI_VERSION to fix package rebuild issues (fixes #18169)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42963 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 16:19:07 +00:00
Felix Fietkau 5e574fc33f polarssl: do not build the unused programs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42960 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 09:43:31 +00:00
Felix Fietkau 48fe35fed7 rpcd: update to the latest version, fixes build after libubox update
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 08:46:00 +00:00
Felix Fietkau dfb392d4db mac80211: add a maintenance script for upstream backport commits
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42953 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-18 17:39:04 +00:00
Felix Fietkau 2a685ec414 mac80211: update to 2014-10-08
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-18 17:38:59 +00:00
Steven Barth 3cb3abd960 odhcpd: fix regression in dhcpv6 t1 and t2 calculation
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-18 15:47:31 +00:00
Felix Fietkau e24404f6b3 polarssl: add missing version bump
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-18 09:20:38 +00:00
Felix Fietkau 44a7d8e7e6 polarssl: disable SSLv3 support, fixes CVE-2014-3566 (POODLE)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-18 09:17:31 +00:00
Steven Barth ea44512369 odhcpd: multiple fixes
* Rewrite ndp proxy using kernel proxying
* Aid flash-renumbering in hybrid DHCPv6-mode
* Unicast RAs to RS senders
* Add support for router address

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42944 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-17 11:18:52 +00:00
Steven Barth 65c4baa4a6 hostapd: CVE-2014-3686 fixes
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-17 06:15:35 +00:00
Jo-Philipp Wich 41f4265101 build: improve feed handling for opkg.conf
- Consider not installed feeds as well
 - Add option to decide whether to comment disabled feeds

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-16 10:30:16 +00:00
Jo-Philipp Wich b3c29f9f23 openssl: update to v1.0.1j (CVE-2014-3513, CVE-2014-3567, CVE-2014-3568)
Also refresh patches and bump copyright year in Makefile.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42929 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-16 08:32:54 +00:00
John Crispin 9f53cd1006 default_postinst() fix wrong call of group_add
[base-files] default_postinst() fix wrong call of group_add
after 12bae65d07d29854204715cebc1ef1eae237fd9b group_add is
always called. shell scripting can be tricky...

wrong call:
[ -n "$gid" ] && group_exists $name || group_add $name $gid

this leads to a call of 'group_add' when $gid is emtpy, proof:

root@box:~ functionA() { echo A; }
root@box:~ functionB() { echo B; }
root@box:~ VAR=
root@box:~ [ -n "$VAR" ] && functionA || functionB
B
root@box:~ # functionB was called, but VAR is not filled
root@box:~ VAR=filled
root@box:~ [ -n "$VAR" ] && functionA || functionB
A

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-15 17:55:13 +00:00
John Crispin 19246191d3 base-files: default_postinst() force clear luci-indexcache
Inside every LuCI package you need to clear luci-indexcache and
sometimes when installing non LuCI pacakges it's also needed to clear
it. Easier put it into default_postinst().

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-14 19:01:30 +00:00
John Crispin 989a87e748 package: add libnetfilter-log.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42921 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-14 19:01:16 +00:00
John Crispin 2897186939 base-files: the USERID code path did not check for duplicate groups
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42919 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-14 19:01:05 +00:00
John Crispin d8bd66f630 procd: update to latest git
this adds the remaining patches that Michel Stam sent

Signed-off-by: Michel Stam <m.stam@fugro.nl>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42918 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-14 15:53:05 +00:00
John Crispin c0c2f68bab libubox: update to latest git
this adds a new helper for setting/overriding the signal handlers

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42917 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-14 15:53:00 +00:00
John Crispin 96d2eba315 ar71xx: qihoo-c301: reset imageNtrynum after each successful boot.
Qihoo C301 has 2 flash chips of which one is used as primary and the
other is used as backup.  OEM U-Boot will try to boot an activeregion N
with imageNstatus=0 and imageNtrynum <= imagemaxtry.  If such a region
is found, bootloader will try to increment imageNtrynum and boot it.

This patch tries to reset imageNtrynum after each successful boot (if
the boot process reaches the execution of /etc/init.d/done).

	root@OpenWrt:/# hexdump -C -n 128 /dev/mtdblock9
	00000000  9e f3 63 91 61 63 74 69  76 65 72 65 67 69 6f 6e  |..c.activeregion|
	00000010  3d 31 00 69 6d 61 67 65  31 73 74 61 74 75 73 3d  |=1.image1status=|
	00000020  30 00 69 6d 61 67 65 32  73 74 61 74 75 73 3d 30  |0.image2status=0|
	00000030  00 69 6d 61 67 65 32 74  72 79 6e 75 6d 3d 30 00  |.image2trynum=0.|
	00000040  69 6d 61 67 65 6d 61 78  74 72 79 3d 33 00 69 6d  |imagemaxtry=3.im|
	00000050  61 67 65 31 74 72 79 6e  75 6d 3d 30 00 00 00 00  |age1trynum=0....|
	00000060  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-14 12:21:36 +00:00
John Crispin 06dd1915e4 udev/Config.in: help format, and fix spelling mistake
Formatting and spelling fixes.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-14 12:21:24 +00:00
John Crispin 81d9f2d585 scripts: fix wrong usage of '==' operator
[base-files] shell-scripting: fix wrong usage of '==' operator

normally the '==' is used for invoking a regex parser and is a bashism.
all of the fixes just want to compare a string. the used busybox-ash
will silently "ignore" this mistake, but make it portable/clean at least.

this patch does not change the behavior/logic of the scripts.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-14 12:21:11 +00:00
John Crispin 57f69d3a7d fstools: update to latest git HEAD
this adds support for overlayfs v23

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-13 19:41:16 +00:00
Felix Fietkau 55fe29b1b9 procd: fix initial nand sysupgrade
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-12 15:50:15 +00:00
Felix Fietkau e7f7a8d1c5 procd: fix parsing of the has_env parameter
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-12 15:50:01 +00:00
Felix Fietkau dc6e09ebfa mac80211: remove NO-IR from channel 36-48
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-12 15:49:38 +00:00
Steven Barth 0ec6c11bed netifd: Make mtu configurable of dynamic 6rd tunnel interface
Patch allows to configure the mtu of the dynamic 6rd tunnel interface when created by dhcp script.
In some setups it's desirable to have config control over the 6rd tunnel mtu to maximize the traffic throughput

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-12 12:27:21 +00:00
Steven Barth 586546daf7 odhcp6c: fix parse errors with some dhcpv6 servers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42869 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-12 12:18:33 +00:00
John Crispin 3523e0f2d6 comgt: add ncm proto support
This will not work for all board/dongle combinations until we hit 3.17.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-10 08:56:33 +00:00
Felix Fietkau d77d06abad mac80211: remove error from detect script
Signed-off-by: Michel Stam <m.stam@fugro.nl>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-09 09:04:24 +00:00
Steven Barth 46e31e96bd ppp: add unconditional autoipv6-trigger
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-09 07:38:25 +00:00
Steven Barth ca4fa0c501 ppp: remove ugly ipv6-workaround
This is not needed after all:

Omitting option ipv6 or setting it to 'auto' will
fire up a dhcpv6 subprotocol (this was added).

Setting ipv6 to 1 will only cause the IPv6 link to
be brought up and an accompanying dhcpv6 or static
interface with ifname @wan can be used to configure addresses.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42859 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-09 07:35:28 +00:00
Steven Barth 143de7849f dropbear: ensure the interface has an ip-address
Use network_get_ipaddrs_all to get all ip-addresses of an interface. If the
function fails, the interface does not exists or has not any suiteable ip
addresses assigned.

Use the returned ip-address(es) to construct the dropbear listen address.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-09 07:16:35 +00:00
Steven Barth c9ab6f3a67 base-files: add network_get_ipaddrs_all()
Return all IPv4 and IPv6 addresses.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-09 07:16:29 +00:00
Steven Barth 6c80ad9288 ppp: allow auto-detecting and creation of ipv6 subinterface
this makes ipv6 with ppp a bit more comfortable

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-08 20:37:15 +00:00
Steven Barth 4954089149 odhcp6c: fix typo in last commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-08 15:27:17 +00:00
Steven Barth 363b7bb19b odhcp6c: don't assign addresses or prefixes prematurely
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-08 15:16:19 +00:00
Felix Fietkau 71d458084e mac80211: add a few upstream ath9k / mac80211 fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-08 15:09:53 +00:00
Steven Barth 3823e9634d network: Unbind DHCPv6 from underlying interfaces
This allows IPv6 to set up without IPv4 being up thus
IPv6-only or IPv6+DS-Lite working with the default config.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-08 13:08:05 +00:00
Steven Barth fc78024c3e odhcp6c: ensure signal-safety of signal handlers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-08 09:58:40 +00:00
John Crispin b0ca0dd4b0 lldp: make use of new USERID syntax
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42839 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-08 08:01:33 +00:00
John Crispin f9cddd1fd9 base-files: extend USERID:=syntax
it is now possible to inlie the uid and gid in the syntax

USERID:=username=uid:group=gid:group2=gid2:...

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42838 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-08 08:01:28 +00:00
John Crispin 98e716884d wwan: add a generic 3g/4g proto
this proto handler will detect which of 3g, qmi, mbim, ncm or directip you need
for a stick and setup uci automagically

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-08 08:01:20 +00:00
John Crispin f93a2e4c7e comgt: split directip support into its own package
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42836 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-08 08:00:55 +00:00
John Crispin f4dd6b28f2 uqmi: dont use proto_block_restart
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-08 08:00:45 +00:00
John Crispin fd3d61ef08 uqmi: make the proto depend on the usb driver
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-08 08:00:21 +00:00
John Crispin fffd302f3c umbim: dont use proto_block_restart
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42833 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-08 08:00:17 +00:00
John Crispin ea6820d0cc umbim: 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@42832 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-08 08:00:07 +00:00
John Crispin aacd95e1f5 procd: handle hotplug events for the usbmisc subsystem
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42831 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-08 08:00:01 +00:00
John Crispin bb8e04d927 procd: r42814 added a bad git version
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42826 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 20:27:31 +00:00
John Crispin 06435798dc procd: update to latest git HEAD
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 20:06:41 +00:00
John Crispin c38a6c5213 ubox: update to latest git head
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42813 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 20:06:26 +00:00
John Crispin f91238dc22 fstools: update to latest git
adds support for /dev/vd* virtual io

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42812 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 20:06:15 +00:00
Steven Barth bb49239274 odhcp6c: add route-workaround for broken IPv6-ISPs
Some ISP seem to only do stateful DHCPv6 and not sending RAs.
This is technically broken because plain DHCPv6 doesn't carry routes.

We work around here by faking a default route to the DHCPv6 server
if we do not receive a useful RA from the ISP.

This workaround can be turned off with: option fakeroutes 0

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42803 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 11:19:33 +00:00
Steven Barth 415543620a nftables: bump to 2014-09-30, disable gmp
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 06:24:53 +00:00
John Crispin fef66999f8 base-files: make postinst script run inside a subshell
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 05:55:35 +00:00
Steven Barth 6a1dd4f0e7 libnftnl: bump to 2014-10-02
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42799 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 05:30:36 +00:00
John Crispin 2e9a3b28f2 iwinfo: add AR9580 with new subsystem device ID and QCA9880 with no subsystem vendor/device IDs
The AR9580 with the new ID can be found in the EnGenius ESR900 and the
QCA9880 without any subsystem IDs can be found in the EnGenius ESR1750.

Signed-off-by: Forest Crossman <cyrozap@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 04:53:04 +00:00
John Crispin 09039308fa kernel: add rtc-ds1307 module support
Signed-off-by: Michael Heimpold <mhei@heimpold.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42791 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 04:52:51 +00:00
John Crispin 6e8e2303cb kernel: add ledtrig-transient module support
Signed-off-by: Michael Heimpold <mhei@heimpold.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 04:52:44 +00:00
John Crispin 3bf58c8249 hostapd: read missing parameter for dynamic VLANs
In r41872 Dynamic VLAN support was reintroduced, but the vlan_naming
parameter is not read while setting up the config, so it always
defaults to 1.

Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42787 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 04:52:21 +00:00
John Crispin 37a33d7e8d sysupgrade: preserve symlinks in backups
Signed-off-by: Catalin Patulea <catalinp@google.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42783 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 04:51:56 +00:00
Felix Fietkau 40935a16aa lantiq: remove the useless ltqtapi.mk include file
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42778 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 18:58:47 +00:00
Felix Fietkau af7fe5f5e0 iproute2: add conflict for ip with ip-full
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42774 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 17:13:34 +00:00
Felix Fietkau 6ca4824bc3 hostapd: add conflicts with wpad(-mini) to hostapd and wpa_supplicant
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42772 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 16:41:50 +00:00
Felix Fietkau f7b51f6c07 ath10k: update firmware to the latest version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 14:59:59 +00:00
Felix Fietkau 4cb3d9cb9e mac80211_hwsim: select 802.11n support for hostapd
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42766 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 11:50:42 +00:00
Felix Fietkau 16de94ff94 relayd: update to the latest version, fixes a build error with the new gcc (#18010)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42765 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 11:01:49 +00:00
Felix Fietkau b223fd3e4c hostapd: allow using iapp for any encryption type (fixes #18022)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 10:55:55 +00:00
Felix Fietkau 09cdef74a8 hostapd: merge an upstream patch for pmksa cache
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 10:26:26 +00:00
Felix Fietkau e684caba4e iwinfo: detect AC PHY for broadcom-wl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 10:26:17 +00:00
Felix Fietkau 016f5ba570 iwinfo: detect HT PHY for broadcom-wl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42760 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 10:26:10 +00:00
Felix Fietkau bfacdd543b iwinfo: fix handling of accessing nl80211 interfaces via radio*
look up device path via uci instead of assuming a direct phy index

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 10:26:05 +00:00
Felix Fietkau 0d160a4d3e iwinfo: enable nl80211 support based on cfg80211, not mac80211
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42758 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 10:25:55 +00:00
Jo-Philipp Wich 2ec28fde12 iwinfo: handle 802.11ac mode for lua
Signed-off-by: Bartosz Markowski <bartosz.markowski@tieto.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-04 09:38:17 +00:00
Steven Barth 956a14a1b2 base-files: remove a 'not found' error message during system boot
During boot, a not found message is displayed for systems which do
not have uci 'network.globals.ula_prefix' defined in
/etc/config/network. The error message itself is not used and can
be ignored.

Signed-off-by: Michel Stam <m.stam@fugro.nl>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-03 10:56:43 +00:00
Steven Barth c42e8fe0ab toolchain: Fix libthreaddb not being installed
Signed-off-by: Michel Stam <m.stam@fugro.nl>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 19:47:39 +00:00
Steven Barth 2ab44b72d3 busybox: remove validation message from bootup
A message:
uinteger - 9 = true
is displayed during boot. This is the result of the validate_data
command checking the cron log level. As the output is not
interesting, only the result, filter...

Signed-off-by: Michel Stam <m.stam@fugro.nl>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 19:47:33 +00:00
Steven Barth 7644a74452 authsae: update to latest version
Send a netlink call to leave the mesh when meshd exits
Make hunting-and-pecking loop (more) resistant to side channel attack

Signed-off-by: Michel Stam <m.stam@fugro.nl>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 19:47:28 +00:00
Steven Barth e3e254cd7e 6in4: Tos support
Tos support is added as a string 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@42749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 19:38:15 +00:00
Steven Barth b5cf0a125b 6to4: Tos support
Tos support is added as a string 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@42748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 19:38:04 +00:00
Steven Barth 35fbc3abaa 6rd: Tos support
Tos support is added as a string 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@42747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 19:37:58 +00:00
Steven Barth b4c5339ffa IPIP: IP in IP package support
The package supports IP in IP by registering the ipip protocol handler

Following options are configurable
    -peeraddr (IPv4 remote address)
    -ipaddr (IPv4 local address)
    -ttl (time to live of encapsulating packet)
    -tos (type of service of encapsulating packet either inherit (outer header inherits the value of the inner header) or hex value)
    -df (don't fragment flag of encapsulating packet)
    -mtu (IPIP tunnel mtu)
    -tunlink (bind tunnel to this interface)
    -zone (firewall zone to which the IPIP tunnel will be added)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42746 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 19:37:36 +00:00
Steven Barth 3545c2dce5 netifd: fix an error message during network shutdown
When 'wifi down' is called by /etc/init.d/network, it is run from
stop_service( ). This function is in turn invoked from stop( ).
stop( ) messes up the order by first procd_kill-ing the network
settings, then calling wifi to down the wifi networking
interfaces. By redefining stop( ) instead, the proper order is
restored.

Signed-off-by: Michel Stam <m.stam@fugro.nl>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42745 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 19:37:25 +00:00
Steven Barth 55316cc672 netifd: add IPIP tunnel support (thx Hans Dedecker)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 19:37:17 +00:00