[OpenWrt-Devel] incorrect commit for dnsmasq (dnsmasq: use "hostsdir" instead of "addn-hosts")

2018-05-23 Thread e9hack
Hi, this commit and the way, who the init script handles hostfiles seams to be completely wrong. The init script generates one independent hostfile per dnsmasq instance and writes it to a common directory. Multiple dnsmasq instances are possible and must not load hostfiles from other instances.

Re: [OpenWrt-Devel] incorrect commit for dnsmasq (dnsmasq: use "hostsdir" instead of "addn-hosts")

2018-05-24 Thread e9hack
Am 24.05.2018 um 09:16 schrieb Hans Dedecker: >> possible and must not load hostfiles from other instances. The entry in >> dnsmasq.init must be: > >> xappend "--addn-hosts=$HOSTFILE" > Making such a change will break the host entries learned via odhcpd as the > entires are put into the odhcpd

Re: [OpenWrt-Devel] trouble with netifd

2018-05-20 Thread e9hack
, the memory consumption increase from 17784k to 24376k, with kernel 4.9 it is stable at 16556k. What can be the reason for this increasing of used memory? Currently, the main tree isn't usable for carambola box with target ramips. Regards, Hartmut Am 13.05.2018 um 13:22 schrieb e9hack: > Hi, >

[OpenWrt-Devel] Archer C7 v2 with Target System "Atheros ATH79 (DTS)" or "Atheros AR7xxx/AR9xxx"

2018-06-27 Thread e9hack
Hi, I'm using an Archer C7 v2 from TP-Link. Usually I build the image for Target System "Atheros AR7xxx/AR9xxx". If I switch over to "Atheros ATH79 (DTS)" and try to update my router, I got the following error message: root@:~# sysupgrade

[OpenWrt-Devel] hostapd fails to compile

2018-07-20 Thread e9hack
Hello, after this commit: commit 3838b16943c6021e3ff06d5733df890408ad7158 hostapd: fix conflicts hell hostapd fails to compile with this error message: ccp: '/home/xyz/src/openwrt/LEDE/carambola/staging_dir/target-mipsel_24kc_musl/pkginfo/hostapd.provides' and

[OpenWrt-Devel] hostapd - strange build behaviour

2018-10-12 Thread e9hack
Hi, I did select hostapd with the * to include it in the image. The size of hostapd is 784k. If I select wpa-supplicant as a module in addition, the size of hostapd does decrease to 579k. Target system is Atheros ATH79. Both versions does work without any problem. Regards, Hartmut

Re: [OpenWrt-Devel] iw

2018-10-10 Thread e9hack
Am 07.10.2018 um 13:42 schrieb Felix Fietkau: > On 2018-10-06 20:21, e9hack wrote: >> Hi, >> >> something looks wrong with this commit: >> >> iw: add iw-full package without size reduction hacks >> >> The full version supports the command connect only

[OpenWrt-Devel] iw

2018-10-06 Thread e9hack
Hi, something looks wrong with this commit: iw: add iw-full package without size reduction hacks The full version supports the command connect only and the tiny version supports the command info only. Before this commit, iw did support many commands. Regards, Hartmut

[OpenWrt-Devel] Fwd: Re: 5GHz wifi is broken

2019-02-18 Thread e9hack
Weitergeleitete Nachricht Betreff: Re: [OpenWrt-Devel] 5GHz wifi is broken Datum: Mon, 18 Feb 2019 21:13:58 +0100 Von: e9hack An: Ben Greear Hi, this is my wireless configuration. I build hostapd with the internal radius server enabled and set the expected configuration

Re: [OpenWrt-Devel] 5GHz wifi is broken

2019-02-20 Thread e9hack
Am 18.02.2019 um 22:38 schrieb Hartmut Birr: Hi, this is my wireless configuration. I build hostapd with the internal radius server enabled and set the expected configuration for the internal radius server for hostapd if config value for auth_server isn't given or empty. config wifi-device

[OpenWrt-Devel] 5GHz wifi is broken

2019-02-14 Thread e9hack
Hi, a change somewhere between 8.Feb and 10.Feb breaks the usage of the 5GHz WiFi on my Archer C7 router. I get the following entries in the log file: Thu Feb 14 18:27:01 2019 daemon.err hostapd: Failed to set beacon parameters Thu Feb 14 18:27:01 2019 daemon.err hostapd: Interface

Re: [OpenWrt-Devel] 5GHz wifi is broken

2019-02-16 Thread e9hack
Am 16.02.2019 um 02:44 schrieb Jeff Kletsky: > Are you running "classic" ath10k drivers and firmware, or the default > ath10k-ct drivers and firmware? It is the default ath10k-ct > You should have a line similar to > > ath10k_pci :00:00.0: firmware ver 10.2.4-1.0-00041 api 5 features >

[OpenWrt-Devel] odhcpd problem

2019-04-18 Thread e9hack
Hi, I've trouble with this patch: router: improve code readability No functional changes; just improve code readabilty in send_router_advert() I'm using odhcpd a little bit modified. Odhcpd does not provide dhcpv6, but it sends the managed flag that dhcpv6 is available. Dhcpv6 is done by

[OpenWrt-Devel] wlan startup is delayed

2019-07-19 Thread e9hack
Hi, since some time the wlan startup after boot is delayed for a long time. I'm using a TP-Link Archer C7 v2 router with 2,4G and 5G wifi. From a boot log from end of June: Sun Jun 30 10:16:50 2019 kern.info kernel: [ 73.083241] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready Sun

Re: [OpenWrt-Devel] wlan startup is delayed

2019-07-19 Thread e9hack
Hi, I update my router very frequently. It looks like that the issue did start on 10th of July. Regards, Hartmut Am 19.07.2019 um 08:20 schrieb e9hack: > Hi, > > since some time the wlan startup after boot is delayed for a long time. I'm > using a TP-Link Archer C7 v2 router

Re: [OpenWrt-Devel] uhttpd/luci/rpcd is broken?

2019-11-02 Thread e9hack
Am 02.11.2019 um 14:44 schrieb Jo-Philipp Wich: > Hi, > > please try to find out which procedure is crashing rpcd by testing the > following commands: > > - ubus call luci-rpc getHostHints > > The one that hangs/times out is the culprit. > getHostHints lets crash rpcd. Regards, Hartmut

[OpenWrt-Devel] uhttpd/luci/rpcd is broken?

2019-11-02 Thread e9hack
Hi, it looks like that uhttpd/luci/rpcd is broken. After login in the web interface, it shows for most pages "Status: Loading View" and after a few seconds "Error XHR request timed out". Reloading the page results in: /usr/lib/lua/luci/dispatcher.lua:254: /etc/config/luci seems to be corrupt,

Re: [OpenWrt-Devel] uhttpd/luci/rpcd is broken?

2019-11-02 Thread e9hack
Hi, it looks like that the parsing routine rpc_luci_get_host_hints_uci() in lusi.c does crash if a host entry in /etc/config/dhcp doesn't contain a name option. Regards, Hartmut ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

[OpenWrt-Devel] luci: dhcpv6 leases

2019-11-03 Thread e9hack
Hi, Luci doesn't show dhcpv6 leases from a dnsmasq lease file. For dhcpv6, the second entry of a lease is the IAID. The parsing code expects a MAC instead of a IAID. I did fix this for me. I'm not sure, if there is any influence, if the MAC of a lease entry is zero. Regards, Hartmut diff

Re: [OpenWrt-Devel] uhttpd/luci/rpcd is broken?

2019-11-13 Thread e9hack
Am 13.11.2019 um 13:53 schrieb Dirk Brenken: > On Wed, 2019-11-13 at 13:44 +0100, e9hack wrote: >> Hi, >> >> it looks like that uhttpd/luci/rpcd is broken again. After login in >> the web interface, the main status page times out and shows this >> error

[OpenWrt-Devel] uhttpd/luci/rpcd is broken?

2019-11-13 Thread e9hack
Hi, it looks like that uhttpd/luci/rpcd is broken again. After login in the web interface, the main status page times out and shows this error message: RPCError: RPC call to luci.ddns/get_services_status failed with error -32000: Object not found at handleCallReply

Re: [OpenWrt-Devel] Wifi is broken

2019-11-17 Thread e9hack
Am 16.11.2019 um 17:27 schrieb Daniel Golle: > Hi, > > On Sat, Nov 16, 2019 at 09:17:08AM +0100, e9hack wrote: >> Hi, >> >> this commit >> >> commit 000b7687bc50be5b0f1161f4bf8ceb85c495c395 >> mac80211: restore mac80211_interface_cleanup() >

[OpenWrt-Devel] Wifi is broken

2019-11-16 Thread e9hack
Hi, this commit commit 000b7687bc50be5b0f1161f4bf8ceb85c495c395 mac80211: restore mac80211_interface_cleanup() breaks wifi on my tp-link archer C7 router. After update, only the 5G wifi will be activated. The 2.4G wifi doesn't start. I try to recover from this by shuting down and restart

[OpenWrt-Devel] wifi/network is broken

2019-11-25 Thread e9hack
Hi, this commit: Commit: b7c58a1eeba5be2e1f77ec05b417be9d87e26916 [b7c58a1] kernel: nf_conntrack_rtcache: fix cleanup on netns delete and rmmod floods my log every a few seconds with this message: Mon Nov 25 20:57:28 2019 kern.warn kernel: [ 318.310769] ath10k_pci :00:00.0: SWBA overrun

Re: [OpenWrt-Devel] Tor is broken

2020-02-25 Thread e9hack
Am 15.02.2020 um 11:18 schrieb Rosen Penev: > It’s the pidfile profs parameter that’s breaking things. Your fix doesn't solve the issue. commit acabb2cf50726ccafc3cb44aab4307440b2035a4 tor: fix init scripts Tor isn't able to create the pid file and terminates. The reload function does also

[OpenWrt-Devel] Stubby is broken

2020-02-25 Thread e9hack
Hi, stubby is broken since this commit: commit eaf522532324f9155d2d038e27006e5caaf9874a stubby: makefile and init script cleanup The necessary config file will be not create: /etc/rc.common: line 21: can't create : nonexistent directory mv: can't rename '/var/etc/stubby/stubby.yml.12277': No

Re: [OpenWrt-Devel] Stubby is broken

2020-02-26 Thread e9hack
Am 25.02.2020 um 22:41 schrieb Rosen Penev: > I don't see any of my init script changes breaking this. > > Does this work? > --- a/net/stubby/files/stubby.init > +++ b/net/stubby/files/stubby.init > @@ -205,7 +205,7 @@ generate_config() > } > > config_foreach handle_resolver resolver >

Re: [OpenWrt-Devel] wifi/wlan isolation

2020-01-25 Thread e9hack
Am 25.01.2020 um 15:14 schrieb e9hack: > I face a strange problem. I have configured 9 wlan's. On two, clients can't > reach each other. I check the settings of > /sys/devices/virtual/net/br-xxx/lower_wlanxyz/brport/hairpin_mode. On my 5GHz > wifi, hairpin_mode is set to 1 on

[OpenWrt-Devel] wifi/wlan isolation

2020-01-25 Thread e9hack
Hi, I face a strange problem. I have configured 9 wlan's. On two, clients can't reach each other. I check the settings of /sys/devices/virtual/net/br-xxx/lower_wlanxyz/brport/hairpin_mode. On my 5GHz wifi, hairpin_mode is set to 1 only for wlan0. For wlan0-1 and wlan0-2 is still at 0. On my

[OpenWrt-Devel] Tor is broken

2020-02-14 Thread e9hack
Hi, tor doesn't start since commit ca6528f002d74445e3d0a336aeb9074fc337307a: tor: update init script Changes: -add uci config -create pid file by procd -add reload function Feb 15 08:17:20.000 [warn] Unable to open "/var/run/tor.pid" for writing: Permission denied Feb 15 08:17:20.000 [err]

Re: [OpenWrt-Devel] Tor is broken

2020-02-14 Thread e9hack
Am 15.02.2020 um 08:31 schrieb Petr Štetiar: > e9hack [2020-02-15 08:24:23]: > >> Feb 15 08:17:20.000 [warn] Unable to open "/var/run/tor.pid" for writing: >> Permission denied >> Feb 15 08:17:20.000 [err] Unable to write PIDFile "/var/run/tor.pid&qu

Re: [OpenWrt-Devel] uhttpd/luci/rpcd is broken?

2020-01-06 Thread e9hack
kern.info kernel: [ 595.840981] ra = 77ddb9d5 in luci.so[77dda000+15000] Am 06.01.2020 um 16:59 schrieb e9hack: > Hi, > > it looks like that uhttpd/luci/rpcd is broken again. The call 'ubus call > luci-rpc getWirelessDevices' does fail 'Command failed: Request timed out'. > >

Re: [OpenWrt-Devel] uhttpd/luci/rpcd is broken?

2020-01-06 Thread e9hack
Am 06.01.2020 um 17:20 schrieb Petr Štetiar: > e9hack [2020-01-06 16:59:47]: > >> it looks like that uhttpd/luci/rpcd is broken again. The call 'ubus call >> luci-rpc getWirelessDevices' does fail 'Command failed: Request timed out'. > > can you provide little bit more d

Re: [OpenWrt-Devel] uhttpd/luci/rpcd is broken?

2020-01-06 Thread e9hack
Am 06.01.2020 um 18:23 schrieb Hauke Mehrtens: > On 1/6/20 5:39 PM, e9hack wrote: >> Am 06.01.2020 um 17:20 schrieb Petr Štetiar: >>> e9hack [2020-01-06 16:59:47]: >>> >>>> it looks like that uhttpd/luci/rpcd is broken again. The call 'ubus call >

[OpenWrt-Devel] uhttpd/luci/rpcd is broken?

2020-01-06 Thread e9hack
Hi, it looks like that uhttpd/luci/rpcd is broken again. The call 'ubus call luci-rpc getWirelessDevices' does fail 'Command failed: Request timed out'. Regards, Hartmut ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

[OpenWrt-Devel] Possible security issue

2020-04-17 Thread e9hack
Hi, the configuration files for hostapd (/var/run/hostapd-phyX.conf) are readable for everyone. This means everyone can read the wifi passwords. If a non privileged user calls 'uci show wireless', he will also get all wifi passwords. This possible e.g. for user nobody and dnsmasq. Is this a a

Re: [OpenWrt-Devel] kernel packages

2020-04-28 Thread e9hack
oper/packages#dependency_types > > Best > > Adrian > >> -Original Message- >> From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] >> On Behalf Of e9hack >> Sent: Dienstag, 28. April 2020 15:32 >> To: openwrt-d

[OpenWrt-Devel] kernel packages

2020-04-28 Thread e9hack
Hi, is it possible to depend on kernel versions in package/kernel/linux/modules/lib.mk? With kernel 5.4.x, zram needs the additional module lzo-rle, which is part of lib-lzo. Regards, Hartmut ___ openwrt-devel mailing list

[OpenWrt-Devel] kernel packages

2020-04-28 Thread e9hack
Hi, is it possible to depend on kernel versions in package/kernel/linux/modules/lib.mk? Lib-lzo from kernel 5.4.x needs the additional module lzo-rle. Regards, Hartmut ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

time zone isn't set

2020-10-19 Thread e9hack
Hi, after commit 1f5f599d0ea434820e06fd540ecbc9c7f15399b4 (zoneinfo: Updated to the latest release) time zone isn't set. Before this commit: root@openwrt:~# date +"%Z %z" CEST +0200 After this commit: root@openwrt:~# date +"%Z %z" + The localtime link is set properly: root@openwrt:~# ls

Re: [PATCH 1/2] mac80211: pass phy name to hostapd_set_bss_options

2020-10-19 Thread e9hack
Am 19.10.2020 um 21:56 schrieb David Bauer: > hostapd_set_bss_options expects the PHY as second and the VIF as third > argument. However, only the VIF was passed as second argument without a > third argument at all. > > This was never a problem, as both PHY and VIF were never accessed. > However,

ddns-scripts is broken since last major update

2020-09-25 Thread e9hack
Hi, since last update, ddns-scripts doesn't work any more. The log files contains the following output: 094310 : ** ** ** 094310 note : PID '6635' started at 2020-09-25 09:43 094310 : ddns version : 2.8.0-24 094310 : uci

Re: ddns-scripts is broken since last major update

2020-09-25 Thread e9hack
It looks like a configuration problem. If ddns-scripts_service isn't selected together with ddns-scripts, it doesn't work. Regards, Hartmut ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

zram-swap: default to lzo instead of lzo-rle compression

2020-09-17 Thread e9hack
Hi, I think commit 419f149e482641ddc520f80a7ab2038f7e2ebc8a is not the proper fix for the described issue. The kernel module lzo-rle is still missing. To solve this, it must be installed on the root-fs: diff --git a/package/kernel/linux/modules/lib.mk b/package/kernel/linux/modules/lib.mk

system broken

2020-10-22 Thread e9hack
Hi, after commit a2def3663a0feff12550906c33f9ecc3e5fb2a5d procd: jail: clean up capability handling and non-root ubusd system doesn't work properly. After sysupgrade, system does not restart completely and hangs somewhere in the boot process. I've to do a hard reset. After this, system does

Re: ddns is broken

2020-10-28 Thread e9hack
ction? I'm not using >> PPPoE which may be the related difference, "ifstatus wan | grep l3" >> returns "br-wan" for me for both wan and wan6. >> >> Joel >> >> On 2020-10-25 15:49, e9hack wrote: >>> Hi, >>> >>> ifst

Re: ddns is broken

2020-10-25 Thread e9hack
ee with ps a running curl request with interface eth0.7. Regards, Hartmut Am 25.10.2020 um 22:20 schrieb Ansuel Smith: > Now I can't understand why for ipv6 works and is broken for ipv4. Any idea? > > Il giorno dom 25 ott 2020 alle ore 22:17 e9hack ha scritto: >> >> Hi, >>

ddns is broken

2020-10-25 Thread e9hack
Hi, commit 5b362932a7df5ce44ca3a8f4cf1d2b225ca8d5ae ddns-scripts: use ip_source as bind_network default breaks ddns for ipv4, if pppoe is used for wan access. This commit sets eth0.7 as interface for curl in my case. The correct interface is pppoe-wan. For ipv6 the correct interface is set.

source definition in package stubby

2020-07-09 Thread e9hack
Hi, something in the source definition of package stubby is wrong. The build process tries to download https://github.com/getdnsapi/stubby/stubby-0.3.0.tar.xz but the real download location is https://github.com/getdnsapi/stubby/archive/stubby-0.3.0.tar.gz. It fails and it builds its own

Re: source definition in package stubby

2020-07-09 Thread e9hack
Am 09.07.2020 um 08:36 schrieb e9hack: > Hi, > > something in the source definition of package stubby is wrong. The build > process tries to download > https://github.com/getdnsapi/stubby/stubby-0.3.0.tar.xz but the real download > location is https://github.com/getdnsapi/stu

Re: zram-swap is broken

2020-07-24 Thread e9hack
Am 24.07.2020 um 10:34 schrieb Rui Salvaterra: > Do you by chance have block-mount installed? The block-mount swapon > utility is more limited than the one BusyBox provides. I sent patches > to remove swapon/swapoff from block-mount (they're not needed to > handle fstab/hotplug swap mounts), but

zram-swap is broken

2020-07-24 Thread e9hack
Hi, zram-swap is since commit 'zram-swap: enable swap discard' broken. Starting zram results in this: root@WLAN-DSL8:~# /etc/init.d/zram start zram_start: activating '/dev/zram2' for swapping (60 MegaBytes) zram_reset: enforcing defaults via /sys/block/zram2/reset zram_comp_algo: Set

Re: [PATCH] Revert "netifd: update to the latest version"

2020-11-13 Thread e9hack
Am 13.11.2020 um 11:19 schrieb Rui Salvaterra: > This broke the switch VLAN configuration on at least Archer C6 v2 EU and > Archer > C7 (both switchdev-based one-armed routers). Which Archer C7 version is mentioned here? I'm using an Archer C7 v2 and didn't see any issues. Regards, Hartmut

error message in log

2020-10-30 Thread e9hack
Hi, since around 3 days, I get many of this lines in the log file during wifi start-up: Wed Oct 28 03:27:50 2020 daemon.notice netifd: radio0 (2540): sh: out of range Wed Oct 28 20:48:52 2020 daemon.notice netifd: radio1 (2556): sh: out of range For the first line, I get 30 entries and for

Re: error message in log

2020-10-31 Thread e9hack
, the error messages are gone. Regards, Hartmut Am 30.10.2020 um 14:52 schrieb e9hack: > Hi, > > since around 3 days, I get many of this lines in the log file during wifi > start-up: > > Wed Oct 28 03:27:50 2020 daemon.notice netifd: radio0 (2540): sh: out of range > Wed

Re: system broken

2020-10-22 Thread e9hack
the user/group ubus with an update image. Regards, Hartmut Am 22.10.2020 um 10:15 schrieb e9hack: > Hi, > > after commit > > a2def3663a0feff12550906c33f9ecc3e5fb2a5d > procd: jail: clean up capability handling and non-root ubusd > > system doesn't work properly. After s

Re: system broken

2020-10-22 Thread e9hack
gt; > > Cheers > > > Daniel > > > On Thu, Oct 22, 2020 at 05:43:05PM +0200, e9hack wrote: >> Hi, >> >> I did check again, at which commit the issue starts >> >> Last working version: >> commit: d355b578b7cc95c5b07fcecb217dba

ntpd problem if procd-ujail is enabled

2021-01-27 Thread e9hack
Hi, if procd-ujail is enabled, /etc/hotplug.d/25-dnsmasqsec isn't executed after time synchronization. Regards, Hartmut ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: ntpd problem if procd-ujail is enabled

2021-01-29 Thread e9hack
Am 27.01.2021 um 17:54 schrieb Daniel Golle: On Wed, Jan 27, 2021 at 05:17:48PM +0100, e9hack wrote: It should be executed (i've tried), but as user 'ntp', hence the added ACLs. I've recently reworked support for non-root hotplug calls via ubus, please see my staging tree and let me know

libgpg-err build error

2021-05-13 Thread e9hack
Hi, I've trouble to build libgpg-err since the update from 1.39 to 1.42. Compilation does fail because the auto generated file gpg-error.h contains wrong syntax in macro GPGRT_LOCK_INITIALIZER: #define GPGRT_LOCK_INITIALIZER {1,{{\c 0\c ,\0c 0\c ,\0c The sequence is generated by

Re: Luci->Network->Interfaces is broken

2021-05-31 Thread e9hack
Am 31.05.2021 um 15:52 schrieb e9hack: Am 31.05.2021 um 07:18 schrieb Rafał Miłecki: On 30.05.2021 18:02, e9hack wrote: Am 30.05.2021 um 15:41 schrieb e9hack: Am 30.05.2021 um 09:59 schrieb Rafał Miłecki: On 29.05.2021 23:28, e9hack wrote: I'm using a TP-Link Archer C7 v2 router. For every

Re: Luci->Network->Interfaces is broken

2021-05-31 Thread e9hack
Am 31.05.2021 um 07:18 schrieb Rafał Miłecki: On 30.05.2021 18:02, e9hack wrote: Am 30.05.2021 um 15:41 schrieb e9hack: Am 30.05.2021 um 09:59 schrieb Rafał Miłecki: On 29.05.2021 23:28, e9hack wrote: I'm using a TP-Link Archer C7 v2 router. For every build, I do update my sandbox

Re: Luci->Network->Interfaces is broken

2021-05-31 Thread e9hack
Am 31.05.2021 um 16:36 schrieb e9hack: LuCI commit 17af33e luci-mod-network: migrate network config depending on netifd version does introduce to read the file /usr/lib/opkg/info/netifd.control. I don't have this file on my router. Can that be the reason for the error 'Resource not found

Re: Luci->Network->Interfaces is broken

2021-05-29 Thread e9hack
29.05.2021 um 22:44 schrieb Hauke Mehrtens: On 5/29/21 10:25 PM, e9hack wrote: Hi, it looks like that Luci->Network->Interfaces is broken. It shows a NotFountError (Resource not found) message. My build from 22.05. forces me to convert something related to network configuration. Afte

Re: Luci->Network->Interfaces is broken

2021-05-30 Thread e9hack
Am 30.05.2021 um 15:41 schrieb e9hack: Am 30.05.2021 um 09:59 schrieb Rafał Miłecki: On 29.05.2021 23:28, e9hack wrote: I'm using a TP-Link Archer C7 v2 router. For every build, I do update my sandbox with the current OpenWrt repository and the feeds. The first not working build from 27.05

Luci->Network->Interfaces is broken

2021-05-29 Thread e9hack
Hi, it looks like that Luci->Network->Interfaces is broken. It shows a NotFountError (Resource not found) message. My build from 22.05. forces me to convert something related to network configuration. Afterwards, this dialogue shows the interface configuration. Starting with build from 27.05.

Re: Luci->Network->Interfaces is broken

2021-05-30 Thread e9hack
Am 30.05.2021 um 09:59 schrieb Rafał Miłecki: On 29.05.2021 23:28, e9hack wrote: I'm using a TP-Link Archer C7 v2 router. For every build, I do update my sandbox with the current OpenWrt repository and the feeds. The first not working build from 27.05. shows in Luci: OpenWrt SNAPSHOT r16834

wrong activation of internal radius server

2021-06-04 Thread e9hack
Hi, OpenWrt has been supporting hostapd's internal radius server for a few days. For several years there has been a line in the init-script that activates the internal radius server too. I think this is wrong (from hostapd.sh): [ -n "$wps_possible" -a -n "$config_methods" ] && {

Re: Luci->Network->Interfaces is broken

2021-06-01 Thread e9hack
Am 31.05.2021 um 19:01 schrieb Jo-Philipp Wich: Hi, This is the reason. Long time ago, I did select the option 'Remove ipkg/opkg status data files in final images' to reduce the image size. Since such an option can be selected, LuCI cannot assume, that the file netifd.control exists. fixed.

Re: ujail: bug or feature ?

2021-03-26 Thread e9hack
Am 26.03.2021 um 12:09 schrieb Daniel Golle: On Fri, Mar 26, 2021 at 10:54:32AM +0100, e9hack wrote: Am 26.03.2021 um 10:17 schrieb Daniel Golle: On Fri, Mar 26, 2021 at 09:32:33AM +0100, e9hack wrote: Hi, a program run by ujail gets a PID of 1. The real PID is different. If such a program

Re: ujail: bug or feature ?

2021-03-26 Thread e9hack
Am 26.03.2021 um 10:17 schrieb Daniel Golle: On Fri, Mar 26, 2021 at 09:32:33AM +0100, e9hack wrote: Hi, a program run by ujail gets a PID of 1. The real PID is different. If such a program generates a PID file by its own and the PID from that file is used by a script that is not run

ujail: bug or feature ?

2021-03-26 Thread e9hack
Hi, a program run by ujail gets a PID of 1. The real PID is different. If such a program generates a PID file by its own and the PID from that file is used by a script that is not run by ujail, then any operation will be performed with the wrong PID, which is the PID of /sbin/procd in the

Re: Luci / Custom Commands

2021-04-16 Thread e9hack
Am 16.04.2021 um 08:49 schrieb Hannu Nyman: e9hack kirjoitti 16.4.2021 klo 8.37: Hi, I want like to add the following command to Luci/Custom Commands: echo "/" > /proc/net/xt_recent/SSH_BLOCK But I can only add: echo "> /proc/net/xt_recent/SSH_BLOCK" How

Luci / Custom Commands

2021-04-15 Thread e9hack
Hi, I want like to add the following command to Luci/Custom Commands: echo "/" > /proc/net/xt_recent/SSH_BLOCK But I can only add: echo "> /proc/net/xt_recent/SSH_BLOCK" How can I do it? Regards, Hartmut ___ openwrt-devel mailing list

bug in base-files: add option to make /var persistent ?

2021-08-23 Thread e9hack
Hi, I didn't select 'make /var persistent' but /var is generated persistent. I think in the Makefile the test for CONFIG_TARGET_ROOTFS_PERSIST_VAR = n must be changed to y (or empty). --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -181,12 +181,12 @@ define

dnsmasq ujail fs problem

2021-07-30 Thread e9hack
Hi, I'm using dnsmasq together with ujail. Since some time, I got an error message in the log: Fri Jul 30 13:05:10 2021 kern.warn kernel: [ 3149.592061] ext4 filesystem being remounted at /tmp/ujail-NOnHik/tmp/dhcp.leases supports timestamps until 2038 (0x7fff) Fri Jul 30 13:05:10 2021

some issues in /etc/init.d/dnsmasq

2021-08-01 Thread e9hack
Hi, I found a few issues in /etc/init.d/dnsmasq - variable EXTRA_MOUNT must be reset at beginning of dnsmasq_start to avoid to add the previous content to the following configurations - /dev/null must be jail mount read/write (see the next too) - jail mount for /dev/null and /dev/random isn't

dnsmasq: rework jail mounts

2021-08-01 Thread e9hack
Hi, in last update of jail mounts, this part looks wrong: --- a/package/network/services/dnsmasq/files/dnsmasq.init +++ b/package/network/services/dnsmasq/files/dnsmasq.init @@ -10,6 +10,7 @@ ADD_LOCAL_DOMAIN=1 ADD_LOCAL_HOSTNAME=1 ADD_WAN_FQDN=0 ADD_LOCAL_FQDN="" +EXTRA_MOUNT=""

Wifi bug

2021-09-24 Thread e9hack
In the past (a few days ago), it was possible to disable or shut-down wifi by introduce the command 'wifi down'. This doesn't work currently. After some seconds, wifi is start again. Regards, Hartmut ___ openwrt-devel mailing list

Re: Wifi bug

2021-09-27 Thread e9hack
Am 27.09.2021 um 12:59 schrieb Felix Fietkau: Hi, On 2021-09-26 14:48, e9hack wrote: Do you see a page fault from netifd in the log? If it does crash, it is restarted by procd. This does restart the network stack. If I start netifd with strace, I got this lines immediately before the page

Re: Wifi bug

2021-09-27 Thread e9hack
Am 27.09.2021 um 14:01 schrieb Felix Fietkau: Normally it should be active by default. Is CONFIG_KERNEL_ELF_CORE set in your .config? It was not activated, but the output from gdb looks not so helpful:

Re: Wifi bug

2021-09-27 Thread e9hack
Am 27.09.2021 um 19:02 schrieb Felix Fietkau: Fix pushed, thanks for testing. - Felix It fixes my issue too. In bonding_enable_port() and bridge_enable_member() is in the middle a 'return -1'. In all error cases before and afterwards is located a 'goto ...' to revert some things. Is

Re: Wifi bug

2021-09-26 Thread e9hack
Am 26.09.2021 um 12:54 schrieb Hannu Nyman: e9hack kirjoitti 26.9.2021 klo 10.02: Am 24.09.2021 um 22:04 schrieb e9hack: In the past (a few days ago), it was possible to disable or shut-down wifi by introduce the command 'wifi down'. This doesn't work currently. After some seconds, wifi

Re: Wifi bug

2021-09-26 Thread e9hack
Am 24.09.2021 um 22:04 schrieb e9hack: In the past (a few days ago), it was possible to disable or shut-down wifi by introduce the command 'wifi down'. This doesn't work currently. After some seconds, wifi is start again. It may be related to a page fault of netifd. Netifd is restart

mac address issue of tp-link wdr3600 and archer c7-v2

2021-11-15 Thread e9hack
Hi, I'm using two tp-link routers. Both are using the same mac address for one eth and one wlan interface: archer c7-v2: uboot 60:xx:xx:xx:xx:E6 eth060:xx:xx:xx:xx:E7 eth160:xx:xx:xx:xx:E6 wlan0 60:xx:xx:xx:xx:E4 5G wlan1 60:xx:xx:xx:xx:E6 2.4G wdr3600: uboot

dnsmasq error message related to host file

2021-11-01 Thread e9hack
Hi, after commit "dnsmasq: improve init script", I get the following error in the log file: Sun Oct 31 14:08:11 2021 user.err : jail: creat(/tmp/ujail-pbMGCD/tmp/hosts/dhcp.main) failed: Read-only file system Sun Oct 31 14:08:11 2021 user.err : jail:

Re: dnsmasq issue

2021-12-05 Thread e9hack
Hi, the scripts are executed. I did a mistake with path names for the logging files. But the issue with executing dnsmasq twice is still open. Regards, Hartmut Am 05.12.2021 um 12:13 schrieb e9hack+dnsmasq: Hi, I did configure a user script by adding: option dhcpscript '/etc/dnsmasq

procd/ujail question

2021-12-10 Thread e9hack
Hi, usually the files for a jailed process must be given via procd_add_jail_mount or procd_add_jail_mount_rw. It looks like that this isn't necessary for hostapd. Why not? I can't found this two parameters in '/etc/init.d/wpad'. Regards, Hartmut

Re: procd/ujail behaviour

2021-12-10 Thread e9hack
Am 10.12.2021 um 15:18 schrieb Daniel Golle: It'd be nice if you can try the patch attached (to be put in package/system/procd/patches) and let me know what you think. Hi Daniel, the attached patch solves my issue with stubby. The easiest way to make the timeout configurable is to add an

Re: procd/ujail behaviour

2021-12-10 Thread e9hack
Am 11.12.2021 um 08:02 schrieb e9hack: The easiest way to make the timeout configurable is to add an additional parameter to the ujail call if the timeout deviates from the default value. You did it implemented in this way already. Thanks! Regards, Hartmut

procd/ujail behaviour

2021-12-10 Thread e9hack
Hi, I did update the init script for stubby, that it runs with ujail. Stubby does run, but it isn't possible to stop it via '/etc/init.d/stubby stop'. The ujail process is stopped, but stubby itself not. It looks like that it isn't possible to stop stubby with SIGTERM. Stubby will be ended

Re: convert mtd-mac-address to nvmem implementation

2021-07-19 Thread e9hack
Am 19.07.2021 um 16:24 schrieb Ansuel Smith: hi, some dtsi still use the old implementation as they have to be manually migrated. Does it cause any problem ? I don't see a problem. I did check the dtsi files of the two routers which I'm using. One is migrated and the other one was still

Re: convert mtd-mac-address to nvmem implementation

2021-07-19 Thread e9hack
Am 19.07.2021 um 16:41 schrieb Ansuel Smith: The dts has been migrated with a script and we decided to remove the dtsi that caused some compilation problem. We still need to take a decision for the device that have dtsi that declare mtd-mac-address using partition tag declared in user dts (dtsi

convert mtd-mac-address to nvmem implementation

2021-07-19 Thread e9hack
Hi, it looks like, that qca9558_tplink_archer-c.dtsi is missing in commit abc17bf (ath79: convert mtd-mac-address to nvmem implementation). Regards, Hartmut ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

retrieving the interface name via ip address

2022-03-03 Thread e9hack
Hi, it exist the two functions network_get_subnet and network_get_subnet6 in /lib/functions/network.sh. They return the first ip or ip6 address of a given interface. In my case: root@my-openwrt:~# . /lib/functions/network.sh; network_get_subnet subnet "lan"; echo $subnet; network_get_subnet6

bug in busybox lock

2022-03-31 Thread e9hack
Hi, commit busybox: fix busybox lock applet pidstr buffer overflow looks wrong for me: --- a/package/utils/busybox/patches/220-add_lock_util.patch +++ b/package/utils/busybox/patches/220-add_lock_util.patch @@ -109,7 +109,7 @@ + if (!waitonly) { + lseek(fd,

Firewall question

2022-02-09 Thread e9hack
Hi, I've configured a lan and a guest network on my router. To the lan network is a linux server connected with an apache2 running. The apache2 provides nextcloud, gitweb and a few other things. Nextcloud and gitweb are reachable from the wan network. I do forward port 443 from wan to port

Re: Firewall question

2022-02-09 Thread e9hack
Hi Jo, I do not understand however how the guest routing works in your network currently... Guest network is wifi only with wan access, but without access to the lan network. It is used for cell phones only, which does synchronize data with nextcloud via a ddns name over the wan address.

Re: netifd issue

2023-11-10 Thread e9hack
Too fast. I did reboot with the old version again. The patched version does work. Sorry! Regards, Hartmut Am 10.11.2023 um 15:09 schrieb e9hack: Sorry, but it doesn't solve the issue. Regards, Hartmut Am 10.11.2023 um 14:13 schrieb Felix Fietkau: I think I found the cause

Re: netifd issue

2023-11-10 Thread e9hack
Sorry, but it doesn't solve the issue. Regards, Hartmut Am 10.11.2023 um 14:13 schrieb Felix Fietkau: I think I found the cause of this regression while looking at the code again. It seems that the hotplug-added devices are removed too early based on DEV_EVENT_REMOVE events. Please try this

  1   2   >