Commit graph

9652 commits

Author SHA1 Message Date
Steven Barth
1e6ab23098 netifd: minor fixes (thanks Hans Dedecker)
SVN-Revision: 42000
2014-08-05 10:03:10 +00:00
Steven Barth
bc0acb9db9 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>

SVN-Revision: 41998
2014-08-05 09:57:55 +00:00
Felix Fietkau
44cb68c038 hostapd: revert bogus version that was added in r41872
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41960
2014-08-03 10:53:40 +00:00
Felix Fietkau
c02cfdb46d robocfg: add missing include
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41959
2014-08-03 10:45:39 +00:00
Felix Fietkau
49d00e95db iputils: add missing includes, fix musl support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41958
2014-08-03 10:45:36 +00:00
Felix Fietkau
3e0247b95f igmpproxy: add missing include
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41957
2014-08-03 10:45:31 +00:00
Felix Fietkau
34a1ee8410 iwcap: add missing include
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41956
2014-08-03 10:45:28 +00:00
Felix Fietkau
5a506ca595 iwinfo: add missing include statement
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41955
2014-08-03 10:45:23 +00:00
Felix Fietkau
498619dc1f mac80211: refresh patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41953
2014-08-02 19:51:58 +00:00
Felix Fietkau
183e5954b4 ath9k: disable periodic entropy gathering (keep initial) to fix some stability issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41952
2014-08-02 19:51:54 +00:00
Zoltan Herpai
697f609fc8 uboot-mxs: bump u-boot to 2014.07
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 41946
2014-08-02 11:17:17 +00:00
Jo-Philipp Wich
baa7c211f5 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>

SVN-Revision: 41945
2014-08-01 22:49:47 +00:00
Jonas Gorski
7272ccbf24 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>

SVN-Revision: 41943
2014-08-01 21:56:43 +00:00
John Crispin
c890f71b95 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>

SVN-Revision: 41935
2014-08-01 11:19:46 +00:00
John Crispin
8d3f3a1d72 valgrind: add x86_64 support
Signed-off-by: Alexandru Ardelean <aa@ocedo.com>

SVN-Revision: 41934
2014-08-01 11:19:42 +00:00
John Crispin
08a03debd9 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>

SVN-Revision: 41929
2014-08-01 09:37:49 +00:00
Hauke Mehrtens
83c803086c 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>

SVN-Revision: 41900
2014-07-30 21:15:42 +00:00
Steven Barth
7dabdbde78 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>

SVN-Revision: 41897
2014-07-30 13:22:24 +00:00
Steven Barth
e413bb0e7e netifd: fixes and GRE support (thx Hans Dedecker)
SVN-Revision: 41896
2014-07-30 13:21:52 +00:00
Steven Barth
462023f45a odhcp6c: Fix white space typo in dhcpv6.script
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

SVN-Revision: 41893
2014-07-30 13:18:01 +00:00
Steven Barth
86671615de netifd: suppress fw3 warnings in dhcp script
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

SVN-Revision: 41892
2014-07-30 13:17:56 +00:00
Felix Fietkau
5743a89fb5 procd: update to the latest version, fixes parsing of /etc/openwrt_release
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41891
2014-07-30 12:39:46 +00:00
Steven Barth
6a50e69b21 netifd: more race condition fixes in proto-shell
SVN-Revision: 41887
2014-07-29 17:24:23 +00:00
Felix Fietkau
d5653558ac 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>

SVN-Revision: 41885
2014-07-29 13:30:23 +00:00
Felix Fietkau
dbb77e39a0 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>

SVN-Revision: 41884
2014-07-29 13:30:12 +00:00
John Crispin
8d3f839da7 ppp: fix a buffer overrun in the ms chap code
https://dev.openwrt.org/ticket/17296

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

SVN-Revision: 41882
2014-07-29 12:18:52 +00:00
Jo-Philipp Wich
1c0557cfa8 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>

SVN-Revision: 41873
2014-07-29 09:48:07 +00:00
Jo-Philipp Wich
b6153f92ad 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>

SVN-Revision: 41872
2014-07-29 09:48:02 +00:00
Imre Kaloz
ad27df85b7 BB is branched, get ready for Chaos Calmer
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41870
2014-07-29 08:24:57 +00:00
Steven Barth
c0ad075472 procd: work around some docker architecture quirks
SVN-Revision: 41867
2014-07-29 06:51:35 +00:00
Felix Fietkau
caeb675a46 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>

SVN-Revision: 41865
2014-07-29 02:12:24 +00:00
Felix Fietkau
c6d1992701 hostapd: add more missing ifdefs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41863
2014-07-28 22:52:39 +00:00
Steven Barth
7f17639742 netifd: more dynamic interface improvements
SVN-Revision: 41862
2014-07-28 20:35:53 +00:00
Felix Fietkau
fd619513d1 hostapd: add missing ifdef
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41855
2014-07-28 10:36:51 +00:00
John Crispin
3c9cfbeebd base-files: Remove stale calls to start() in initscripts.
based on http://patchwork.openwrt.org/patch/5969/

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

SVN-Revision: 41840
2014-07-26 20:36:15 +00:00
Felix Fietkau
76d7397bc2 netifd: fix a small issue in r41831
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41836
2014-07-26 14:35:15 +00:00
Felix Fietkau
e7ece301fe odhcp6c: suppress fw3 warnings
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41833
2014-07-26 12:23:28 +00:00
Felix Fietkau
ee4f8c8b99 netifd: update to the latest version, fixes a race condition with renew/setup
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41831
2014-07-26 01:46:34 +00:00
Jo-Philipp Wich
b84346e141 iwinfo: avoid creating tmp.* ifaces for scanning
If the iface to scan on already is in ad-hoc, station or monitor mode
then do not spawn a temporary iface.

Also preventively disable IPv6 on temporary ifaces before bringing them
up to avoid potential security issues.

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

SVN-Revision: 41830
2014-07-25 15:52:17 +00:00
Jo-Philipp Wich
bd7642f1a9 iwinfo: fix secondary radios being misreported as ralink device
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 41829
2014-07-25 14:36:43 +00:00
Felix Fietkau
eaa3c4a11d hostapd: prevent spurious 20/40 mhz channel bandwidth switches if noscan is enabled
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41828
2014-07-25 14:29:58 +00:00
Felix Fietkau
8b4a312ed9 mac80211: merge a few WDS-AP related fixes (#14756, #16802)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41827
2014-07-25 14:24:03 +00:00
Jo-Philipp Wich
833820dc8b iwinfo: continue scanning even if temporary mac cannot be changed
So far iwinfo aborted a wifi scan attempt if the mac of the spawned
interface could not be changed. Change the code to try anyway - this
should fix wifi scanning on RaLink devices.

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

SVN-Revision: 41826
2014-07-25 14:11:50 +00:00
Steven Barth
ae50480d77 netifd: Fix some race-conditions in interface handling
SVN-Revision: 41825
2014-07-24 22:05:19 +00:00
Steven Barth
9231df5665 softwires: redesign dhcp(v6) provisioning
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 41823
2014-07-24 14:17:41 +00:00
Imre Kaloz
a8486aeff3 package the mwifiex-pcie driver
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41820
2014-07-24 10:18:06 +00:00
Felix Fietkau
5206b2dac0 netifd: update to the latest version, enables bridge multicast querier and fixes interface reload issues with wifi
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41818
2014-07-24 09:13:04 +00:00
Steven Barth
22419ae4cb odhcpd: don't lose downstream routes for managed PD
SVN-Revision: 41816
2014-07-23 21:14:56 +00:00
Felix Fietkau
ad4a351f19 ath9k: fix a long standing aggregation related tx lockup
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41815
2014-07-23 13:44:44 +00:00
Steven Barth
b4a3863875 odhcpd: revert NDP relay rewrite (performance issue still fixed)
SVN-Revision: 41808
2014-07-22 21:52:20 +00:00
Hauke Mehrtens
3d5412bd06 mac80211: b43: update b43 to version master-2014-07-22
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41805
2014-07-22 21:42:07 +00:00
Felix Fietkau
1e710a93eb mac80211: fix a null pointer deref when querying station info when rate control is not initialized (#17061)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41801
2014-07-22 19:05:19 +00:00
Steven Barth
b864faa47c odhcpd: fix typo in ubus integration (thanks Markus Stenberg)
SVN-Revision: 41796
2014-07-21 21:57:15 +00:00
John Crispin
64a07e6a8b lantiq-dsl: add 2 ugly workarounds for the IB to work
the IB tries to run the enable target on all init.d scripts.
It fails when including the dsl_control helper. Check for existence
prior to the include.

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

SVN-Revision: 41787
2014-07-21 18:41:46 +00:00
Steven Barth
683b622fcd odhcp6c: Send RS with source link-layer address if possible
SVN-Revision: 41778
2014-07-21 10:11:09 +00:00
John Crispin
596ff29ade package/uboot-envtools: add OpenMesh OM5P support
Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 41774
2014-07-20 17:31:00 +00:00
John Crispin
0bd5b7484c package/om-watchdog: add OpenMesh OM5P support
Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 41773
2014-07-20 17:30:56 +00:00
Imre Kaloz
286780b44a fix typo
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41762
2014-07-19 20:14:49 +00:00
John Crispin
79fa8dfa1d usbmode: update to latest git and also update the device database
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41761
2014-07-19 16:57:09 +00:00
Jo-Philipp Wich
2dd087ccee firewall: implement support for abritary netmasks
Properly parse and pass arbritary netmasks to iptables, this allows
specifying ranges like '::c23f:eff:fe7a:a094/::ffff:ffff:ffff:ffff' to
match the host part of an IPv6 address regardless of the currently active
IPv6 prefix.

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

SVN-Revision: 41760
2014-07-19 16:30:47 +00:00
Imre Kaloz
988e29e5ad allow ath10k to initialize using the board.bin contents
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41756
2014-07-19 13:18:59 +00:00
Felix Fietkau
5ce02632d1 procd: update to the latest version, fixes hotplug firmware loading issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41735
2014-07-18 14:42:18 +00:00
Felix Fietkau
354a835390 lzo: enable parallel build
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41734
2014-07-18 14:42:15 +00:00
Felix Fietkau
51fbfde474 netifd: update to the latest version, adds a small validation fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41731
2014-07-18 11:45:42 +00:00
Felix Fietkau
4ecb9289ef qos-scripts: convert to procd
Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41730
2014-07-18 11:25:07 +00:00
Hauke Mehrtens
48494962d1 lzo: Update to version 2.08
lzo: Update to 2.08, fixes CVE-2014-4607

Signed-off-by: Luis Dallos <ld@nkvd.ignorelist.com>

SVN-Revision: 41707
2014-07-17 22:06:04 +00:00
Steven Barth
c05d6ba1ff odhcpd: rewrite NDP proxy feature
SVN-Revision: 41703
2014-07-17 19:11:17 +00:00
Felix Fietkau
51b11ba5ea netifd: update to the latest version, enables igmp snooping by default
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41683
2014-07-17 14:55:17 +00:00
Felix Fietkau
4ef8d2e014 qos-scripts: fix ingress packet marking with ifb
Split connection mark into two parts:

The lower nibble contains the confirmed conntrack mark which is not
generated by default/reclassify rules.
The upper nibble contains the current value specified by
default/reclassify rules.

For egress, the default/reclassify value is preferred
For ingress, the connection mark is preferred

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

SVN-Revision: 41682
2014-07-17 12:02:06 +00:00
Hauke Mehrtens
7a8f2a73ce mac80211: add new b43 config option to issue rebuild
With this patch mac80211 will be rebuild when one of these config
options was changed.

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

SVN-Revision: 41677
2014-07-16 20:30:30 +00:00
Hauke Mehrtens
f857ae864a mac80211: b43: fix PHY_G support.
I missed adding B43_PHY_G to .local-symbols, without this it will not
be added to autoconf.h

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

SVN-Revision: 41676
2014-07-16 20:28:08 +00:00
Felix Fietkau
1ecb74024b iwinfo: fix crash on parsing mtd (#15807)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41675
2014-07-16 18:57:23 +00:00
Felix Fietkau
0af20bbfc8 libubox: update to the latest version, fixes a jshn parsing error (#17128)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41674
2014-07-16 18:35:25 +00:00
Felix Fietkau
952c87aeeb ath9k: add a fix for tx pending frame accounting, fixes some tx hang issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41673
2014-07-16 18:26:21 +00:00
John Crispin
9cf5fbfaf0 lantiq: re-add 0041-lzma-fixup.patch to uboot
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41671
2014-07-16 10:43:44 +00:00
Hauke Mehrtens
025144800a mac80211: b43: backport b43 patches from wireless testing
This brings b43 up to wireless-testing/master master-2014-07-15

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

SVN-Revision: 41668
2014-07-15 21:58:03 +00:00
Felix Fietkau
b24e77714e hostapd: add a require_mode option in wifi-device sections to select the minimum hardware mode that the AP requires from clients
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41665
2014-07-15 10:30:08 +00:00
Gabor Juhos
f6a334c6c1 package/uboot-envtools: add support for the EnGenius EAP300 v2 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41660
2014-07-14 21:30:29 +00:00
John Crispin
81eeec8785 kernel: fix kmod-igb dependencies
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41656
2014-07-14 18:43:12 +00:00
Gabor Juhos
ddd5a9a8f2 package/uboot-envtools: add support for the Tube2H board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41651
2014-07-14 16:03:36 +00:00
Imre Kaloz
ecb68ba6b4 allow overriding the kernel partition's name
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41646
2014-07-14 14:53:15 +00:00
Jonas Gorski
26a4bdc5cf kernel: remove stray " from igp module title
Fixes #17108.

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

SVN-Revision: 41645
2014-07-14 14:39:00 +00:00
Steven Barth
7264389699 odhcpd: disable packet socket if unneeded to preserve performance
SVN-Revision: 41644
2014-07-14 13:39:03 +00:00
Gabor Juhos
69abf630cf base-files: strip quotes from the MAC address in macaddr_canonicalize()
Extracted from http://patchwork.openwrt.org/patch/5716/

Signed-off-by: Forest Crossman <cyrozap@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41639
2014-07-14 10:25:49 +00:00
John Crispin
7e0e5110bc kernel: add igb kernel module
Added igb kernel module which supports a variety of Intel GigE PCIe devices

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

SVN-Revision: 41637
2014-07-14 07:38:48 +00:00
Imre Kaloz
2ddcf5dd8a we already have a get_magic_long() in common.sh for sysupgrade, don't break it
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41628
2014-07-13 20:51:17 +00:00
Felix Fietkau
59cfa05bf3 base-files: adjust the default netfilter tcp established connection timeout as per RFC 5382 (#17098)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41599
2014-07-13 10:24:34 +00:00
John Crispin
1475263d5c lantiq: configure uboot-envtools on BTHOMEHUBV2B and make it work correctly on other lantiq boards
Generate the configuration file for uboot-envtools
on BTHOMEHUBV2B. Adds the specific parameters for the
BTHOMEHUBV2B and also fixes an incorrect path which
would have affected other lantiq boards as well
(currently only the GIGASX76X).

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

SVN-Revision: 41597
2014-07-13 07:17:54 +00:00
Hauke Mehrtens
ba54356d49 brcm47xx: deactivate ssb and old phy code for new devices
This deactivates ssb and G-PHY code in b43 for the mips74k profile in
brcm47xx.

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

SVN-Revision: 41594
2014-07-12 15:39:31 +00:00
Hauke Mehrtens
1b67e879a7 mac80211: b43: backport b43 patches from wireless testing
This brings b43 up to wireless-testing/master master-2014-07-10

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

SVN-Revision: 41593
2014-07-12 15:37:34 +00:00
John Crispin
72efa88b64 procd: correctly identify ubifs in tar file
A missing path prevents the rootfs type contained in a SysupgradeNAND
tar file from being determined correctly.

This fixes it, and also corrects a minor spelling mistake.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

SVN-Revision: 41564
2014-07-10 19:16:31 +00:00
John Crispin
be26421f45 sysupgrade: Enable killing of all processes under upgraded
If the sysupgrade scripts is called under upgraded, it will not kill all
other processes as it should to avoid interference by locked filesystem.
This patch checks the parent and if it is upgraded, it kills all.

Signed-off-by: André Valentin <avalentin@marcant.net>

SVN-Revision: 41563
2014-07-10 19:16:27 +00:00
Jo-Philipp Wich
f4781cae6d firewall: fix segfault introduced by latest update
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 41558
2014-07-10 16:44:20 +00:00
Felix Fietkau
f34cbdcf61 mac80211: Fix config variable name for dtim_period
The vif option dtim_period was accidently renamed dtim_interval in r38988
("netifd: add wireless configuration support and port mac80211 to the new
framework"). This is wrong and makes the dtim_period/dtim_interval a dead
option because the rest of the config generation code still uses dtim_period.

Reported-by: Jeppe Ledet-Pedersen <jlp@steinwurf.com>
Signed-off-by: Sven Eckelmann <sven@narfation.org>

SVN-Revision: 41557
2014-07-10 12:29:27 +00:00
Jo-Philipp Wich
8b0650838d firewall: fix regressions introduced after latest ubus rework
The commit 92281eb747b56e748b7c3d754055919c23befdd4 broke fw3_ubus_addresses() so that
no addresses where returned at all, this caused fw3 to not emit NAT reflection rules
anymore.

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

SVN-Revision: 41556
2014-07-10 10:21:17 +00:00
Felix Fietkau
a6c4ef18b7 qos-scripts: remove maxsize options and packet size based reclassify from the default config
They should be unnecessary with fq_codel, and simplifying rules helps
with performance

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

SVN-Revision: 41549
2014-07-08 11:19:51 +00:00
Hauke Mehrtens
189edfef1a broadcom-wl: assign first increased mac address to internal wifi core
When the original mac addresses are not valid assign the first one to
the internal wifi core, this matches the manufacture mac address in
most cases. In addition refresh the patches.

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

SVN-Revision: 41545
2014-07-07 17:38:54 +00:00
Felix Fietkau
ecd169b2c6 broadcom-wl: disable mips16 support, fixes build
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41540
2014-07-07 08:29:35 +00:00
Hauke Mehrtens
3861bdad99 samba36: update to minor version 3.6.24
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41525
2014-07-06 11:23:13 +00:00
Hauke Mehrtens
5d96f266c9 mac80211: b43: add support for firmware 784.2
This adds firmware 784.2 for b43 as an option.

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

SVN-Revision: 41524
2014-07-06 10:58:14 +00:00
Hauke Mehrtens
37518a7c53 mac80211: update linux-firmware
This updates linux-firmware to version
7f388b4885cf64d6b7833612052d20d4197af96f from 2014-06-04.
In addition it adds new firmware for Intel, Broadcom and Realtek devices.

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

SVN-Revision: 41523
2014-07-06 10:34:34 +00:00
Hauke Mehrtens
d6c7ab2358 broadcom-wl: improve setting leddc
Use leddc value from other routers and improve the script.

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

SVN-Revision: 41519
2014-07-05 23:24:41 +00:00
Hauke Mehrtens
4ec8908669 broadcom-wl: fix led support
Some devices have an nvram setting, which make broadcom-wl turn of the
led all the time. When the driver is switched on and we find such a
setting we replace it with a better value.

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

SVN-Revision: 41518
2014-07-05 22:55:40 +00:00
Hauke Mehrtens
817c56f77c broadcom-wl: fixup mac addresses.
Some series of devices are using the same mac address, which causes
conflicts for these devices we generate a new mac address based on the
base address. This patch adds this functionality to braodcom-wl.

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

SVN-Revision: 41514
2014-07-05 19:23:40 +00:00
Felix Fietkau
363eb4cf7a samba36: disable acl support to avoid picking up a dependency on libacl (#16988)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41509
2014-07-04 11:42:57 +00:00
Felix Fietkau
4d04e666a4 samba36: do not pick up libattr as a dependency
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41508
2014-07-04 09:55:14 +00:00
Jo-Philipp Wich
4f4faa92c0 rpcd: fix parsing of executable plugin output
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 41502
2014-07-03 22:21:04 +00:00
Felix Fietkau
1ef92a0065 ubus: update to the latest version, fixes compile error regressions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41496
2014-07-03 18:57:47 +00:00
John Crispin
9f8fdb838e wrt55agv2-spidevs: fix compile issues
i think this breakage was introduced when linux moved to uapi header

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

SVN-Revision: 41493
2014-07-03 11:56:56 +00:00
Felix Fietkau
361215b186 ubus: update to the latest version, increases maximum message size and adds a few fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41492
2014-07-03 10:49:41 +00:00
Jo-Philipp Wich
b321f718c2 firewall: fix issue with parsing network options
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 41491
2014-07-03 09:21:44 +00:00
Felix Fietkau
d288a7903d rc.common: when reloading a service using procd, fall back to calling start instead of restart
This avoids unnecessary service restarts

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

SVN-Revision: 41490
2014-07-03 06:21:49 +00:00
Hauke Mehrtens
eef5698535 mac80211: update regulatory database to master-2014-06-13
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41489
2014-07-02 22:27:32 +00:00
Hauke Mehrtens
2dba3f8aca iwinfo: fix string format for country code
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41485
2014-07-02 21:43:17 +00:00
Felix Fietkau
e9b8f24ded igmpproxy: automatically add firewall rules for multicast routing based on the current config
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41483
2014-07-02 19:18:23 +00:00
Felix Fietkau
5aef137f9e procd: add a shell helper function to emit a config.change event
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41482
2014-07-02 19:18:20 +00:00
Felix Fietkau
2baf4d4fb0 procd: add shell functions to add instance data
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41481
2014-07-02 19:18:16 +00:00
Felix Fietkau
2b274eb719 firewall: update to the latest version, adds support for fetching firewall rules from procd
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41480
2014-07-02 19:18:13 +00:00
Felix Fietkau
3445645d18 iptables: refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41479
2014-07-02 19:18:09 +00:00
Felix Fietkau
b4059dea7f procd: update to the latest version, adds support for dumping per-instance service data with an optional type filter
also fixes a crash on stopping a service with triggers after reloading it

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

SVN-Revision: 41478
2014-07-02 19:18:05 +00:00
John Crispin
81dcf41e65 lantiq: more PKG_CHECK_FORMAT_SECURITY fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41473
2014-07-02 16:33:20 +00:00
John Crispin
f63bb0adbd ubox: fix remote logging
in r41439 a flag for enabling remote logging was added,
but the actual check was done on a different variable.

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

SVN-Revision: 41467
2014-07-02 12:56:20 +00:00
Jo-Philipp Wich
16d8827150 iproute2: re-enable PIC, it is only applied to libnetlink.a and required for collectd
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 41460
2014-07-02 12:41:36 +00:00
Jo-Philipp Wich
1c891e0d45 iptables: pass --disable-ipv6 is CONFIG_IPV6 is unset
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 41458
2014-07-02 11:39:24 +00:00
Felix Fietkau
12d1710184 strace: fix build failure on arm
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41457
2014-07-02 08:19:43 +00:00
John Crispin
325cdf8091 lantiq: more PKG_CHECK_FORMAT_SECURITY related fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41456
2014-07-02 08:17:36 +00:00
John Crispin
2deeb3e2fa ltq-vdsl-mei: disable PKG_CHECK_FORMAT_SECURITY
the build breaks when PKG_CHECK_FORMAT_SECURITY:=1

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

SVN-Revision: 41451
2014-07-01 18:05:09 +00:00
John Crispin
e7b9bec305 mac80211: enable driver compilation for mt7620
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 41442
2014-07-01 10:26:21 +00:00
John Crispin
b5fe5d5ba3 mac80211: add support for mt7620
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 41441
2014-07-01 10:26:18 +00:00
John Crispin
66ae4803e2 base-files: fix ramfs / nand upgrade
/lib/{imx6,lantiq,...}.sh are needed in the ramfs for sysupgrade to work.

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

SVN-Revision: 41440
2014-07-01 10:26:14 +00:00
John Crispin
ea535a9565 ubox: add a flag that allows us to disable remote log while keeping the ip settings inside uci
this makes webui foo a lot easier

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

SVN-Revision: 41439
2014-07-01 10:26:10 +00:00
John Crispin
bf75e37030 ppp: fix keep alive option
currently the keepalive option needs to be removed to fully disable it. this patch allows us to set it to 0.

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

SVN-Revision: 41438
2014-07-01 10:26:07 +00:00
John Crispin
6240cc9e17 kernel: add japanese codepages
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41437
2014-07-01 10:26:03 +00:00
Imre Kaloz
fe1df543e1 try to load the orion glue automatically
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41434
2014-07-01 09:36:38 +00:00
Steven Barth
d5340f6092 odhcpd: some minor DHCP/DHCPv6 fixes
SVN-Revision: 41432
2014-07-01 08:15:28 +00:00
Felix Fietkau
d78404c24a openvpn: fix compile error with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41425
2014-06-30 15:34:03 +00:00
Felix Fietkau
b1c4a0aed5 openvpn: update to version 2.3.4
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41416
2014-06-30 12:43:03 +00:00
Luka Perkov
9dd205b2ad busybox: fix validation in sysntpd init script
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41415
2014-06-30 10:11:18 +00:00
John Crispin
9912d02fa1 procd: fix uci_validation
Regardles of the return code from validate_data _error variable will be 0 due
to 'local' command in the previous line. With this patch we are able to catch
the return code from validate_data tool.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41414
2014-06-30 09:57:29 +00:00
John Crispin
a7863b1368 ubox: update to latest git
this adds validation fixes

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

SVN-Revision: 41413
2014-06-30 09:57:25 +00:00
Felix Fietkau
b3b55de395 build: disable the PKG_CHECK_FORMAT_SECURITY check for the failing packages
The idea is to gradually fix the packages

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>

SVN-Revision: 41411
2014-06-30 08:19:48 +00:00
Felix Fietkau
a68ae1a701 rbcfg: fix format string bug
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>

SVN-Revision: 41410
2014-06-30 08:19:44 +00:00
Steven Barth
3c791c31bf odhcpd: fix build failure with musl
SVN-Revision: 41409
2014-06-30 07:56:33 +00:00
Luka Perkov
be2a057787 base-files: define yes/no as valid boolean options
ubox validate_data defines yes/no as valid boolean options, do the same in
config_get_bool too.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41405
2014-06-29 23:05:05 +00:00
Felix Fietkau
1c499abcda pppd: fix build with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41404
2014-06-29 22:26:08 +00:00
Felix Fietkau
94b41e9aa5 rpcd: update to the latest version, fixes build with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41403
2014-06-29 22:26:05 +00:00
Felix Fietkau
cdee846385 samba36: fix build error with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41402
2014-06-29 22:26:02 +00:00
Felix Fietkau
78fcf50de4 relayd: update to the latest version, fixes musl compile and multicast relaying
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41401
2014-06-29 22:25:58 +00:00
Felix Fietkau
07304f4732 librpc: fix compile errors with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41400
2014-06-29 22:25:54 +00:00
Felix Fietkau
8d8868cffc gettext-full: use uclibc workarounds for musl as well
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41397
2014-06-29 22:25:43 +00:00
Felix Fietkau
368cc09dd5 strace: fix compile with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41395
2014-06-29 22:25:36 +00:00
Felix Fietkau
5db42f92fd netifd: update to the latest version, fixes a crash on reload with hotplugged devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41393
2014-06-29 21:27:28 +00:00
Felix Fietkau
50c05b20cb netifd: update to the latest version, addds a few fixes and enables multicast->unicast for igmp snooping on wireless devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41390
2014-06-29 18:34:22 +00:00
Felix Fietkau
bf90d46933 ubox: add explicit dependency on libubus to catch ABI changes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41389
2014-06-29 15:41:39 +00:00
Imre Kaloz
a91b9e35a4 add mvebu support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41380
2014-06-29 12:38:35 +00:00
Felix Fietkau
c41dae37bf conntrack-tools: fix build on octeon
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41377
2014-06-29 11:33:03 +00:00
Felix Fietkau
d73e2c5528 conntrack-tools: leave out bogus reject files on unpacking
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41376
2014-06-29 11:33:00 +00:00
Felix Fietkau
20de772cea px5g-standalone: disable long long to fix compiler errors on mips64
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41375
2014-06-29 11:03:46 +00:00
John Crispin
97382f76e8 kernel: xen-kbdfront.ko is at a different path Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41371
2014-06-29 09:48:41 +00:00
Jo-Philipp Wich
42bc2c49ae 6in4: send password unhashed
The preferred he.net /nic/update endpoint expects the password or updatekey in
plain text and not as md5 sum, therfore remove the hashing operation from the
script.

This effectively renders the "updatekey" option redundant but we keep it around
for backwards compatibility. Both "option password" and "option updatekey" will
have end up in the "&password=" parameter of the update url and are passed through
unmodified.

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

SVN-Revision: 41358
2014-06-27 10:40:44 +00:00
Jo-Philipp Wich
4255b2fde5 toolchain: only take last found libgcc* file
The current $(wildcard ...) match might return multiple files which will break subsequent cp commands
with an error like:

  cp: target `/home/user/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/root-ar71xx/tmp-libc/lib/libgcc_s_pic.a' is not a directory

Prevent this issue by only taking the last path returned by globbing.

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

SVN-Revision: 41357
2014-06-27 10:40:21 +00:00
John Crispin
a51588a5f9 busybox: use ntp enabled config option
Even if enabled option is missing from ntp configuration we are still keeping
default behavior.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41355
2014-06-27 07:55:03 +00:00
John Crispin
818e38625f base-files: add enabled config option for ntp service
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41354
2014-06-27 07:52:06 +00:00
Steven Barth
2ad9907cd5 firewall3: add fw3 zone function to enumerate devices
SVN-Revision: 41349
2014-06-26 12:20:47 +00:00
John Crispin
d3be71e141 mdns: add the new openwrt mdns daemon
this is still wip, you can use the following ubus calls.

ubus call mdns scan	# triggers a scan
ubus call mdns browse	# look at the currenlty cached records
ubus call mdns hosts	# look at the currenlty cached hosts

TODO
- ipv6, currenlty AAAA records are handled but only on v4 sockets
- finish the service announce code

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

SVN-Revision: 41345
2014-06-26 11:43:34 +00:00
John Crispin
3a9bfa5938 base-files: add a post start hook to the procd init.d api
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41344
2014-06-26 11:43:30 +00:00
John Crispin
3cb08b4811 iputils: fix compile when using eglibc
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41342
2014-06-26 11:42:57 +00:00
Luka Perkov
e575c759ca uboot-envtools: use new scripts from /lib/ to match boards
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41340
2014-06-26 10:14:14 +00:00
Felix Fietkau
35f05693f1 ubus: update to the latest version, fixes netifd related crashes on ubus calls during reload
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41337
2014-06-25 08:32:14 +00:00
Luka Perkov
3fea61afe8 base-files: update copyright headers
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41334
2014-06-24 18:18:50 +00:00
John Crispin
64d0d18a4e libubox: update to latest git head
this adds 5 lua fixes to the tree

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

SVN-Revision: 41328
2014-06-24 18:14:01 +00:00
John Crispin
9b714b6e7b procd: fix nand.sh kernel_length typo
sysupgrade otherwise skips kernel part on devices which got
kernel in ubi due to kern_length being undefined, kernel_length
is being used instead.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 41327
2014-06-24 18:13:56 +00:00
John Crispin
c2d95d4106 fstools: fix factory reset on ubifs overlay
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 41315
2014-06-24 18:13:05 +00:00
John Crispin
8a82c2cd36 uboot-envtools: fix build if ubi volume support is disabled
Insert a missing #ifdef UBI around the use of libubi_close().
As the preceding if (libubi) will never be true on non-UBI builds,
compiling only failed when disabling optimization.

Also rebase patch to latest u-boot.git HEAD.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 41313
2014-06-24 18:12:56 +00:00
Steven Barth
2dd6d4a4f0 dnsmasq: use config_get_bool for dnsmasq
SVN-Revision: 41302
2014-06-22 15:34:36 +00:00
Felix Fietkau
2c9c7ada6e mac80211: disable greenfield by default
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41300
2014-06-22 11:52:53 +00:00
Felix Fietkau
8db0fcf1f7 iw: update to 3.15
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41299
2014-06-22 11:42:28 +00:00
Felix Fietkau
b9019462f3 mac80211: revert a faulty upstream change which is causing channel 12 to be enabled for US regdomain
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41298
2014-06-22 11:42:24 +00:00
Steven Barth
17d3ce64cf dnsmasq: set procd respawn
SVN-Revision: 41297
2014-06-22 09:08:14 +00:00
Imre Kaloz
eb394977f4 make thermal framework registered sensors also register as hwmons
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41290
2014-06-20 20:44:18 +00:00
Imre Kaloz
86fe5a4487 package the gpio-fan module
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41289
2014-06-20 20:42:47 +00:00
Steven Barth
22ffa5ef16 netifd: various routing table handling fixes
SVN-Revision: 41287
2014-06-20 17:51:25 +00:00
John Crispin
09273f5c0a base-files: regenerate the /lib64 symlink when switching to a ramdisk
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41284
2014-06-20 13:41:08 +00:00
Jo-Philipp Wich
005884bff4 Revert "netifd: fix handling of "lookup main" for ip rules (#15315)"
The netifd fixes went to the wrong repository, revert until it is sorted out.

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

SVN-Revision: 41283
2014-06-20 12:28:35 +00:00
Jo-Philipp Wich
de51f6022f netifd: fix handling of "lookup main" for ip rules (#15315)
Reworks the handling of RT_TABLE_MAIN in system-linux.c so that ip rules
with lookup main can be properly setup.

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

SVN-Revision: 41282
2014-06-20 09:58:16 +00:00
Jo-Philipp Wich
7eb721425e base-files: depend on jsonfilter and rewrite network.sh to use it
Switches /lib/functions/network.sh from jshn based json parsing to
jsonfilter expression while keeping the existing api.

Expensive methods like "network_find_wan" are up to 20x faster now.

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

SVN-Revision: 41281
2014-06-19 16:06:44 +00:00
Jo-Philipp Wich
1d94972925 jsonfilter: implement custom separators and support limiting the results, fix handling of negative array indices
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 41280
2014-06-19 15:30:59 +00:00
John Crispin
bce52219fa procd: update to latest git head
this fixes the upgraded linking issue on arm.

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

SVN-Revision: 41279
2014-06-19 14:13:45 +00:00
John Crispin
54faeadb07 procd: various improvements to nand.sh
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41278
2014-06-19 14:13:41 +00:00
John Crispin
4b1c48bc93 base-files: add upgraded to the list of daemons not killed
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41268
2014-06-19 14:12:55 +00:00
Jo-Philipp Wich
766643c79e jsonfilter: improve error reporting
The CLI now describes expression errors more precisely, e.g.:

  Syntax error: Invalid escape sequence
  In expression @["foo\x"]
  Near here ----------^

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

SVN-Revision: 41266
2014-06-19 07:56:24 +00:00
Steven Barth
9af2e45080 dnsmasq: removing nettle 3.0 support due to nettle downgrade
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 41264
2014-06-18 17:06:37 +00:00
Steven Barth
5142e91b2d nettle: downgrade to 2.7.1 since gnutls is incompatible with 3.0
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 41263
2014-06-18 17:06:30 +00:00
Steven Barth
bff5e3822c odhcpd: improve static DHCPv4 leases (thanks arnd)
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 41260
2014-06-18 12:10:10 +00:00
Steven Barth
8d177a8e78 netifd: various bugfixes (thanks Hans Dedecker)
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 41259
2014-06-18 11:29:09 +00:00
Jo-Philipp Wich
a5ca7a3dd9 jsonpath: rename to jsonfilter and rewrite from flex/bison to lemon
This commit renames the jsonpath binary to jsonfilter to avoid clashing with a Python
extension of the same name.

The utility itself has been rewritten to use SQLite3's lemon parser generator instead
of a flex/bison combination which results in a much smaller binary.

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

SVN-Revision: 41258
2014-06-18 10:10:30 +00:00
John Crispin
4925f710f6 relayd: update to latest git head
this fixes multicast fowarding on relayd links

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

SVN-Revision: 41254
2014-06-18 10:08:05 +00:00
Steven Barth
087ea853b4 dnsmasq: compatibility with nettle 3.0
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 41249
2014-06-18 10:04:47 +00:00
Steven Barth
a0e19ec2f9 nettle: import from packages, update to 3.0
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 41248
2014-06-18 10:04:43 +00:00
Steven Barth
335529e207 gmp: import from packages, update and reduce size
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 41247
2014-06-18 10:04:38 +00:00
Steven Barth
495b237cc4 dnsmasq: various house-keeping updates
* Add Authoritative DNS and IPSET to full variant
* Remove some bloat from IPSET support
* Reintroduce "DHCP no address warning"-patch

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

SVN-Revision: 41246
2014-06-18 10:04:34 +00:00
Steven Barth
132cbe5e29 dnsmasq: add UCI DNSSEC runtime support
Ship keys for the root zone and add two uci options to enable
DNSSEC checks:

Option 'dnssec': Activate DNSSEC validation
Option 'dnsseccheckunsigned': Ensure answers without DNSSEC are in
unsigned zones.

Signed-off-by: Andre Heider <a.heider@gmail.com>

SVN-Revision: 41245
2014-06-18 10:04:29 +00:00
Steven Barth
5f64a3e7ce dnsmasq: Add a full variant
This variant includes support for DHCPv6 and DNSSEC.
DNSSEC adds a dependency on libnettle.

Signed-off-by: Andre Heider <a.heider@gmail.com>

SVN-Revision: 41244
2014-06-18 10:04:25 +00:00
Steven Barth
e2430bc65f dnsmasq: add upstream patch to build against libnettle-mini
Signed-off-by: Andre Heider <a.heider@gmail.com>

SVN-Revision: 41243
2014-06-18 10:04:21 +00:00
Steven Barth
b3adc62b62 dnsmasq: respect target's LDFLAGS
Append local flags, don't overwrite.

Signed-off-by: Andre Heider <a.heider@gmail.com>

SVN-Revision: 41242
2014-06-18 10:04:17 +00:00
Steven Barth
6dbafaa15d dnsmasq: use COPTS for compile time options
As documented in config.h.
Doing otherwise will break dnsmasq's pkg-wrapper script to find its
libs to link to.

Signed-off-by: Andre Heider <a.heider@gmail.com>

SVN-Revision: 41241
2014-06-18 10:04:02 +00:00
John Crispin
42f450b722 procd: forgot to update the git id in the last commit
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41239
2014-06-17 17:51:35 +00:00
John Crispin
0cf34cee5e procd: make upgarded depend on mips, the static linking on arm fails
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41238
2014-06-17 15:40:05 +00:00
John Crispin
1a3ebd51ad procd: some cleanup for SysupgradeNAND
Removed unused ubi file file from template as ubinized images are
passed directly and not inside the tarball.
Also removed left-over white-space.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 41237
2014-06-17 15:40:02 +00:00
Imre Kaloz
9bbbcf60b3 package the TLC59116 led driver
SVN-Revision: 41235
2014-06-17 15:15:05 +00:00
Imre Kaloz
099d998fcf package the TI TMP421 driver
SVN-Revision: 41231
2014-06-17 15:03:05 +00:00
Imre Kaloz
60f1a7bd4b bundle ehci-orion with kmod-usb2
SVN-Revision: 41230
2014-06-17 15:02:28 +00:00
Steven Barth
d923104149 odhcpd: don't enable relaying by default anymore
SVN-Revision: 41228
2014-06-17 13:05:24 +00:00
Steven Barth
1e989206f4 iproute2: update version to 3.15.0, refresh patches, add maintainer
Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 41227
2014-06-17 12:43:30 +00:00
Steven Barth
c8b4058bf3 odhcpd: also honor leasetime for dhcpv6
SVN-Revision: 41226
2014-06-17 07:59:15 +00:00
Steven Barth
19f89dfd2c odhcpd: Improve NotOnLink-behavior and make hostid more convient to configure
SVN-Revision: 41225
2014-06-17 07:44:24 +00:00
John Crispin
3dca5a158d procd: various cleanups to /lib/upgrade/nand.sh
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41222
2014-06-16 18:55:14 +00:00
John Crispin
21eac7a7db procd: update to latest git HEAD
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41221
2014-06-16 18:55:09 +00:00
John Crispin
91d82d7b36 procd: rename procd_add_network_trigger
i got complaints about the bad naming of the api. lets rename it while there are no users yet.

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

SVN-Revision: 41220
2014-06-16 18:55:05 +00:00
Steven Barth
a5df7c0a17 ncurses: Install xterm-256color
Based on a patch by Jonathan Bennett <jbscience87@gmail.com>

SVN-Revision: 41212
2014-06-16 18:21:02 +00:00
Steven Barth
d11426b32b odhcpd: add more consistent hostname-writing
SVN-Revision: 41211
2014-06-16 16:45:05 +00:00
Steven Barth
bea1a153ed odhcpd: update hostfile more often
SVN-Revision: 41197
2014-06-16 09:09:13 +00:00
Steven Barth
cd271413aa odhcpd: fix dhcpv4 hostname attribute handling
SVN-Revision: 41196
2014-06-16 08:33:49 +00:00
Steven Barth
8a5b65195d odhcpd: accept FQDN as search domain
SVN-Revision: 41194
2014-06-15 22:49:58 +00:00
Steven Barth
941ab9a89a ppp: bump to 2.4.6
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 41193
2014-06-15 20:55:17 +00:00
Jo-Philipp Wich
1599e6f601 ubi-utils: fix wrong PKG_NAME, bump copyright, add build dependency on zlib
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 41192
2014-06-15 19:34:51 +00:00
Felix Fietkau
0f87ca021f mac80211: disable the clk_* backport, it is unused by drivers and has the wrong ifdef
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41181
2014-06-13 13:29:18 +00:00
Felix Fietkau
867ba199f8 mac80211: fix disabling of 802.11n features
r40682 ("mac80211: clean up ht capability handling, drop the use of the
ht_capab list, use individual variables instead") removed the ht_capab list and
replaced it with optional variables to disable features for a phy. But these
variables weren't added in drv_mac80211_init_device_config and thus didn't make
any difference when modifying /etc/config/wireless.

Signed-off-by: Sven Eckelmann <sven@narfation.org>

SVN-Revision: 41180
2014-06-13 10:10:05 +00:00
Felix Fietkau
205dd2e3c9 revert an accidentally committed patch chunk
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41179
2014-06-13 09:40:14 +00:00
Felix Fietkau
841b730f98 kernel: fix pkt_type filter mask for packet sockets
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41178
2014-06-13 09:34:03 +00:00
Felix Fietkau
e2c4d320c7 b43: fix a regression on G-PHY devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41162
2014-06-12 14:44:26 +00:00
Felix Fietkau
39c5660cbd rt2x00: fix crash when using TKIP on USB devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41161
2014-06-12 14:44:23 +00:00
Felix Fietkau
c77311f689 ath9k: fix initial noise floor calibration on older chips
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41156
2014-06-12 11:41:12 +00:00
Felix Fietkau
f3e37c359d ath9k: make noise floor calibration and periodic calibration mutually exclusive
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41155
2014-06-12 11:41:08 +00:00
Felix Fietkau
f2e5a82296 b43: fix frequency reporting, fixes scan issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41154
2014-06-12 11:41:04 +00:00
Steven Barth
fa2df0e8c7 odhcpd: use search domain instead of domain attribute
SVN-Revision: 41152
2014-06-12 09:22:07 +00:00
Felix Fietkau
b30b59773b procd: update to the latest version, fixes static linking of upgraded
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41148
2014-06-11 17:48:35 +00:00
Felix Fietkau
500d3072ec netifd: use procd_add_reload_trigger
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41147
2014-06-11 17:05:50 +00:00
Felix Fietkau
79bbc4fbfb procd: allow passing multiple config files to procd_add_reload_trigger
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41146
2014-06-11 17:05:46 +00:00
Jo-Philipp Wich
3a1b8699b6 curl: move to core packages
SVN-Revision: 41143
2014-06-11 15:43:24 +00:00
Steven Barth
12cdfef54c procd: fix overflow in hotplug socket on certain targets
SVN-Revision: 41142
2014-06-11 15:34:33 +00:00
John Crispin
bedd6f44a5 base-files: properly remove stderr from zcat/bzcat
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41135
2014-06-11 13:00:25 +00:00
John Crispin
1e876b4191 procd: update to latest git HEAD
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41129
2014-06-11 12:59:49 +00:00
John Crispin
3417834ffc fstools: the ubi flash tool is obselete now
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41128
2014-06-11 12:59:45 +00:00
John Crispin
c43d614f89 base-files: add an ugly hack for nand to sysupgrade
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41126
2014-06-11 12:59:37 +00:00
John Crispin
e73538ba56 base-files: include more ubi* tools in sysupgrade ramdisk
Also add some more busybox symlinks which are useful for sysupgrade
on UBI-enabled devices.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 41125
2014-06-11 12:59:33 +00:00
John Crispin
7d306dd9f0 ubi-utils: cleanup the package
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41124
2014-06-11 12:59:30 +00:00
John Crispin
18e8ae6b2c libubox: update to latest git
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41123
2014-06-11 12:59:26 +00:00
Steven Barth
ba59fab9bb kernel: fix kernel builds for chipidea w/ usb-gadget
Instead of repackaging udc-core.ko again, just add a dependency to
kmod-usb-gadget, which already contains it.

Fixes kmod-chipidea builds for 3.10- with usb-gadget enabled.

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

SVN-Revision: 41115
2014-06-11 12:19:44 +00:00
Steven Barth
e50f3b4fc7 uhttpd: also bind to IPv6 by default
SVN-Revision: 41114
2014-06-11 12:11:55 +00:00