Re: [OpenWrt-Devel] [PATCH 0/1] ath79: Restore GL.iNet GL-AR300M-Lite first-boot connectivity

2019-09-27 Thread Chuanhong Guo
Hi! On Sat, Sep 28, 2019 at 12:33 AM Jeff Kletsky wrote: > [...] > As suggested by Alberto Bursi in the linked thread, one approach to > resolution would be to disable the "unused" interface, GMAC1. This > would have the additional advantage of removing the unconnected > interface from the kernel

[OpenWrt-Devel] [PATCH 1/1] ath79: Restore GL.iNet GL-AR300M-Lite first-boot connectivity

2019-09-27 Thread Jeff Kletsky
From: Jeff Kletsky The relationship between GMAC0 and GMAC1 and the kernel devices eth0 and eth1 was reversed for many ath79 devices by commit 8dde11d521 ath79: dts: drop "simple-mfd" for gmacs in SoC dtsi The GL-AR300M-Lite is a single-port device, with the "LAN" port of the GL-AR300M b

[OpenWrt-Devel] [PATCH 0/1] ath79: Restore GL.iNet GL-AR300M-Lite first-boot connectivity

2019-09-27 Thread Jeff Kletsky
NB: What is described here may also impact other single-port, ath79 devices There are over 40 such devices that appear to use "eth0" as their only Ethernet port in target/linux/ath79/base-files/etc/board.d/02_network TL;DR * Single-port ath79 devices may be unreachable on first boot

Re: [OpenWrt-Devel] Wait on syslog-ng

2019-09-27 Thread Val Kulkov
On Fri, 27 Sep 2019 at 07:05, W. Michael Petullo wrote: > > Does the init system provide a more general way to solve this problem? > The START=n statements seem to impose only the ordering of init script > execution and have no bearing on whether the services the scripts run > are ready. Do I have

Re: [OpenWrt-Devel] Wait on syslog-ng

2019-09-27 Thread Eneas Queiroz
On Fri, Sep 27, 2019 at 8:05 AM W. Michael Petullo wrote: > > A daemon I wrote for OpenWrt depends on a running syslogd. I use > syslog-ng, and I have noticed that its init script completes before the > daemon begins to listen on /dev/log. This causes my daemon to terminate > if it starts quickly

[OpenWrt-Devel] [PATCH] ramips: add label MAC address for Asus RT-AC85P

2019-09-27 Thread Adrian Schmutzler
The label shows the MAC address of 2.4 GHz WiFi. Signed-off-by: Adrian Schmutzler --- target/linux/ramips/base-files/etc/board.d/02_network | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_n

[OpenWrt-Devel] Wait on syslog-ng

2019-09-27 Thread W. Michael Petullo
A daemon I wrote for OpenWrt depends on a running syslogd. I use syslog-ng, and I have noticed that its init script completes before the daemon begins to listen on /dev/log. This causes my daemon to terminate if it starts quickly after syslog-ng. There are a few obvious solutions: (1) My