Re: [OpenWrt-Devel] External (public) IP forwarded to internal LAN

2015-05-13 Thread Lars Kruse
Hi Angelo, > I'm facing an issue with,I think, iptables. This is the scenario: I'm > using a ddns service to point my external ip to access my server; and it > works fine, but the original address is always the internal iface of my > modem. I am not sure what is the source and the destinatio

Re: [OpenWrt-Devel] External (public) IP forwarded to internal LAN

2015-05-14 Thread Lars Kruse
Hi Angelo, > you can find the output of the two commands on pastebin in the next 2 weeks. > > iptables -L -vn at http://pastebin.com/2b0ewSyu > iptables -t nat -L -vn at http://pastebin.com/i7qPXEMJ Here is the lan postrouting taken from the above: Chain zone_lan_postrouting (1 references) pk

Re: [OpenWrt-Devel] External (public) IP forwarded to internal LAN [SOLVED]

2015-05-15 Thread Lars Kruse
Hi Angelo, > [..] > Doest this is an error or normal behaviour of fw3 ? Could you add the network and the firewall configuration files? Lars ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/list

[OpenWrt-Devel] netifd: handling of interfaces with proto "none"

2015-06-07 Thread Lars Kruse
Hi, currently I am struggling with the management of dynamically created network interfaces. Specifically I want to create an openvpn connection to a server and add the automatically generated network interface (tapX; managed by openvpn) to a specific zone. I planned to use the following commands

[OpenWrt-Devel] Controlling POE passthrough via GPIO

2015-06-22 Thread Lars Kruse
Hi, within our wireless community we are using a couple of devices with the following features: * powered via POE through their first ethernet plug * another device can be powered via the second ethernet plug (POE passthrough switchable via GPIO) The POE passthrough feature can be controlled vi

[OpenWrt-Devel] [PATCH] implemented basic GPIO control

2015-06-30 Thread Lars Kruse
Internal GPIO pins are used for PoE passthrough setups in multi-port routers. This patch implemnets control over this hardware feature for Ubiquiti Nanostations and TP-Link CPE510. Signed-off-by: Lars Kruse --- package/base-files/files/etc/init.d/gpio_switch| 42

Re: [OpenWrt-Devel] Change Default Configuration

2015-07-07 Thread Lars Kruse
Hi John, > I am able to change the settings in the file under overlay and settings > will get change, but when i do factory reset from GUI, All the changes i > have done in script file will go. I guess that the "uci-defaults" mechanism could be the right approach for you: https://wiki.openwrt.or

[OpenWrt-Devel] [PATCH] base-files: implemented basic GPIO control

2015-07-07 Thread Lars Kruse
Internal GPIO pins are used for PoE passthrough setups in multi-port routers. This patch implemnets control over this hardware feature for Ubiquiti Nanostations and TP-Link CPE510. Signed-off-by: Lars Kruse --- package/base-files/files/etc/init.d/gpio_switch| 42

Re: [OpenWrt-Devel] IPTables/NAT

2015-07-11 Thread Lars Kruse
Hi John, > I have to enable NAT with a MASQUERADING target, > and to block the GUI from WAN have to server bind only the bridge address. > Could anyone tell me how i can do it in the GUI itself. You should probably ask this kind of questions on the openwrt-users mailing list: https://lists.openw

[OpenWrt-Devel] [PATCH] base-files: assign proper GPIO pin for Ubiquiti Nanostation models

2015-09-12 Thread Lars Kruse
The GPIO pins for "POE passthrough" of Ubiquiti Nanostation models are the following: * Ubiquiti Nanostation M XM: Pin 8 * Ubiquiti Nanostation M XW: Pin 2 The previous definition of the pins was mixed up between XM and XW model. Signed-off-by: Lars Kruse --- target/linux/ar71xx/base

Re: [OpenWrt-Devel] Command to Disable Reset Button

2016-02-22 Thread Lars Kruse
Hello John, Am Sun, 21 Feb 2016 18:47:59 +0800 schrieb John kerry : > I have configured the Reset button and it's working fine for normal reset > and press for 3 seconds for factory reset. > > I need to disable the reset button using command and enable it. as far as I understand your issue, th

Re: [OpenWrt-Devel] [PATCH] base-files: For sysfixtime use hwclock if RTC available

2016-01-11 Thread Lars Kruse
Hi, short summary for the impatient readers: the following text dives into the subtile differences between errexit (set -e) and exit status in shell scripting Am Mon, 11 Jan 2016 05:14:18 -0500 schrieb Daniel Dickinson : > I did one other test I hadn't thought of originally: > > #!/bin/sh > >

Re: [OpenWrt-Devel] openwrt userspace git repo location

2016-09-28 Thread Lars Kruse
Hello Valent, Am Wed, 28 Sep 2016 13:25:20 +0200 schrieb "valent.turko...@gmail.com" : > Github has become de facto standard for contributing to open source > projects, so no matter if you hate it or love it, this is just now the > new norm. > Going against the "norm" is seen by potential contri

Re: [OpenWrt-Devel] [PATCH] x86: Add APU3 reference to x86 board.d

2018-04-22 Thread Lars Kruse
Hi, Am Sat, 21 Apr 2018 10:17:37 +0200 schrieb Kristian Evensen : > > Are the cases stenciled with the port #’s? > > No, there are no markings on the case. just in case, that this detail is of any interest: the PCB contains labels for the three ethernet ports: http://pcengines.ch/pic/apu3a3

[OpenWrt-Devel] [PATCH] [packages] dnsmasq: add option --quiet-dhcp

2014-12-24 Thread Lars Kruse
quiet-dhcp option for dnsmasq (usable via "quiet_dhcp" in UCI) This reduces the amount of private information (MAC addresses) being logged. Signed-off-by: Lars Kruse --- --- a/openwrt/package/network/services/dnsmasq/files/dnsmasq.init +++ b/openwrt/package/network/services/dnsmasq/files/dn

[OpenWrt-Devel] [PATCH] curl: enable "https" protocol

2014-12-27 Thread Lars Kruse
Hi, even though SSL-support is configurable for curl, there is currently no support for https (just http). The attached patch fixes that. Lars Provide optional --enable-https flag for curl. Signed-off-by: Lars Kruse --- Provide optional --enable-https flag for curl. --- a/openwrt/package

[OpenWrt-Devel] [PATCH] base-files: led input trigger error message if kernel module is not loaded

2014-12-29 Thread Lars Kruse
ysterious error messages above. Cheers, Lars Verify the support of the led trigger input source and complain in a helpful way if modules are missing during bootup. Signed-off-by: Lars Kruse --- diff -ruN a/openwrt/package/base-files/files/etc/init.d/led b/openwrt/package/base-files/files/etc/in

Re: [OpenWrt-Devel] [PATCH] [packages] dnsmasq: add option --quiet-dhcp

2015-01-09 Thread Lars Kruse
The --quiet-dhcp setting increases privacy by omitting DHCP lease logs including MAC addresses. Signed-off-by: Lars Kruse --- a/package/network/services/dnsmasq/files/dnsmasq.init +++ b/package/network/services/dnsmasq/files/dnsmasq.init @@ -123,6 +123,7 @@ dnsmasq() { append_bool

Re: [OpenWrt-Devel] [PATCH] [packages] dnsmasq: add option --quiet-dhcp

2015-01-09 Thread Lars Kruse
The --quiet-dhcp setting increases privacy by omitting DHCP lease logs including MAC addresses. Signed-off-by: Lars Kruse --- a/package/network/services/dnsmasq/files/dnsmasq.init +++ b/package/network/services/dnsmasq/files/dnsmasq.init @@ -123,6 +123,7 @@ dnsmasq() { append_bool

Re: [OpenWrt-Devel] [PATCH] curl: enable "https" protocol

2015-01-09 Thread Lars Kruse
Provide optional --enable-https flag for curl. Signed-off-by: Lars Kruse --- a/package/network/utils/curl/Config.in +++ b/package/network/utils/curl/Config.in @@ -53,6 +53,10 @@ config LIBCURL_HTTP bool "Enable HTTP support" default y +config LIBCURL_HTTPS + bo

Re: [OpenWrt-Devel] fstools / always fires 'uci commit' each reboot

2015-01-28 Thread Lars Kruse
Hi, > [..] > 1) > can we change that behaviour for this single script? > (delete it during first run). I guess, that script's execution should be considered successful, even if /etc/config/fstab already exists. Thus the author just failed to make sure that the exit code of that script reflects th

Re: [OpenWrt-Devel] wiki.openwrt.org uses an invalid security certificate / expired on 12.2.2015 17:18

2015-02-14 Thread Lars Kruse
Hi, > Nope, I would vote against StartSSL. I know it is free, but the > procedure sucks, and honestly: there is *one* company on the planet > givin out *free* SSL Certs .. if that doesn't ring bells, I dunno what > could :) hehe - if they would force you to use "private" keys generated on their s

[OpenWrt-Devel] [PATCH] [dnsmasq] Add option '--servers-file'

2015-03-29 Thread Lars Kruse
From: Lars Kruse The option '--servers-file' is available since dnsmasq v2.69. Signed-off-by: Lars Kruse --- package/network/services/dnsmasq/files/dnsmasq.init | 1 + 1 file changed, 1 insertion(+) diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/networ

[OpenWrt-Devel] [PATCH] [luci] Add luci support for dnsmasq option '--servers-file'

2015-03-29 Thread Lars Kruse
From: Lars Kruse Signed-off-by: Lars Kruse --- modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/dhcp.lua | 5 + 1 file changed, 5 insertions(+) diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/dhcp.lua b/modules/luci-mod-admin-full/luasrc/model/cbi

Re: [OpenWrt-Devel] [PATCH 1/2] ar71xx: fix ethernet packet loss issues on OM5P-AN

2015-04-13 Thread Lars Kruse
Hi, > > Observed on ubnt nanostation loco m5 xw and recent bullet m5 with phy > > having phy_id 0x004dd041 > Please post a full boot log of both affected devices. I assume that Daniel is referring to this issue: https://dev.openwrt.org/ticket/19085 I just uploaded the output of dmesg: https://

Re: [OpenWrt-Devel] [PATCH 4/4] scripts/gen_image_generic.sh: use /bin/sh

2019-12-29 Thread Lars Kruse
Hello Rosen, Am Sun, 29 Dec 2019 19:42:51 -0800 schrieb Rosen Penev : > This has nothing bash specific. > [..] > -#!/usr/bin/env bash > +#!/bin/bash I think, the commit message indicates that you switched from bash to sh. Or did I misread it somehow? Cheers, Lars _

[OpenWrt-Devel] Repository for release or snapshot build configuration?

2020-03-22 Thread Lars Kruse
Hello, I am one of the developers of an OpenWrt-derived firmware (for a Freifunk community - "Opennet Initiative"). We are building images and packages for a small set of devices. But sometimes we stumble upon differences between our build setup and the one used by OpenWrt for its release (or snap

Re: [OpenWrt-Devel] confirm d2759ee7f324c3be070a8979dccb1197ab3adb41

2020-04-17 Thread Lars Kruse
Am Sun, 12 Apr 2020 14:33:03 -0700 schrieb openwrt-devel-requ...@lists.openwrt.org: > Your membership in the mailing list openwrt-devel has been disabled > due to excessive bounces The last bounce received from you was dated > 12-Apr-2020. You will not get any more messages from this list until >

Re: [OpenWrt-Devel] Your confirmation is required to join the openwrt-devel mailing list

2020-04-21 Thread Lars Kruse
Am Tue, 21 Apr 2020 08:46:06 -0700 schrieb openwrt-devel-confirm+e8c9555ed4e7a1a44a0d3d4aa25e1aa0c66f6...@lists.openwrt.org: > Mailing list subscription confirmation notice for mailing list > openwrt-devel > > We have received a request from 185.220.101.25 for subscription of > your email address