- May 14, 2017
-
-
Alberto Bursi authored
uci_set_leds_ataport() allows to set a led to show activity on a specific (s)ata port, which is needed for devices that have a Sata led for each sata port. The led trigger is from the 834-ledtrig-libata.patch LEDE kernel patch. uci_set_leds_usbhost() allows to set a led to show total usb activity. Signed-off-by:
Alberto Bursi <alberto.bursi@outlook.it> [Jo-Philipp Wich: use a single underscore to denote private functions] Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
Alberto Bursi authored
create a function with code common to all led functions, create another function with code common to functions setting a simple led trigger, restore alphabetical order in function names. Signed-off-by:
Alberto Bursi <alberto.bursi@outlook.it> [Jo-Philipp Wich: use a single underscore to denote private functions] Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
Gracefully handle cases where the to-be-created wireless interface already exists on the system which might commonly happen with non-multi-SSID capable wireless drivers. This fixes commit 8301e613 which caused previously ignored "Too many open files in system (-23)" errors to fail the wireless setup procedure. With the updated approach we'll still try recreating the vif after one second if the first attempt to do so failed with ENFILE but we will now consider the operation successfull if a second attempt still yields ENFILE with the requested ifname already existing on the system. Fixes FS#664, FS#704. Suggested-by:
Vittorio Gambaletta <openwrt@vittgam.net> Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
- May 13, 2017
-
-
Marko Ratkaj authored
Add support for SolidRun ClearFog Base board. The base model is a smaller version of ClearFog Pro without the DSA switch, replacing it with a second copper gigabit port, and only one PCIe socket. Signed-off-by:
Marko Ratkaj <marko.ratkaj@sartura.hr>
-
Marko Ratkaj authored
The conventional model is now known as the "Clearfog Pro" Signed-off-by:
Marko Ratkaj <marko.ratkaj@sartura.hr>
-
Matthias Schiffer authored
One of the latest mac80211 updates added sanity checks, requiring the beacon intervals of all VIFs of the same radio to match. This often broke AP+11s setups, as these modes use different default intervals, at least in some configurations (observed on ath9k). Instead of relying on driver or hostapd defaults, change the scripts to always explicitly set the beacon interval, defaulting to 100. This also applies the beacon interval to 11s interfaces, which had been forgotten before. VIF-specific beacon_int setting is removed from hostapd.sh. Fixes FS#619. Signed-off-by:
Matthias Schiffer <mschiffer@universe-factory.net>
-
Matthias Schiffer authored
None of the variables in this "local" declaration are actually set in wpa_supplicant_add_network(). Signed-off-by:
Matthias Schiffer <mschiffer@universe-factory.net>
-
- May 12, 2017
-
-
Kevin Darbyshire-Bryant authored
Fix [FS#766] Intermittent SIGSEGV crash of dnsmasq-full Signed-off-by:
Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
-
Jo-Philipp Wich authored
Update to version 2.4.2 in order to address two potential Denial-of-Service vectors in OpenVPN. CVE-2017-7478 - Don't assert out on receiving too-large control packets CVE-2017-7479 - Drop packets instead of assert out if packet id rolls over Ref: https://community.openvpn.net/openvpn/wiki/ChangesInOpenvpn24#OpenVPN2.4.2 Ref: https://community.openvpn.net/openvpn/wiki/QuarkslabAndCryptographyEngineerAudits Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
- May 11, 2017
-
-
Florian Fainelli authored
Some external toolchains may be configured to enable OpenMP. Provide a package for these libraries which can be used by other packages. Signed-off-by:
Florian Fainelli <f.fainelli@gmail.com>
-
Florian Fainelli authored
Add the necessary changes to CMakeLists.txt to search zlib.h. Fixes build issues with external toolchains that don't have STAGING_DIR in the default search path. Signed-off-by:
Florian Fainelli <f.fainelli@gmail.com>
-
- May 10, 2017
-
-
Valentin Spreckels authored
The parameter specification missed that -s takes an argument. Signed-off-by:
Valentin Spreckels <Valentin.Spreckels@Informatik.Uni-Oldenburg.DE>
-
Alexey Brodkin authored
Toolchain built for ARCv1 (read for ARC700 cores) by default has disabled atomic ops (-mno-atomic). When we build Linux kernel for ARC770 which has LL/SC instructions and thus may handle normally atomic ops we explicitly add "-matomic" in CFLAGS. But since user-space perf utility has no way to extract CPU config options from Kconfig/defconfig it uses compiler default settings. In case of ARCv2 (read ARC HS38) atomics are enabled by default and so perf builds perfectly fine thus reenabling perf for ARC HS38 (actually for non-ARC700 targets). Signed-off-by:
Alexey Brodkin <Alexey.Brodkin@synopsys.com>
-
Arjen de Korte authored
If no DUID is set for a host, it should be empty, not the last one set for a previous host. Signed-off-by:
Arjen de Korte <build+lede@de-korte.org>
-
- May 09, 2017
-
-
Hans Dedecker authored
Signed-off-by:
Hans Dedecker <dedeckeh@gmail.com>
-
Daniel Danzberger authored
This patch adds the interface-name option for each dhcp config in /etc/config/dhcp. With the interface_name option users can define a DNS name for each dhcp section that will be resolved by dnsmasq with the underlaying interface address. For example: config dhcp 'lan' option interface 'lan' ... list interface_name 'home.lan' ... Signed-off-by:
Daniel Danzberger <daniel@dd-wrt.com> Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> [PKG_RELEASE increase]
-
- May 04, 2017
-
-
Alberto Bursi authored
If there's a TFTP root directory configured, create it with mkdir -p (which does not throw an error if the folder exists already) before starting dnsmasq. This is useful for TFTP roots in /tmp, for example. Originally submitted by nfw user aka Nathaniel Wesley Filardo Signed-off-by:
Alberto Bursi <alberto.bursi@outlook.it>
-
Hans Dedecker authored
Don't display unnecessary dhcp_option usage warning in case dhcp_option is empty Signed-off-by:
Hans Dedecker <dedeckeh@gmail.com>
-
- May 03, 2017
-
-
Nick Lowe authored
Setting legacy_rates to 0 disables 802.11b data rates. Setting legacy_rates to 1 enables 802.11b data rates. (Default) The basic_rate option and supported_rates option are filtered based on this. The rationale for the change, stronger now than in 2014, can be found in: https://mentor.ieee.org/802.11/dcn/14/11-14-0099-00-000m-renewing-2-4ghz-band.pptx The balance of equities between compatibility with b clients and the detriment to the 2.4 GHz ecosystem as a whole strongly favors disabling b rates by default. Signed-off-by:
Nick Lowe <nick.lowe@gmail.com> Signed-off-by: Felix Fietkau <nbd@nbd.name> [cleanup, defaults change]
-
Abhilash Tuse authored
When sta is configured, hostapd receives 'stop' and 'update' command from wpa_supplicant. In the update command, hostapd gets sta parameters with which it configures ap. Problem is, with the default wireless configuration: mode:11g freq:2.4GHz channel:1 If sta is connected to 5GHz network, then ap does not work. Ideally with 340-reload_freq_change.patch hostapd should reload the frequency changes and start ap in 5GHz, but ap becomes invisible in the network. This issue can be reproduced with following /etc/config/wireless: config wifi-device radio0 option type mac80211 option channel 1 option hwmode 11g option path 'virtual/uccp420/uccwlan' option htmode 'none' config wifi-iface 'ap' option device 'radio0' option encryption 'none' option mode 'ap' option network 'ap' option ssid 'MyTestNet' option encryption none config wifi-iface 'sta' option device radio0 option network sta option mode sta option ssid TestNet-5G option encryption psk2 option key 12345 This change updates current_mode structure based on configured hw_mode received from wpa_supplicant. Also prepare rates table after frequency selection. Signed-off-by:
Abhilash Tuse <Abhilash.Tuse@imgtec.com> Signed-off-by: Felix Fietkau <nbd@nbd.name> [cleanup, patch refresh]
-
Jo-Philipp Wich authored
Commit 2036ae4 (base-files: support hostname and ntp servers through board.d) was supposed to implement these procedures but lacked the required changes to uci-defaults.sh. Add the missing procedures now to fix config generation on targets relying on hostname or NTP server presetting. Fixes FS#754. Reported-by:
Cristian Morales Vega <cristian@samknows.com> Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
Yousong Zhou authored
Changes since last version 04e279e pkg_alternatives: use ERROR level for symlink failure Signed-off-by:
Yousong Zhou <yszhou4tech@gmail.com>
-
Yousong Zhou authored
When busybox customisation is enabled, we should depend on config symbols CONFIG_BUSYBOX_CONFIG_xxx to form alternatives specs Reported-by:
Hannu Nyman <hannu.nyman@iki.fi> Signed-off-by:
Yousong Zhou <yszhou4tech@gmail.com>
-
- May 02, 2017
-
-
Kevin Darbyshire-Bryant authored
A number of small tweaks & improvements on the way to a final release. Most notable: Improve DHCPv4 address-in-use check. Remove the recently introduced RFC-6842 (Client-ids in DHCP replies) support as it turns out some clients are getting upset. Signed-off-by:
Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
-
Yousong Zhou authored
Signed-off-by:
Yousong Zhou <yszhou4tech@gmail.com>
-
Yousong Zhou authored
Signed-off-by:
Yousong Zhou <yszhou4tech@gmail.com>
-
Yousong Zhou authored
They will not be in conflict anymore ;) Signed-off-by:
Yousong Zhou <yszhou4tech@gmail.com>
-
Yousong Zhou authored
Signed-off-by:
Yousong Zhou <yszhou4tech@gmail.com>
-
Yousong Zhou authored
Changes since last version 546bc72 pkg: alternatives support 7a96972 libbb: xreadlink: fix memory leak on failure case 3f13edd pkg_run_script: use pkg->dest in half installed case Signed-off-by:
Yousong Zhou <yszhou4tech@gmail.com>
-
Yousong Zhou authored
Signed-off-by:
Yousong Zhou <yszhou4tech@gmail.com>
-
Alexey Brodkin authored
arc-2016.09 is the most recent toolchain for ARC cores and it is based on top of upstream Binutils 2.27 and GCC 6.2.1. With updated major version of GCC we copied all GCC 6.x patches for ARC as well as Bintils 2.27 patches. Note that toochain sports ARCv4 ABI and so must be used with 4.8+ Linux kernels. Even though it will build v4.4 kernel perfectly fine on attempt to run user-space apps they won't work with older kernel. That said previuosly sent RFC patches with Linux kernel update are required: [1] https://patchwork.ozlabs.org/patch/726686/ [2] https://patchwork.ozlabs.org/patch/726687/ Signed-off-by:
Alexey Brodkin <Alexey.Brodkin@synopsys.com>
-
Felix Fietkau authored
Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
Keep them disabled by default to avoid pulling in extra kernel bloat Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
- Apr 30, 2017
-
-
Alexander Couzens authored
It's disabling thumb for the whole omap3 family. Signed-off-by:
Alexander Couzens <lynxis@fe80.eu>
-
Alexander Couzens authored
Even it's unknown if it's booting with thumb, because the lack of hardware. Enable it for now, so the build succeed, because without thumb it can not fit into spl. Signed-off-by:
Alexander Couzens <lynxis@fe80.eu>
-
- Apr 28, 2017
-
-
Hans Dedecker authored
9268ca6 ndp: don't trigger IPv6 ping when neighbor entry is invalid 2b3355f ndp: fix adding proxy neighbor entries 7dff5b4 ndp: fix wrong interface name in syslog message a54afb5 dhcpv6-ia: Fix segfault when writing DHCPv4 leases in state file c0e9dbf ubus: don't segfault when there're no leases Signed-off-by:
Hans Dedecker <dedeckeh@gmail.com>
-
- Apr 27, 2017
-
-
Hans Dedecker authored
Configuring dhcp_option as an option does not allow the usage of white spaces in the option value; fix this by supporting dhcp_option as a list config while still supporting the option config to maintain backwards compatibility Signed-off-by:
Jo-Philipp Wich <jo@mein.io> Signed-off-by:
Hans Dedecker <dedeckeh@gmail.com>
-
Jo-Philipp Wich authored
When invoking "nslookup_lede" with a domain argument and without explicit query type, issue both A and AAAA queries and display the resulting IP addresses in a numbered list style, similar to how the old BusyBox nslookup used to output the records. This is required for compatibility with certain scripts. Ref: https://forum.lede-project.org/t/nslookup-ipv6-in-lede-17-01-1 Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
The ":*" optstring syntax was only recently introduced with BusyBox v1.26, older versions need a corresponding hint in the "opt_complementary" variable to denote flag values that should be stored as llist entries. Add the required opt_complementary entry to fix random SIGBUS, SIGILL or SIGSEGV related crashes on BusyBox 1.25.x when attempting to use the "-q" flag of the "nslookup_lede" applet. Ref: https://forum.lede-project.org/t/nslookup-ipv6-in-lede-17-01-1 Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
- Apr 26, 2017
-
-
Hans Dedecker authored
Install procd interface triggers only for interfaces which are enabled so dropbear instances running on (an) enabled interface(s) are not restarted due to an interface trigger of an interface which is disabled. Signed-off-by:
Hans Dedecker <dedeckeh@gmail.com>
-