Commit Graph

843 Commits (0d7130a68ff89f2f5479b8d78e26fddfe7b9c665)

Author SHA1 Message Date
Jo-Philipp Wich 5b32f12d22 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-27 10:40:44 +00:00
Steven Barth 91a26e0d26 firewall3: add fw3 zone function to enumerate devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41349 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-26 12:20:47 +00:00
John Crispin c1e89aba4d 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-26 11:43:34 +00:00
John Crispin f2d7587246 iputils: fix compile when using eglibc
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-26 11:42:57 +00:00
Steven Barth 3b59de8bc7 dnsmasq: use config_get_bool for dnsmasq
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41302 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-22 15:34:36 +00:00
Felix Fietkau d1c5a5fecc iw: update to 3.15
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41299 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-22 11:42:28 +00:00
Steven Barth 5691e7e3ec dnsmasq: set procd respawn
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41297 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-22 09:08:14 +00:00
Steven Barth 33b7149349 netifd: various routing table handling fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41287 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-20 17:51:25 +00:00
Jo-Philipp Wich 7dcf285ab0 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-20 12:28:35 +00:00
Jo-Philipp Wich 4472de6afa 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-20 09:58:16 +00:00
Steven Barth f439aef6cd dnsmasq: removing nettle 3.0 support due to nettle downgrade
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 17:06:37 +00:00
Steven Barth c4c0b61fb7 odhcpd: improve static DHCPv4 leases (thanks arnd)
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41260 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 12:10:10 +00:00
Steven Barth 7272a611a1 netifd: various bugfixes (thanks Hans Dedecker)
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 11:29:09 +00:00
John Crispin 4e453069d6 relayd: update to latest git head
this fixes multicast fowarding on relayd links

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41254 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:08:05 +00:00
Steven Barth 12b41b0c5f dnsmasq: compatibility with nettle 3.0
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:04:47 +00:00
Steven Barth 3d5f483474 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41246 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:04:34 +00:00
Steven Barth 15646b2175 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:04:29 +00:00
Steven Barth 10cb433539 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:04:25 +00:00
Steven Barth 01a531434d dnsmasq: add upstream patch to build against libnettle-mini
Signed-off-by: Andre Heider <a.heider@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41243 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:04:21 +00:00
Steven Barth 251afc0c34 dnsmasq: respect target's LDFLAGS
Append local flags, don't overwrite.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:04:17 +00:00
Steven Barth 06e56f40f6 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41241 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:04:02 +00:00
Steven Barth 6dca6d5903 odhcpd: don't enable relaying by default anymore
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-17 13:05:24 +00:00
Steven Barth b0147d9e5b iproute2: update version to 3.15.0, refresh patches, add maintainer
Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-17 12:43:30 +00:00
Steven Barth abd3b2c90e odhcpd: also honor leasetime for dhcpv6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41226 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-17 07:59:15 +00:00
Steven Barth 0ef8d8758c odhcpd: Improve NotOnLink-behavior and make hostid more convient to configure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41225 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-17 07:44:24 +00:00
Steven Barth 86f216aa9e odhcpd: add more consistent hostname-writing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41211 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-16 16:45:05 +00:00
Steven Barth 4a0999f156 odhcpd: update hostfile more often
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41197 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-16 09:09:13 +00:00
Steven Barth 0770d7d421 odhcpd: fix dhcpv4 hostname attribute handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-16 08:33:49 +00:00
Steven Barth fba1e0b046 odhcpd: accept FQDN as search domain
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41194 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-15 22:49:58 +00:00
Steven Barth 02fcbc1643 ppp: bump to 2.4.6
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41193 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-15 20:55:17 +00:00
Steven Barth 868a9c8703 odhcpd: use search domain instead of domain attribute
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41152 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-12 09:22:07 +00:00
Felix Fietkau db29a8b371 netifd: use procd_add_reload_trigger
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41147 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-11 17:05:50 +00:00
Jo-Philipp Wich 7c62c2994f curl: move to core packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-11 15:43:24 +00:00
Steven Barth a1912788a8 uhttpd: also bind to IPv6 by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41114 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-11 12:11:55 +00:00
Felix Fietkau 2e3fd3da02 netifd: update to latest version, fixes reload issue (#16754) and adds 802.1ad support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41112 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-11 10:23:12 +00:00
Steven Barth efdd4152e4 netifd: add support for onlink-flag for routes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-10 16:04:40 +00:00
Steven Barth 0b9b716083 odhcpd: various regression fixes (thanks Hans Dedecker)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41079 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-10 08:47:15 +00:00
Felix Fietkau 59fdd2eedf uhttpd: update to the latest version, fixes musl compile issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-09 13:47:40 +00:00
Felix Fietkau a592b1e370 uqmi: use -ffunction-sections and --gc-sections, reduces binary size from 57k to 29k
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-07 19:14:17 +00:00
Steven Barth e14ff4aa6b odhcpd: improve DHCPv4 range defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41038 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-07 10:35:34 +00:00
John Crispin aeeb870b02 igmpproxy: report an error and dont start the instance if one of the interfaces is not up
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-06 09:34:38 +00:00
Felix Fietkau 7c3630cd52 hostapd: fix wpad-mini compile error (#16700)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41023 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 21:14:02 +00:00
Felix Fietkau b7f384e765 hostapd: update to 2014-06-03
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 15:58:01 +00:00
Felix Fietkau edd6307383 wpa_supplicant: fix locking hostapd to 20MHz (#12720)
Fixed wpa_supplicant when the radio is in 40MHz mode so that it no
longer restarts hostapd with the second channel disabled.

Signed-off-by: Lance Chaney <furryfur1@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 14:55:10 +00:00
Felix Fietkau 1d0df03130 hostapd: move reading of rsn_preauth out of auth_type=eap context
rsn_preauth is used outside of "case $auth_type", so if it is set
for an EAP-enabled SSID, it would also be set for the following
non-EAP-enabled SSIDs, because it would not be read again.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41012 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 11:55:36 +00:00
John Crispin 59b7998684 igmpproxy: register interface change triggers
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41011 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 10:56:18 +00:00
John Crispin f85bba8f4a netfid: make procd watch the network.interface object for events
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 10:56:14 +00:00
John Crispin 438acfd236 netifd: update to latest git HEAD
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 10:56:10 +00:00
Steven Barth bee803be7f map: add support for map-t if available
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-04 14:58:40 +00:00
Felix Fietkau 1bf5ac03fb hostapd: replace undefined $bridge with $network_bridge
Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-04 11:51:59 +00:00
Steven Barth 8d92ff222a dhcpv6: set default solicit timeout back to 120s
This deliberatly breaks RFC 7083 since its not really user-friendly.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-04 09:59:45 +00:00
John Crispin 272e00a679 package: swconfig: let variable name be local
Let the first parameter of function config_get be local, because there
is a chance that config_get won't export the variable.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-04 07:20:31 +00:00
John Crispin 8d9f6f3396 igmpproxy: update init.d script to procd and add a hotplug script
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-04 07:19:51 +00:00
Felix Fietkau 79ba645f99 netfilter: split off header matching modules not used by the default config (reduces rootfs size and memory usage)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 18:13:38 +00:00
John Crispin 06c108a533 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40954 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 13:10:53 +00:00
John Crispin a1282357da 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40953 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 13:10:49 +00:00
John Crispin b10317981b iwinfo: add Atheros AR9580 to hardware.txt
Signed-off-by: Stefan Agner <stefan@agner.ch>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 13:10:44 +00:00
John Crispin 2c894a4234 comgt: add support for defining dial number in config file
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:45:09 +00:00
John Crispin 3a95ee11ea 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:45:01 +00:00
John Crispin 0554a85812 package: netifd: remove blank line at the end of file
Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:44:51 +00:00
John Crispin 38af4652ac qos-script: Add comments to existing rules
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40936 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:44:47 +00:00
John Crispin 6218040363 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:44:44 +00:00
John Crispin c759214048 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:44:40 +00:00
John Crispin b9907f1565 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:44:36 +00:00
John Crispin c2170dd5e7 openvpn: enable ipv6 parameters
http://patchwork.openwrt.org/patch/4945/

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:44:30 +00:00
John Crispin c6c4c6f4b5 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:43:25 +00:00
John Crispin 3b660e4079 dropbear: make missing variables local
Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:43:16 +00:00
Steven Barth f1f2e5a8ba odhcpd: add configuration for userclass-filter
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 07:08:16 +00:00
Steven Barth e9d87c8c4a 6relayd: superseded by odhcpd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-01 10:28:50 +00:00
Felix Fietkau 0fab8e45b6 netifd: replace the sleep 5 with an ubus wait_for call to speed up init script
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40891 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-31 23:49:23 +00:00
Steven Barth 83f2580b0a odhcp6c: fix last commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-30 14:50:42 +00:00
Steven Barth 8609335c06 odhcp6c: improve passthrough filter
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40886 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-30 14:48:39 +00:00
Felix Fietkau a8c6710940 iwinfo: null-terminate the ssid on nl80211 scan to avoid printing trailing garbage
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-30 11:37:35 +00:00
Steven Barth 2a072876d2 odhcpd: Fix a segfault in DHCPv6 option handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40881 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-29 21:01:42 +00:00
Jo-Philipp Wich b37fc42ba7 6in4: adjust update url (#16617)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-29 09:22:52 +00:00
Felix Fietkau ae88b29aa6 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40868 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-28 19:45:20 +00:00
Steven Barth 1ee0b0a2ab odhcpd: add support for configuring raw dhcpv6 options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-26 17:08:57 +00:00
Steven Barth 51d1dccb8a odhcp6c: improve passthru filter
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40826 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-23 06:29:13 +00:00
Steven Barth 2bdbe6d6fa odhcp6c: export passthru options as netifd data
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40825 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-23 06:26:23 +00:00
Steven Barth 1555c53a92 odhcp6c: add support for option passthru
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40824 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-23 06:17:27 +00:00
Steven Barth 89e39a8a68 Initial support for MAP-E and Lightweight 4over6 protocol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40823 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-22 20:04:53 +00:00
Steven Barth 02df983051 netifd: fix a segfault and improve ipip6 tunnel setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40821 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-22 20:04:43 +00:00
Felix Fietkau 0e45d6b379 iwinfo: remove old lua compat macros
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40816 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-21 12:34:18 +00:00
Felix Fietkau aed6501d7a iwinfo: un-export internal api header files
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40815 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-21 12:34:02 +00:00
Felix Fietkau ec9722cefc iwinfo: bump release and start using ABI_VERSION
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-21 12:33:58 +00:00
Felix Fietkau 9bf5b13bcc iwinfo: move wl_ops to iwinfo_wl.c, make functions static
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40813 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-21 12:33:30 +00:00
Felix Fietkau 5e4ead792c iwinfo: move nl80211_ops to iwinfo_nl80211.c, make functions static
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40812 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-21 12:33:27 +00:00
Felix Fietkau ce190f1c3b iwinfo: move madwifi_ops to iwinfo_madwifi.c, make functions static
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-21 12:33:18 +00:00
Felix Fietkau 89c0b1328b iwinfo: move wext_ops to iwinfo_wext.c, make functions static
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40810 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-21 12:33:15 +00:00
Felix Fietkau 4ab2ccf630 iwinfo: keep an array of backends, reduce the number of ifdefs and hardcoded strcmp calls
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-21 12:33:10 +00:00
Steven Barth bc66a52c45 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40803 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-20 11:44:33 +00:00
Felix Fietkau c71d98a919 iw: sync nl80211.h
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-20 09:38:14 +00:00
Florian Fainelli e99cb3cbf6 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40799 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-20 05:00:28 +00:00
Felix Fietkau 3635a1d412 hostapd: add a package for eapol_test
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40782 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-19 21:58:48 +00:00
Felix Fietkau 201f003a76 netifd: update to the latest version, fixes wireless setup cancellation
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40771 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-15 20:03:04 +00:00
Steven Barth bfaa1ec952 dnsmasq: bump to 2.7.0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-14 07:02:17 +00:00
Felix Fietkau 2fe4422400 netifd: update to latest version, fixes a regression on wds client support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-10 18:03:24 +00:00
Jo-Philipp Wich b87992375c iwinfo: adjust for changed wpa_supplicant control socket path
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-10 15:31:49 +00:00
Steven Barth 7daa8bafa6 netifd: Fix nested protocols going offline at reload + various route issues
Much thanks to Hans Dedecker

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40746 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-09 13:55:34 +00:00
Steven Barth 99bb6384ee odhcp6c: bring up nested interfaces on config change
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40745 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-09 11:58:04 +00:00