Commit graph

9337 commits

Author SHA1 Message Date
John Crispin
520fe28adf iwinfo: update nl80211 api to the latest one
modified version of http://patchwork.openwrt.org/patch/4533/

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

SVN-Revision: 40954
2014-06-02 13:10:53 +00:00
John Crispin
f3aa8a8cf4 iwinfo: add 802.11ac hwmode support
In case of .11ac device the hwmode was not properly displayed.
This patch fixes it.

Signed-off-by: Marek Kwaczynski <marek.kwaczynski@tieto.com>
Signed-off-by: Bartosz Markowski <bartosz.markowski@tieto.com>

SVN-Revision: 40953
2014-06-02 13:10:49 +00:00
John Crispin
8139ba35af iwinfo: add Atheros AR9580 to hardware.txt
Signed-off-by: Stefan Agner <stefan@agner.ch>

SVN-Revision: 40952
2014-06-02 13:10:44 +00:00
Felix Fietkau
029013d42c polarssl: enable parallel build
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40950
2014-06-02 13:01:48 +00:00
Felix Fietkau
b73259c37a polarssl: remove polarssl-progs, it is just a random collection of test programs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40949
2014-06-02 13:01:44 +00:00
John Crispin
0de0310a9c base-files: Allow installation of symlinks using RAMFS_COPY_BIN env var.
http://patchwork.openwrt.org/patch/5086/

Signed-off-by: karl.vogel@gmail.com

SVN-Revision: 40943
2014-06-02 12:45:13 +00:00
John Crispin
8e7b9741b0 comgt: add support for defining dial number in config file
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>

SVN-Revision: 40942
2014-06-02 12:45:09 +00:00
John Crispin
f91dd34ee9 kernel: Fix xen domU kmod-xen-kbd package
modified version of http://patchwork.openwrt.org/patch/5526/

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

SVN-Revision: 40941
2014-06-02 12:45:05 +00:00
John Crispin
35d3c91c86 soloscli: upgrade to 1.04
- The package does not compile at the moment. Since there is a new
  upstream version avaiable, use this new source instead.
- Upstream has already included our both patches.
- This is only compile tested, since I do not own any test hardware.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 40940
2014-06-02 12:45:01 +00:00
John Crispin
43de2d08de mac80211: query driver for max A-MPDU length exponent
This patch enables netifd to query 802.11ac-driver for the maximum
supported A-MPDU length exponent, possibly increasing VHT throughput by
more aggressive frame aggregation.

v2: refreshed patch

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

SVN-Revision: 40938
2014-06-02 12:44:54 +00:00
John Crispin
40218343cd package: netifd: remove blank line at the end of file
Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>

SVN-Revision: 40937
2014-06-02 12:44:51 +00:00
John Crispin
46a4f13283 qos-script: Add comments to existing rules
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 40936
2014-06-02 12:44:47 +00:00
John Crispin
9e65c01a4b qos-script: Improve usability by adding comment field to rules
It's quite unconveniet to remember which ports are used by which applications, especially for not so advanced users.
Together with luci patch (discussed on IRC) this improves qos-scripts usability.

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 40935
2014-06-02 12:44:44 +00:00
John Crispin
3bc4516ebb hostapd: Add optional support for hostapd own_ip_addr in wireless config
`own_ip_addr` is used by hostapd as NAS-IP-Address.
This is used to identify the AP that is requesting the authentication of the
user and could be used to define which AP's can authenticate users.
Some vendors implement only NAS-Identifier or NAS-IP-Address and not both.
This patch adds ownip as an optional parameter in /etc/config/wireless.

Signed-off-by: Thomas Wouters <thomaswouters@gmail.com>

SVN-Revision: 40934
2014-06-02 12:44:40 +00:00
John Crispin
9b595fcd4b ppp: allow to set PPP interface name via config
allows to set PPP interface name manually via new
network interface option pppname.
If not set, default naming will be used (e.g. pppoe-eth0)

Signed-off-by: Ulrich Weber <uw@ocedo.com>

SVN-Revision: 40933
2014-06-02 12:44:36 +00:00
John Crispin
b61c6fee71 kernel: Enable kmod-hid-generic driver when selecting usb-hid
kmod-hid-generic needs to be selected when enabling usb-hid in order to get generic devices working.

This fixes keyboards support in linux 3.3+ kernels.
https://dev.openwrt.org/ticket/12631
https://dev.openwrt.org/ticket/12686

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

SVN-Revision: 40932
2014-06-02 12:44:33 +00:00
John Crispin
a171eb4e4f openvpn: enable ipv6 parameters
http://patchwork.openwrt.org/patch/4945/

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

SVN-Revision: 40931
2014-06-02 12:44:30 +00:00
John Crispin
e847b236bc util-linux: Disable sulogin in util-linux package
The sulogin tool doesn't compile because it cannot find shadow.h. As the
tool is not available in openwrt it is now not selected during the build
process.

Signed-off-by: Tjalling Hattink <t.hattink@fugro.nl>

SVN-Revision: 40930
2014-06-02 12:44:27 +00:00
John Crispin
dab35f044a uboot-envtools: add support for environment in ubi volume
On UBI enabled devices, U-Boot might store it's environment on
UBI volume(s). Support this in uboot-envtools, so fw_setenv and
fw_printenv can work on these platforms.

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

SVN-Revision: 40929
2014-06-02 12:44:19 +00:00
John Crispin
85b8897d1a fstools: stage libubi-utils static library and headers
Use InstallDev to make libubi-utils available for linking in
uboot-envtools.

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

SVN-Revision: 40928
2014-06-02 12:44:16 +00:00
John Crispin
3936ed4028 package/Makefile: Substituted deprecated -perm +mode with -perm /mode
The find(1) -perm +mode is no longer supported and has been deprecated since
2005.

This could resolve #13855 ticket.

Signed-off-by: Rocco Folino <lordzen87@gmail.com>

SVN-Revision: 40927
2014-06-02 12:44:13 +00:00
John Crispin
07fde034b0 lantiq: Add ARV7510PW22 support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 40918
2014-06-02 12:43:31 +00:00
John Crispin
4fd7e0cdab kernel: Add kernel modules for USB gadget serial devices.
This patch adds support for building the kernel modules for gadget serial devices.

Signed-off-by: Owen Kirby <osk@exegin.com>
Acked-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 40917
2014-06-02 12:43:28 +00:00
John Crispin
af4769e298 iptables: Makefile: only build ip6tc, if IPv6 is enabled
when disabling ipv6, the iptables build breaks without a manul clean or this patch

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

SVN-Revision: 40916
2014-06-02 12:43:25 +00:00
John Crispin
a866b7eb9d dropbear: make missing variables local
Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>

SVN-Revision: 40914
2014-06-02 12:43:16 +00:00
John Crispin
37eb27e47d base-files: remove function service_kill
Function service_kill is deprecated and has no user, so remove it.

Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>

SVN-Revision: 40912
2014-06-02 12:43:10 +00:00
John Crispin
36d0a5e3fb base-files: add simple shutdown script
Since svn rev [38557] we support power buttons, for example
the ACPI power button on x86 machines.
Add a simple shutdown script to /etc/rc.button, to gracefully shutdown
the machine after the power button is pressed.

Tested on x86 and x86_64 in a kvm virtual machine.

Signed-off-by: Stefan Hellermann <stefan@the2masters.de>

SVN-Revision: 40909
2014-06-02 12:43:00 +00:00
John Crispin
44e2de03a4 base-files: calling stop_service before procd_kill.
Before this patch, doing `/e/c/network restart' will emit the folloing
error by `ubus network.wireless down "{}"' because netifd already quit
by that time.

	Command failed: not found

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

SVN-Revision: 40906
2014-06-02 12:42:44 +00:00
John Crispin
8f100f4f2e kernel: usb.mk: enable chipidea udc mode
The chipidea USB OTG controller is dual-role and supports both host and device
modes. Enable device mode.

Tested on Gateworks Ventana imx6 board with g_ether.

Are there any other targets out there that use the CHIPIDEA controller? If so
testing is needed for those.

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

SVN-Revision: 40905
2014-06-02 12:42:41 +00:00
John Crispin
dcf42b40fc base-files: removes logging
Since logd haven't started at this point, logging does not work.

Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>

SVN-Revision: 40904
2014-06-02 12:42:37 +00:00
Felix Fietkau
118eec12e8 fstools: update to latest version, fixes build on x86_64
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40902
2014-06-02 09:38:09 +00:00
Steven Barth
7c0d5b99c4 odhcpd: add configuration for userclass-filter
SVN-Revision: 40900
2014-06-02 07:08:16 +00:00
Zoltan Herpai
d00f7b05c8 uboot-sunxi: add bananapi support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 40899
2014-06-01 18:47:14 +00:00
Steven Barth
e9ff251ca6 ca-certificates: bump to 20140325
SVN-Revision: 40894
2014-06-01 10:32:37 +00:00
Steven Barth
299c2cd312 6relayd: superseded by odhcpd
SVN-Revision: 40893
2014-06-01 10:28:50 +00:00
Steven Barth
b5b0381cbb polarssl: bump to 1.3.7
SVN-Revision: 40892
2014-06-01 09:49:24 +00:00
Felix Fietkau
d866ee2e30 netifd: replace the sleep 5 with an ubus wait_for call to speed up init script
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40891
2014-05-31 23:49:23 +00:00
Felix Fietkau
11462369af fstools: update to the latest version, fixes build for 64 bit targets
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40889
2014-05-31 12:46:59 +00:00
Steven Barth
cdbbe71199 odhcp6c: fix last commit
SVN-Revision: 40887
2014-05-30 14:50:42 +00:00
Steven Barth
f8c12d4227 odhcp6c: improve passthrough filter
SVN-Revision: 40886
2014-05-30 14:48:39 +00:00
Felix Fietkau
72d6a51e64 iwinfo: null-terminate the ssid on nl80211 scan to avoid printing trailing garbage
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40884
2014-05-30 11:37:35 +00:00
Steven Barth
8f8dc0959c busybox: remove redundant 6rd-patch
SVN-Revision: 40882
2014-05-29 21:50:32 +00:00
Steven Barth
57999c4807 odhcpd: Fix a segfault in DHCPv6 option handling
SVN-Revision: 40881
2014-05-29 21:01:42 +00:00
Steven Barth
50b663de47 busybox: udhcpc source IP rebind patch
Patch sets the source IP address of DHCP request messages during rebind to the IP address
assigned to the udhcpc client. Source address 0.0.0.0 can only be used by a client prior
to obtaining its IP address (see RFC2131 § 4.1). Source IP address behavior lines up now with
the ISC dhcp client implementation for DHCP request messages during rebind and DHCP release
messages.

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

SVN-Revision: 40878
2014-05-29 10:35:34 +00:00
Jo-Philipp Wich
83ccc9a8f6 6in4: adjust update url (#16617)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 40876
2014-05-29 09:22:52 +00:00
Luka Perkov
591b5285f5 uboot-envtools: add support for kirkwood ea4500
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 40872
2014-05-28 21:43:42 +00:00
Felix Fietkau
df9f29c47d ubox: update to latest version, fixes kmodloader issues with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40869
2014-05-28 21:28:14 +00:00
Felix Fietkau
487f719203 uqmi: Add support for QMI-based mobile broadband modems
Many of the 4G/LTE and 3G modems utilize the QMI-protocol to control the
modem. At the moment there is no support for them in OpenWrt. This
patch adds support for them in the form of a netifd script and a
control utility. Tested with Huawei E398 and ZTE MF820D (which requires
a delay of ~30 s before responding to QMI commands). I put myself up as
the maintainer, feel free to change this if you desire.

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

SVN-Revision: 40868
2014-05-28 19:45:20 +00:00
Felix Fietkau
253892e57f uclient: update to the latest version, fixes an issue with http authentication handling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40867
2014-05-28 09:44:57 +00:00
Steven Barth
05090cb270 odhcpd: add support for configuring raw dhcpv6 options
SVN-Revision: 40862
2014-05-26 17:08:57 +00:00
Felix Fietkau
af116a5ec3 libubox: update to latest version, fixes a segfault on json_script cleanup
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40861
2014-05-26 13:53:48 +00:00
Felix Fietkau
a5f8365f40 ath9k: fix deprecated syntax in config symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40860
2014-05-26 08:00:29 +00:00
Felix Fietkau
48855aab6c ath9k: make support for PC-OEM cards optional, reduces module size
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40859
2014-05-25 22:39:58 +00:00
Felix Fietkau
2898951c9c ubox: update to the latest version, reduces binary library dependencies
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40857
2014-05-25 22:39:51 +00:00
Felix Fietkau
0c383776df procd: update, fixes a bunch of memleaks
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40856
2014-05-25 19:38:58 +00:00
Felix Fietkau
039dca04b8 procd: update to the latest version, fixes some musl compatibility issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40854
2014-05-25 17:51:52 +00:00
Felix Fietkau
6c6faf5f37 busybox: add back missing crond config change
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40853
2014-05-25 17:45:22 +00:00
Felix Fietkau
f4f553efa7 busybox: update to 1.22.1
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40852
2014-05-25 17:42:09 +00:00
Felix Fietkau
a54791f2ba busybox: remove obsolete httpd patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40851
2014-05-25 17:42:02 +00:00
Felix Fietkau
63f69d0bb9 busybox: remove obsolete insmod patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40850
2014-05-25 17:41:59 +00:00
Felix Fietkau
7a13084797 busybox: drop a udhcpc patch that has been superseded by upstream changes a long time ago
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40849
2014-05-25 17:41:55 +00:00
Felix Fietkau
c1187357dc busybox: remove obsolete init patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40848
2014-05-25 17:41:52 +00:00
Felix Fietkau
5e341d0d0d busybox: use a config option instead of a patch to select the cron directory
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40847
2014-05-25 17:41:48 +00:00
Felix Fietkau
92b716ff72 mac80211: mark kmod-rtlwifi as hidden (selected by rtlwifi drivers)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40845
2014-05-25 12:23:14 +00:00
Felix Fietkau
d9bbeff7c8 button-hotplug: remove #ifdef CONFIG_HOTPLUG, it is gone in newer kernels
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40839
2014-05-23 22:13:13 +00:00
Felix Fietkau
6ee4d92e34 gpio-button-hotplug: remove #ifdef CONFIG_HOTPLUG, it is gone in newer kernels (fixes #16413)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40838
2014-05-23 22:13:10 +00:00
Felix Fietkau
d90ec19e95 rt2x00: fix rt3352 rf probing (#14322)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40837
2014-05-23 21:05:41 +00:00
Felix Fietkau
b13b61f98c mac80211: fix probing of rtl8180
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40836
2014-05-23 21:00:42 +00:00
Felix Fietkau
ca49c000b6 mac80211: update to wireless-testing 2014-05-22
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40834
2014-05-23 18:48:35 +00:00
Luka Perkov
295130a69b kernel: other.mk: add pps-gpio support
The pps-gpio kernel module supports Pulse-Per-Second provided by a GPIO.

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

SVN-Revision: 40831
2014-05-23 09:35:27 +00:00
Luka Perkov
2381f4a7b0 uboot-envtools: add Pogoplug E02 support
The settings require that the OpenWrt provided u-boot is used as either
first or second stage bootloader as it modifies the partitioning scheme
to move the u-boot environment to a separate mtd partition.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 40829
2014-05-23 08:17:02 +00:00
Luka Perkov
d3fc4fbd74 uboot-kirkwood: re-add Pogoplug E02 support
This patch modifies the u-boot config for the Pogoplug E02 to work with
OpenWrt. It also enables building a second stage bootloader image.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 40828
2014-05-23 08:17:01 +00:00
Steven Barth
c99065ffab odhcp6c: improve passthru filter
SVN-Revision: 40826
2014-05-23 06:29:13 +00:00
Steven Barth
3ce83eb9a0 odhcp6c: export passthru options as netifd data
SVN-Revision: 40825
2014-05-23 06:26:23 +00:00
Steven Barth
cb8ca4bdb8 odhcp6c: add support for option passthru
SVN-Revision: 40824
2014-05-23 06:17:27 +00:00
Steven Barth
bb932910dd Initial support for MAP-E and Lightweight 4over6 protocol
SVN-Revision: 40823
2014-05-22 20:04:53 +00:00
Steven Barth
5696b94b76 netifd: fix a segfault and improve ipip6 tunnel setup
SVN-Revision: 40821
2014-05-22 20:04:43 +00:00
Felix Fietkau
962575f201 mtd: fix compile error with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40819
2014-05-21 14:09:53 +00:00
Luka Perkov
a1038db845 fstools: update to the latest version
Fixes RO mounts on imx6 target.

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

SVN-Revision: 40818
2014-05-21 13:15:47 +00:00
Felix Fietkau
8bd8ecd0c3 iwinfo: remove old lua compat macros
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40816
2014-05-21 12:34:18 +00:00
Felix Fietkau
4c9fc236c9 iwinfo: un-export internal api header files
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40815
2014-05-21 12:34:02 +00:00
Felix Fietkau
8c4421ecd6 iwinfo: bump release and start using ABI_VERSION
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40814
2014-05-21 12:33:58 +00:00
Felix Fietkau
12333f4169 iwinfo: move wl_ops to iwinfo_wl.c, make functions static
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40813
2014-05-21 12:33:30 +00:00
Felix Fietkau
b5eec473f0 iwinfo: move nl80211_ops to iwinfo_nl80211.c, make functions static
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40812
2014-05-21 12:33:27 +00:00
Felix Fietkau
6c02355830 iwinfo: move madwifi_ops to iwinfo_madwifi.c, make functions static
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40811
2014-05-21 12:33:18 +00:00
Felix Fietkau
6e27ecbac7 iwinfo: move wext_ops to iwinfo_wext.c, make functions static
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40810
2014-05-21 12:33:15 +00:00
Felix Fietkau
2d06acd6ac iwinfo: keep an array of backends, reduce the number of ifdefs and hardcoded strcmp calls
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40809
2014-05-21 12:33:10 +00:00
Luka Perkov
b10140d832 uboot-imx6: update to 2014.04
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 40805
2014-05-20 21:01:18 +00:00
Luka Perkov
44c890b6f1 uboot-kirkwood: update to 2014.04
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 40804
2014-05-20 12:45:02 +00:00
Steven Barth
3834bd7667 dnsmasq: bump to 2.71
dnsmasq: bump to 2.71

this is a bugfix-release, see
http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2014q2/008538.html

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

SVN-Revision: 40803
2014-05-20 11:44:33 +00:00
Felix Fietkau
740a322cf8 ath9k: revert a faulty rx path fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40802
2014-05-20 11:09:47 +00:00
Felix Fietkau
9d5be2b858 iw: sync nl80211.h
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40801
2014-05-20 09:38:14 +00:00
Felix Fietkau
8513629e3e mac80211: update to wireless-testing 2014-05-19
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40800
2014-05-20 09:35:17 +00:00
Florian Fainelli
8f526ff530 dnsmasq: Allow creating static DNS entries from static lease entries
DHCP entries in /etc/config/dhcp will not automatically create A or PTR
records.  Add an "option dns" directive which appends an entry to
/tmp/hosts/dhcp to facilitate forward and reverse DNS lookups.  For
instance, this item:

    config host
            option ip       '192.168.0.10'
            option mac      '00:13:57:9b:df:02'
            option name     'winpc'
            option dns      '1'

will add a corresponding entry to /tmp/hosts/dhcp:

    192.168.0.10 winpc.lan

This keeps the hostname/IP/MAC in a single place, for easy maintenance.

Related: ticket #13854 reports an regression involving missing PTR
records when using "config domain" to define static DNS entries for
individual hosts.  However, per Simon Kelley[1], the --address feature
used by "config domain" was never intended to generate DNS A records for
hosts.  It would probably be better for the reporter to apply this patch,
and then use "config host" sections instead of "config domain" sections.

[1] http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2008q4/002498.html

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 40799
2014-05-20 05:00:28 +00:00
Florian Fainelli
0571a1454b kernel: Enable CONFIG_SPI_SPIDEV when selecting kmod-spidev
Without this patch /dev/spidev*.* only appears if CONFIG_SPI_SPIDEV is manually
selected and set to "y" from the kernel config.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 40784
2014-05-20 04:50:34 +00:00
Felix Fietkau
2ddcd59f16 mac80211: fix stbc configuration
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40783
2014-05-19 22:19:07 +00:00
Felix Fietkau
239b3c09c9 hostapd: add a package for eapol_test
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40782
2014-05-19 21:58:48 +00:00
Felix Fietkau
00776714ac fstools: update to the latest version, adds ubifs support and ubi/mtd fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40781
2014-05-19 21:58:44 +00:00
Felix Fietkau
acf1c98271 ath9k: add some rx path fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40780
2014-05-19 19:51:45 +00:00
Luka Perkov
15ff368d5f uboot-lantiq: remove duplicate define
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 40779
2014-05-19 18:55:55 +00:00
Luka Perkov
740ed0ede4 uboot-envtools: update to 2014.04
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 40778
2014-05-19 16:41:24 +00:00
Felix Fietkau
385b08d475 mac80211: fix ht capabilities for HT20
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40776
2014-05-18 21:13:03 +00:00
Felix Fietkau
030af00c2f ltq-hcd: disable mips16 support
This patch disables mips16 support in the ltq-hcd driver because some
people reported slow speed and problems with usb storage devices, 3G
dongles and wireless usb adapters.

Signed-off-by: José Vázquez Fernández <ppvazquezfer@gmail.com>

SVN-Revision: 40775
2014-05-18 21:12:55 +00:00
Felix Fietkau
bb240b50b6 base-files: enable force_link for lan by default
This allows services to bind to it at boot time instead of waiting for a
cable to be plugged in

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

SVN-Revision: 40773
2014-05-16 19:36:22 +00:00
Felix Fietkau
cfbd90d2bf netifd: update to the latest version, fixes wireless setup cancellation
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40771
2014-05-15 20:03:04 +00:00
Felix Fietkau
8a75eac80b mac80211: fix VHT80 channel allocation (thx, SeG)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40770
2014-05-15 20:02:59 +00:00
Jo-Philipp Wich
7490659254 package: ignore failed downloads with IGNORE_ERRORS
When IGNORE_ERROR is set, also skip broken downloads, this is required
to make a full "make download" run even if some upstream sources are
unreachable.

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

SVN-Revision: 40768
2014-05-14 15:49:22 +00:00
Jo-Philipp Wich
1f3a36b9c3 opkg: introduce a --force-checksum cmdline flag to be ale to ignore mismatching md5sums
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 40766
2014-05-14 11:19:07 +00:00
Hauke Mehrtens
a5ced8b408 gpio-button-hotplug: fix (and extend) package description
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 40765
2014-05-14 10:22:48 +00:00
Hauke Mehrtens
ebd4f65380 button-hotplug: describe module a bit better & mention gpio-button-hotplug
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 40764
2014-05-14 10:22:19 +00:00
Steven Barth
92e65b481a dnsmasq: bump to 2.7.0
SVN-Revision: 40759
2014-05-14 07:02:17 +00:00
Luka Perkov
c43b291c4e kernel: other.mk: add thermal option
It is available in later kernel versions.

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

SVN-Revision: 40752
2014-05-11 22:42:21 +00:00
Luka Perkov
4fc0484982 ubi-utils: fix typo
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 40751
2014-05-11 22:42:10 +00:00
Felix Fietkau
5858557160 broadcom-wl: bring interfaces up, do not rely on netifd doing it
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40749
2014-05-11 05:00:57 +00:00
Felix Fietkau
127ce4d5ec netifd: update to latest version, fixes a regression on wds client support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40748
2014-05-10 18:03:24 +00:00
Jo-Philipp Wich
735a03be62 iwinfo: adjust for changed wpa_supplicant control socket path
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 40747
2014-05-10 15:31:49 +00:00
Steven Barth
0c06d76c79 netifd: Fix nested protocols going offline at reload + various route issues
Much thanks to Hans Dedecker

SVN-Revision: 40746
2014-05-09 13:55:34 +00:00
Steven Barth
cc80c11538 odhcp6c: bring up nested interfaces on config change
SVN-Revision: 40745
2014-05-09 11:58:04 +00:00
Felix Fietkau
bddbcdfc1a uhttpd: update to the latest version, fixes cgi path handling issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40743
2014-05-09 11:17:42 +00:00
Felix Fietkau
9a22b006de uclient: fix uclient-fetch permissions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40742
2014-05-09 09:46:44 +00:00
Felix Fietkau
93d8170084 procd: add explicit libubox dependency to force rebuild on ABI changes (#16300)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40740
2014-05-09 00:52:49 +00:00
Felix Fietkau
7991b5ad66 libubox: update to the latest version, adds minor enhancements/fixes for uloop, blobmsg, kvlist and json_script
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40739
2014-05-09 00:52:45 +00:00
Felix Fietkau
5295e5fd34 add uclient, a small HTTP/1.1 client library (+ utility), using ustream-ssl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40738
2014-05-09 00:17:21 +00:00
Hauke Mehrtens
6f71e6c309 mac80211: fix warning in select_queue with kernel 3.14
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 40737
2014-05-08 21:54:24 +00:00
Felix Fietkau
f603f984c6 igmpproxy: move to trunk, add myself as maintainer
SVN-Revision: 40730
2014-05-08 13:14:34 +00:00
Steven Barth
8c53f29220 odhcp6c: some more fixes for map / lw4o6 support
SVN-Revision: 40728
2014-05-08 09:17:55 +00:00
Florian Fainelli
427536bc53 apex: change Source URL for Apex package
As both of the PKG_SOURCE_URLs within the Apex Makefile appear to be no
longer functional, this patch changes the source URL to the OpenWRT
downloads page. Apologies for resubmitting, but there was a syntax error
in the previous patch ( http://patchwork.openwrt.org/patch/5025 ).

Signed-off-by: Riley Baird <orthogonal@librewrt.org>
[florian: unmangle patch, fix subject]
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 40718
2014-05-07 01:28:52 +00:00
Felix Fietkau
f8b1de8bb8 ltq-vdsl-fw: vdsl_fw_install.sh: store firmware as tar.gz in flash
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40716
2014-05-06 21:06:27 +00:00
Zoltan Herpai
af3a3f8a9a uboot-sunxi: update pcDuino3 config - beef up memory clock to 480 - fix network config
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 40714
2014-05-06 20:22:45 +00:00
Felix Fietkau
0b89008f7f ltq-vdsl: force shell to bash to avoid compile errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40713
2014-05-06 17:26:32 +00:00
Felix Fietkau
e68687c04b ltq-vdsl-mei: force shell to bash to avoid compile errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40712
2014-05-06 17:26:27 +00:00
Felix Fietkau
1268274b5d mac80211: reset ht_capab for each device
... or else "option htmode" is added multiple times to
the second and following device sections.

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

SVN-Revision: 40711
2014-05-06 15:43:08 +00:00
Felix Fietkau
3b2643c92c ubus: update to the latest version, adds lua binding fixes and adds support for the cli command wait_for (waits for objects to appear, with timeout)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40710
2014-05-06 14:59:13 +00:00
Felix Fietkau
b0e436e10c mac80211: fix station info rx bitrate for IBSS mode
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40696
2014-05-05 16:45:13 +00:00
Felix Fietkau
b4d93a52cf ar71xx/ath9k: fix reading the WMAC revision on AR953x (fixes #15581)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40695
2014-05-04 23:26:20 +00:00
Felix Fietkau
32a806cf8a mac80211: remove obsolete check for enable_ht
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40694
2014-05-03 21:18:53 +00:00
Felix Fietkau
bc86119785 mac80211: remove mode_11n variable for hwmode - the option only selects the band now
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40693
2014-05-03 21:14:59 +00:00
Felix Fietkau
c9b99da7a5 ath: Add config option for DFS support
This patch adds a config option to enable DFS in ath9k and ath10k
drivers (with ath10k you need the AP-branch firmware). I'm not entirely
sure about the regulatory compliance issues, though. As far as I
understand, enabling the DFS_CERTIFIED config options implies that the
device is certified for DFS. No doubt the original firmware has obtained
such a certification, but not with the open source drivers. I suppose
that as long as this is disabled in default builds (like ATH_USER_REGD)
everything should be fine, but it would be nice to have out-of-the-box
OpenWrt support for DFS. I'm also not sure whether the description of
the configuration option should say something about regulatory compliance.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40692
2014-05-03 21:14:56 +00:00
Felix Fietkau
6c5f0f0caa ath5k: merge a tx power handling fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40691
2014-05-03 21:14:52 +00:00
Felix Fietkau
26044703a4 hostapd: add an option for 802.11h (enabled by default)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40690
2014-05-03 21:14:48 +00:00
Felix Fietkau
7bf399a87a mac80211: restrict ath9k/ath10k DFS support to ETSI
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40689
2014-05-03 21:14:45 +00:00
Felix Fietkau
09aa3ae9f6 mac80211: enable CFG80211_CERTIFICATION_ONUS by default
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40688
2014-05-03 21:14:41 +00:00
Felix Fietkau
427ae707cd ath9k: merge a few upstream fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40687
2014-05-03 21:14:38 +00:00
Felix Fietkau
8897093981 mac80211: add support for htmode=VHT20
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40686
2014-05-03 19:58:54 +00:00
Felix Fietkau
a9aee857de mac80211: force upper channel for HT40 when autochannel is enabled
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40685
2014-05-03 18:50:06 +00:00
Felix Fietkau
4bd862a300 mac80211: add automatic ht40 mode handling for 2.4 ghz
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40684
2014-05-03 18:44:32 +00:00
Felix Fietkau
54625965c4 mac80211: clean up vht capability processing
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40683
2014-05-03 18:38:24 +00:00
Felix Fietkau
58bda3a0e1 mac80211: clean up ht capability handling, drop the use of the ht_capab list, use individual variables instead
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40682
2014-05-03 18:38:20 +00:00
Felix Fietkau
52846f0ff5 mac80211: disable 802.11n support if htmode is not set to HT* or VHT*
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40681
2014-05-03 18:38:16 +00:00
Felix Fietkau
24791e0dd8 mac80211: simplify HT40 handling, derive lower/upper channel mode automatically from channel index
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40680
2014-05-03 18:38:09 +00:00
Hauke Mehrtens
4eb5b87a0e kernel: net-rtl8188eu depends on kmod-usbcore
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 40668
2014-05-02 22:57:39 +00:00
Hauke Mehrtens
9d1e33c755 omap: fix usb dependencies
There are some problems in the dependencies of the usb modules

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

SVN-Revision: 40667
2014-05-02 22:57:09 +00:00
Hauke Mehrtens
ecb5c610be kernel: fix dependency to xor-neon.ko
If this module gets build the xor module depends on it

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

SVN-Revision: 40666
2014-05-02 22:56:33 +00:00
Hauke Mehrtens
973c9a0f5b kernel: omap: omap-des.ko is not available in kernel 3.13
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 40665
2014-05-02 22:55:55 +00:00
Hauke Mehrtens
c4ecc47f41 kernel: unify the two kmod-usb-mxs-phy packages
There are two packages with the name kmod-usb-mxs-phy in OpenWrt which
causes warnings on every build.

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

SVN-Revision: 40663
2014-05-02 21:13:21 +00:00
Hauke Mehrtens
567e838a45 kernel: make b44 depend on libphy for kernel 3.14
In kernel 3.14 a dependency to libphy was added to b44.

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

SVN-Revision: 40662
2014-05-02 21:10:35 +00:00
Felix Fietkau
770ec0082b netifd: update to the latest version, fixes some corner cases related to hotplug device handling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40660
2014-05-02 18:12:28 +00:00
Hauke Mehrtens
1c227e7d23 samaba36: do not build libtevent
This fixes a build error on some mips systems.

This closes #15769.

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

SVN-Revision: 40652
2014-05-01 21:17:56 +00:00
Hauke Mehrtens
6f48cd4200 kernel: add support for USB_NET_CDC_EEM and USB_NET_CDC_SUBSET
needed for Android USB Tethering

Signed-off-by: Ulrich Weber <uw@ocedo.com>

SVN-Revision: 40634
2014-05-01 16:49:13 +00:00
Hauke Mehrtens
27f8e4d857 kernel: Add kernel module for cramfs support.
This patch adds support for building support for cramfs filesystems as a kernel module.

Signed-off-by: Owen Kirby <osk@exegin.com>

SVN-Revision: 40631
2014-05-01 16:24:56 +00:00
Hauke Mehrtens
9be00fc256 cyassl: update to version 3.0.0
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 40621
2014-05-01 14:04:15 +00:00
Hauke Mehrtens
14d0375301 samba: update to version 3.6.23
This updates samba to the most recent minor version.
This patch is based on a patch by Anton van Bohemen <avbohemen@ziggo.nl>

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

SVN-Revision: 40618
2014-05-01 12:17:52 +00:00
Zoltan Herpai
39efc2ac23 mac80211: add TMSC firmware to 8192cu module to properly support 8188CUS
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 40615
2014-05-01 09:55:03 +00:00
Hauke Mehrtens
2cc83fe501 xtables-addons: #15516 Fix compile under linux 3.14
Add compatibility inline function.

Signed-off-by: Jan Kardell <jan.kardell@telliq.com>

SVN-Revision: 40613
2014-04-30 22:15:40 +00:00
Zoltan Herpai
599b40c3ed kernel: add staging r8188eu module (3.13)
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 40609
2014-04-30 21:53:29 +00:00
Zoltan Herpai
9ee3edb4ca uboot-sunxi: add support for LinkSprite pcDuino v3 (a20)
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 40605
2014-04-30 19:37:56 +00:00
Steven Barth
ef9f0fa232 odhcp6c: add preliminary support for MAP provisioning
SVN-Revision: 40604
2014-04-30 15:52:30 +00:00
Felix Fietkau
5438bc68b5 ath9k: merge a fix for a race condition on init
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40591
2014-04-29 15:52:08 +00:00
Felix Fietkau
11c23fded0 ath9k: merge fixes for stability issues under heavy load
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40590
2014-04-29 15:52:03 +00:00
Felix Fietkau
d33c6f7b80 netifd: update to the latest version, fixes a use-after-free bug on wireless config reload
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40589
2014-04-29 13:18:59 +00:00
Zoltan Herpai
aa425b88a8 fs: add kernel modules for AFS client
- add/separate crypto modules
 - add fscache support
 - add rxrpc module which is required for AFS
 - add afs module

Signed-Off-By: Nathaniel Wesley Filardo <8S9K8UGO5JGPI3U067229BBACKMQIGVH@cmx.ietfng.org>
Acked-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 40587
2014-04-28 19:47:38 +00:00
Felix Fietkau
5c91b4020b ath9k: add a fix for tx queueing and aggregation
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40586
2014-04-28 16:35:25 +00:00
Hauke Mehrtens
277fb57449 mac80211: Fix build errors due to missing string function declarations
Building mac80211 failed, due to missing function declarations in compat/backport-3.15.c
This patch adds the linux/string.h header file to provide these function declarations

Signed-off-by: Maarten Bezemer <maarten.bezemer@gmail.com>

SVN-Revision: 40584
2014-04-27 21:53:58 +00:00
Hauke Mehrtens
513b796698 authsae: Update to latest version
Ping tested, add a cool fix
295164a837

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

SVN-Revision: 40579
2014-04-27 20:49:14 +00:00
Felix Fietkau
c622a37101 base-files: remove duplicate stop_service() function.
It was introduced in commit 2f966e8, "base-files: add a post start hook
for procd managed services".

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

SVN-Revision: 40576
2014-04-27 18:48:57 +00:00
Felix Fietkau
e795250a1e hostapd: fix eglibc 2.15 support
This patch fixes compilation failure for hostapd when using eglibc 2.15.

Signed-off-by: Zachery Stoddard <zacherystoddard@gmail.com>

SVN-Revision: 40575
2014-04-27 18:30:50 +00:00
Felix Fietkau
7e34e45dcf ath9k: add ANI fix for ar913x to improve stability
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40573
2014-04-27 14:39:06 +00:00
Felix Fietkau
b4532ad21e netifd: update to the latest version, fixes some route table and dynamic interface issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40572
2014-04-26 19:48:11 +00:00
Felix Fietkau
8a831de514 hostapd: update to version 2014-04-24, fixes some dfs related issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40571
2014-04-26 19:48:06 +00:00
Felix Fietkau
4bfc83bba9 libubox: update to the latest version, adds a key/value store implementation and fixes an uloop issue
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40570
2014-04-26 14:56:29 +00:00
Steven Barth
e1bd4e9aa4 odhcpd: better dhcpv6 client-compatibility (thanks Hans Dedecker)
SVN-Revision: 40567
2014-04-24 09:36:01 +00:00
Steven Barth
c4e09ccb05 6rd: Select first IPv4 address from configured tunlink interface as local tunnel address
Gives the user the control to select the correct WAN IPv4 address to be used by the 6rd tunnel when mutiple WAN interfaces are configured

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

SVN-Revision: 40566
2014-04-24 09:11:44 +00:00
John Crispin
0a1f564381 mac80211: allow to select the rt2x00-soc module for the ramips/rt3883 subtarget
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40560
2014-04-23 07:52:47 +00:00
John Crispin
ca27248c9f mac80211: refresh rt2x00 patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40559
2014-04-23 07:52:37 +00:00
John Crispin
8be12510c9 mac80211: rt2x00: add support for the RT3662/RT3883 SoCs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40558
2014-04-23 07:52:18 +00:00
Felix Fietkau
b079019bd9 netifd: update to latest version, adds support for disabling interfaces
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40555
2014-04-22 17:28:14 +00:00
John Crispin
a5cae0521e Add Zyxel P-2812HNU-Fx images
P-2812HNU-Fx images are already supported but not generated.

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

SVN-Revision: 40548
2014-04-22 08:08:27 +00:00
John Crispin
a57ffc09a7 Add Fritz!Box 3370 images
Fritz!Box 3370 images are already supported but not generated.

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

SVN-Revision: 40547
2014-04-22 08:08:23 +00:00
John Crispin
03a777c293 Refresh patches
Refresh uboot-lantiq patches.

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

SVN-Revision: 40546
2014-04-22 08:08:19 +00:00
John Crispin
686a17e647 Create firmware directory if it doesn't exist
Fixes package refreshing.

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

SVN-Revision: 40545
2014-04-22 08:08:15 +00:00
John Crispin
616f6da588 Depend on lantiq board
Depend on lantiq board.

ARV7510 depends on ARV4510 because (according to OpenWrt wiki) both boards are identical except for the unsupported WiFi. Moreover, ARV7510 isn't especifically supported and ARV4510 images valid.

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

SVN-Revision: 40544
2014-04-22 08:08:10 +00:00
Luka Perkov
350dd0f9ac kobs-ng: Add support for overriding size
By default kobs-ng will use the size of /dev/mtd0 for the IMX bootstreams.
This patch allows overriding that size in order to reserve space at the end
of the mtd partition for u-boot.img in the case of using an SPL bootloader.

For example, to flash an SPL bootloader that loads u-boot.img from 0xe0000
(14MB) offset in a 16MB /dev/mtd0:

  kobs-ng init -v -x --search_exponent=1 --chip_0_size=0xe00000 SPL
  nandwrite --start=0xe00000 --pad /dev/mtd0 u-boot.img

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

SVN-Revision: 40532
2014-04-19 21:39:09 +00:00
Felix Fietkau
3c95232ab7 netifd: update to the latest version, fixes some more issues related to l3_dev handling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40529
2014-04-19 09:58:40 +00:00
Felix Fietkau
a423055592 base-files: remove duplicate wps button handler (#15621)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40528
2014-04-18 17:27:38 +00:00
Jo-Philipp Wich
7bfcbab875 fstools: fix extroot with opkg-installed block-mount (#15550)
The /sbin/block binary now requires and additional shared library, therfore set
LD_LIBRARY_PATH accordingly when invoking it from the temporary overlay.

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

SVN-Revision: 40526
2014-04-17 17:59:47 +00:00
John Crispin
13010f3adc lantiq: remove uboot lzma patch, apparently its not needed after all
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40521
2014-04-16 12:11:24 +00:00
John Crispin
69bac3e37e uboot-lantiq: backport lzma fix
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40520
2014-04-16 12:01:24 +00:00
Steven Barth
ba6689b064 ds-lite: disable NAT according to RFC 7084
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 40511
2014-04-14 10:11:54 +00:00
Steven Barth
daf69ee1da firewall: add support for nat-rules and netifd-proto-originating rules
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 40510
2014-04-14 10:11:34 +00:00
Felix Fietkau
4d0f5b36c4 iw: sync nl80211.h (fixes settting antenna_gain)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40503
2014-04-13 09:53:51 +00:00
Gabor Juhos
daca4351b1 uboot-envtools: add support for the ZyXEL NBG6716 board
Signed-off-by: André Valentin <avalentin@marcant.net>
Patchwork: http://patchwork.openwrt.org/patch/5101/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40501
2014-04-13 08:29:08 +00:00
John Crispin
3bc77db5f5 802.11s: fix authsae support in netifd
This patch implements support for 802.11s protected mesh wireless networks (using authsae) in the netifd framework.

Until meshd-nl80211 implements a proper -P option for the PID file, this uses shell backgrounding in order to be able to get the PID for the process.

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

SVN-Revision: 40497
2014-04-12 21:22:17 +00:00
John Crispin
fca3f32fe8 rpcd: update to the latest version
This is required to make object "session" procedure "access" dump ACLs
when no "object" or no "function" parameters are passed.

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

SVN-Revision: 40496
2014-04-12 21:22:12 +00:00
John Crispin
3269f57c58 uboot-lantiq: enable parallel building
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>

SVN-Revision: 40488
2014-04-12 21:21:40 +00:00
John Crispin
dcbaee4e77 uboot-lantiq: reuse/copy VR9 GPHY firmware blobs from target/linux/lantiq
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>

SVN-Revision: 40487
2014-04-12 21:21:35 +00:00
John Crispin
28fcb00b44 uboot-lantiq: add packages for AudioCodes MP-252
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>

SVN-Revision: 40486
2014-04-12 21:21:31 +00:00
John Crispin
dcf6f0e3f8 uboot-lantiq: add packages for various Arcadyan boards
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>

SVN-Revision: 40485
2014-04-12 21:21:26 +00:00
John Crispin
b949a631fe uboot-lantiq: add packages for Lantiq EASY80920
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>

SVN-Revision: 40484
2014-04-12 21:21:23 +00:00
John Crispin
de21f63d4a uboot-lantiq: add packages for Lantiq EASY50712
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>

SVN-Revision: 40483
2014-04-12 21:21:18 +00:00
John Crispin
1246dce0b3 uboot-lantiq: update to v2013.10
Patches created from tree:
git@github.com:danielschwierzeck/u-boot-lantiq.git
v2013.10..u-boot-lantiq-v2013.10-openwrt4

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>

SVN-Revision: 40482
2014-04-12 21:21:14 +00:00
Felix Fietkau
d80333bae3 kernel: mark kmod-usb-phy-nop as hidden to avoid building it where it is not needed
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40470
2014-04-12 15:43:17 +00:00
Felix Fietkau
0d7e8ba3a9 hostapd: fix "bad number" error due to missing wps_pbc_in_m1 option (since r39995)
r39995 introduced a new parameter wps_pbc_in_m1 to wifi wps config, but
apparently did not provide a default value 0.

When that option's non-existing value is later evaluated in
/lib/netifd/hostapd.sh, it causes the "bad number" error to be logged in
syslog if user has not set the wps_pbc_in_m1 option. The error materialises
only if user has enabled wps.
    Sat Apr 12 13:25:01 2014 daemon.notice netifd: radio1 (1254): sh: bad number
    Sat Apr 12 13:25:01 2014 daemon.notice netifd: radio0 (1253): sh: bad number

Discussion in bug 15508: https://dev.openwrt.org/ticket/15508#comment:3

Error is caused by line 282:
https://dev.openwrt.org/browser/trunk/package/network/services/hostapd/files/netifd.sh#L282

My patch sets the parameter's default value to 0, which does nothing. The
default might also be set a bit later in the function, but this felt like the
most clear place to do that.

Signed-off-by hnyman <hannu.nyman@iki.fi>

SVN-Revision: 40469
2014-04-12 14:28:34 +00:00
John Crispin
390e856cb2 lantiq: more vdsl related cleanups
* atm module needs to be loaded before linux-atm
* use absolute firmware paths
* extended validation
* add a script for mounting an optional firmware partition

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

SVN-Revision: 40460
2014-04-11 20:40:24 +00:00
Felix Fietkau
7b960069a2 netifd: switch to using git.openwrt.org
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40459
2014-04-11 20:28:55 +00:00
Jo-Philipp Wich
38c4e4cc02 uci: fix import with not yet existing packages, preserve config permissions on commit, fix Lua detection in cmake
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 40458
2014-04-11 16:14:09 +00:00
Jo-Philipp Wich
e0a3e3d1b6 uhttpd: do not attempt to configure Lua handler if referenced file does not exist
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 40457
2014-04-11 16:13:27 +00:00
Felix Fietkau
92ab194d63 netifd: update to latest version, adds a force_link parameter to bring up an interface without active device carrier
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40456
2014-04-11 13:48:41 +00:00
Felix Fietkau
a28b8ecc47 netifd: update to the latest version, fixes some reload issues with proto=static
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40449
2014-04-10 15:21:13 +00:00
Felix Fietkau
c5967446ba kernel: add a dependency of kmod-r8169 on r8169-firmware
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40448
2014-04-10 14:43:33 +00:00
Felix Fietkau
d589d40294 linux-firmware: add a new package for firmware (currently only builds r8169 firmware)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40447
2014-04-10 14:43:30 +00:00
Felix Fietkau
8a7a02bd2e netifd: fix a regression related to ppp + multiple updates (ipv4 + ipv6)
Fixes #15504

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

SVN-Revision: 40443
2014-04-10 11:31:21 +00:00
Felix Fietkau
134c036fc9 mac80211: add back missing tx power handling fix (#12750)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40440
2014-04-10 08:52:33 +00:00
John Crispin
eebc673f1e lantiq: move the dsl-modem config to network.@dsl-modem[-1]
make sure uci_defaults generates a proper uci config for the v/adsl modem

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

SVN-Revision: 40439
2014-04-10 08:14:33 +00:00
John Crispin
8bfe9acecf lantiq: vdsl init.d script should auto start
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40438
2014-04-09 16:36:28 +00:00
John Crispin
76e873a289 lantiq: cleanup vdsl driver bringup
config interface 'wan'
	# a, b, j
	option annex b
	# a, b, av, bv
	option tone b
	# vdsl.bin
	option firmware
	# atm, ptm
	option xfer_mode atm

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

SVN-Revision: 40437
2014-04-09 16:31:24 +00:00
Steven Barth
9efa78ebeb odhcpd: use correct defaults for interfaces not in UCI
SVN-Revision: 40435
2014-04-09 12:29:43 +00:00
Steven Barth
d2d8970828 odhcp6c: fix recovering from status where all addresses have been lost
SVN-Revision: 40432
2014-04-09 06:57:04 +00:00
Felix Fietkau
f95990a73b mac80211: fix warnings triggered by tx power changes when using WDS AP (#15491)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40430
2014-04-08 22:11:27 +00:00
Felix Fietkau
26b8bb6150 mac80211: fix user antenna gain calculation
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40429
2014-04-08 22:11:23 +00:00
Felix Fietkau
fe2c9b4e1d ath9k: fix AP mode crash issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40428
2014-04-08 22:11:19 +00:00
Felix Fietkau
b8795d6b66 ath9k: fix some ANI related stability issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40427
2014-04-08 22:11:13 +00:00
Felix Fietkau
dd58e15b84 base-files: add back missing function for find_mtd_part to /lib/functions.sh (fixes #15496)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40426
2014-04-08 21:17:49 +00:00
Steven Barth
4abcae7a1c ds-lite: compatibility with ISPs that only offer public PDs
SVN-Revision: 40422
2014-04-08 06:19:37 +00:00
Steven Barth
8333ce1963 OpenSSL: update to 1.0.1g
This fixes the Heartbleed bug (CVE-2014-0160).

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 40421
2014-04-08 05:24:36 +00:00
John Crispin
665d39f698 base-files: the ubi tol should be installed when jumping to ram_fs
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40420
2014-04-07 15:35:20 +00:00
John Crispin
1d5ac95850 base-files: make use of new fstools
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40416
2014-04-07 15:10:15 +00:00
John Crispin
eb19a65bd2 fstools: update to latest git HEAD
this adds the /sbin/ubi tool that can be used for sysupgrading ubi volumes

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

SVN-Revision: 40415
2014-04-07 15:10:07 +00:00
Felix Fietkau
255546bbfd netifd: update to the latest version, fixes a l3_dev handling regression leading to a crash
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40414
2014-04-07 11:12:06 +00:00
Felix Fietkau
28f4f4a6d7 /lib/functions.sh: remove config_rename()
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40412
2014-04-07 10:29:51 +00:00
Felix Fietkau
4a9ea80ef0 /lib/functions.sh: move rarely used mtd and macaddr related functions to /lib/functions/system.sh
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40411
2014-04-07 10:29:47 +00:00
Felix Fietkau
e700dcaf04 /lib/functions.sh: remove jffs2_mark_erase()
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40410
2014-04-07 10:29:42 +00:00
Felix Fietkau
d368cc63fe base-files: remove config_clear() and list_remove()
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40409
2014-04-07 10:01:59 +00:00
Felix Fietkau
3d275a8deb base-files: move uci_apply_defaults() to /etc/init.d/boot
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40408
2014-04-07 10:01:54 +00:00
Felix Fietkau
4a6ad541d8 /lib/functions.sh: remove hotplug_dev()
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40406
2014-04-07 09:50:26 +00:00
Felix Fietkau
ba2b6f661b /lib/functions.sh: remove strtok()
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40405
2014-04-07 09:50:23 +00:00
Felix Fietkau
c27c5b9cbc /lib/functions.sh: move preinit related functions to /lib/functions/preinit.sh
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40404
2014-04-07 09:50:19 +00:00
Felix Fietkau
e90b695157 /lib/functions.sh: remove pi_include()
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40403
2014-04-07 09:50:15 +00:00
Felix Fietkau
1d763171bf /lib/functions.sh: remove jffs2_ready()
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40402
2014-04-07 09:50:11 +00:00
Felix Fietkau
0f2524f473 /lib/functions.sh: remove support for non-overlayfs overlay fopivot types
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40401
2014-04-07 09:50:07 +00:00
Steven Barth
057900bfd1 odhcpd: improve managed PD
SVN-Revision: 40395
2014-04-06 14:34:45 +00:00