Commit Graph

180 Commits

Author SHA1 Message Date
blogic 41ed6f55fb 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>

Backport of r42319

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42389 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:22:06 +00:00
blogic abd77939b4 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>

Backport of r42318

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42388 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:22:05 +00:00
blogic 9bbef11096 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>

Backport of r42281

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42382 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:57 +00:00
blogic cb8f6fa0b4 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>

Backport of r42278

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42379 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:54 +00:00
blogic e848b54b53 firewall: the firewall did not start properly on boot
https://dev.openwrt.org/ticket/17593

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

Backport of r42233

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42374 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:46 +00:00
blogic 4e7194ad03 libubox: update to latest git revision
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r42230

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42373 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:45 +00:00
blogic 9a35cceade valgrind: fix build failure on uml
Signed-off-by: Nicolas Thill <nico@openwrt.org>

Backport of r42229

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42372 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:44 +00:00
blogic 19961bb643 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>

Backport of r42196

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42369 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:38 +00:00
blogic 9558acae1a 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>

Backport of r42195

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42368 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:36 +00:00
blogic 64098682a1 ppp: enable IPv6CP by default
Signed-off-by: Steven Barth <steven@midlink.org>

Backport of r42158

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42355 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:11 +00:00
blogic 921a5bb956 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>

Backport of r42138

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42354 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:09 +00:00
blogic f76ea8c4ef 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>

Backport of r42114

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:07 +00:00
blogic 3809133bd0 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>

Backport of r42112

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42352 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:05 +00:00
blogic 4eebf6dfc4 hostapd: fix some whitespaces
Signed-off-by: Luka Perkov <luka@openwrt.org>

Backport of r42111

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:04 +00:00
blogic 616838d4cf 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>

Backport of r42085

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42350 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:02 +00:00
nbd 3bbd43553f netifd: update to the latest version, adds interface cleanup fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42345

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

Backport of r42344

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42346 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-31 13:09:14 +00:00
nbd d6d23c0bb2 nettle: disable mips16 support to improve performance
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>

Backport of r42341

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-31 12:04:22 +00:00
jogo 32d501a8da BB: binutils: link libbfd and libopcodes dynamically again
Backport of r42337.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-30 11:04:19 +00:00
nbd d3b76e0a58 mac80211: fix crash when unloading drivers (#17706)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42329

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42330 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-29 20:41:20 +00:00
jow dc422c5293 BB: 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>

Backport of r42284

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42286 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 12:46:35 +00:00
jow 6c3fc907a4 BB: iwinfo: properly decode SSIDs when scanning through wpa_supplicant
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

Backport of r42273

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42285 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 12:46:27 +00:00
cyrus 8583b7ca2c odhcp6c: enable softwires support by default
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42275 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 06:12:19 +00:00
cyrus fef411a8e3 odhcpd: fix static lease behavior with dhcpv4
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42271 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-24 08:13:42 +00:00
nbd a5098b2e34 uclient: update to latest version, fixes HTTP keepalive issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42257

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42258 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 19:13:10 +00:00
jogo b5cd5061ce BB: 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.

Backport of r42250.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42255 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 18:28:09 +00:00
cyrus 21d363e5a0 base-files: increase igmp_max_memberships to improve multicast-proxy handling
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-20 10:19:03 +00:00
cyrus c15b063267 dnsmasq: fix a race condition possibly leading to lockup
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42226 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-20 09:53:29 +00:00
cyrus c7dc71aa9f odhcpd: bump for bugfixes
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42219 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-19 06:00:09 +00:00
cyrus 6566ae535e dnsmasq: respect option dhcpv4 disabled in dhcp-config
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42218 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-19 06:00:07 +00:00
cyrus 90dec7a948 bb: bump netifd
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-19 05:39:28 +00:00
cyrus 7a828618dc odhcpd: multiple DHCPv4 improvements (thx Christian Mehlis)
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42154 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-12 13:30:38 +00:00
jow 8b999f8512 BB: 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>

Backport of r42151

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42152 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-12 11:15:38 +00:00
jow a62f6c751b BB: 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>

Backport of r42139

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42140 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-11 18:17:09 +00:00
jow 991fe920cc BB: build: consider sub-directories when deploying packages to image with CONFIG_PER_FEED_REPO (#17430)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

Backport of r42041

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-09 12:11:34 +00:00
hauke 4a480c93d1 broadcom-wl: add support for a8xx broadcom devices
Tested on Comtrend VR-3025u (brcm6368 + a8d6-43222).

backport of: r42084

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


git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-08 23:06:16 +00:00
cyrus 9d93edf44c odhcpd: avoid logspam in certain corner cases
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42068 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-08 08:46:26 +00:00
cyrus 8e48d605c9 odhcpd: write host-entries for all leased IPv6 addresses
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42066 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-08 05:31:38 +00:00
cyrus ddd71e733d cyassl: update to 3.1.0
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42064 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-08 05:26:21 +00:00
cyrus 30425c13e2 polarssl: bump to 1.3.8
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-08 05:21:38 +00:00
blogic 3ddb03dada openssl: another day another bug fix update
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r42055

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42056 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 20:55:33 +00:00
nbd 452b27c0be base-files: enable option to skip the netfilter "filter" table for established connection packets by default
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42048

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 19:31:19 +00:00
cyrus f7bc58852f odhcpd: update hostfile more often
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 18:08:10 +00:00
cyrus 27a73d7e5e 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/branches/barrier_breaker@42035 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 12:33:22 +00:00
cyrus bd07219ece netifd: bump to latest version
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 10:24:28 +00:00
cyrus 0241b7792f 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/branches/barrier_breaker@42030 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 10:00:28 +00:00
cyrus d91f530a55 odhcpd: correct incorrect commit-id in last commit
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 05:51:21 +00:00
cyrus 950a6a298f odhcpd: skip MSRs in RAs for prefixes with same size as DP
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42025 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 05:34:43 +00:00
hauke d2f8cfa892 BB: 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>

backport: r41900


git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-06 22:02:14 +00:00
blogic d911822880 build: add new option to add disabled feeds commented out to opkg.conf
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

Backport of r42004

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-06 18:18:49 +00:00
blogic 25d149c3f0 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>

Backport of r42002

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-06 18:18:47 +00:00
nbd bcf0163e03 iwinfo: allow scans in AP mode on nl80211
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42014

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-06 17:07:35 +00:00
nbd 6213594d2f mac80211: refresh patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r41953

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42011 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-06 10:30:19 +00:00
nbd e074f4a9df ath9k: disable periodic entropy gathering (keep initial) to fix some stability issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r41952

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-06 10:30:18 +00:00
nbd 8c11c916df 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>

Backport of r41945

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-06 10:30:09 +00:00
cyrus 6f7c21ba50 netifd: minor fixes (thanks Hans Dedecker)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-05 10:03:48 +00:00
cyrus a07c9b94a9 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/branches/barrier_breaker@41999 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-05 10:00:25 +00:00
cyrus a6a8c6fc58 Merge gre config support since netifd was bumped.
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41989 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-04 05:57:05 +00:00
blogic 5e0687472e netfid: update to latest git version
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 11:37:28 +00:00
blogic 4ecbb4d388 hostapd: revert bogus version that was added in r41872
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r41960

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 11:15:59 +00:00
blogic 2aa2bb7b47 robocfg: add missing include
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r41959

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 11:15:57 +00:00
blogic c29d34c2e1 iputils: add missing includes, fix musl support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r41958

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 11:15:56 +00:00
blogic 4e11e2d7a7 igmpproxy: add missing include
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r41957

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 11:15:54 +00:00
blogic a999e7c33f iwcap: add missing include
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r41956

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 11:15:53 +00:00
blogic 4cbce45fdb iwinfo: add missing include statement
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r41955

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41977 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 11:15:51 +00:00
blogic 8db233c5a3 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>

Backport of r41935

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 11:15:48 +00:00
blogic 1b80487ddc valgrind: add x86_64 support
Signed-off-by: Alexandru Ardelean <aa@ocedo.com>

Backport of r41934

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41974 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 11:15:47 +00:00
blogic d7cd6a0428 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>

Backport of r41929

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 11:15:42 +00:00
blogic 3c9fbc6e05 procd: update to the latest version, fixes parsing of /etc/openwrt_release
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r41891

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41968 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 11:15:39 +00:00
blogic 249b39bd20 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>

Backport of r41884

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41967 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 11:15:37 +00:00
blogic 17419452a6 ppp: fix a buffer overrun in the ms chap code
https://dev.openwrt.org/ticket/17296

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

Backport of r41882

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41966 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 11:15:36 +00:00
blogic 51c9cc5b80 mac80211: support wildcard paths when matching phys
This change introduces support for wildcard patterns in "option path"
of section "wifi-device".

Objective is to allow paths like "*/usb[0-9]/*/*" in order to claim
any usb device using the same backend type, regardless of its bus
address or phy name.

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

Backport of r41873

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41965 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 11:15:35 +00:00
blogic 89e81e4f5c procd: work around some docker architecture quirks
Backport of r41867

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41964 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 11:15:33 +00:00
blogic d4f181f2f2 hostapd: Reintroduce Full Dynamic VLAN support
This patch brings full dynamic vlan support to netifd that existed in hostapd.sh in Attitude Adjustment.

Signed-off-by: Joseph CG Walker <Joe@ChubbyPenguin.net>
[jow@openwrt.org: changed commit message, rebased on top of current hostapd.sh]
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

Backport of r41872

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41963 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 11:15:32 +00:00
cyrus f1366075bb odhcp6c: Fix white space typo in dhcpv6.script
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-30 13:18:37 +00:00
cyrus 1ec7f32caf netifd: suppress fw3 warnings in dhcp script
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-30 13:18:35 +00:00
cyrus 94d61cbd67 netifd: more race condition fixes in proto-shell
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-29 17:25:48 +00:00
blogic 1e26f7b3b3 rt2x00: disbale wifi on mt7620x until the lna/pna is fixed and the new eep layout is supported
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-29 10:51:05 +00:00
nbd ef4f31c01a procd: check output of "uci show" instead of raw config files in order to track uncommitted changes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r41865

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-29 02:20:19 +00:00
nbd e345c9a277 create branch for barrier breaker (from trunk r41863)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41864 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-28 23:18:57 +00:00