[LEDE-DEV] [PATCH] net-snmp: add package snmp-mibs

2016-11-07 Thread Sven Roederer
this installs the default MIBS-files under /usr/share/snmp/mibs Signed-off-by: Sven Roederer --- net/net-snmp/Makefile | 23 --- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/net/net-snmp/Makefile b/net/net-snmp/Makefile index ddd2da4..6661bcb 100644 --- a

Re: [LEDE-DEV] extend support from Ubiquiti EdgeRouter X (UBNT-ERX) --> UBNT-ERX-SFP

2016-11-07 Thread Sven Roederer
Am Montag, 31. Oktober 2016, 09:49:49 CET schrieb Peter Trollope: > Hi > Have you made any progress on getting the POE working? These are a > great little router with heaps of grunt and it's a shame the POE > function doesn't work. > Hi Peter, I made it work by using the "i2c-gpio" driver only.

Re: [LEDE-DEV] [PATCH] net-snmp: add package snmp-mibs

2016-11-09 Thread Sven Roederer
bmit patches to the packages feed via a github PR > > John > > On 07/11/2016 22:07, Sven Roederer wrote: > > this installs the default MIBS-files under /usr/share/snmp/mibs > > > > Signed-off-by: Sven Roederer > > --- > > > > net/net-snmp/Makef

[LEDE-DEV] [PATCH] linux: correct deps for x86-xen-domu target

2016-12-26 Thread Sven Roederer
depending packages have been moved to kernel-config - kmod-xen-kbddev in 9fde361 - kmod-xen-fs, kmod-xen-evtchn, kmod-xen-netdev in 018807d this will also fix imagebuilder Signed-off-by: Sven Roederer --- target/linux/x86/xen_domu/target.mk | 1 - 1 file changed, 1 deletion(-) diff --git a

Re: [LEDE-DEV] Scripting builds... how to?

2017-01-01 Thread Sven Roederer
Am Samstag, 31. Dezember 2016, 16:12:21 CET schrieb Philip Prindeville: > Hi. > > I wanted to be able to script building images completely. > Is there an equivalent way to generate the kernel config by seeding it with > minimum state? > > I don’t want to save the complete .config because tha

[LEDE-DEV] [PATCH] openvpn: ssl-enabled variants also provide a virtual openvpn-x509 package

2017-01-21 Thread Sven Roederer
When relying on x.509 certs for auth don't use package openvpn-nossl. Just have your package depend on openvpn-x509 to have SSL enabled in OpenVPN. If x.509 is not a must, use virtual packge openvpn, which is provided by all OpenVPN-variants. Signed-off-by: Sven Roederer --- package/ne

Re: [LEDE-DEV] [PATCH] openvpn: ssl-enabled variants also provide a virtual openvpn-x509 package

2017-01-22 Thread Sven Roederer
Am Sonntag, 22. Januar 2017, 12:35:18 CET schrieb Mirko Vogt: > On 01/22/2017 12:48 AM, Sven Roederer wrote: > > > > +else > > + PROVIDES:=openvpn openvpn-x509 > > +endif > > > > Apart from the Copyright change - and it's not about OpenWrt vs. LEDE

Re: [LEDE-DEV] [PATCH] openvpn: ssl-enabled variants also provide a virtual openvpn-x509 package

2017-01-22 Thread Sven Roederer
Am Sonntag, 22. Januar 2017, 09:09:59 CET schrieb Rafał Miłecki: > Are you sure you know what the copyrights are? Not to mention I'm not > aware of your contract with LEDE organization which AFAIK don't even > exist. I'm ok with leaving it as it'S now "Copyright (C) 2010-2015 OpenWrt.org" ... ___

[LEDE-DEV] [PATCH v2] openvpn: ssl-enabled variants also provide a virtual openvpn-crypto package

2017-01-22 Thread Sven Roederer
vided by all OpenVPN-variants. Signed-off-by: Sven Roederer --- package/network/services/openvpn/Makefile | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package/network/services/openvpn/Makefile b/package/network/services/openvpn/Makefile index 80aab0b..7507e20 100644

Re: [LEDE-DEV] [PATCH v2] openvpn: ssl-enabled variants also provide a virtual openvpn-crypto package

2017-01-22 Thread Sven Roederer
Am Sonntag, 22. Januar 2017, 19:00:51 CET schrieb Sven Roederer: > When relying on x.509 certs for auth and / or encryption of traffic you > can't use package openvpn-nossl. > Just have your package depend on openvpn-crypto to have SSL-encryption and > X.509-support enabl

Re: [LEDE-DEV] [PATCH v2] openvpn: ssl-enabled variants also provide a virtual openvpn-crypto package

2017-01-29 Thread Sven Roederer
Am Sonntag, 22. Januar 2017, 19:00:51 CET schrieb Sven Roederer: > When relying on x.509 certs for auth and / or encryption of traffic you > can't use package openvpn-nossl. > Just have your package depend on openvpn-crypto to have SSL-encryption and > X.509-support enabl

[LEDE-DEV] mt76: split kmod package --> missing package kmod-mt76

2017-03-28 Thread Sven Roederer
Hi, the mt76-driver package was split up into separate packages and kmod-mt76 was changed into a metapackage. So when installing kmod-mt76 it will pull the individual packages. But kmod-mt76 is not build as package and therefor can't be installed. This caused some devices already adapted to it

[LEDE-DEV] [PATCH 3/3] ramips-mt7621: add dts for UBNT-ERX-SFP

2017-05-03 Thread Sven Roederer
* use a copy and modify version of the UBNT-ERX for the UBNT-ERX-SFP * define i2c-gpio via DTS (Linux/Documentation/devicetree/bindings/i2c/i2c-gpio.txt) * also define PCA9555 for PoE-switching in DTS --- target/linux/ramips/dts/UBNT-ERX-SFP.dts | 121 +++ target/linu

[LEDE-DEV] [PATCH 2/3] ramips-mt7621: add GPIO-config for Ubiquiti-EdgeRouterX(-SFP)

2017-05-03 Thread Sven Roederer
define GPIOs for ubnt-erx and ubnt-erx-sfp --- .../ramips/base-files/etc/board.d/03_gpio_switches | 28 ++ 1 file changed, 28 insertions(+) create mode 100755 target/linux/ramips/base-files/etc/board.d/03_gpio_switches diff --git a/target/linux/ramips/base-files/etc/board.d/0

[LEDE-DEV] [PATCH 1/3] ramips-mt7621: add support for Ubiquiti EdgeRouter X-SFP (UBNT-ERX-SFP)

2017-05-03 Thread Sven Roederer
This is basically a copy of the regular UBNT-ERX to separate between both models of this family. these differences include: - SFP-slot - PoE ports ERX: 1 port pass-trough; controlled by SoC-GPIO ERX-SPF: 5 ports self-powered; controlled by I2C-GPIO-chip add the i2c and pca95xx drivers on UBNT-

[LEDE-DEV] [PATCH 0/3] RFC: add new board for Ubiquiti EdgeRouterX SFP

2017-05-03 Thread Sven Roederer
nd erx-sfp - a dts for erx only settings, which includes the common dts - a dts for erx-sfp settings, which includes the common dts Please comment on style and things that should be changed for final patch Thanks Sven Sven Roederer (3): ramips-mt7621: add support for Ubiquiti EdgeRouter X-SFP

[LEDE-DEV] [PATCH] ramips: use GPIO_ACTIVE macros in UBNT-ERX.dts

2017-05-05 Thread Sven Roederer
as suggested by by Mathias Kresin - reorder includes - use GPIO_ACTIVE_LOW macro instead of hardcoded "1" Signed-off-by: Sven Roederer --- target/linux/ramips/dts/UBNT-ERX.dts | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/target/linux/ramips/dts/UBNT-

Re: [LEDE-DEV] [PATCH 3/3] ramips-mt7621: add dts for UBNT-ERX-SFP

2017-05-05 Thread Sven Roederer
On Freitag, 5. Mai 2017 14:34:18 CEST Mathias Kresin wrote: > I haven't checked how similar the ubnt-erx and ubnt-erx-sfp device > tree source files are. But it might be more elegant to move stuff > which is the same between both boards to a dtsi, include the dtsi for > the ubnt-erx* and add all mi

Re: [LEDE-DEV] [PATCH 2/3] ramips-mt7621: add GPIO-config for Ubiquiti-EdgeRouterX(-SFP)

2017-05-06 Thread Sven Roederer
On Freitag, 5. Mai 2017 14:32:12 CEST Mathias Kresin wrote: > Is it necessary to control the GPIOs from userspace/via config files? > If not, add a gpio_export node to the dts and set the output value > this way [0]. > To have it in userspace is the best (only?) option to enable / disable or pow

Re: [LEDE-DEV] [PATCH 3/3] ramips-mt7621: add dts for UBNT-ERX-SFP

2017-05-06 Thread Sven Roederer
On Freitag, 5. Mai 2017 14:34:18 CEST Mathias Kresin wrote: > > +#include "mt7621.dtsi" > > + > > +/ { > > + model = "UBNT-ERX-SFP"; > > + > > + memory@0 { In some of the other dts-files I found the "compatible"-property. Which is not defined for this board. should I include somethin

Re: [LEDE-DEV] [PATCH 2/3] ramips-mt7621: add GPIO-config for Ubiquiti-EdgeRouterX(-SFP)

2017-05-07 Thread Sven Roederer
On Sonntag, 7. Mai 2017 12:25:39 CEST you wrote: > Just an opinion: being able to disable/enable PoE for each port is really > useful when you want to remotely reboot a device plugged into your PoE > switch/router. Most PoE-capable devices expose this option with the stock > firmware. > > Does yo

[LEDE-DEV] extend support from Ubiquiti EdgeRouter X (UBNT-ERX) --> UBNT-ERX-SFP

2016-09-20 Thread Sven Roederer
Hi, I had the chance to put my hands on a Ubiquiti EdgeRouter X-SFP. I figured out that the I2C-Gpio-expander PCA9555a is controlling the PoE-output of the ports. Based on the work for the ERx (https://git.lede-project.org/? p=source.git;a=commit;h=4e31b2e8697c21f9bd6493bb3d78a4a41c6a9a52) I was

[LEDE-DEV] [PATCH] iwinfo: add device id for Ubiquiti NanoStation Loco M2

2016-10-15 Thread Sven Roederer
id read from unit and txoffset from datasheet Signed-off-by: Sven Roederer --- This patch directly applies to the git-repo of iwinfo hardware.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/hardware.txt b/hardware.txt index 4cac0a1..81b31cf 100644 --- a/hardware.txt +++ b

Re: [LEDE-DEV] [PATCH 2/3] ramips-mt7621: add GPIO-config for Ubiquiti-EdgeRouterX(-SFP)

2017-05-13 Thread Sven Roederer
On Montag, 8. Mai 2017 08:23:50 CEST Mathias Kresin wrote: > 07.05.2017 23:24, Sven Roederer: > > On Sonntag, 7. Mai 2017 12:25:39 CEST you wrote: > >> Just an opinion: being able to disable/enable PoE for each port is really > >> useful when you want to remotely reboot

Re: [LEDE-DEV] [PATCH 2/3] ramips-mt7621: add GPIO-config for Ubiquiti-EdgeRouterX(-SFP)

2017-05-14 Thread Sven Roederer
Hi, as I've seen also not giving any copyright seems common. So dropping it completly and saving some bytes is valid also, right? Sven On Samstag, 6. Mai 2017 14:49:29 CEST Jo-Philipp Wich wrote: > > comments inline. > > > +++ b/target/linux/ramips/base-files/etc/board.d/03_gpio_switches > > @

Re: [LEDE-DEV] [PATCH 2/3] ramips-mt7621: add GPIO-config for Ubiquiti-EdgeRouterX(-SFP)

2017-05-14 Thread Sven Roederer
I just gave it another try, as I like the idea of having it in the DTS. As my test ERX is gone I continue testing on ERX-SFP. Please se below ... On Sonntag, 14. Mai 2017 16:24:15 CEST Mathias Kresin wrote: > >> > >> If you use the gpio-export node in the device tree source file, the gpio > >> p

Re: [LEDE-DEV] [PATCH 2/3] ramips-mt7621: add GPIO-config for Ubiquiti-EdgeRouterX(-SFP)

2017-05-14 Thread Sven Roederer
On Sonntag, 14. Mai 2017 21:22:42 CEST Sven Roederer wrote: > > I removed the 03_gpio_export and added this to the dts: > gpio_export { > compatible = "gpio-export"; > #size-cells = <0>; > > poe_passthrough { > gpio-export,na

Re: [LEDE-DEV] [PATCH 2/3] ramips-mt7621: add GPIO-config for Ubiquiti-EdgeRouterX(-SFP)

2017-05-14 Thread Sven Roederer
On Sonntag, 14. Mai 2017 23:00:38 CEST Martin Blumenstingl wrote: > > / { > > > > model = "UBNT-ERX-SFP"; > > > > i2c-gpio { > > > > compatible = "i2c-gpio"; > > gpios = <&gpio0 3 GPIO_ACTIVE_HIGH /* sda */ > > > >

Re: [LEDE-DEV] [PATCH 2/3] ramips-mt7621: add GPIO-config for Ubiquiti-EdgeRouterX(-SFP)

2017-05-14 Thread Sven Roederer
Martin, in my flow-up mail I found this wrong numbering also. I attched a copy of the relavant section from this mail. I defined a new "label" gpio_pca and reference gpio0 of the pca ... On Sonntag, 14. Mai 2017 23:50:25 CEST Mathias Kresin wrote: > > poe_passthrough { > > > > gp

[LEDE-DEV] [PATCH] ramips: add support for Ubiquiti EdgeRouter X-SFP

2017-05-27 Thread Sven Roederer
sh final firmware via LuCI / sysupgrade on rebooted system via TFTP: - stop uboot into tftp-load into option "1" - upload factory.bin image Signed-off-by: Sven Roederer --- .../linux/ramips/base-files/etc/board.d/02_network | 1 + .../ramips/base-files/etc/board.d/03_gpio_switches |

[LEDE-DEV] [PATCH v2] ramips: add support for Ubiquiti EdgeRouter X-SFP

2017-05-29 Thread Sven Roederer
luci-mod-failsafe - flash final firmware via LuCI / sysupgrade on rebooted system via TFTP: - stop uboot into tftp-load into option "1" - upload factory.bin image Signed-off-by: Sven Roederer --- .../linux/ramips/base-files/etc/board.d/02_network | 1 + .../ramips/base-files/etc/board.

Re: [LEDE-DEV] [PATCH v2] ramips: add support for Ubiquiti EdgeRouter X-SFP

2017-06-04 Thread Sven Roederer
Hi, I got a notification from patchwork, that this was accepted on 01.06.17, but I still can't find it on master. Can anyone explain? Svne On Montag, 29. Mai 2017 11:24:49 CEST Sven Roederer wrote: > This patch adds support for the Ubiquiti EdgeRouter X-SFP and > improves supp

[LEDE-DEV] [PATCH] linux/ath25: fixing some tabs and whitespace

2017-06-06 Thread Sven Roederer
Signed-off-by: Sven Roederer --- target/linux/ath25/base-files/lib/preinit/15_preinit_iface_atheros | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/target/linux/ath25/base-files/lib/preinit/15_preinit_iface_atheros b/target/linux/ath25/base-files/lib/preinit

Re: [LEDE-DEV] Ubiquiti EdgeRouter X-SFP - LEDE vs. EdgeOS

2017-06-06 Thread Sven Roederer
On Montag, 5. Juni 2017 11:29:59 CEST Torbjorn Jansson wrote: > > so i don't know if i want to swap over to lede/openwrt permanently (more > or less) and it would have been really nice if you could have one of the > two running firmware as lede/openwrt and the other one as the built in > edgeos an

Re: [LEDE-DEV] [PATCH v2] ramips: add support for Ubiquiti EdgeRouter X-SFP

2017-06-06 Thread Sven Roederer
017 08:03:08 CEST John Crispin wrote: > its in my staging tree which i will push later today or tomorrow. i > pushed nand fixes for v4.9 end of last week, could you try the v4.9 > kernel on your board please and let me know if it works ? > > John > > On 04/06/17 21:5

[LEDE-DEV] [PATCH] ramips: fix GPIOs for Ubiquiti EdgeRouter X-SFP

2017-06-08 Thread Sven Roederer
This adds the i2c-gpio and i2c-pca95xx module to the default kernel. Even they are listed in the dependencies of the board, they are not built and for this missing in the imagefile. This causes that the accessed hardware is not avail. Signed-off-by: Sven Roederer --- target/linux/ramips/mt7621

Re: [LEDE-DEV] ubiquiti erx-sfp in stable?

2017-07-24 Thread Sven Roederer
On Montag, 17. Juli 2017 14:05:20 CEST Torbjorn Jansson wrote: > Hello > > a question, any idea when the updates that was made to erx-sfp will make > it into a stable release? > Hi all, there is a cheap patch I made to backport the ERX-SFP support to the 17.01 branch. It's not perfect, but it's

Re: [LEDE-DEV] [PATCH lede-17.01 1/4] x86/generic: use HIGHMEM64G instead of HIGHMEM4G to fix PAE and Xen

2017-07-24 Thread Sven Roederer
On Samstag, 15. Juli 2017 22:57:53 CEST Baptiste Jonglez wrote: > From: Baptiste Jonglez > > This is a backport of 641a65fd062987a456216cc4fa91ff2910528261 in master. > > This change re-enables PAE for the 32-bit x86 subtarget, which is > interesting in its own right but also necessary for Xen s

[LEDE-DEV] [PATCH] netifd: update to git HEAD version (add veth-support)

2017-09-04 Thread Sven Roederer
34afb76 system-linux: fix GRE ikey/okey endianness Signed-off-by: Sven Roederer --- package/network/config/netifd/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/network/config/netifd/Makefile b/package/network/config/netifd/Makefile index fb03586..

Re: [LEDE-DEV] [PATCH] netifd: update to git HEAD version (add veth-support)

2017-09-05 Thread Sven Roederer
x27;t seem to break anything, right? Sven Am 5. September 2017 08:44:42 MESZ schrieb Hans Dedecker : >On Tue, Sep 5, 2017 at 8:15 AM, Sven Roederer >wrote: >> rollup-patch from master (Fri, 21 Jul 2017) >> >> f107656 netifd: Add option to configure locktime for each dev

[LEDE-DEV] [PATCH] openvpn: add "extra-certs" option

2017-09-05 Thread Sven Roederer
This option is used to specify a file containing PEM certs, to complete the local certificate chain. Which is quite usefull for "split-CA" setups. Signed-off-by: Sven Roederer --- package/network/services/openvpn/files/openvpn.options | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [LEDE-DEV] [PATCH] openvpn: add "extra-certs" option

2017-09-24 Thread Sven Roederer
On Dienstag, 5. September 2017 18:27:02 CEST Sven Roederer wrote: > This option is used to specify a file containing PEM certs, to complete the > local certificate chain. Which is quite usefull for "split-CA" setups. > > Signed-off-by: Sven Roederer > --- Hi, thi

Re: [LEDE-DEV] [PATCH lede-17.01 1/4] x86/generic: use HIGHMEM64G instead of HIGHMEM4G to fix PAE and Xen

2017-09-24 Thread Sven Roederer
On Samstag, 26. August 2017 23:53:52 CEST Baptiste Jonglez wrote: > This patch series was merged in master but not yet in lede-17.01. I don't > know if another 17.01 point release is expected, but I think it should be > merged in any case. I agree. Merging into 17.01 branch would even help us to