Re: [LEDE-DEV] Ubnt Bullet M2 flashing ?

2018-04-30 Thread Joe Ayers
We've found that some of the newer AirMax hardware releasing with XW revs, do not have a downgrade process. For example the NanoStation M2 XW. The AirOX 5.5.x firmware did not offer support and the nanostation-m-xw image has no path to load. Downgrading the AirMax devices to AirOS 5.5.x is a

Re: [LEDE-DEV] [PATCH] sysctl: Protect hard/symlinks by default.

2018-04-30 Thread John Crispin
On 30/04/18 22:15, Rosen Penev wrote: There is no usecase for not protecting symlinks that I know of in OpenWrt. Not even on desktop systems where you have multiple users with a shell. Signed-off-by: Rosen Penev v2: Move to 10-default.conf file. Hi, no need to resend but

[LEDE-DEV] [PATCH] sysctl: Protect hard/symlinks by default.

2018-04-30 Thread Rosen Penev
There is no usecase for not protecting symlinks that I know of in OpenWrt. Not even on desktop systems where you have multiple users with a shell. Signed-off-by: Rosen Penev v2: Move to 10-default.conf file. --- package/base-files/files/etc/sysctl.d/10-default.conf | 4

[LEDE-DEV] [PATCH] uboot-envtools: Change download to git.

2018-04-30 Thread Rosen Penev
Currently, the build system uses an openwrt mirror which does not currently workand FTP can be unreliable under several circumstances (Ubuntu 16.04 WSL being an example). This change implicitly allows using all the mirrors to download. Changing this to git also allows using .tar.xz archives

[LEDE-DEV] [PATCH v2] build: log time taken by each packages/steps

2018-04-30 Thread Etienne Champetier
The idea is to easily get the list of packages taking the most time to build, and see if we can improve them v1: Use SetupHostCommand as recommended by John v2: add space after 'time:', remove useless /usr/bin/time from SetupHostCommand Signed-off-by: Etienne Champetier

Re: [LEDE-DEV] [PATCH] build: log time taken by each packages/steps

2018-04-30 Thread Etienne Champetier
Hi John, 2018-04-29 23:41 GMT-07:00 John Crispin : > > > On 31/03/18 06:22, Etienne Champetier wrote: >> >> The idea is to easily get the list of packages taking the most time to >> build, >> and see if we can improve them >> >> Use SetupHostCommand as recommended by John >> >>

Re: [LEDE-DEV] [PATCH] build: log time taken by each packages/steps

2018-04-30 Thread Etienne Champetier
Hi Florian, 2018-04-04 9:44 GMT-07:00 Florian Fainelli : > Hi Etienne, > > On 03/30/2018 09:22 PM, Etienne Champetier wrote: >> The idea is to easily get the list of packages taking the most time to build, >> and see if we can improve them > > I like the idea a lot although

Re: [LEDE-DEV] Ubnt Bullet M2 flashing ?

2018-04-30 Thread Etienne Champetier
Hi All, 2018-04-19 6:19 GMT-07:00 Joseph Marlin : > We still flash Ubiquiti Airrouters regularly, and we still have to downgrade > to 5.5.10 as a first step. I imagine Bullet M2 would be similar. I received last week my new Bullet M, and I confirm it is still possible to

Re: [LEDE-DEV] Setting *wireless* MTU, "UCI-compliant" way?

2018-04-30 Thread Daniel Golle
Hi Jeff, On Mon, Apr 30, 2018 at 08:59:12AM -0700, Jeff Kletsky wrote: > TL;DR > > When wireless is used as transport for an encapsulated stream, it can be > beneficial (or essential) to increase the MTU of the link closer to the 2304 > 802.11 MTU. I haven't found a way to set the MTU of the

[LEDE-DEV] Setting *wireless* MTU, "UCI-compliant" way?

2018-04-30 Thread Jeff Kletsky
TL;DR When wireless is used as transport for an encapsulated stream, it can be beneficial (or essential) to increase the MTU of the link closer to the 2304 802.11 MTU. I haven't found a way to set the MTU of the wireless device itself through UCI. If there's something I'm missing, I'd

Re: [LEDE-DEV] [PATCH] wireguard: add distinction for remote and local endpoint ip

2018-04-30 Thread John Crispin
On 19/02/18 19:54, Thomas Huehn wrote: This patch fixes a bug when someone tries to set up a Wireguard tunnel to an endpoint where its ip belongs to a local subnet, e.g. in a Freifunk olsr mesh. The call of proto_add_host_dependency() is just needed in cases where the endpoint is reachable via

Re: [LEDE-DEV] [PATCH] uboot-envtools: Change download to git.

2018-04-30 Thread John Crispin
On 16/03/18 01:26, Rosen Penev wrote: Currently, the build system uses an openwrt mirror which does not currently workand FTP can be unreliable under several circumstances (Ubuntu 16.04 WSL being an example). This change implicitly allows using all the mirrors to download. Changing this to

Re: [LEDE-DEV] [PATCH] mvebu: Switch Turris Omnia to use ath10k-ct driver and firmware.

2018-04-30 Thread Rosen Penev
On Sun, Apr 29, 2018 at 11:44 PM, John Crispin wrote: > > > On 31/03/18 00:19, Rosen Penev wrote: >> >> My testing has shown both ath10k and firmware to be unstable. Here is a >> summary of results done over two weeks: >> >> ath10k + QCA firmware = driver crash, WiFi dies

Re: [LEDE-DEV] tools/squashfs update to 5.0 before next release

2018-04-30 Thread Paul Spooren
On Tue, Apr 17, 2018 at 6:10 PM, Paul Spooren wrote: Hi, if I understand lynxis staging tree [1] correctly, future squashfs images will be reproducible. Will this be merged to master before the next 18.x release? Best, Paul [1]

Re: [LEDE-DEV] [PATCH v2 3/5] tools/mtd-utils: update to version 2.0.2

2018-04-30 Thread Felix Fietkau
On 2018-04-20 00:12, Hauke Mehrtens wrote: > This version now uses autotools to configure the build system. They are > also using the newly added zlib package. > > Signed-off-by: Hauke Mehrtens > --- > > changes since v1: > * Update to version 2.0.2 > * use ftp to download the

Re: [LEDE-DEV] [PATCH] iptables: link extension libraries with -lm

2018-04-30 Thread Alin Năstac
On Mon, Apr 30, 2018 at 7:58 AM, John Crispin wrote: > > > On 27/04/18 16:05, Alin Năstac wrote: >> >> According to "Automatic variables" chapter of make manual, $* expands >> to the pattern matched by % in an implicit rule. >> However, the make rules in which this patch use the

Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH 0/4] Gemini forward-port to kernel v4.14

2018-04-30 Thread John Crispin
On 29/04/18 20:32, Roman Yeryomin wrote: On 2018-04-27 09:18, John Crispin wrote: On 17/04/18 00:34, Roman Yeryomin wrote: On 2018-04-15 20:22, Roman Yeryomin wrote: On 2018-04-14 20:36, Hans Ulli Kroll wrote: Hi Roman On Tue, 10 Apr 2018, Linus Walleij wrote: On Mon, Apr 9, 2018 at

Re: [LEDE-DEV] [PATCH 07/12] at91: sdcard image with ext4 rootfs

2018-04-30 Thread Felix Fietkau
On 2018-04-02 18:34, Sandeep Sheriker Mallikarjun wrote: > creating sdcard image with ext4 rootfs only and ignoring creating > other filesystem in sdcard image. > > Signed-off-by: Sandeep Sheriker Mallikarjun > Why do you need ext4 images? I think

Re: [LEDE-DEV] [PATCH 3/3] sysctl: Protect hard/symlinks by default.

2018-04-30 Thread John Crispin
On 31/03/18 00:18, Rosen Penev wrote: There is no usecase for not protecting symlinks that I know of in OpenWrt. Not even on desktop systems where you have multiple users with a shell. Signed-off-by: Rosen Penev Hi, does not apply due to

Re: [LEDE-DEV] [PATCH] mvebu: Switch Turris Omnia to use ath10k-ct driver and firmware.

2018-04-30 Thread John Crispin
On 31/03/18 00:19, Rosen Penev wrote: My testing has shown both ath10k and firmware to be unstable. Here is a summary of results done over two weeks: ath10k + QCA firmware = driver crash, WiFi dies completely. ath10k + CT firmware = driver crash. WiFi dies completely. ath10k-ct + QCA

Re: [LEDE-DEV] [PATCH] build: log time taken by each packages/steps

2018-04-30 Thread John Crispin
On 31/03/18 06:22, Etienne Champetier wrote: The idea is to easily get the list of packages taking the most time to build, and see if we can improve them Use SetupHostCommand as recommended by John Signed-off-by: Etienne Champetier --- include/prereq-build.mk

Re: [LEDE-DEV] [PATCH] download: skip hash check without a download hash

2018-04-30 Thread John Crispin
On 30/03/18 17:34, Hauke Mehrtens wrote: If the package doe not contain a PKG_HASH just skip the check instead of making the download fail. The scripts/download.pl script will automatically skip the hash check in case the hash value equals skip, otherwise it fails. Signed-off-by: Hauke

Re: [LEDE-DEV] [PATCH 10/12] at91: reorganize at91 subtargets

2018-04-30 Thread John Crispin
On 02/04/18 18:34, Sandeep Sheriker Mallikarjun wrote: reorganizing at91 subtargets based on sama5 soc features and this fix below problems. 1. able to set neon flags to sama5d2 & sama5d4 subtargets. 2. fix the make clean which removes all the subtargets in bin folder. 3. able to

Re: [LEDE-DEV] [PATCH] samba36: add hotplug script

2018-04-30 Thread John Crispin
On 12/04/18 11:41, Rosy Song wrote: Add hotplug handle script for storage devices, this will add corresponding option in the /etc/config/samba file automatically. If user do not want this feature, it can be cancel via samba relevant menu option. Hi, patch as such looks ok.