[LEDE-DEV] trouble with netifd

2018-05-13 Thread e9hack
Hi, I've trouble with netifd on a carambola box (ralink rt305x target) from 8devices. After a sysupgrade, netifd crashes all the time at the first boot. Lan/wan access over cable isn't possible. Wireless access is possible. After a reboot, netifd doesn't crash again. ... Sat May 12 23:54:13 201

Re: [LEDE-DEV] [RFC PATCH 0/2] Adjust DHCP/DNS defaults for better consistency

2018-05-03 Thread e9hack
Am 02.05.2018 um 18:02 schrieb Jo-Philipp Wich: > This small patch series changes the default location of various temporary > and automatically generated files used by dnsmasq and odhcpd during normal > operation. If the location of /tmp/hosts/odhcpd and /tmp/dhcp.leases is changed and the config

[LEDE-DEV] Makefile

2018-03-17 Thread e9hack
Hello, can I identify within a makefile if a package was selected for including directly in the image or to build as an external package (select as [*] or [M] during make menuconfig)? Depend on this, I would like to change the installation path and create an additional symlink, e.g.: ifeq ($BUI

Re: [LEDE-DEV] cron problem

2018-02-19 Thread e9hack
Am 19.02.2018 um 18:57 schrieb p.wa...@gmx.at: > I remember something related to the definition of Sundays. > IIRC, cron accepts '0' and '7' as Sunday whereas Busybox' cron does not > understand '7', > so you have to use '0' for Sundays there. > Maybe this causes the behaviour you perceived. Yes,

[LEDE-DEV] cron problem

2018-02-19 Thread e9hack
Hello, I try to use cron to run some jobs depend on the weekday. It looks like that the weekday definition is completely ignored: 15 9 * * 1,2,3,4,5 mosquitto_pub -h mosquitto.lan -q 1 -r -p 1883 -t "cmnd/iRobot/POWER" -m "1" 15 10 * * 6,7 mosquitto_pub -h mosquitto.lan -q 1 -r -p 1883 -t "cmn

Re: [LEDE-DEV] DDNS for ipv6

2018-01-18 Thread e9hack
Am 17.01.2018 um 21:50 schrieb Christian Schoenebeck: >> Independently of this, I'm the opinion, ddns for ipv6 can't work with a >> deal-in or modem connection. My wan interface is >> pppoe-wan. If the logical interface wan_6 is started, it (or pppoe-wan) >> doesn't have a global ipv6 address. It

Re: [LEDE-DEV] DDNS for ipv6

2018-01-16 Thread e9hack
t; [ $use_ipv6 -eq 0 ] && __RUNPROG="network_get_ipaddr" \ > || __RUNPROG="network_get_ipaddr6" > > or set option ip_source "interface" instead of "network" > > Christian > > > Am 15.01.2018 um 18:3

[LEDE-DEV] DDNS for ipv6

2018-01-15 Thread e9hack
Hi, ddns for ipv6 doesn't work since the last few updates related to the ddns package. From log file: Mon Jan 15 17:35:21 2018 user.notice DEBUG: hotplug igmpproxy: device 'wan_6' action 'ifup' Mon Jan 15 17:35:22 2018 user.notice ddns-scripts[7394]: dynv6_ipv6: PID '7394' started at 2018-01-1

[LEDE-DEV] dropbear/winscp problem

2018-01-05 Thread e9hack
Hi, I face problem, if I access large files with winscp. I've connect a USB stick to the router. It is formatted as ext4. There are stored some large log files (>10MB) on this stick. I'm reading this files with winscp. I do simply a double click on such a file in the remote window. Winscp starts

Re: [LEDE-DEV] [PATCH v1] dnsmasq: use SIGUSR2 for dnssec time valid

2018-01-05 Thread e9hack
Am 02.01.2018 um 16:29 schrieb Kevin Darbyshire-Bryant: > Move 'check dnssec timestamp enable' from SIGHUP handler to SIGUSR2. Hi, your patch fixes the DNS problem for me. Now I get another ugly behaviour which is more related to ntpd from busybox. Ntpd answers to ntp request before it did upda

[LEDE-DEV] dnsmasq dnssec problem

2018-01-01 Thread e9hack
Hi, dnsmasq with dnssec enabled doesn't work properly. If dnssec is enabled, the parameter dnssec-no-timecheck is add too, depend on some conditions related to sysntpd. If this parameter is added and dnsmasq receives a SIGHUP before ntpd was able to set the time, name resolution isn't possible,

Re: [LEDE-DEV] firewall question

2017-12-15 Thread e9hack
Am 15.12.2017 um 18:03 schrieb Eric Romano: > The "input" option of your LAN zone is set to ACCEPT. This means that > any traffic to the interface ip address(es) of that zone will be > allowed unless otherwise blocked by a rule. > > It's not obvious but zone forwarding rules only for traffic forwa

[LEDE-DEV] firewall question

2017-12-15 Thread e9hack
Hi, I did set-up a openvpn server on my router. /etc/config/network contains the interface definition: config interface 'vpn' option proto 'none' option ifname 'tun1' In /etc/config/firewall, I've the following definitions related to vpn, lan and wan: config zone optio

Re: [LEDE-DEV] Trouble with dnsmasq

2017-12-01 Thread e9hack
Am 01.12.2017 um 09:14 schrieb Hans Dedecker: > On Thu, Nov 30, 2017 at 8:28 PM, e9hack wrote: >> It comes from odhcpd6. It calls very often dhcpv6.script which generates an >> action ifupdate for interface wan_6. > You can avoid the dnsmasq restarts by setting ignore to

Re: [LEDE-DEV] Trouble with dnsmasq

2017-11-30 Thread e9hack
Am 22.11.2017 um 18:01 schrieb e9hack: > It look likes that reload_service()/start_service() is called twice. The > first call generates the host file properly and > starts dnsmasq. Before dnsmasq is able to read the host file, the second call > of reload_service()/start_service()

[LEDE-DEV] Trouble with dnsmasq

2017-11-22 Thread e9hack
Hi, I've some trouble with dnsmasq since the last kernel update but it isn't an issue of the kernel. After reboot (or sysupgrade), dnsmasq isn't able to do a name resolution of hosts provided by the host file: Tue Nov 21 22:21:42 2017 daemon.info dnsmasq[1410]: read /tmp/hosts/dhcp.cfg02411c -

Re: [LEDE-DEV] wlan issue with TP-LINK wdr3600

2017-10-12 Thread e9hack
Am 12.10.2017 um 21:32 schrieb Hauke Mehrtens: > On 10/12/2017 07:51 PM, Felix Fietkau wrote: > > In the log you send me I see this error: > > wpa_driver_nl80211_set_key: ifindex=17 (wlan0) alg=4 addr=0x4ab35c > key_idx=4 set_tx=1 seq_len=0 key_len=16 > nl80211: KEY_DATA - hexdump(len=16): [REMOV

Re: [LEDE-DEV] wlan issue with TP-LINK wdr3600

2017-10-12 Thread e9hack
Am 12.10.2017 um 19:51 schrieb Felix Fietkau: > Could you please test my update from my staging tree? > https://git.lede-project.org/?p=lede/nbd/staging.git;a=summary Hi, I patch my tree, which is more or less the main tree, with this commit from your staging tree: https://git.lede-project.org/

Re: [LEDE-DEV] wlan issue with TP-LINK wdr3600

2017-10-12 Thread e9hack
Am 11.10.2017 um 23:24 schrieb Christian Lamparter: > On Wednesday, October 11, 2017 10:42:17 PM CEST e9hack wrote: >> Hi, >> >> Is end the hostapd config files. They are generated by a modified hostapd.sh >> script. > > Just a quick "cross-refere

Re: [LEDE-DEV] wlan issue with TP-LINK wdr3600

2017-10-11 Thread e9hack
Am 11.10.2017 um 21:43 schrieb Hauke Mehrtens: > Hi, > > I tested the new backports version with ath9k locally and did not saw > this problem with my device. > > Could you activate more debugging in hostapd by changing > CONFIG_WPA_MSG_MIN_PRIORITY to 2 please. > > In addition could you post you

[LEDE-DEV] wlan issue with TP-LINK wdr3600

2017-10-11 Thread e9hack
Hi, I've trouble with this commit: author Hauke Mehrtens Tue, 22 Aug 2017 21:59:48 + (23:59 +0200) committer Hauke Mehrtens Sun, 1 Oct 2017 10:49:11 + (12:49 +0200) commit a8f63a0717f553e0a1b37ee9212fc4cb2a801426 mac8

[LEDE-DEV] issue in mac80211.sh

2017-10-07 Thread e9hack
Hi, for my own modifications, I need an unique file name for some wlan interfaces in hostapd_set_bss_options() from hostapd.sh. Usually this function shall get the virtual interface name as the 3rd parameter, but this function is called with too less parameters in mac80211_hostapd_setup_bss() fr

[LEDE-DEV] firewall issue

2017-08-25 Thread e9hack
Hi, my firewall configuration set the default forward policy to reject and wan forward to drop. iptable -L -v Chain FORWARD (policy DROP 0 packets, 0 bytes) pkts bytes targetprot opt inout source destination 330K 276M forwarding_rule all -- any any anywhere an

[LEDE-DEV] ipv6 configuration

2017-08-23 Thread e9hack
What is the expected behaviour if an ip6hint is given, which is too long for a prefix? e.g. prefix delegation gives a prefix of 2003:::zz00::/56 and ip6hint is . Currently, isn't given, because it is too long. Will it be a better approach, to shrink the ip6hint value for the g

Re: [LEDE-DEV] wifi and wan ipv6 connectivity

2017-08-12 Thread e9hack
Am 11.08.2017 um 10:27 schrieb Hans Dedecker: > I've exactly the same configuration in use as yours but I can't > reproduce the issue. I found the bug. It's my fault. My network config contains an entry for wan_6. Regards, Hartmut ___ Lede-dev mailing

Re: [LEDE-DEV] wifi and wan ipv6 connectivity

2017-08-11 Thread e9hack
Am 11.08.2017 um 10:27 schrieb Hans Dedecker: > Are you using the latest version of netifd ? yes, version from trunk 34afb764077768a361d76256fb05cbba172de223 > Dynamic interfaces are not deleted upon a network reload as the node > version is set to -1 Can I retrieve the node version from wan/wan_6

Re: [LEDE-DEV] wifi and wan ipv6 connectivity

2017-08-11 Thread e9hack
Hi, the issue can be trigger by executing 'ubus call network reload'. Regards, Hartmut Am 11.08.2017 um 13:44 schrieb e9hack: > Am 11.08.2017 um 10:27 schrieb Hans Dedecker: >> Are you using the latest version of netifd ? > yes, version from trunk 34afb764077768a361

Re: [LEDE-DEV] wifi and wan ipv6 connectivity

2017-08-09 Thread e9hack
Hi, the issue isn't triggered by wifi directly. Calling '/etc/init.d/network reload' without any modification of the network config triggers the same issue. Regards, Hartmut Am 08.08.2017 um 18:02 schrieb e9hack: > Hi, > > for testing I add a hotplug script. Bellow I d

Re: [LEDE-DEV] wifi and wan ipv6 connectivity

2017-08-08 Thread e9hack
Hi, for testing I add a hotplug script. Bellow I did copy my test sequence and the output. There are a few seconds between the commands. If 'wifi ...' is called, the 2003: address of my wan interface is gone. The other addresses are still assigned. If 'ubus ...' is called, the wan interface gets

[LEDE-DEV] wifi and wan ipv6 connectivity

2017-08-04 Thread e9hack
Hi, executing of command wifi disables ipv6 connectivity on wan interface. The wan interface is pppoe-wan. To get ipv6 connectivity again, I've to execute manually ubus call network add_dynamic '{ "name": "wan_6", "ifname": "@wan", "proto": "dhcpv6", "zone": "wan" }' what is usually done by /l

Re: [LEDE-DEV] [PATCH v2] openvpn: update to 2.4.3

2017-06-22 Thread e9hack
Am 22.06.2017 um 23:01 schrieb Magnus Kroken: > v2: Correct PKG_HASH and add another mirror. OpenVPN had various issues with > their > CDN caching wrong files, these are the correct values according to > http://community.openvpn.net/openvpn/wiki/release-packages-2.4.3-2.3.17. See > mailing list >

[LEDE-DEV] dns setup problem

2017-06-21 Thread e9hack
Hi, the dns setup for dnsmasq does have a bug. If option resolvfile is used and its value isn't '/tmp/resolv.conf.auto', name resolution doesn't work. The given file is empty. A file '/tmp/resolv.conf.auto' is generated and contains the correct dns servers, but it isn't used by dnsmasq. This mak

Re: [LEDE-DEV] [PATCH v3] dnsmasq: manage resolv.conf if when listening on 127.0.0.1#53

2017-06-20 Thread e9hack
Am 18.06.2017 um 09:46 schrieb Paul Oranje: > @@ -854,14 +895,15 @@ dnsmasq_start() > config_get_bool cachelocal "$cfg" cachelocal 1 > > config_get_bool noresolv "$cfg" noresolv 0 > - if [ "$noresolv" != "1" ]; then > + if [ "$noresolv" = "1" ]; then > + xappend "--n

Re: [LEDE-DEV] [PATCH] dnsmasq: fix error in call of list_contains()

2017-06-13 Thread e9hack
Hi, it seems there is a second bug. [ -n $notinterfaces ] fails, if notinterfaces contains spaces. Regards, Hartmut Am 12.06.2017 um 23:11 schrieb Paul Oranje: > --- a/package/network/services/dnsmasq/files/dnsmasq.init > +++ b/package/network/services/dnsmasq/files/dnsmasq.init > @@ -716,7 +71

Re: [LEDE-DEV] [PATCH] dnsmasq: manage resolv.conf iff when listening on 127.0.0.1#53

2017-06-12 Thread e9hack
Am 12.06.2017 um 20:33 schrieb Paul Oranje: > Did the change break existing code ? Not really, but it breaks my configuration. The basics are derived from the initial configuration. One instance is configured with "option resolvfile '/tmp/resolv.conf.auto'" the other without "option resolvfile '.

Re: [LEDE-DEV] [PATCH] dnsmasq: manage resolv.conf iff when listening on 127.0.0.1#53

2017-06-12 Thread e9hack
Hi, there is a bug in dnsmasq_ismain(). The first parameter in the call of list_contains() must be the variable which contains the list and not the list itself. [ -n $notinterfaces ] && list_contains $notinterfaces "loopback" || return 1 $notinterfaces must be replace by notinterfaces. Regar

Re: [LEDE-DEV] [PATCH] dnsmasq: manage resolv.conf iff when listening on 127.0.0.1#53

2017-06-12 Thread e9hack
Hi, IMHO, usage of the resolve file is completely wrong. If option 'resolvfile' is not given for a configuration, dnsmasq must run without a parameter resolv-file='..' and uses /etc/resolv.conf which is a symbolic link to /tmp/resolv.conf. In this case, the init script writes to /tmp/resolv.conf

Re: [LEDE-DEV] /lib/functions/network.sh & ip6ifaceid

2017-06-08 Thread e9hack
Am 07.06.2017 um 19:33 schrieb Eric Masson: >> root@rtrwrtfenint:/tmp# . /lib/functions/network.sh; >> network_get_ipaddrs_all ipaddrs lan ; echo $ipaddrs >> 192.168.85.15 fd75:43df:37f2::1 This function or the way how it is used by /etc/init.d/dropbear has more issues: root@WLAN-DSL8:~# . /lib

Re: [LEDE-DEV] dnsmasq: please revert/disable "dhcp-script" feature by default

2017-06-01 Thread e9hack
Am 01.06.2017 um 17:07 schrieb Dirk Brenken: > For testing, I've asked these users to comment the following line in > /etc/init.d/dnsmasq and to restart dnsmasq and adblock afterwards. > > # xappend "--dhcp-script=$DHCPSCRIPT" > > After that change everything is working fine again, as long

Re: [LEDE-DEV] dropbear & gcc 7.1.0

2017-05-31 Thread e9hack
Am 30.05.2017 um 08:25 schrieb Syrone Wong: > Can this related to endianness? Based on current reports, it only > occurs on big-endian platforms. > > I found: > > * Note: in order to use the optimized macros your platform must > support unaligned 32 and 64 bit read/writes. > * The x86 platforms a

Re: [LEDE-DEV] dropbear & gcc 7.1.0

2017-05-29 Thread e9hack
Am 29.05.2017 um 10:13 schrieb Bastian Bittorf: > * Syrone Wong [29.05.2017 10:03]: >>> have you tried to '/etc/init.d/dropbear'? >> >> The problem is you cannot access the router, which means you cannot >> execute any commands. > > ok, maybe you can execute a command with LuCI? > (i'am not famil

Re: [LEDE-DEV] dnsmasq & gcc 7.1.0

2017-05-28 Thread e9hack
Am 28.05.2017 um 10:32 schrieb Kevin Darbyshire-Bryant: > I just rebuilt & flashed my Archer C7 using gcc 6 and curiously I see > two dnsmasq processes there as well, so I > suspect there are two problems here not just 'gcc 7 breaks stuff'. You are right. It was introduced with this commit:

[LEDE-DEV] dnsmasq & gcc 7.1.0

2017-05-28 Thread e9hack
Hi, if I select gcc 7.1.0 instead of gcc 6.3.0, anything seems to be work with exception of dropbear and dnsmasq. It does run two processes of dnsmasq. One runs as user root and the other as user dnsmasq. DHCP and name resolution does work. It occurs on all of my three routers: Archer C7, wdr36

[LEDE-DEV] dropbear & gcc 7.1.0

2017-05-27 Thread e9hack
Hi, if I select gcc 7.1.0 instead of gcc 6.3.0, anything seems to be work with exception of dropbear (and a few build fixes for some packages are necessary). Dropbear is running, but it isn't possible to connect. The message from WinSCP is 'Network error: Connection to "wlan-xyz" refused' or fro

Re: [LEDE-DEV] Luci/Statistics problem

2017-03-05 Thread e9hack
Am 03.03.2017 um 18:54 schrieb Daniel Dickinson: > On Fri, 3 Mar 2017 09:08:02 +0100 > e9hack wrote: > >> Hi, >> >> Lusi/Statistics doesn't work any more. For every page, I got an >> error, for example: >> https://my-box.lan/cgi-bin/luci/admin/stat

[LEDE-DEV] Luci/Statistics problem

2017-03-03 Thread e9hack
Hi, Lusi/Statistics doesn't work any more. For every page, I got an error, for example: https://my-box.lan/cgi-bin/luci/admin/statistics/graph/uptime? The browser shows this: /usr/lib/lua/luci/dispatcher.lua:380: Failed to execute call dispatcher target for entry '/admin/statistics/graph/uptime

Re: [LEDE-DEV] firewall/ip6tables problem

2017-02-26 Thread e9hack
x27; option family 'ipv6' Port 22 is open, if I execute port scan from outside to the lan ipv6 address. Regards, Hartmut Am 26.02.2017 um 11:08 schrieb e9hack: > Hi, > > I add some rules to /etc/firewall.user to protect dropbear against ssh port > scans: >

[LEDE-DEV] firewall/ip6tables problem

2017-02-26 Thread e9hack
Hi, I add some rules to /etc/firewall.user to protect dropbear against ssh port scans: # SSH protection (ipv6) ip6tables -X ssh_scan ip6tables -N ssh_scan ip6tables -A ssh_scan -m recent --name SSH_BLOCK --rsource --update --seconds 1800 --reap -j RETURN ip6tables -A ssh_scan -m recent --name

Re: [LEDE-DEV] config restore/backup problem

2017-02-22 Thread e9hack
Hello Jo, yes, your commit fixes this issue. Thank you very match. Regards, Hartmut Am 22.02.2017 um 13:50 schrieb Jo-Philipp Wich: > Hi Hartmut, > > I believe this issue is fixed with https://git.lede-project.org/19720a6 now. > > ~ Jo > ___ Lede

Re: [LEDE-DEV] config restore/backup problem

2017-02-21 Thread e9hack
ed backups contain all modified configuration files. Regards, Hartmut Am 21.02.2017 um 17:00 schrieb e9hack: > Hi, > > I've some trouble with the configuration restoring after a sys upgrade or > generating a config backup with luci. Some > files are not longer part of the conf

[LEDE-DEV] config restore/backup problem

2017-02-21 Thread e9hack
Hi, I've some trouble with the configuration restoring after a sys upgrade or generating a config backup with luci. Some files are not longer part of the config backup. For example /etc/sysupgrade.conf and /etc/firewall.user. If I compare a working build and a non working build, I see a differen

Re: [LEDE-DEV] build problem of e2fsprogs (libext2fs)

2017-02-11 Thread e9hack
Am 11.02.2017 um 08:56 schrieb e9hack: > Afterwards > I do a 'make clean; make' for package e2fsprogs only and copy > libext2fs.so.2.4 to the router. Now fcsk.ext4 can be > execute. The size of the not working version of libext2fs.so.2.4 is 257168 > bytes and size

[LEDE-DEV] build problem of e2fsprogs (libext2fs)

2017-02-10 Thread e9hack
Hi, libext2fs has a build problem. If anything is compiled newly after a make distclean or after deleting the folders bin, build_dir, staging_dir and tmp, libext2fs contains a reference to libc with the full path of the build system. If I execute fsck.ext4 on the router: root@WLAN-DSL8:~# fsck.

Re: [LEDE-DEV] initialisation/startup of dnsmasq for multiple instances is broken

2017-02-03 Thread e9hack
Am 03.02.2017 um 04:45 schrieb Eric Luehrsen: > Precisely, > what are you expecting and what isnt happening? Could you cut n paste > snippets from uci and conf as examples? my dhcp config file looks like this: config dnsmasq 'main' option nonwildcard '1' option ... conf

[LEDE-DEV] initialisation/startup of dnsmasq for multiple instances is broken

2017-02-02 Thread e9hack
Hi, the commit 9525743c076393336cd2129539c974f8a01c7894, dnsmasq: make DHCPv6 viable for standalone dnsmasq install breaks the possibility to run multiple instances of dnsmasq. The option instance is ignored to generate the dhcp-range definition for different instances. Please fix this issue.

[LEDE-DEV] failed to find a module named netdev-*

2017-02-02 Thread e9hack
Hi, since some days, the syslog of my router is floated by this lines: Wed Feb 1 19:10:24 2017 daemon.err modprobe: failed to find a module named netdev-* If it occurs, between 500 and 1500 lines will be stored. The name is ether continuously netdev-* or it cycles through netdev-ath0, netdev-

[LEDE-DEV] libext2fs

2016-12-12 Thread e9hack
Hi, libext2fs has a build problem. If I execute fsck.ext4, I get the following error message: root@WLAN-DSL8:~# fsck.ext4 Error loading shared library /home/hb/src/openwrt/LEDE/archer-C7/staging_dir/target-mips_74kc_musl-1.1.15/root-ar71xx/lib/libc.so: No such file or directory (needed by /usr/

Re: [LEDE-DEV] Kernel Oops / panic

2016-12-12 Thread e9hack
Kernel panic - not syncing: Fatal exception in interrupt [ 6657.944910] Rebooting in 3 seconds.. Regards, Hartmut Am 08.12.2016 um 17:14 schrieb e9hack: > Hi, > > I'm using a TP-Link Archer C7 (Atheros AR7xxx/AR9xxx). Since my build from > 4.12.2016 ~12:00, the kernel crashes after

Re: [LEDE-DEV] Kernel Oops / panic

2016-12-08 Thread e9hack
. > > John > > On 08/12/2016 17:14, e9hack wrote: >> Hi, >> >> I'm using a TP-Link Archer C7 (Atheros AR7xxx/AR9xxx). Since my build from >> 4.12.2016 ~12:00, the kernel crashes after >> 2..4 hours: >> >> [ 155.440310] pppoe-w

[LEDE-DEV] Kernel Oops / panic

2016-12-08 Thread e9hack
Hi, I'm using a TP-Link Archer C7 (Atheros AR7xxx/AR9xxx). Since my build from 4.12.2016 ~12:00, the kernel crashes after 2..4 hours: [ 155.440310] pppoe-wan: renamed from ppp0 [ 6727.257095] CPU 0 Unable to handle kernel paging request at virtual address 0104, epc == 868c1310, ra == 868c1

[LEDE-DEV] hostapd: 420-indicate-features.patch

2016-09-18 Thread e9hack
Hi, 420-indicate-features.patch doesn't work for hostapd full. The Makefile in hostapd-full/hostapd--xx-xx/hostapd doesn't define IEEE8021X_EAPOL or IEEE80211N depend on configuration. Luci usese 'hostapd -veap' to check if an external radius server is supported. It will be evaluate only, if

Re: [LEDE-DEV] TP-Link Archer C7 boot loop

2016-08-22 Thread e9hack
Am 22.08.2016 um 22:30 schrieb Jochen Demmer: > I've been trying for 2 hours straight to unbrick via serial, using a prolific > pl2303 > adapter but without success. I'm using a prolific pl2303 too. I did bye it at reichelt.de. > I tried screen, picocom and minicom. I tried Apple's terminal emul

Re: [LEDE-DEV] TP-Link Archer C7 boot loop

2016-08-21 Thread e9hack
Am 20.08.2016 um 23:35 schrieb Jochen Demmer: > yesterday I bricked an Archer C7 v2 by installing some homebrew (buildroot) > lede firmware. > It got stuck in a boot loop and it's also not reachable on 192.168.1.1 on any > time during > boot whatsoever. No failsafe mode. Archer C7 v2 can be un-b

[LEDE-DEV] luci-mod-admin-full

2016-07-31 Thread e9hack
Hi, Network->Diagnostics produces the following error if the diag section in luci configuration doesn't exist: XML Parsing Error: not well-formed Location: https://wlan-dsl8.lan/cgi-bin/luci/admin/network/diagnostics Line Number 111, Column 1: 500 Internal Server Error ^ IMHO, luci shall use de

Re: [LEDE-DEV] dnsmasq

2016-07-30 Thread e9hack
Am 29.07.2016 um 21:03 schrieb Felix Fietkau: > On 2016-07-29 20:46, e9hack wrote: >> new: >> interface=br-lan >> interface=eth1.3 >> interface=br-guest1 >> interface=br-guest2 >> interface=br-tor >> except-interface= >> except-interface=

Re: [LEDE-DEV] dnsmasq

2016-07-29 Thread e9hack
Am 29.07.2016 um 21:03 schrieb Felix Fietkau: >> I'm not sure, if br-guest1 or guest1 is correct. The bridge interface >> br-guest1 contains a >> wifi network only, which is setup by 'option network guest1' wireless >> configuration. >> ifconfig shows br-guest1. The same is valid for br-guest2 an

Re: [LEDE-DEV] dnsmasq

2016-07-29 Thread e9hack
Am 29.07.2016 um 19:52 schrieb Felix Fietkau: > On 2016-07-29 18:48, e9hack wrote: >> dhcp.dnsmasq is include via /etc/dnsmasq.conf. Configuration isn't simple. > Pushed two more fixes. Please test again. Name resolution on br-lan works, but some entries in /var/etc/dnsmasq.co

Re: [LEDE-DEV] dnsmasq

2016-07-29 Thread e9hack
um 18:09 schrieb Felix Fietkau: > On 2016-07-29 17:43, e9hack wrote: >> Hi, >> >> something in this updates is wrong: >> dnsmasq: replace the iface hotplug script with a procd trigger >> dnsmasq: make the check for existing DHCP servers more reliable >> dnsmasq

Re: [LEDE-DEV] dnsmasq

2016-07-29 Thread e9hack
' list dns 'fec0:0:0:::1' list dns 'fec0:0:0:::2' option ndp 'server' config dhcp 'wan' option interface 'wan' option ignore '1' config dhcp 'vlan8' option interface '

[LEDE-DEV] dnsmasq

2016-07-29 Thread e9hack
Hi, something in this updates is wrong: dnsmasq: replace the iface hotplug script with a procd trigger dnsmasq: make the check for existing DHCP servers more reliable dnsmasq: write atomic config file In /var/etc/dnsmasq.conf the entry interface=br-lan is set as interface=eth1.1 tap0 tun2 an

Re: [LEDE-DEV] preinit of ip address doesn't work

2016-07-25 Thread e9hack
Am 25.07.2016 um 07:53 schrieb John Crispin: > On 24/07/2016 14:50, e9hack wrote: >> Hi, >> >> preinit of ip address during build doesn't work. If I ping to a booting >> router after >> sysupgrade without restoring the old configuration, the configured ip

[LEDE-DEV] preinit of ip address doesn't work

2016-07-24 Thread e9hack
Hi, preinit of ip address during build doesn't work. If I ping to a booting router after sysupgrade without restoring the old configuration, the configured ip address is visible for 3 seconds only. In /etc/config/network the address is set to 192.168.1.1. It seems, that the pre-configured ip ad

Re: [LEDE-DEV] flash issue

2016-07-23 Thread e9hack
Hi, I did try to find the reason for my problem with jffs2. It seems, it is triggered by deleting /sysupgrade.tgz by /etc/init.d/done. If I remove the rm -f /sysupgrade.tgz line completely and delete the file later, I've no issue. I enabled some debug messages and add a line to /etc/init.d/done

[LEDE-DEV] ledtrig-usbdev

2016-07-22 Thread e9hack
Hi, something seems to be wrong with this two commits: kernel: remove obsolete patch adding usb_find_device_by_name ledtrig-usbdev: use upstream function for iterating USB devices If a TP-Link WDR3600 or Archer-C7 router boots with a connected USB stick, this error does occur: [ 43.572609] -

Re: [LEDE-DEV] flash issue

2016-07-21 Thread e9hack
Am 21.07.2016 um 21:53 schrieb e9hack: >> 2) You should not see the jffs2 "complete build" message twice. It's showing >> 2 different >> process ids also. You need to check what you've added to make this code run >> twice. The >> later error

Re: [LEDE-DEV] flash issue

2016-07-21 Thread e9hack
Am 21.07.2016 um 16:33 schrieb Conor O'Gorman: > 1) Your rootfs is quite large compared to standard build. You have presumably > added a lot > of packages. Or there is something messed up. This is ok. I add many things (hostapd with built-in radius, samba, openvpn, collectd, luci, tor, php, mc).

Re: [LEDE-DEV] flash issue

2016-07-21 Thread e9hack
Hi, I did flash several different images to my WDR3600 router. In the partition size detection, I don't see any major differences. An image from OpenWRT shows the same error at the first boot, but for some reason it doesn't overwrite files at the second boot. One major difference exist between m

Re: [LEDE-DEV] flash issue

2016-07-20 Thread e9hack
Am 20.07.2016 um 20:59 schrieb e9hack: > The message comes from the second entry of this message in > linux-4.4.15/fs/jffs2/read.c. That's wrong. The code is located in erase.c in the same directory. Regards, Hartmut ___ Lede-dev mailin

[LEDE-DEV] flash issue

2016-07-20 Thread e9hack
Hi, I've some trouble to update my router. It is a TP-Link WDR3600 with an increased flash (16MB instead of 8MB). If I update the router, I get very often a message after the first reboot like this: [ 62.840041] jffs2: Newly-erased block contained word 0x19852003 at offset 0x If an

Re: [LEDE-DEV] wrong switch configuration

2016-07-19 Thread e9hack
Hi, it's my fault. The image contains 02_network and 02_network.orig in /etc/board.d. I did add TP-Link WR802N to the build tree. For pull, sometimes I've to revert my changes and apply the patches afterwards again. This did generate some *.orig and *.rej files. The build script copies the whol

[LEDE-DEV] wrong switch configuration

2016-07-18 Thread e9hack
Hi, I'm using a modified TP-Link wdr3600 router. Flash is replaced by by a 16MB type. I update the build system for the larger flash. I'm using this configuration since 2014 without any problems (previously with OpenWrt, now with Lede). Currently I've problems with the generated images. If I'm