OpenWrt/LEDE Project

Welcome to the OpenWrt/LEDE Project bug reporting and issue tracking system

Problems to be reported here are for the OpenWrt/LEDE Project targets, sources, toolchain, core packages, build procedures, distribution and infrastructure. Guidelines for submitting a good bug report can be found at the OpenWrt/LEDE Project website. Problems related to LuCI or OpenWrt packages need to be reported in their repositories:

Notifications of all submissions and task changes are sent to lede-bugs@infradead.org.

OpenedIDCategory  ascTask TypePrioritySeveritySummaryReported InStatus
06.02.2017472Base systemBug ReportVery LowMedium6to4 support with 1:1 natTrunkWaiting on reporter Task Description

One-to-one NAT means you have LAN address on interface and its mapped 1:1 to external ip addresses.
You can have incoming connections.

In such configuration “ipaddr” must be specified in 6to4 protocol section.
But due to bug this addr is submitted as local address for tunnel creation.
It does not work.

I fixed this with the following patch to /lib/netifd/proto/6to4.sh

48,53c48,53
< [ -z “$ipaddr” ] && {
< if ! network_get_ipaddr ipaddr “$wanif”; then
< proto_notify_error “$cfg” “NO_WAN_ADDRESS” < return
< fi
< }

if ! network_get_ipaddr ipladdr “$wanif”; then
> proto_notify_error “$cfg” “NO_WAN_ADDRESS”
return
> fi
>
> [ -z “$ipaddr” ] && ipaddr=$ipladdr
76c76
< json_add_string local “$ipaddr”

json_add_string local “$ipladdr”

I suggest you integrate this patch or do something similar yourself.

09.02.2017488Base systemBug ReportVery LowMediumdynamic VLAN doesn't work on ath10kopenwrt-19.07Unconfirmed Task Description

Dynamic vlan config on ath10k seems not to work. Same config on ath9k works fine.

Config:

config wifi-device  radio0
        option type     mac80211
        option channel  36
        option hwmode   11a
        option path     'pci0000:01/0000:01:00.0'
        option htmode   VHT80
[...]

config wifi-iface
        option device   radio0
        option network  vlan1
        option mode     ap
[...]
        option dynamic_vlan     '1'
        option 'vlan_tagged_interface' 'eth1'
        option 'vlan_bridge' 'br-vlan'
        option 'vlan_naming' '0'

Log:

Thu Feb  9 15:54:37 2017 daemon.err hostapd: WPA initialization for VLAN 1 failed (-1)
Thu Feb  9 15:54:37 2017 daemon.err hostapd: WPA deinit of wlan0.1 failed
Thu Feb  9 15:54:37 2017 daemon.debug hostapd: wlan0: STA ac:22:0b:a1:c7:6b IEEE 802.11: could not add dynamic VLAN interface for vlan=1
13.02.2017506Base systemBug ReportVery LowMediumBT Home Hub 5: 5g WiFi jumps to channel 36 and stops wo...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on BT Home Hub 5
- Software versions of LEDE release, packages, r3425-f28eef4 and previous versions
- Steps to reproduce

It can be after a few hours, if WiFi 5g radio0 Qualcomm Atheros QCA9880 802.11nac (radio0) is configured to a Band B channel, it jumps to Channel 36 even though there is no apparent interference.
This appears to happen more frequently overnight during long periods of inactivity. Whilst the device is being used it does not happen.

After it does make the jump, if I stop and restart the device (using luci disable/enable) the device stops, but it fails to restart. Attempts to change the channel and re-enable the device also do not help.

It requires a reboot to restore service.

 


05.03.2017599Base systemBug ReportVery LowMediumHame MPR-A2 switch has unknown topologyTrunkUnconfirmed Task Description

Vlan don’t work.


10.03.2017614Base systemBug ReportVery LowMedium/usr/lib/lua/luci/util.lua:623: Unable to establish ubu...TrunkUnconfirmed Task Description

when save&apply on system>mount luci always crash
error message:
/usr/lib/lua/luci/util.lua:623: Unable to establish ubus connection
stack traceback:

[C]: in function 'assert'
/usr/lib/lua/luci/util.lua:623: in function 'ubus'
/usr/lib/lua/luci/dispatcher.lua:347: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:141: in function </usr/lib/lua/luci/dispatcher.lua:140>
 


17.03.2017634Base systemBug ReportMediumMediumFactory flashing fails because LEDE filename is too lon...AllNew Task Description

On a TP-Link TL-WR841N v11, flashing LEDE from the web interface of the stock firmware is not possible.

This is caused by a stupid check that refuses filename longer than 64 chars in the web interface. The check is implemented in javascript and returns a cryptic error message like “Please select a file to upload”, as if no file was selected.

The current naming scheme is quite long:

$ echo ‘lede-17.01.0-r3205-59508e3-ar71xx-generic-tl-wr841-v11-squashfs-factory-eu.bin’ | wc -c
79

Shortening the name like the following would decrease the length below 64 chars, and leave some space for a custom suffix (e.g. using EXTRA_IMAGE_NAME in the Imagebuilder):

$ echo ‘lede-17.01.0-ar71xx-tlwr841v11-squashfs-factory-eu.bin’ | wc -c
55

30.03.2017666Base systemBug ReportVery LowMedium"Wireless is disabled or not associated" when channel m...AllUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on Banana Pi R1
- Software versions: all

When I set the channel mode to “auto”, then the message appears “Wireless is disabled or not associated” and the WLAN does’nt work.
I set the channel manually, then WLAN works fine.

The problem is already known with OpenWrt:
https://dev.openwrt.org/changeset/32630


08.04.2017692Base systemBug ReportMediumMediumWLAN AP not working on RasPi (bcm2710 target)TrunkAssigned Task Description

When flashing the brcm2708 / bcm2710 target the WiFi interface gets stuck in “client mode” and the AP will not be able to be brought up.

Some screenshots and a load of discussion here:
https://forum.lede-project.org/t/ap-mode-radio0-in-raspi-3-always-acts-as-a-client-shows-as-wlan0-in-luci/2885

Two more days of tinkering, wifi-up’ing and -down’ing did not bring me further.
I flashed another Pi3 (to exclude a hardware defect) with the same result.

I tried latest snapshot and stable images.
I am happy to help debug – tell me what you need me to do.

Greetings,
–Thomas

03.05.2017752Base systemBug ReportVery LowMediummtk7688 radio in client mode throwing kernel stack trac...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

AsiaRF AWM688, based on the mtk7688 SoC, similar to the LinkIt 7688

- Software versions of LEDE release, packages, etc.

current HEAD (21c2e93e67bc44c1b72dbbe2dc9f9451d44f81a0)

- Steps to reproduce

Put your wifi interface into station mode, with something like this:

uci set wireless.@wifi-iface[0].mode=sta
uci set wireless.@wifi-iface[0].network=wan
uci set wireless.@wifi-iface[0].ssid="<yournetworkssid>"
uci set wireless.@wifi-iface[0].encryption=<yournetworkencryption>
uci set wireless.@wifi-iface[0].key=<yournetworkkey>
uci set network.wan.ifname=''
uci commit wireless
uci commit network
/etc/init.d/network restart

The stack traces look like this:

[  381.712245] ------------[ cut here ]------------
[  381.721603] WARNING: CPU: 0 PID: 0 at compat-wireless-2017-01-31/net/mac80211/tx.c:4230 ieee80211_csa_is_complete+0x4d4/0x668 [mac80211]()
[  381.746243] Modules linked in: pppoe ppp_async snd_usb_audio pppox ppp_generic pl2303 nf_conntrack_ipv6 mmc_spi iptable_nat ipt_REJECT ipt_MASQUERADE ftdi_sio cp210x ch341 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG usbserial usbmon ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda spidev snd_usbmidi_lib slhc pwm_mediatek of_mmc_spi nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc7 crc_itu_t crc_ccitt snd_soc_simple_card snd_soc_ralink_i2s snd_soc_wm8960 i2c_mt7621 snd_soc_core ralink_gdma virt_dma mt76x2e mt7603e i2c_dev mt76 mac80211 cfg80211 compat ledtrig_oneshot ledtrig_heartbeat ledtrig_gpio ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables snd_pcm_dmaengine snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd input_core soundcore vfat fat nls_utf8 nls_iso8859_1 nls_cp437 regmap_spi regmap_mmio regmap_i2c i2c_core regmap_core lzo_decompress lzo_compress mmc_block usb_storage mtk_sd mmc_core leds_gpio ohci_platform ohci_hcd ledtrig_transient ehci_platform sd_mod scsi_mod ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[  381.997790] CPU: 0 PID: 0 Comm: swapper Tainted: G        W       4.4.61 #0
[  382.011576] Stack : 8035bff4 00000000 00000001 803a0000 803a10dc 803a0d63 8033d94c 00000000
          803f3438 8380de90 00000000 82d2b630 00000001 8004ae6c 80342e54 803a0000
          00000003 8380de90 80341258 8380dd74 00000001 80048dd8 83012b40 00000000
          8039fe50 00000000 00000000 00000000 00000000 00000000 00000000 00000000
          00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
          ...
[  382.082022] Call Trace:
[  382.086872] [<8001486c>] show_stack+0x50/0x84
[  382.095501] [<8002544c>] warn_slowpath_common+0xa0/0xd0
[  382.105857] [<80025504>] warn_slowpath_null+0x18/0x24
[  382.115987] [<832aa34c>] ieee80211_csa_is_complete+0x4d4/0x668 [mac80211]
[  382.129537] 
[  382.132479] ---[ end trace cedc8f2cca6a57da ]---
[  448.821439] ------------[ cut here ]------------
[  448.830796] WARNING: CPU: 0 PID: 0 at compat-wireless-2017-01-31/net/mac80211/tx.c:4230 ieee80211_csa_is_complete+0x4d4/0x668 [mac80211]()
[  448.855431] Modules linked in: pppoe ppp_async snd_usb_audio pppox ppp_generic pl2303 nf_conntrack_ipv6 mmc_spi iptable_nat ipt_REJECT ipt_MASQUERADE ftdi_sio cp210x ch341 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG usbserial usbmon ums_usbat ums_sddr55 ums_sddr09 ums_karma ms_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda spidev snd_usbmidi_lib slhc pwm_mediatek of_mmc_spi nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc7 crc_itu_t crc_ccitt snd_soc_simple_card snd_soc_ralink_i2s snd_soc_wm8960 i2c_mt7621 snd_soc_core ralink_gdma virt_dma mt76x2e mt7603e i2c_dev mt76 mac80211 cfg80211 compat ledtrig_oneshot ledtrig_heartbeat ledtrig_gpio ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables snd_pcm_dmaengine snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd input_core soundcore vfat fat nls_utf8 nls_iso8859_1 nls_cp437 regmap_spi regmap_mmio regmap_i2c i2c_core regmap_core lzo_decompress lzo_compress mmc_block usb_storage mtk_sd mmc_core leds_gpio ohci_platform ohci_hcd ledtrig_transient ehci_platform sd_mod scsi_mod ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[  449.106963] CPU: 0 PID: 0 Comm: swapper Tainted: G        W       4.4.61 #0
[  449.120752] Stack : 8035bff4 00000000 00000001 803a0000 803a10dc 803a0d63 8033d94c 00000000
          803f3438 8380de90 00000000 82d2b630 00000001 8004ae6c 80342e54 803a0000
          00000003 8380de90 80341258 8380dd74 00000001 80048dd8 831a7852 00000000
          8039fe50 00000000 00000000 00000000 00000000 00000000 00000000 00000000
          00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
          ...
[  449.191202] Call Trace:
[  449.196044] [<8001486c>] show_stack+0x50/0x84
[  449.204680] [<8002544c>] warn_slowpath_common+0xa0/0xd0
[  449.215034] [<80025504>] warn_slowpath_null+0x18/0x24
[  449.225170] [<832aa34c>] ieee80211_csa_is_complete+0x4d4/0x668 [mac80211]
[  449.238722] 
[  449.241679] ---[ end trace cedc8f2cca6a57db ]---

The line number is a bit off, but it looks like maybe ieee80211_csa_is_complete is complaining because vif→type == station mode isn’t handled. I don’t know what “csa” means here.

16.05.2017788Base systemBug ReportVery LowMediumMQMaker WiTi 5ghz interface does not workAllUnconfirmed Task Description

Supply the following if possible:
- MQMaker WiTi
- All released LEDE versions
- enable the 5ghz interface. LEDE reports that it’s up and running but it isn’t.

I tried 3 builds.

LEDE trunk - fail
LEDE 17.01.0 - fail
OpenWRT trunk - works.

Something broke in the mt76 driver between OpenWRT trunk and LEDE final.

AFAIK it’s after the bug fix to packet injection.

 


20.06.2017858Base systemBug ReportVery LowMediumInstalling bind / named will cause resolving names fail...TrunkUnconfirmed Task Description

Device TP-LINK MR-3220 v2.1 and 2.3 and 2.4 tested, LEDE 17.01.1 version.

After installing bind-server, setting “option port ‘0’” for dnsmasq (to disable DNS configuration) and using provided named.conf file (below), resolution of domain names to IP addresses breaks down.

I was able to track down the problem. There is race condition in bringing interfaces up, starting nptd service and named service, resulting in:
* named service beeing unable to open sockets and/or
* ntpd service beeing unable to connect to ntp pool and set router time correctly and/or
* incorrect time setting causes dnssec of named to reject proper answers for dns resolving.

With no named installed, the dnsmasq itself often starts too early, but this is masked by it beeing reinitialized on lan interface up event.

This is a known openwrt problem, the workaround is described here: https://dev.openwrt.org/ticket/19427 and involves creating a “netwait” service. I have tested this workaround and confirmed it works, however it is not nice.

Here my named.conf:

This is the primary configuration file for the BIND DNS server named. acl locals {
localhost;
10.10.10/24;
}; options {
directory “/tmp”; forwarders {
8.8.8.8;
8.8.4.4;
}; recursion yes;
allow-query { locals; }; dnssec-validation auto;
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { none; };
listen-on { 127.0.0.1; 10.10.10.10; };
};
prime the server with knowledge of the root servers
zone “.” {

type hint;
file "/etc/bind/db.root";

};

be authoritative for the localhost forward and reverse zones, and for
broadcast zones as per RFC 1912

zone “localhost” {

type master;
file "/etc/bind/db.local";

};

zone “127.in-addr.arpa” {

type master;
file "/etc/bind/db.127";

};

zone “0.in-addr.arpa” {

type master;
file "/etc/bind/db.0";

};

zone “255.in-addr.arpa” {

type master;
file "/etc/bind/db.255";

};

 


28.06.2017873Base systemBug ReportVery LowMediumproblems of mt7628 wifi driver on miwifi nanoAllUnconfirmed Task Description

I started using lede on my miwifi nano since the release of version 17.01.1. All function works well except its wireless function.

What makes it a problem is its stability. After a random period of time(ranging from a quarter of an hour to half of a day), it suddenly disconnected. If you try to reconnect, my device shows something like “setting the network address”(varing from devices to devices). After reboot, I found something like “deauthenticated due to inactivity (timer DEAUTH/REMOVE)”. Unfortunately, I haven’t found a way to reproduce the problem till now.

I thought there might be bugs on its wireless driver because on another firmware(http://downloads.pandorabox.com.cn/pandorabox/Xiaomi-Mini-R1CL/firmware/PandoraBox-ralink-mt7628-xiaomi-r1cl-squashfs-sysupgrade-r1752-20151201.bin) which is a variant of Openwrt, it works well.

There are many other problems like the inability to set channel to auto and the txpower option is of no use. But for my daily use, they may not so important compared to the connectivity problem.

Sorry for my bad English and thank you for fixing it.

11.08.2017954Base systemBug ReportVery LowMediumIGMP queries redirected to CPU port when snooping enabl...AllUnconfirmed Task Description

The Netgear R7800 has a QCA8337N switch chip, and the CPU has two interfaces (eth0/port 0 and eth1/port 6) connected to the switch. The default in LEDE is that WAN is on port0/eth0, and LAN is on port6/eth1.

When using multicast, it is often desirable to enable IGMP snooping on the switch to avoid flooding the multicast stream to all ports. A multicast server will normally send IGMP general queries to the all hosts address 224.0.0.1 at a regular interval (every few minutes) to check if there are still clients that wants to receive the multicast.

However, when IGMP snooping is enabled on this device, these queries are all redirected to port 0 on the switch, which is a problem if the multicast server is within the LAN. In this scenario, the server sends queries, but these queries are not being broadcast to the clients within the LAN, instead they end up at port 0 (eth0) where they are not needed. The server will then receive no responses to the queries, and subsequently times out and stops the stream multicast.

I think I found a viable fix for this, which is to set bit 3 (IGMP_COPY_EN) of the GLOBAL_FW_CTRL0 register in the switch chip to 1. This causes the IGMP queries to be broadcast on all switch ports (provided they are members of the same VLAN), instead of being redirected only to port 0. In my testing, I have found no adverse effects from this change.

I have attached a patch for this change, to make testing easy:

Assuming that the LAN interface is br-lan, run tcpdump on the router and inject IGMP general queries from a computer in the LAN, for example using Ostinato. With IGMP snooping off, the query is seen on br-lan:

root@R7800:/# tcpdump -i br-lan igmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on br-lan, link-type EN10MB (Ethernet), capture size 262144 bytes
11:47:06.832511 IP 192.168.20.1 > all-systems.mcast.net: igmp query v2

If IGMP snooping is turned on (globally or for the port where the query is received), then the query no longer appears at br-lan,
but instead only on eth0. Applying the attached patch fixes this.

02.09.2017996Base systemBug ReportVery LowMediumAt boot /etc/hotplug scripts are not triggered by kerne...AllUnconfirmed Task Description

At boot /etc/hotplug.d scripts are not triggered by kernel events.
If we have a HDD/usb printer atached to an usb port, at boot, those scripts are not executed. However when we add/remove it later, after boot those scripts are executed properly.

Same problem as here:

https://dev.openwrt.org/ticket/18116

I am using this hotplug script:

https://www.all4os.com/router/add-multiple-usb-printers-to-openwrt-firmware-router-via-p910nd-using-hotplug.html

27.09.20171020Base systemBug ReportVery LowMediumMikrotik RB493G AR8316 switch0/ETH0 cannot be managed AllUnconfirmed Task Description

Exists on OpenWRT 14 and 15, LEDE 17 and Trunk

The behaviour is identical to issues reported on RB951G and RB2011 models.

See historical details:
https://github.com/openwrt/openwrt/issues/352 https://lists.openwrt.org/pipermail/openwrt-devel/2014-December/030216.html

I have been able to work around the issue by cross-connecting the PoE/WAN port to switch0 LAN4 and turning off eth0 CPU. This allows me to use all remaining ports. It’s a horrible kludge, I’m only mentioning it as a temporary workaround.

31.10.20171133Base systemBug ReportVery LowMediumCan't set channels 12 and 13 on Raspberry Pi 3 in AP co...AllUnconfirmed Task Description

It is not possible to set up channel 12/13 on Raspberry Pi 3 in Wifi AP configuration. I get error “brcmfmac: brcmf_cfg80211_start_ap: Set Channel failed: chspec=4109, -20”.
Tested on 17.01.1 and latest snapshot (r5217-098afa1).
PS Raspbian works properly on 13 channel as AP.

Logs:

root@LEDE:~# uci show wireless
wireless.radio0=wifi-device
wireless.radio0.type='mac80211'
wireless.radio0.hwmode='11g'
wireless.radio0.path='platform/soc/3f300000.mmc/mmc_host/mmc1/mmc1:0001/mmc1:0001:1'
wireless.radio0.htmode='HT20'
wireless.radio0.disabled='0'
wireless.radio0.country='PL'
wireless.radio0.channel='11'
wireless.default_radio0=wifi-iface
wireless.default_radio0.device='radio0'
wireless.default_radio0.network='lan'
wireless.default_radio0.mode='ap'
wireless.default_radio0.ssid='Dantooine'
wireless.default_radio0.encryption='psk2'
wireless.default_radio0.key='secret'

root@LEDE:~# wifi
[  828.291269] device wlan0 left promiscuous mode
[  828.301579] br-lan: port 2(wlan0) entered disabled state
[  830.594037] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  830.608333] br-lan: port 2(wlan0) entered blocking state
[  830.619697] br-lan: port 2(wlan0) entered disabled state
[  830.631336] device wlan0 entered promiscuous mode
[  830.911507] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  830.924197] br-lan: port 2(wlan0) entered blocking state
[  830.935606] br-lan: port 2(wlan0) entered forwarding state

root@LEDE:~# uci set wireless.radio0.channel=13
root@LEDE:~# uci commit wireless
root@LEDE:~# wifi
[  913.551274] device wlan0 left promiscuous mode
[  913.561751] br-lan: port 2(wlan0) entered disabled state
[  915.854693] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  915.869110] br-lan: port 2(wlan0) entered blocking state
[  915.880481] br-lan: port 2(wlan0) entered disabled state
[  915.892046] device wlan0 entered promiscuous mode
[  916.080443] brcmfmac: brcmf_cfg80211_start_ap: Set Channel failed: chspec=4109, -20
[  916.131249] device wlan0 left promiscuous mode
[  916.142014] br-lan: port 2(wlan0) entered disabled state
[  927.997654] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  928.012458] br-lan: port 2(wlan0) entered blocking state
[  928.024440] br-lan: port 2(wlan0) entered disabled state
[  928.036703] device wlan0 entered promiscuous mode
[  928.222287] brcmfmac: brcmf_cfg80211_start_ap: Set Channel failed: chspec=4109, -20
[  928.301237] device wlan0 left promiscuous mode
[  928.312608] br-lan: port 2(wlan0) entered disabled state

root@LEDE:~# uci set wireless.radio0.channel=11
root@LEDE:~# uci commit wireless
root@LEDE:~# wifi
[  990.032785] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  990.048153] br-lan: port 2(wlan0) entered blocking state
[  990.060246] br-lan: port 2(wlan0) entered disabled state
[  990.072619] device wlan0 entered promiscuous mode
[  990.351670] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  990.365070] br-lan: port 2(wlan0) entered blocking state
[  990.377132] br-lan: port 2(wlan0) entered forwarding state
[ 1000.491313] device wlan0 left promiscuous mode
[ 1000.502769] br-lan: port 2(wlan0) entered disabled state
[ 1002.676007] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1002.691453] br-lan: port 2(wlan0) entered blocking state
[ 1002.703651] br-lan: port 2(wlan0) entered disabled state
[ 1002.716135] device wlan0 entered promiscuous mode
[ 1003.093512] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 1003.107183] br-lan: port 2(wlan0) entered blocking state
[ 1003.119522] br-lan: port 2(wlan0) entered forwarding state

root@LEDE:~# iw list
Wiphy phy0
	max # scan SSIDs: 10
	max scan IEs length: 2048 bytes
	max # sched scan SSIDs: 16
	max # match sets: 16
	max # scan plans: 1
	max scan plan interval: 508
	max scan plan iterations: 0
	Retry short limit: 7
	Retry long limit: 4
	Coverage class: 0 (up to 0m)
	Device supports T-DLS.
	Available Antennas: TX 0 RX 0
	Supported interface modes:
		 * IBSS
		 * managed
		 * AP
		 * P2P-client
		 * P2P-GO
		 * P2P-device
	Band 1:
		Capabilities: 0x1020
			HT20
			Static SM Power Save
			RX HT20 SGI
			No RX STBC
			Max AMSDU length: 3839 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 16 usec (0x07)
		HT TX/RX MCS rate indexes supported: 0-7
		Frequencies:
			* 2412 MHz [1] (20.0 dBm)
			* 2417 MHz [2] (20.0 dBm)
			* 2422 MHz [3] (20.0 dBm)
			* 2427 MHz [4] (20.0 dBm)
			* 2432 MHz [5] (20.0 dBm)
			* 2437 MHz [6] (20.0 dBm)
			* 2442 MHz [7] (20.0 dBm)
			* 2447 MHz [8] (20.0 dBm)
			* 2452 MHz [9] (20.0 dBm)
			* 2457 MHz [10] (20.0 dBm)
			* 2462 MHz [11] (20.0 dBm)
			* 2467 MHz [12] (20.0 dBm)
			* 2472 MHz [13] (20.0 dBm)****
			* 2484 MHz [14] (disabled)
	valid interface combinations:
		 * #{ managed } <= 1, #{ P2P-device } <= 1, #{ P2P-client, P2P-GO } <= 1,
		   total <= 3, #channels <= 1
		 * #{ managed } <= 1, #{ AP } <= 1, #{ P2P-client } <= 1, #{ P2P-device } <= 1,
		   total <= 4, #channels <= 1
03.11.20171143Base systemBug ReportVery LowMediummac80211 kernel dumpTrunkUnconfirmed Task Description

- Hardware:
BT Homehub 5 Type A

- Software:
LEDE Reboot (SNAPSHOT, r5217-098afa1)

- Packages:

# opkg list-installed | xargs
6rd - 9-3 ath10k-firmware-qca988x - 2017-03-29-956e2609-1 base-files - 176-r5217-098afa1 block-mount - 2017-07-31-8ab4fda6-1 br2684ctl - 2.5.2-5 bspatch - 4.3-1 busybox - 1.27.2-1 dnsmasq - 2.78-2 dropbear - 2017.75-4 dsl-vrx200-firmware-xdsl-a - 05.08.01.08.01.06_05.08.00.0B.01.01_osc-1 dsl-vrx200-firmware-xdsl-b-patch - 05.08.01.08.01.06_05.08.00.0B.01.01_osc-1 firewall - 2017-05-27-a4d98aea-1 fstools - 2017-07-31-8ab4fda6-1 fwtool - 1 hostapd-common - 2017-08-24-c2d4f2eb-4 ip6tables - 1.6.1-1 iptables - 1.6.1-1 iw - 4.9-1 jshn - 2017-09-29-632688e8-1 jsonfilter - 2016-07-02-dea067ad-1 kernel - 4.9.58-1-f4186ff9dee2227808b576b5989e829c kmod-ath - 4.9.58+2017-10-06-1 kmod-ath10k - 4.9.58+2017-10-06-1 kmod-ath9k - 4.9.58+2017-10-06-1 kmod-ath9k-common - 4.9.58+2017-10-06-1 kmod-atm - 4.9.58-1 kmod-cfg80211 - 4.9.58+2017-10-06-1 kmod-crypto-aead - 4.9.58-1 kmod-crypto-cmac - 4.9.58-1 kmod-crypto-crc32c - 4.9.58-1 kmod-crypto-hash - 4.9.58-1 kmod-crypto-manager - 4.9.58-1 kmod-crypto-null - 4.9.58-1 kmod-crypto-pcompress - 4.9.58-1 kmod-fs-ext4 - 4.9.58-1 kmod-fs-ntfs - 4.9.58-1 kmod-fs-vfat - 4.9.58-1 kmod-fuse - 4.9.58-1 kmod-gpio-button-hotplug - 4.9.58-2 kmod-ifb - 4.9.58-1 kmod-ip6tables - 4.9.58-1 kmod-ipt-conntrack - 4.9.58-1 kmod-ipt-conntrack-extra - 4.9.58-1 kmod-ipt-core - 4.9.58-1 kmod-ipt-ipopt - 4.9.58-1 kmod-ipt-ipset - 4.9.58-1 kmod-ipt-nat - 4.9.58-1 kmod-iptunnel - 4.9.58-1 kmod-iptunnel4 - 4.9.58-1 kmod-leds-gpio - 4.9.58-1 kmod-lib-crc-ccitt - 4.9.58-1 kmod-lib-crc16 - 4.9.58-1 kmod-ltq-atm-vr9 - 4.9.58-2 kmod-ltq-deu-vr9 - 4.9.58-1 kmod-ltq-ifxos - 4.9.58+1.5.19-2 kmod-ltq-ptm-vr9 - 4.9.58-1 kmod-ltq-vdsl-vr9 - 4.9.58+4.17.18.6-2 kmod-ltq-vdsl-vr9-mei - 4.9.58+1.5.17.6-3 kmod-mac80211 - 4.9.58+2017-10-06-1 kmod-nf-conntrack - 4.9.58-1 kmod-nf-conntrack6 - 4.9.58-1 kmod-nf-ipt - 4.9.58-1 kmod-nf-ipt6 - 4.9.58-1 kmod-nf-nat - 4.9.58-1 kmod-nfnetlink - 4.9.58-1 kmod-nls-base - 4.9.58-1 kmod-nls-cp437 - 4.9.58-1 kmod-nls-iso8859-1 - 4.9.58-1 kmod-nls-utf8 - 4.9.58-1 kmod-owl-loader - 4.9.58-1 kmod-ppp - 4.9.58-1 kmod-pppoa - 4.9.58-1 kmod-pppoe - 4.9.58-1 kmod-pppox - 4.9.58-1 kmod-sched-cake - 4.9.58+2017-01-28-9789742c-1 kmod-sched-connmark - 4.9.58-1 kmod-sched-core - 4.9.58-1 kmod-scsi-core - 4.9.58-1 kmod-sit - 4.9.58-1 kmod-slhc - 4.9.58-1 kmod-tun - 4.9.58-1 kmod-usb-core - 4.9.58-1 kmod-usb-dwc2 - 4.9.58-1 kmod-usb-ledtrig-usbport - 4.9.58-1 kmod-usb-storage - 4.9.58-1 kmod-usb-storage-extras - 4.9.58-1 lede-keyring - 2017-01-20-a50b7529-1 libblobmsg-json - 2017-09-29-632688e8-1 libbz2 - 1.0.6-3 libc - 1.1.16-1 libgcc - 5.5.0-1 libip4tc - 1.6.1-1 libip6tc - 1.6.1-1 libjson-c - 0.12.1-1 libjson-script - 2017-09-29-632688e8-1 libnl-tiny - 0.1-5 libpthread - 1.1.16-1 librt - 1.1.16-1 libubox - 2017-09-29-632688e8-1 libubus - 2017-02-18-34c6e818-1 libuci - 2017-09-29-5ad59ad4-1 libuclient - 2017-09-06-24d6eded-1 libxtables - 1.6.1-1 linux-atm - 2.5.2-5 logd - 2017-09-01-b1bc8d5f-1 ltq-vdsl-app - 4.17.18.6-1 mtd - 21 netifd - 2017-10-19-0f96606b-1 odhcp6c - 2017-09-05-51733a6d-4 odhcpd - 2017-09-16-f0bce9cd-1 opkg - 2017-07-28-4bd8601e-1 ppp - 2.4.7-12 ppp-mod-pppoa - 2.4.7-12 ppp-mod-pppoe - 2.4.7-12 procd - 2017-09-28-ee582d16-1 swconfig - 11 ubi-utils - 1.5.2-1 ubox - 2017-09-01-b1bc8d5f-1 ubus - 2017-02-18-34c6e818-1 ubusd - 2017-02-18-34c6e818-1 uci - 2017-09-29-5ad59ad4-1 uclient-fetch - 2017-09-06-24d6eded-1 usign - 2015-07-04-ef641914-1 wpad-mini - 2017-08-24-c2d4f2eb-4

- What happend:
Simply after two days of use the module dumps, the wireless seems to be functional.

   
[41236.705664] WARNING: CPU: 0 PID: 0 at backports-2017-10-06/net/mac80211/rx.c:629 ieee80211_rx_napi+0x254/0x95c [mac80211]
[41236.716503] Modules linked in: ath9k ath9k_common ath9k_hw ath10k_pci ath10k_core ath pppoe nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CLASSIFY ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda pppox ppp_async owl_loader nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache ltq_deu_vr9 iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat fuse sch_cake
[41236.787367]  act_connmark nf_conntrack act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress drv_dsl_cpe_api ledtrig_usbport drv_mei_cpe xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables pppoatm ppp_generic slhc ifb sit tunnel4 ip_tunnel tun vfat fat ntfs br2684 atm nls_utf8 nls_iso8859_1 nls_cp437 drv_ifxos cmac usb_storage dwc2 sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache crc32c_generic
[41236.857968] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.9.58 #0
[41236.863880] Stack : 00000000 00000000 806b804a 00000033 8042ca84 00000000 00000000 806b0000
[41236.872229]         8055dfac 8055dba7 804efd64 00000000 00000000 806b3d84 00000004 87285b58
[41236.880584]         00000000 80071fd8 00000001 806b0000 80563d04 80563d08 804f494c 87c0dd04
[41236.888940]         00000003 800af288 00000004 87285b58 00000000 80560000 00000001 87c0dd00
[41236.897296]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[41236.905652]         ...
[41236.908090] Call Trace:
[41236.910548] [<80010780>] show_stack+0x54/0x88
[41236.914912] [<801f4144>] dump_stack+0xd4/0x110
[41236.919352] [<8002f6b0>] __warn+0xe4/0x118
[41236.923431] [<8002f778>] warn_slowpath_null+0x1c/0x34
[41236.928587] [<87127328>] ieee80211_rx_napi+0x254/0x95c [mac80211]
[41236.934653] [<86e07c7c>] ath_rx_tasklet+0xca0/0xcec [ath9k]
[41236.940160] [<86e04fac>] ath9k_tasklet+0x188/0x224 [ath9k]
[41236.945651] [<80033ef4>] tasklet_action+0x140/0x234
[41236.950502] [<80033588>] __do_softirq+0x294/0x2e0
[41236.955201] [<8003387c>] irq_exit+0x7c/0x98
[41236.959377] [<80003194>] ltq_hw_irqdispatch+0xa8/0xe4
[41236.964433] [<8000aca8>] except_vec_vi_end+0xb8/0xc4
[41236.969389] [<8000c664>] r4k_wait_irqoff+0x18/0x20
[41236.974179] [<8006b1a4>] cpu_startup_entry+0xf4/0x150
[41236.979230] [<80578be0>] start_kernel+0x478/0x498
14.11.20171169Base systemBug ReportVery LowMediumTP-Link Archer C7 no Wan on intial bootupTrunkUnconfirmed Task Description

On initial bootup my Tp-Link Archer C7 v2 will not get a WAN address using the LEDE firmware. Although the cable is connected and there is a link light the WAN interfaces for v4 and v6 simply say “notconnected”. A manual disable/enable does not resolve the problem the only fix is a physical disconnect and reconnect of the ethernet cable to the WAN interface on the router.

Some other information.
This happens with my Comcast ISP via a cable modem pulling a dhcp and a IPv6-PD address. (Neither comes up)
The connection is a gigabit ethernet connection via a known good cable (tested via a Fluke cable tester).
I have tried multiple modems (Netgear, and 2 Motorola modems)

This happen with any version of LEDE I have tried.

18.11.20171177Base systemBug ReportVery LowMediumdnsmasq spams syslog on loss of WAN connectionTrunkNew Task Description

Supply the following if possible:
- Device problem occurs on

Observed on an APU2

- Software versions of LEDE release, packages, etc.

DISTRIB_ID='LEDE'
DISTRIB_RELEASE='SNAPSHOT'
DISTRIB_REVISION='r5244-f0c37f6ceb'
DISTRIB_CODENAME='reboot'
DISTRIB_TARGET='x86/64'
DISTRIB_ARCH='x86_64'
DISTRIB_DESCRIPTION='LEDE Reboot SNAPSHOT r5244-f0c37f6ceb'
DISTRIB_TAINTS='no-all busybox'

# opkg list_installed | grep dnsmasq
dnsmasq - 2.78-2

- Steps to reproduce

In my case, I have an upstream service provisioned with pppoe. Occasionally, the pppoe session dies as the ISP does some kind of unannounced maintenance. Since updating recently from a March 2016 build of OpenWrt, when this outage occurs, dnsmasq sends many messages, like this:

Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied

nearly 30 per second.

06.12.20171209Base systemBug ReportVery LowMediumWiFi random disconnection on WRT3200ACMTrunkUnconfirmed Task Description

Router: Linksys WRT3200ACM

LEDE: Powered by LuCI lede-17.01 branch (git-17.290.79498-d3f0685) / LEDE Reboot 17.01.4 r3560-79f57e422d

Kernel: 4.4.92

Forum thread: https://forum.openwrt.org/viewtopic.php?pid=369295#p369295

mwlwifi version: kmod-mwlwifi - 4.4.92+10.3.4.0.git-2017-06-06-1

Wireless radio0 is working perfectly fine but not on radio1 or radio2. There’s random disconnection, can happen 3 times a day or once per 3 day. Only solution is to reboot the router. See the forum thread for more information.

11.01.20181266Base systemBug ReportVery LowMediumsysupgrade-x86 should detect boot partition properlyTrunkUnconfirmed Task Description

Currently it’s hard-coded into /lib/preinit/79_move_config as:

move_config() {
	local partdev

	. /lib/upgrade/common.sh

	if export_bootdevice && export_partdevice partdev 1; then
		mkdir -p /boot
		if mount -t ext4 -o ro,noatime "/dev/$partdev" /boot; then
			if [ -f /boot/sysupgrade.tgz ]; then
				mount /boot -o remount,rw,noatime
				mv -f /boot/sysupgrade.tgz /
				mount /boot -o remount,ro,noatime
			fi
			mount --bind /boot/boot /boot
		fi
	fi
}

that the first partition of the boot device is the boot partition. That’s not always the case, and EFI seems to break this.

Also, it’s an obstacle to supporting A/B image+config boot modes.

26.01.20181304Base systemBug ReportVery LowMediumDDNS does not function with QMI protocol and IP does no...TrunkUnconfirmed Task Description

I am using OpenWrt SNAPSHOT, r5934-059b2f5 with an ec-25e card using QMI.

Device gets an IP properly.

Thu Jan 25 18:26:27 2018 daemon.notice netifd: Interface 'wwan' is now down
Thu Jan 25 18:26:28 2018 daemon.notice netifd: Interface 'wwan' is setting up now
Thu Jan 25 18:26:28 2018 daemon.notice netifd: wwan (16229): Device does not support 802.3 mode. Informing driver of raw-ip only for wwan0 ..
Thu Jan 25 18:26:28 2018 daemon.notice netifd: wwan (16229): Waiting for network registration
Thu Jan 25 18:26:28 2018 daemon.notice netifd: wwan (16229): Starting network wwan
Thu Jan 25 18:26:28 2018 daemon.notice netifd: wwan (16229): Setting up wwan0
Thu Jan 25 18:26:28 2018 daemon.notice netifd: Interface 'wwan' is now up
Thu Jan 25 18:26:28 2018 daemon.notice netifd: Network device 'wwan0' link is up
Thu Jan 25 18:26:28 2018 daemon.notice netifd: Network alias 'wwan0' link is up
Thu Jan 25 18:26:28 2018 daemon.notice netifd: Interface 'wwan_4' is enabled
Thu Jan 25 18:26:28 2018 daemon.notice netifd: Interface 'wwan_4' has link connectivity
Thu Jan 25 18:26:28 2018 daemon.notice netifd: Interface 'wwan_4' is setting up now
Thu Jan 25 18:26:28 2018 daemon.notice netifd: wwan_4 (16355): udhcpc: started, v1.27.2
Thu Jan 25 18:26:28 2018 daemon.notice netifd: wwan_4 (16355): udhcpc: sending discover
Thu Jan 25 18:26:28 2018 daemon.notice netifd: wwan_4 (16355): udhcpc: sending select for 10.36.238.224
Thu Jan 25 18:26:29 2018 daemon.notice netifd: wwan_4 (16355): udhcpc: lease of 10.36.238.224 obtained, lease time 7200
Thu Jan 25 18:26:29 2018 daemon.notice netifd: Interface 'wwan_4' is now up

However in LuCI the IP address is not shown in the interfaces section, at `wwan` interface.

Also DDNS scripts fail with error

182633 ERROR : Can not detect local IP using network_get_ipaddr 'wwan' - Error: '1' - TERMINATE

I believe the issue is because the interface name which gets the IP is `wwan_4` instead of `wwan` but I am not able to set this interface in DDNS setup from LuCI and also well LuCI does not show the `wwan` IP address. I am not sure what would be the fix but this clearly is a problem and may effect other things as well.

Thanks!

11.02.20181348Base systemBug ReportVery LowMediumdnsmasq config script doesn't handle vendorclass specif...TrunkUnconfirmed Task Description

This happens as of LEDE 17.01.4, and is a result of how /etc/init.d/dnsmasq script rebuilds the temp dnsmasq config file from the /etc/config/dhcp file.

dnsmasq supports the following construct:

dhcp-vendorclass=set:ubiquity,ubnt
dhcp-option=tag:ubiquity,1,192.168.1.10

The meaning of which would be that if a vendor string that matches ‘ubnt’ is seen, then the class ‘ubiquity’ is set against the device, any dhcp-options tagged with that class would be sent to devices so tagged.

The dhcp config files supports constructs like this:

config vendorclass ‘ubiquity’

  option vendorclass 'ubnt'
  option networkid 'vendor:ubnt'
  list dhcp_option '1,192.168.1.10'

but in this case the value of networkid is pre-pended in each case to the dhcp_option string, like so:

dhcp-vendorclass=vendor:ubnt,ubnt
dhcp-option=vendor:ubnt,1,192.168.1.10

Which works as config - but only because the vendorclass specification is not at work at all - essentially all the matching is occurring within the dhcp-option (it wouldn’t be possible to specify multiple values to be matched in the vendorclass specifier for instance).


14.02.20181363Base systemBug ReportVery LowMediumQMI does not use correct APNTrunkUnconfirmed Task Description

I get 4G service from a provider which provide public IP if APN of “opengate” is used. I found out that qmi.sh does not set the card correctly. The `–autoconnect` setting seems to be the cause. (Also maybe related: https://forum.openwrt.org/viewtopic.php?pid=372211 )

I replaced in my qmi.sh “–autoconnect” with “–set-autoconnect enabled” in lines where “–start-network” is used.

Seems to do the trick. However “–stop-network” requires “–autoconnect” to be present or I get errors.

See:

root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --set-client-id wds,19  --stop-network 0xffffffff --autoconnect
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --get-current-settings
"Out of call"
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --set-client-id wds,19 --start-network --apn opengate --autoconnect
-2020095904
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --get-current-settings
{"pdp-type":"ipv4","ip-family":"ipv4","mtu":1500,"ipv4":{"ip":"100.69.24.116","dns1":"192.89.123.230","dns2":"192.89.123.231","gateway":"100.69.24.117","subnet":"255.255.255.248"},"ipv6":{},"domain-names":{}}
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --set-client-id wds,19  --stop-network 0xffffffff --autoconnect
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --get-current-settings
"Out of call"
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --set-client-id wds,19 --start-network --apn opengate
-2020095904
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --get-current-settings
{"pdp-type":"ipv4","ip-family":"ipv4","mtu":1500,"ipv4":{"ip":"46.132.191.50","dns1":"192.89.123.230","dns2":"192.89.123.231","gateway":"46.132.191.49","subnet":"255.255.255.252"},"ipv6":{},"domain-names":{}}
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --set-client-id wds,19  --stop-network 0xffffffff --autoconnect
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --get-current-settings
"Out of call"
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --set-client-id wds,19 --start-network --apn opengate --set-autoconnect enabled
-2020095904
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --get-current-settings
{"pdp-type":"ipv4","ip-family":"ipv4","mtu":1500,"ipv4":{"ip":"194.251.18.231","dns1":"192.89.123.230","dns2":"192.89.123.231","gateway":"194.251.18.232","subnet":"255.255.255.240"},"ipv6":{},"domain-names":{}}
14.02.20181364Base systemBug ReportVery LowMediumQMI NAT reflection does not work properlyTrunkUnconfirmed Task Description

I recently switched from using NCM to QMI. The NAT reflection stopped working. Also in LuCI the IP address does not appear (see: https://bugs.lede-project.org/index.php?do=details&task_id=1304 ). Perhaps these are related problems?

I am not exactly sure what information you need? I am using latest trunk. Please let me know what debugging information I should extract, and how. I will get all the necessary information on request.

23.02.20181385Base systemBug ReportVery LowMediumUnable to set up repeater on DFS-channelTrunkUnconfirmed Task Description

I have a TP-Link RE450 v1 wireless repeater running OpenWrt SNAPSHOT r6257-94a3af88f3 that I want to set up to extend a network running on a DFS-channel. I am able to connect to the main network in client mode - it is hosted on a NETGEAR R7800 running OpenWrt SNAPSHOT r6150-dc7a1e8555 (hnyman’s latest build). However, the repeating network refuses to start up. This is the guide I followed to set up the relayd-based relay (Luci GUI method): https://openwrt.org/docs/user-guide/wifi/relay_configuration

When following the same method to set up a non-DFS channel everything works as it should.

Here is the system log:

Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.000000] Linux version 4.9.82 (buildbot@builds) (gcc version 5.5.0 (OpenWrt GCC 5.5.0 r6038-13e8d54) ) #0 Sun Feb 18 08:21:12 2018
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.000000] MyLoader: sysp=212b15a7, boardp=2d6f6985, parts=6de765b6
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] bootconsole [early0] enabled
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] SoC: Qualcomm Atheros QCA9558 ver 1 rev 0
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Determined physical RAM map:
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] memory: 08000000 @ 00000000 (usable)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Initrd not found or empty - disabling initrd
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Zone ranges:
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Normal [mem 0×0000000000000000-0x0000000007ffffff]
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Movable zone start for each node
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Early memory node ranges
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] node 0: [mem 0×0000000000000000-0x0000000007ffffff]
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Initmem setup node 0 [mem 0×0000000000000000-0x0000000007ffffff]
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.000000] On node 0 totalpages: 32768
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.000000] free_area_init_node: node 0, pgdat 804ab9e4, node_mem_map 81000020
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.000000] Normal zone: 256 pages used for memmap
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.000000] Normal zone: 0 pages reserved
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.000000] Normal zone: 32768 pages, LIFO batch:7
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.000000] pcpu-alloc: [0] 0
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.000000] Kernel command line: board=RE450 mtdparts=spi0.0:128k(u-boot)ro,6016k(firmware),64k(partition-table)ro,64k(product-info)ro,1856k(config)ro,64k(art)ro console=ttyS0,115200 rootfstype=squashfs noinitrd
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Writing ErrCtl register=00000000
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Readback ErrCtl register=00000000
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Memory: 124612K/131072K available (3394K kernel code, 174K rwdata, 836K rodata, 260K init, 219K bss, 6460K reserved, 0K cma-reserved)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] NR_IRQS:51
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Clocks: CPU:720.000MHz, DDR:600.000MHz, AHB:200.000MHz, Ref:40.000MHz
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5309056796 ns
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000007] sched_clock: 32 bits at 360MHz, resolution 2ns, wraps every 5965232126ns
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.008299] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.071187] pid_max: default: 32768 minimum: 301
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.076184] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.083229] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.092660] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.103156] futex hash table entries: 256 (order: -1, 3072 bytes)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.110567] NET: Registered protocol family 16
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.116508] MIPS: machine is TP-LINK RE450
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 0.122731] registering PCI controller with io_map_base unset
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 0.128976] ar724x-pci ar724x-pci.1: PCIe link is down
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 0.134441] registering PCI controller with io_map_base unset
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.391525] PCI host bridge to bus 0000:00
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.395892] pci_bus 0000:00: root bus resource [mem 0×10000000-0x11ffffff]
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.403234] pci_bus 0000:00: root bus resource [io 0×0000]
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.409157] pci_bus 0000:00: root bus resource [??? 0×00000000 flags 0×0]
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.416382] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.424828] pci 0000:00:00.0: [168c:003c] type 00 class 0×028000 Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.424865] pci 0000:00:00.0: reg 0×10: [mem 0×00000000-0x001fffff 64bit]
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.424915] pci 0000:00:00.0: reg 0×30: [mem 0×00000000-0x0000ffff pref]
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.424980] pci 0000:00:00.0: supports D1 D2
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.425150] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.425171] pci 0000:00:00.0: BAR 0: assigned [mem 0×10000000-0x101fffff 64bit]
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.432989] pci 0000:00:00.0: BAR 6: assigned [mem 0×10200000-0x1020ffff pref]
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.440777] PCI host bridge to bus 0000:01
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.445157] pci_bus 0000:01: root bus resource [mem 0×12000000-0x13ffffff]
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.452466] pci_bus 0000:01: root bus resource [io 0×0001]
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.458398] pci_bus 0000:01: root bus resource [??? 0×00000000 flags 0×0]
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.465613] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.474055] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.474068] pci 0000:00:00.0: using irq 40 for pin 1
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.481748] clocksource: Switched to clocksource MIPS
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.487998] NET: Registered protocol family 2
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.493366] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.500789] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.507593] TCP: Hash tables configured (established 1024 bind 1024)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.514433] UDP hash table entries: 256 (order: 0, 4096 bytes)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.520649] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.527538] NET: Registered protocol family 1
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.532235] PCI: CLS 0 bytes, default 32
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 0.534326] Crashlog allocated RAM at address 0x3f00000
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.540612] workingset: timestamp_bits=30 max_order=15 bucket_order=0
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.553247] squashfs: version 4.0 (2009/01/31) Phillip Lougher
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.559445] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.576804] io scheduler noop registered
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.580974] io scheduler deadline registered (default)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.586810] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.595712] console [ttyS0] disabled
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.619586] serial8250.0: ttyS0 at MMIO 0×18020000 (irq = 11, base_baud = 2500000) is a 16550A
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.628770] console [ttyS0] enabled
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.636186] bootconsole [early0] disabled
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 0.648931] m25p80 spi0.0: found s25fl064k, expected m25p80
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.667134] m25p80 spi0.0: s25fl064k (8192 Kbytes)
Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.672033] 6 cmdlinepart partitions found on MTD device spi0.0
Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.678029] Creating 6 MTD partitions on “spi0.0”:
Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.682906] 0×000000000000-0×000000020000 : “u-boot” Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.689064] 0×000000020000-0×000000600000 : “firmware” Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.707081] 2 tplink-fw partitions found on MTD device firmware
Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.713127] 0×000000020000-0x000000185ceb : “kernel” Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.719204] 0x0000001a0000-0×000000600000 : “rootfs” Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.725496] mtd: device 3 (rootfs) set to be root filesystem
Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.731263] 1 squashfs-split partitions found on MTD device rootfs
Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.737575] 0×000000440000-0×000000600000 : “rootfs_data” Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.744349] 0×000000600000-0×000000610000 : “partition-table” Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.751431] 0×000000610000-0×000000620000 : “product-info” Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.758325] 0×000000620000-0x0000007f0000 : “config” Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.764662] 0x0000007f0000-0×000000800000 : “art” Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.773062] libphy: GPIO Bitbanged MDIO: probed
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.778061] libphy: Fixed MDIO Bus: probed
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 1.512179] ag71xx ag71xx.0: connected to PHY at gpio-0:04 [uid=004dd072, driver=Atheros 8035 ethernet]
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 1.522288] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 1.530065] NET: Registered protocol family 10
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 1.537560] NET: Registered protocol family 17
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 1.542160] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 1.555384] 8021q: 802.1Q VLAN Support v1.8
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 1.561016] hctosys: unable to open rtc device (rtc0)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 1.571029] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 1.579154] Freeing unused kernel memory: 260K
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 1.583687] This architecture does not have kernel memory protection.
Fri Feb 23 18:36:12 2018 user.info kernel: [ 2.132376] init: Console is alive
Fri Feb 23 18:36:12 2018 user.info kernel: [ 2.135998] init: - watchdog -
Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 2.494811] random: fast init done
Fri Feb 23 18:36:12 2018 user.info kernel: [ 2.924159] kmodloader: loading kernel modules from /etc/modules-boot.d/*
Fri Feb 23 18:36:12 2018 user.info kernel: [ 2.965714] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
Fri Feb 23 18:36:12 2018 user.info kernel: [ 2.974640] init: - preinit -
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 4.004457] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 7.093477] eth0: link up (1000Mbps/Full duplex)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 7.098187] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 7.293806] jffs2: notice: (403) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
Fri Feb 23 18:36:12 2018 user.info kernel: [ 7.311068] mount_root: switching to jffs2 overlay
Fri Feb 23 18:36:12 2018 user.warn kernel: [ 7.337522] urandom-seed: Seeding with /etc/urandom.seed
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 7.435532] eth0: link down
Fri Feb 23 18:36:12 2018 user.info kernel: [ 7.447458] procd: - early -
Fri Feb 23 18:36:12 2018 user.info kernel: [ 7.450449] procd: - watchdog -
Fri Feb 23 18:36:12 2018 user.info kernel: [ 8.057837] procd: - watchdog -
Fri Feb 23 18:36:12 2018 user.info kernel: [ 8.061236] procd: - ubus -
Fri Feb 23 18:36:12 2018 user.info kernel: [ 8.168116] procd: - init -
Fri Feb 23 18:36:12 2018 user.info kernel: [ 8.539737] kmodloader: loading kernel modules from /etc/modules.d/*
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 8.571268] ip6_tables: (C) 2000-2006 Netfilter Core Team
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 8.585643] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 8.593800] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 8.602959] ip_tables: (C) 2000-2006 Netfilter Core Team
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 8.614861] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 8.662930] xt_time: kernel timezone is -0000
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 8.831336] PPP generic driver version 2.4.2
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 8.837672] NET: Registered protocol family 24
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 8.861154] PCI: Enabling device 0000:00:00.0 (0000 → 0002)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 8.867107] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 9.145193] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:00:00.0.bin failed with error -2
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 9.156072] ath10k_pci 0000:00:00.0: Falling back to user helper
Fri Feb 23 18:36:12 2018 kern.err kernel: [ 9.344946] firmware ath10k!pre-cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 9.355293] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-6.bin failed with error -2
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 9.366187] ath10k_pci 0000:00:00.0: Falling back to user helper
Fri Feb 23 18:36:12 2018 kern.err kernel: [ 9.494658] firmware ath10k!QCA988X!hw2.0!firmware-6.bin: firmware_loading_store: map pages failed
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 9.508099] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 9.517496] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 9.530543] ath10k_pci 0000:00:00.0: firmware ver 10.2.4-1.0-00033 api 5 features no-p2p,raw-mode,mfp,allows-mesh-bcast crc32 c41417d0
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 9.624942] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 9.635573] ath10k_pci 0000:00:00.0: Falling back to user helper
Fri Feb 23 18:36:12 2018 kern.err kernel: [ 9.705908] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 9.735953] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 10.826902] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 10.963073] ath: EEPROM regdomain: 0×0 Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 10.963080] ath: EEPROM indicates default country code should be used
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 10.963083] ath: doing EEPROM country→regdmn map search
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 10.963093] ath: country maps to regdmn code: 0x3a
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 10.963098] ath: Country alpha2 being used: US
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 10.963101] ath: Regpair used: 0x3a
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 11.080469] ath: EEPROM regdomain: 0×0 Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 11.080476] ath: EEPROM indicates default country code should be used
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 11.080478] ath: doing EEPROM country→regdmn map search
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 11.080490] ath: country maps to regdmn code: 0x3a
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 11.080495] ath: Country alpha2 being used: US
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 11.080497] ath: Regpair used: 0x3a
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 11.096449] ieee80211 phy1: Selected rate control algorithm ‘minstrel_ht’ Fri Feb 23 18:36:12 2018 kern.info kernel: [ 11.099579] ieee80211 phy1: Atheros AR9550 Rev:0 mem=0xb8100000, irq=47
Fri Feb 23 18:36:12 2018 user.info kernel: [ 11.109568] kmodloader: done loading kernel modules from /etc/modules.d/*
Fri Feb 23 18:36:14 2018 user.notice : Added device handler type: tunnel
Fri Feb 23 18:36:14 2018 user.notice : Added device handler type: Network device
Fri Feb 23 18:36:14 2018 user.notice : Added device handler type: bridge
Fri Feb 23 18:36:14 2018 user.notice : Added device handler type: veth
Fri Feb 23 18:36:14 2018 user.notice : Added device handler type: macvlan
Fri Feb 23 18:36:14 2018 user.notice : Added device handler type: 8021ad
Fri Feb 23 18:36:14 2018 user.notice : Added device handler type: 8021q
Fri Feb 23 18:36:14 2018 daemon.notice procd: /etc/init.d/network: ‘radio1’ is disabled
Fri Feb 23 18:36:14 2018 daemon.notice procd: /etc/init.d/network: ‘radio1’ is disabled
Fri Feb 23 18:36:15 2018 authpriv.info dropbear[953]: Not backgrounding
Fri Feb 23 18:36:17 2018 daemon.notice procd: /etc/rc.d/S96led: setting up led LAN Data
Fri Feb 23 18:36:17 2018 daemon.notice procd: /etc/rc.d/S96led: setting up led LAN Link
Fri Feb 23 18:36:17 2018 daemon.notice procd: /etc/rc.d/S96led: setting up led WLAN 2.4 GHz Fri Feb 23 18:36:17 2018 daemon.notice procd: /etc/rc.d/S96led: setting up led WLAN 5 GHz Fri Feb 23 18:36:18 2018 kern.info kernel: [ 18.492806] br-lan: port 1(eth0) entered blocking state
Fri Feb 23 18:36:18 2018 kern.info kernel: [ 18.498113] br-lan: port 1(eth0) entered disabled state
Fri Feb 23 18:36:18 2018 kern.info kernel: [ 18.503728] device eth0 entered promiscuous mode
Fri Feb 23 18:36:18 2018 daemon.notice netifd: Interface ‘lan’ is enabled
Fri Feb 23 18:36:18 2018 daemon.notice netifd: Interface ‘lan’ is setting up now
Fri Feb 23 18:36:18 2018 daemon.notice netifd: Interface ‘lan’ is now up
Fri Feb 23 18:36:18 2018 kern.info kernel: [ 18.522482] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
Fri Feb 23 18:36:18 2018 daemon.notice netifd: Interface ‘loopback’ is enabled
Fri Feb 23 18:36:18 2018 daemon.notice netifd: Interface ‘loopback’ is setting up now
Fri Feb 23 18:36:18 2018 daemon.notice netifd: Interface ‘loopback’ is now up
Fri Feb 23 18:36:18 2018 daemon.notice netifd: Network device ‘lo’ link is up
Fri Feb 23 18:36:18 2018 daemon.notice netifd: Interface ‘loopback’ has link connectivity
Fri Feb 23 18:36:18 2018 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Fri Feb 23 18:36:19 2018 daemon.info procd: - init complete -
Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776056] ath: EEPROM regdomain: 0×8242 Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776063] ath: EEPROM indicates we should expect a country code
Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776069] ath: doing EEPROM country→regdmn map search
Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776075] ath: country maps to regdmn code: 0×37 Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776079] ath: Country alpha2 being used: NO
Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776082] ath: Regpair used: 0×37 Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776087] ath: regdomain 0×8242 dynamically updated by user
Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776168] ath: EEPROM regdomain: 0×8242 Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776171] ath: EEPROM indicates we should expect a country code
Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776176] ath: doing EEPROM country→regdmn map search
Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776181] ath: country maps to regdmn code: 0×37 Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776184] ath: Country alpha2 being used: NO
Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776186] ath: Regpair used: 0×37 Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776190] ath: regdomain 0×8242 dynamically updated by user
Fri Feb 23 18:36:21 2018 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: started, version 2.79rc1 cachesize 150
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: DNS service limited to local subnets
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC no-ID loop-detect inotify
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: using local addresses only for domain test
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: using local addresses only for domain onion
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: using local addresses only for domain localhost
Fri Feb 23 18:36:23 2018 kern.info kernel: [ 23.441522] IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: using local addresses only for domain local
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: using local addresses only for domain invalid
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: using local addresses only for domain example.net
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: using local addresses only for domain example.org
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: using local addresses only for domain example.com
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: using 3 more local addresses
Fri Feb 23 18:36:23 2018 daemon.warn dnsmasq[1349]: no servers found in /tmp/resolv.conf.auto, will retry
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: read /etc/hosts - 4 addresses
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: read /tmp/hosts/dhcp.cfg01411c - 0 addresses
Fri Feb 23 18:36:23 2018 kern.info kernel: [ 23.460824] br-lan: port 2(wlan0-1) entered blocking state
Fri Feb 23 18:36:23 2018 kern.info kernel: [ 23.466441] br-lan: port 2(wlan0-1) entered disabled state
Fri Feb 23 18:36:23 2018 kern.info kernel: [ 23.472324] device wlan0-1 entered promiscuous mode
Fri Feb 23 18:36:23 2018 daemon.notice hostapd: wlan0-1: interface state UNINITIALIZED→COUNTRY_UPDATE
Fri Feb 23 18:36:23 2018 daemon.notice hostapd: wlan0-1: interface state COUNTRY_UPDATE→HT_SCAN
Fri Feb 23 18:36:23 2018 daemon.notice hostapd: wlan0-1: interface state HT_SCAN→DFS
Fri Feb 23 18:36:23 2018 daemon.notice hostapd: wlan0-1: DFS-CAC-START freq=5560 chan=112 sec_chan=-1, width=1, seg0=106, seg1=0, cac_time=60s
Fri Feb 23 18:36:23 2018 kern.info kernel: [ 23.813439] eth0: link up (1000Mbps/Full duplex)
Fri Feb 23 18:36:23 2018 kern.info kernel: [ 23.818173] br-lan: port 1(eth0) entered blocking state
Fri Feb 23 18:36:23 2018 kern.info kernel: [ 23.823505] br-lan: port 1(eth0) entered forwarding state
Fri Feb 23 18:36:23 2018 daemon.notice netifd: Network device ‘eth0’ link is up
Fri Feb 23 18:36:23 2018 kern.info kernel: [ 23.830482] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
Fri Feb 23 18:36:23 2018 daemon.notice netifd: bridge ‘br-lan’ link is up
Fri Feb 23 18:36:23 2018 daemon.notice netifd: Interface ‘lan’ has link connectivity
Fri Feb 23 18:36:25 2018 daemon.info dnsmasq[1349]: read /etc/hosts - 4 addresses
Fri Feb 23 18:36:25 2018 daemon.info dnsmasq[1349]: read /tmp/hosts/dhcp.cfg01411c - 0 addresses
Fri Feb 23 18:36:33 2018 daemon.err uhttpd[984]: luci: accepted login on /admin for root from 192.168.5.10
Fri Feb 23 18:37:24 2018 daemon.notice hostapd: wlan0-1: DFS-CAC-COMPLETED success=1 freq=5560 ht_enabled=0 chan_offset=0 chan_width=3 cf1=5530 cf2=0
Fri Feb 23 18:37:24 2018 daemon.err hostapd: Using interface wlan0-1 with hwaddr 86:16:f9:d6:21:3a and ssid “Test” Fri Feb 23 18:37:25 2018 daemon.notice hostapd: wlan0-1: interface state DFS→ENABLED
Fri Feb 23 18:37:25 2018 daemon.notice hostapd: wlan0-1: AP-ENABLED
Fri Feb 23 18:37:25 2018 kern.info kernel: [ 85.892280] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Fri Feb 23 18:37:25 2018 daemon.notice netifd: radio0 (1079): Successfully initialized wpa_supplicant
Fri Feb 23 18:37:26 2018 daemon.notice netifd: Interface ‘wwan’ is enabled
Fri Feb 23 18:37:26 2018 daemon.notice hostapd: wlan0-1: DFS-PRE-CAC-EXPIRED freq=5500 ht_enabled=0 chan_offset=0 chan_width=0 cf1=5500 cf2=0
Fri Feb 23 18:37:26 2018 daemon.notice hostapd: wlan0-1: DFS-PRE-CAC-EXPIRED freq=5520 ht_enabled=0 chan_offset=0 chan_width=0 cf1=5520 cf2=0
Fri Feb 23 18:37:26 2018 daemon.notice hostapd: wlan0-1: DFS-PRE-CAC-EXPIRED freq=5540 ht_enabled=0 chan_offset=0 chan_width=0 cf1=5540 cf2=0
Fri Feb 23 18:37:26 2018 daemon.notice hostapd: wlan0-1: DFS-PRE-CAC-EXPIRED freq=5560 ht_enabled=0 chan_offset=0 chan_width=0 cf1=5560 cf2=0
Fri Feb 23 18:37:27 2018 kern.info kernel: [ 88.008800] wlan0: authenticate with a0:40:a0:7c:cb:b9
Fri Feb 23 18:37:27 2018 kern.info kernel: [ 88.018939] wlan0: send auth to a0:40:a0:7c:cb:b9 (try 1/3)
Fri Feb 23 18:37:27 2018 kern.info kernel: [ 88.026654] wlan0: authenticated
Fri Feb 23 18:37:27 2018 kern.info kernel: [ 88.031919] wlan0: associate with a0:40:a0:7c:cb:b9 (try 1/3)
Fri Feb 23 18:37:27 2018 kern.info kernel: [ 88.039518] wlan0: RX AssocResp from a0:40:a0:7c:cb:b9 (capab=0×111 status=0 aid=5)
Fri Feb 23 18:37:27 2018 kern.info kernel: [ 88.048975] wlan0: associated
Fri Feb 23 18:37:27 2018 daemon.notice netifd: Network device ‘wlan0’ link is up
Fri Feb 23 18:37:27 2018 daemon.notice netifd: Interface ‘wwan’ has link connectivity
Fri Feb 23 18:37:27 2018 daemon.notice netifd: Interface ‘wwan’ is setting up now
Fri Feb 23 18:37:27 2018 kern.info kernel: [ 88.058784] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Fri Feb 23 18:37:27 2018 kern.debug kernel: [ 88.071867] wlan0: Limiting TX power to 23 (26 - 3) dBm as advertised by a0:40:a0:7c:cb:b9
Fri Feb 23 18:37:27 2018 daemon.notice netifd: wwan (1595): udhcpc: started, v1.27.2
Fri Feb 23 18:37:28 2018 daemon.notice netifd: wwan (1595): udhcpc: sending discover
Fri Feb 23 18:37:28 2018 daemon.notice netifd: wwan (1595): udhcpc: sending select for 192.168.1.144
Fri Feb 23 18:37:28 2018 daemon.notice netifd: wwan (1595): udhcpc: lease of 192.168.1.144 obtained, lease time 43200
Fri Feb 23 18:37:28 2018 daemon.err hostapd: Failed to set beacon parameters
Fri Feb 23 18:37:28 2018 daemon.notice netifd: Interface ‘wwan’ is now up
Fri Feb 23 18:37:28 2018 daemon.info dnsmasq[1349]: reading /tmp/resolv.conf.auto
Fri Feb 23 18:37:28 2018 daemon.info dnsmasq[1349]: using local addresses only for domain test
Fri Feb 23 18:37:28 2018 daemon.info dnsmasq[1349]: using local addresses only for domain onion
Fri Feb 23 18:37:28 2018 daemon.info dnsmasq[1349]: using local addresses only for domain localhost
Fri Feb 23 18:37:28 2018 daemon.info dnsmasq[1349]: using local addresses only for domain local
Fri Feb 23 18:37:28 2018 daemon.info dnsmasq[1349]: using local addresses only for domain invalid
Fri Feb 23 18:37:28 2018 daemon.info dnsmasq[1349]: using local addresses only for domain example.net
Fri Feb 23 18:37:28 2018 daemon.info dnsmasq[1349]: using local addresses only for domain example.org
Fri Feb 23 18:37:28 2018 daemon.info dnsmasq[1349]: using local addresses only for domain example.com
Fri Feb 23 18:37:28 2018 daemon.info dnsmasq[1349]: using nameserver 192.168.1.1#53
Fri Feb 23 18:37:28 2018 daemon.info dnsmasq[1349]: using 3 more local addresses
Fri Feb 23 18:37:28 2018 user.notice firewall: Reloading firewall due to ifup of wwan (wlan0)
Fri Feb 23 18:39:43 2018 daemon.warn odhcpd[888]: DHCPV6 CONFIRM IA_NA from 000466ecdf7df77d2477547e0529ea254566 on br-lan: not on-link
Fri Feb 23 18:39:44 2018 daemon.info dnsmasq[1349]: read /etc/hosts - 4 addresses
Fri Feb 23 18:39:44 2018 daemon.info dnsmasq[1349]: read /tmp/hosts/odhcpd - 0 addresses
Fri Feb 23 18:39:44 2018 daemon.info dnsmasq[1349]: read /tmp/hosts/dhcp.cfg01411c - 0 addresses
Fri Feb 23 18:39:44 2018 daemon.warn odhcpd[888]: DHCPV6 SOLICIT IA_NA from 000466ecdf7df77d2477547e0529ea254566 on br-lan: ok fd6a:5bd0:8330::35e/128
Fri Feb 23 18:39:45 2018 daemon.warn odhcpd[888]: DHCPV6 REQUEST IA_NA from 000466ecdf7df77d2477547e0529ea254566 on br-lan: ok fd6a:5bd0:8330::35e/128
Fri Feb 23 18:39:45 2018 daemon.info dnsmasq[1349]: read /etc/hosts - 4 addresses
Fri Feb 23 18:39:45 2018 daemon.info dnsmasq[1349]: read /tmp/hosts/odhcpd - 0 addresses
Fri Feb 23 18:39:45 2018 daemon.info dnsmasq[1349]: read /tmp/hosts/dhcp.cfg01411c - 0 addresses
Fri Feb 23 18:40:06 2018 kern.notice kernel: [ 113.239791] random: crng init done

And here is the kernel log:

[ 0.000000] Linux version 4.9.82 (buildbot@builds) (gcc version 5.5.0 (OpenWrt GCC 5.5.0 r6038-13e8d54) ) #0 Sun Feb 18 08:21:12 2018
[ 0.000000] MyLoader: sysp=212b15a7, boardp=2d6f6985, parts=6de765b6
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[ 0.000000] SoC: Qualcomm Atheros QCA9558 ver 1 rev 0
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0×0000000000000000-0x0000000007ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0×0000000000000000-0x0000000007ffffff]
[ 0.000000] Initmem setup node 0 [mem 0×0000000000000000-0x0000000007ffffff]
[ 0.000000] On node 0 totalpages: 32768
[ 0.000000] free_area_init_node: node 0, pgdat 804ab9e4, node_mem_map 81000020
[ 0.000000] Normal zone: 256 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32768 pages, LIFO batch:7
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: board=RE450 mtdparts=spi0.0:128k(u-boot)ro,6016k(firmware),64k(partition-table)ro,64k(product-info)ro,1856k(config)ro,64k(art)ro console=ttyS0,115200 rootfstype=squashfs noinitrd
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 124612K/131072K available (3394K kernel code, 174K rwdata, 836K rodata, 260K init, 219K bss, 6460K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Clocks: CPU:720.000MHz, DDR:600.000MHz, AHB:200.000MHz, Ref:40.000MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5309056796 ns
[ 0.000007] sched_clock: 32 bits at 360MHz, resolution 2ns, wraps every 5965232126ns
[ 0.008299] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
[ 0.071187] pid_max: default: 32768 minimum: 301
[ 0.076184] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.083229] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.092660] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.103156] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.110567] NET: Registered protocol family 16
[ 0.116508] MIPS: machine is TP-LINK RE450
[ 0.122731] registering PCI controller with io_map_base unset
[ 0.128976] ar724x-pci ar724x-pci.1: PCIe link is down
[ 0.134441] registering PCI controller with io_map_base unset
[ 0.391525] PCI host bridge to bus 0000:00
[ 0.395892] pci_bus 0000:00: root bus resource [mem 0×10000000-0x11ffffff]
[ 0.403234] pci_bus 0000:00: root bus resource [io 0×0000]
[ 0.409157] pci_bus 0000:00: root bus resource [??? 0×00000000 flags 0×0]
[ 0.416382] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.424828] pci 0000:00:00.0: [168c:003c] type 00 class 0×028000 [ 0.424865] pci 0000:00:00.0: reg 0×10: [mem 0×00000000-0x001fffff 64bit]
[ 0.424915] pci 0000:00:00.0: reg 0×30: [mem 0×00000000-0x0000ffff pref]
[ 0.424980] pci 0000:00:00.0: supports D1 D2
[ 0.425150] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 0.425171] pci 0000:00:00.0: BAR 0: assigned [mem 0×10000000-0x101fffff 64bit]
[ 0.432989] pci 0000:00:00.0: BAR 6: assigned [mem 0×10200000-0x1020ffff pref]
[ 0.440777] PCI host bridge to bus 0000:01
[ 0.445157] pci_bus 0000:01: root bus resource [mem 0×12000000-0x13ffffff]
[ 0.452466] pci_bus 0000:01: root bus resource [io 0×0001]
[ 0.458398] pci_bus 0000:01: root bus resource [??? 0×00000000 flags 0×0]
[ 0.465613] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
[ 0.474055] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 0.474068] pci 0000:00:00.0: using irq 40 for pin 1
[ 0.481748] clocksource: Switched to clocksource MIPS
[ 0.487998] NET: Registered protocol family 2
[ 0.493366] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.500789] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.507593] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.514433] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.520649] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.527538] NET: Registered protocol family 1
[ 0.532235] PCI: CLS 0 bytes, default 32
[ 0.534326] Crashlog allocated RAM at address 0x3f00000
[ 0.540612] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[ 0.553247] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.559445] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
[ 0.576804] io scheduler noop registered
[ 0.580974] io scheduler deadline registered (default)
[ 0.586810] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.595712] console [ttyS0] disabled
[ 0.619586] serial8250.0: ttyS0 at MMIO 0×18020000 (irq = 11, base_baud = 2500000) is a 16550A
[ 0.628770] console [ttyS0] enabled
[ 0.636186] bootconsole [early0] disabled
[ 0.648931] m25p80 spi0.0: found s25fl064k, expected m25p80
[ 0.667134] m25p80 spi0.0: s25fl064k (8192 Kbytes)
[ 0.672033] 6 cmdlinepart partitions found on MTD device spi0.0
[ 0.678029] Creating 6 MTD partitions on “spi0.0”:
[ 0.682906] 0×000000000000-0×000000020000 : “u-boot” [ 0.689064] 0×000000020000-0×000000600000 : “firmware” [ 0.707081] 2 tplink-fw partitions found on MTD device firmware
[ 0.713127] 0×000000020000-0x000000185ceb : “kernel” [ 0.719204] 0x0000001a0000-0×000000600000 : “rootfs” [ 0.725496] mtd: device 3 (rootfs) set to be root filesystem
[ 0.731263] 1 squashfs-split partitions found on MTD device rootfs
[ 0.737575] 0×000000440000-0×000000600000 : “rootfs_data” [ 0.744349] 0×000000600000-0×000000610000 : “partition-table” [ 0.751431] 0×000000610000-0×000000620000 : “product-info” [ 0.758325] 0×000000620000-0x0000007f0000 : “config” [ 0.764662] 0x0000007f0000-0×000000800000 : “art” [ 0.773062] libphy: GPIO Bitbanged MDIO: probed
[ 0.778061] libphy: Fixed MDIO Bus: probed
[ 1.512179] ag71xx ag71xx.0: connected to PHY at gpio-0:04 [uid=004dd072, driver=Atheros 8035 ethernet]
[ 1.522288] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[ 1.530065] NET: Registered protocol family 10
[ 1.537560] NET: Registered protocol family 17
[ 1.542160] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 1.555384] 8021q: 802.1Q VLAN Support v1.8
[ 1.561016] hctosys: unable to open rtc device (rtc0)
[ 1.571029] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[ 1.579154] Freeing unused kernel memory: 260K
[ 1.583687] This architecture does not have kernel memory protection.
[ 2.132376] init: Console is alive
[ 2.135998] init: - watchdog -
[ 2.494811] random: fast init done
[ 2.924159] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 2.965714] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 2.974640] init: - preinit -
[ 4.004457] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 7.093477] eth0: link up (1000Mbps/Full duplex)
[ 7.098187] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 7.293806] jffs2: notice: (403) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 7.311068] mount_root: switching to jffs2 overlay
[ 7.337522] urandom-seed: Seeding with /etc/urandom.seed
[ 7.435532] eth0: link down
[ 7.447458] procd: - early -
[ 7.450449] procd: - watchdog -
[ 8.057837] procd: - watchdog -
[ 8.061236] procd: - ubus -
[ 8.168116] procd: - init -
[ 8.539737] kmodloader: loading kernel modules from /etc/modules.d/*
[ 8.571268] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 8.585643] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[ 8.593800] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[ 8.602959] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 8.614861] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
[ 8.662930] xt_time: kernel timezone is -0000
[ 8.831336] PPP generic driver version 2.4.2
[ 8.837672] NET: Registered protocol family 24
[ 8.861154] PCI: Enabling device 0000:00:00.0 (0000 → 0002)
[ 8.867107] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[ 9.145193] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:00:00.0.bin failed with error -2
[ 9.156072] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 9.344946] firmware ath10k!pre-cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
[ 9.355293] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-6.bin failed with error -2
[ 9.366187] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 9.494658] firmware ath10k!QCA988X!hw2.0!firmware-6.bin: firmware_loading_store: map pages failed
[ 9.508099] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[ 9.517496] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[ 9.530543] ath10k_pci 0000:00:00.0: firmware ver 10.2.4-1.0-00033 api 5 features no-p2p,raw-mode,mfp,allows-mesh-bcast crc32 c41417d0
[ 9.624942] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[ 9.635573] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 9.705908] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
[ 9.735953] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[ 10.826902] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
[ 10.963073] ath: EEPROM regdomain: 0×0 [ 10.963080] ath: EEPROM indicates default country code should be used
[ 10.963083] ath: doing EEPROM country→regdmn map search
[ 10.963093] ath: country maps to regdmn code: 0x3a
[ 10.963098] ath: Country alpha2 being used: US
[ 10.963101] ath: Regpair used: 0x3a
[ 11.080469] ath: EEPROM regdomain: 0×0 [ 11.080476] ath: EEPROM indicates default country code should be used
[ 11.080478] ath: doing EEPROM country→regdmn map search
[ 11.080490] ath: country maps to regdmn code: 0x3a
[ 11.080495] ath: Country alpha2 being used: US
[ 11.080497] ath: Regpair used: 0x3a
[ 11.096449] ieee80211 phy1: Selected rate control algorithm ‘minstrel_ht’ [ 11.099579] ieee80211 phy1: Atheros AR9550 Rev:0 mem=0xb8100000, irq=47
[ 11.109568] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 18.492806] br-lan: port 1(eth0) entered blocking state
[ 18.498113] br-lan: port 1(eth0) entered disabled state
[ 18.503728] device eth0 entered promiscuous mode
[ 18.522482] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 19.776056] ath: EEPROM regdomain: 0×8242 [ 19.776063] ath: EEPROM indicates we should expect a country code
[ 19.776069] ath: doing EEPROM country→regdmn map search
[ 19.776075] ath: country maps to regdmn code: 0×37 [ 19.776079] ath: Country alpha2 being used: NO
[ 19.776082] ath: Regpair used: 0×37 [ 19.776087] ath: regdomain 0×8242 dynamically updated by user
[ 19.776168] ath: EEPROM regdomain: 0×8242 [ 19.776171] ath: EEPROM indicates we should expect a country code
[ 19.776176] ath: doing EEPROM country→regdmn map search
[ 19.776181] ath: country maps to regdmn code: 0×37 [ 19.776184] ath: Country alpha2 being used: NO
[ 19.776186] ath: Regpair used: 0×37 [ 19.776190] ath: regdomain 0×8242 dynamically updated by user
[ 23.441522] IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
[ 23.460824] br-lan: port 2(wlan0-1) entered blocking state
[ 23.466441] br-lan: port 2(wlan0-1) entered disabled state
[ 23.472324] device wlan0-1 entered promiscuous mode
[ 23.813439] eth0: link up (1000Mbps/Full duplex)
[ 23.818173] br-lan: port 1(eth0) entered blocking state
[ 23.823505] br-lan: port 1(eth0) entered forwarding state
[ 23.830482] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 85.892280] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 88.008800] wlan0: authenticate with a0:40:a0:7c:cb:b9
[ 88.018939] wlan0: send auth to a0:40:a0:7c:cb:b9 (try 1/3)
[ 88.026654] wlan0: authenticated
[ 88.031919] wlan0: associate with a0:40:a0:7c:cb:b9 (try 1/3)
[ 88.039518] wlan0: RX AssocResp from a0:40:a0:7c:cb:b9 (capab=0×111 status=0 aid=5)
[ 88.048975] wlan0: associated
[ 88.058784] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 88.071867] wlan0: Limiting TX power to 23 (26 - 3) dBm as advertised by a0:40:a0:7c:cb:b9
[ 113.239791] random: crng init done


25.02.20181389Base systemBug ReportVery LowMediumTL-WR841n-V13 wireless issuesTrunkUnconfirmed Task Description

Hi everyone

I’m using the router TL-WR841n-v13, it’s only available on snapshot version. I’m using OpenWrt SNAPSHOT, r6302-0f54d96.
Also i tried to compile the Git version.

The issue is that some devices have problems to connect to the wifi or need a few attemps to connect.

Sun Feb 25 17:42:59 2018 daemon.notice hostapd: wlan0: STA 38:71:de:10:33:56 IEEE 802.11: did not acknowledge authentication response
Sun Feb 25 17:43:08 2018 daemon.notice hostapd: wlan0: STA 38:71:de:10:33:56 IEEE 802.11: did not acknowledge authentication response
Sun Feb 25 17:43:08 2018 daemon.info hostapd: wlan0: STA 38:71:de:10:33:56 IEEE 802.11: associated (aid 1)
Sun Feb 25 17:43:08 2018 daemon.notice hostapd: wlan0: AP-STA-CONNECTED 38:71:de:10:33:56
Sun Feb 25 17:43:08 2018 daemon.info dnsmasq-dhcp[2197]: DHCPREQUEST(br-lan) 192.168.2.236 38:71:de:10:33:56
Sun Feb 25 17:43:08 2018 daemon.info dnsmasq-dhcp[2197]: DHCPACK(br-lan) 192.168.2.236 38:71:de:10:33:56 iPhone
Sun Feb 25 17:43:53 2018 daemon.notice hostapd: wlan0: STA 38:71:de:10:33:56 IEEE 802.11: did not acknowledge authentication response
Sun Feb 25 17:43:55 2018 daemon.notice hostapd: wlan0: STA 38:71:de:10:33:56 IEEE 802.11: did not acknowledge authentication response
Sun Feb 25 17:43:58 2018 daemon.notice hostapd: wlan0: STA 38:71:de:10:33:56 IEEE 802.11: did not acknowledge authentication response
Sun Feb 25 17:44:01 2018 daemon.notice hostapd: wlan0: STA 38:71:de:10:33:56 IEEE 802.11: did not acknowledge authentication response
Sun Feb 25 17:44:06 2018 daemon.notice hostapd: wlan0: STA 38:71:de:10:33:56 IEEE 802.11: did not acknowledge authentication response
Sun Feb 25 17:44:07 2018 daemon.notice hostapd: wlan0: STA 38:71:de:10:33:56 IEEE 802.11: did not acknowledge authentication response
Sun Feb 25 17:44:10 2018 daemon.notice hostapd: wlan0: STA 38:71:de:10:33:56 IEEE 802.11: did not acknowledge authentication response
Sun Feb 25 17:44:10 2018 daemon.info hostapd: wlan0: STA 38:71:de:10:33:56 IEEE 802.11: associated (aid 1)
Sun Feb 25 17:44:10 2018 daemon.notice hostapd: wlan0: AP-STA-CONNECTED 38:71:de:10:33:56
Sun Feb 25 17:44:11 2018 daemon.info dnsmasq-dhcp[2197]: DHCPREQUEST(br-lan) 192.168.2.236 38:71:de:10:33:56
Sun Feb 25 17:44:11 2018 daemon.info dnsmasq-dhcp[2197]: DHCPACK(br-lan) 192.168.2.236 38:71:de:10:33:56 iPhone

As you can see the device needs severals attemps to connect.

I was reading the bug report https://bugs.lede-project.org/index.php?do=details&task_id=34, it seems to be very similar. The latests version in Git have the patches already applied? Those patches works on this architecture?

I tried to apply the patch but i always got this error in the compile proces

Applying ./patches/354-ath9k-rename-tx_complete_work-to-hw_check_work.patch using plaintext:
patching file drivers/net/wireless/ath/ath9k/ath9k.h
Hunk #1 FAILED at 108.
Hunk #2 FAILED at 745.
Hunk #3 FAILED at 1053.
3 out of 3 hunks FAILED -- saving rejects to file drivers/net/wireless/ath/ath9k/ath9k.h.rej
patching file drivers/net/wireless/ath/ath9k/init.c
Hunk #1 FAILED at 681.
1 out of 1 hunk FAILED -- saving rejects to file drivers/net/wireless/ath/ath9k/init.c.rej
patching file drivers/net/wireless/ath/ath9k/link.c
Hunk #1 FAILED at 20.
Hunk #2 FAILED at 41.
2 out of 2 hunks FAILED -- saving rejects to file drivers/net/wireless/ath/ath9k/link.c.rej
patching file drivers/net/wireless/ath/ath9k/main.c
Hunk #1 FAILED at 181.
Hunk #2 FAILED at 198.
Hunk #3 FAILED at 2091.
Hunk #4 FAILED at 2129.
4 out of 4 hunks FAILED -- saving rejects to file drivers/net/wireless/ath/ath9k/main.c.rej
patching file drivers/net/wireless/ath/ath9k/xmit.c
patch unexpectedly ends in middle of line
Hunk #1 FAILED at 2915.
1 out of 1 hunk FAILED -- saving rejects to file drivers/net/wireless/ath/ath9k/xmit.c.rej
Patch failed!  Please fix ./patches/354-ath9k-rename-tx_complete_work-to-hw_check_work.patch!
Makefile:1843: recipe for target '/mnt/mgiller/lede-build_root/source/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/backports-2017-11-01/.prepared_0b3be554104662549e5b808709992a16_6664517399ebbbc92a37c5bb081b5c53' failed
make[3]: *** [/mnt/mgiller/lede-build_root/source/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/backports-2017-11-01/.prepared_0b3be554104662549e5b808709992a16_6664517399ebbbc92a37c5bb081b5c53] Error 1
make[3]: Leaving directory '/mnt/mgiller/lede-build_root/source/package/kernel/mac80211'
package/Makefile:106: recipe for target 'package/kernel/mac80211/compile' failed
make[2]: *** [package/kernel/mac80211/compile] Error 2
make[2]: Leaving directory '/mnt/mgiller/lede-build_root/source'
package/Makefile:102: recipe for target '/mnt/mgiller/lede-build_root/source/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile' failed
make[1]: *** [/mnt/mgiller/lede-build_root/source/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/mnt/mgiller/lede-build_root/source'
/mnt/mgiller/lede-build_root/source/include/toplevel.mk:216: recipe for target 'world' failed
make: *** [world] Error 2

Another problem with this router is the wifi channel configuration, when i use channel “auto” it doesen’t work. This is the log

Sun Feb 25 17:52:21 2018 daemon.notice hostapd: wlan0: interface state ENABLED->DISABLED
Sun Feb 25 17:52:21 2018 daemon.notice hostapd: wlan0-1: AP-DISABLED
Sun Feb 25 17:52:21 2018 daemon.notice hostapd: wlan0-1: CTRL-EVENT-TERMINATING
Sun Feb 25 17:52:21 2018 daemon.notice netifd: Network device 'wlan0-1' link is down
Sun Feb 25 17:52:21 2018 kern.info kernel: [  851.474687] br-lanfree: port 1(wlan0-1) entered disabled state
Sun Feb 25 17:52:21 2018 kern.info kernel: [  851.485285] device wlan0-1 left promiscuous mode
Sun Feb 25 17:52:21 2018 kern.info kernel: [  851.490067] br-lanfree: port 1(wlan0-1) entered disabled state
Sun Feb 25 17:52:21 2018 daemon.notice netifd: bridge 'br-lanfree' link is down
Sun Feb 25 17:52:21 2018 daemon.notice netifd: Interface 'lanfree' has link connectivity loss
Sun Feb 25 17:52:21 2018 daemon.notice netifd: Interface 'lanfree' is now down
Sun Feb 25 17:52:21 2018 daemon.notice netifd: Interface 'lanfree' is disabled
Sun Feb 25 17:52:21 2018 daemon.notice hostapd: nl80211: Failed to remove interface wlan0-1 from bridge br-lanfree: No such device
Sun Feb 25 17:52:21 2018 daemon.notice hostapd: wlan0: AP-DISABLED
Sun Feb 25 17:52:21 2018 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Sun Feb 25 17:52:21 2018 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Sun Feb 25 17:52:21 2018 kern.info kernel: [  851.759987] device wlan0 left promiscuous mode
Sun Feb 25 17:52:21 2018 kern.info kernel: [  851.764608] br-lan: port 2(wlan0) entered disabled state
Sun Feb 25 17:52:21 2018 daemon.notice netifd: Network device 'wlan0' link is down
Sun Feb 25 17:52:21 2018 kern.info kernel: [  851.820652] IPv6: ADDRCONF(NETDEV_UP): br-lanfree: link is not ready
Sun Feb 25 17:52:22 2018 daemon.notice netifd: Interface 'lanfree' is enabled
Sun Feb 25 17:52:22 2018 daemon.notice netifd: Interface 'lanfree' is setting up now
Sun Feb 25 17:52:22 2018 daemon.notice netifd: Interface 'lanfree' is now up
Sun Feb 25 17:52:22 2018 user.notice firewall: Reloading firewall due to ifup of lanfree (br-lanfree)
Sun Feb 25 17:52:23 2018 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
Sun Feb 25 17:52:23 2018 kern.info kernel: [  853.504142] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Sun Feb 25 17:52:23 2018 kern.info kernel: [  853.529438] br-lan: port 2(wlan0) entered blocking state
Sun Feb 25 17:52:23 2018 kern.info kernel: [  853.535068] br-lan: port 2(wlan0) entered disabled state
Sun Feb 25 17:52:23 2018 kern.info kernel: [  853.541054] device wlan0 entered promiscuous mode
Sun Feb 25 17:52:23 2018 kern.info kernel: [  853.545893] br-lan: port 2(wlan0) entered blocking state
Sun Feb 25 17:52:23 2018 kern.info kernel: [  853.551328] br-lan: port 2(wlan0) entered forwarding state
Sun Feb 25 17:52:23 2018 kern.info kernel: [  853.568193] br-lan: port 2(wlan0) entered disabled state
Sun Feb 25 17:52:23 2018 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Sun Feb 25 17:52:23 2018 daemon.notice hostapd: ACS: Automatic channel selection started, this may take a bit
Sun Feb 25 17:52:23 2018 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE->ACS
Sun Feb 25 17:52:23 2018 daemon.notice hostapd: wlan0: ACS-STARTED
Sun Feb 25 17:52:24 2018 daemon.info dnsmasq[2197]: read /etc/hosts - 4 addresses
Sun Feb 25 17:52:24 2018 daemon.info dnsmasq[2197]: read /tmp/hosts/dhcp.cfg01411c - 3 addresses
Sun Feb 25 17:52:24 2018 daemon.info dnsmasq-dhcp[2197]: read /etc/ethers - 0 addresses
Sun Feb 25 17:52:31 2018 daemon.err hostapd: ACS: Unable to collect survey data
Sun Feb 25 17:52:31 2018 daemon.err hostapd: ACS: All study options have failed
Sun Feb 25 17:52:31 2018 daemon.err hostapd: Interface initialization failed
Sun Feb 25 17:52:31 2018 daemon.notice hostapd: wlan0: interface state ACS->DISABLED
Sun Feb 25 17:52:31 2018 daemon.notice hostapd: wlan0: AP-DISABLED
Sun Feb 25 17:52:31 2018 daemon.err hostapd: ACS: Possibly channel configuration is invalid, please report this along with your config file.
Sun Feb 25 17:52:31 2018 daemon.err hostapd: ACS: Failed to start
Sun Feb 25 17:52:31 2018 daemon.notice hostapd: wlan0: AP-DISABLED
Sun Feb 25 17:52:31 2018 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0 wasn't started
Sun Feb 25 17:52:31 2018 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0-1 wasn't started
Sun Feb 25 17:52:31 2018 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Sun Feb 25 17:52:31 2018 kern.info kernel: [  861.472251] device wlan0 left promiscuous mode
Sun Feb 25 17:52:31 2018 kern.info kernel: [  861.476960] br-lan: port 2(wlan0) entered disabled state
Sun Feb 25 17:52:31 2018 daemon.notice hostapd: wlan0: interface state DISABLED->DISABLED
Sun Feb 25 17:52:31 2018 daemon.notice hostapd: wlan0: interface state DISABLED->DISABLED
Sun Feb 25 17:52:31 2018 daemon.notice hostapd: wlan0-1: AP-DISABLED
Sun Feb 25 17:52:31 2018 daemon.notice hostapd: wlan0-1: CTRL-EVENT-TERMINATING
Sun Feb 25 17:52:31 2018 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0-1 wasn't started
Sun Feb 25 17:52:31 2018 daemon.notice hostapd: wlan0: AP-DISABLED
Sun Feb 25 17:52:31 2018 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Sun Feb 25 17:52:31 2018 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0 wasn't started
Sun Feb 25 17:52:31 2018 daemon.notice netifd: radio0 (5677): WARNING (wireless_add_process): executable path /usr/sbin/wpad does not match process 1632 path ()
Sun Feb 25 17:52:31 2018 kern.info kernel: [  861.572639] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Sun Feb 25 17:52:31 2018 daemon.notice netifd: radio0 (5677): ip: SIOCGIFFLAGS: No such device
Sun Feb 25 17:52:31 2018 daemon.notice netifd: radio0 (5677): Interface 1 setup failed: IFUP_ERROR
Sun Feb 25 17:52:34 2018 user.notice led: Connection available
Sun Feb 25 17:52:42 2018 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
Sun Feb 25 17:52:42 2018 kern.info kernel: [  872.478706] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Sun Feb 25 17:52:42 2018 kern.info kernel: [  872.490938] br-lan: port 2(wlan0) entered blocking state
Sun Feb 25 17:52:42 2018 kern.info kernel: [  872.496622] br-lan: port 2(wlan0) entered disabled state
Sun Feb 25 17:52:42 2018 kern.info kernel: [  872.502554] device wlan0 entered promiscuous mode
Sun Feb 25 17:52:42 2018 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Sun Feb 25 17:52:42 2018 daemon.notice hostapd: ACS: Automatic channel selection started, this may take a bit
Sun Feb 25 17:52:42 2018 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE->ACS
Sun Feb 25 17:52:42 2018 daemon.notice hostapd: wlan0: ACS-STARTED

Boot log information

Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.000000] Linux version 4.9.82 (buildbot@builds) (gcc version 5.5.0 (OpenWrt GCC 5.5.0 r6291-3936616) ) #0 Sat Feb 24 15:12:57 2018
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Board has DDR2
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Analog PMU set to hw control
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Digital PMU set to hw control
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] SoC Type: MediaTek MT7628AN ver:1 eco:2
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] bootconsole [early0] enabled
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] CPU0 revision is: 00019655 (MIPS 24KEc)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] MIPS: machine is TP-Link TL-WR841N v13
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Determined physical RAM map:
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000]  memory: 04000000 @ 00000000 (usable)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Initrd not found or empty - disabling initrd
Sat Feb 24 15:42:39 2018 kern.warn kernel: [    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Sat Feb 24 15:42:39 2018 kern.warn kernel: [    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Zone ranges:
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Movable zone start for each node
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Early memory node ranges
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
Sat Feb 24 15:42:39 2018 kern.debug kernel: [    0.000000] On node 0 totalpages: 16384
Sat Feb 24 15:42:39 2018 kern.debug kernel: [    0.000000] free_area_init_node: node 0, pgdat 8042c8b4, node_mem_map 81000020
Sat Feb 24 15:42:39 2018 kern.debug kernel: [    0.000000]   Normal zone: 128 pages used for memmap
Sat Feb 24 15:42:39 2018 kern.debug kernel: [    0.000000]   Normal zone: 0 pages reserved
Sat Feb 24 15:42:39 2018 kern.debug kernel: [    0.000000]   Normal zone: 16384 pages, LIFO batch:3
Sat Feb 24 15:42:39 2018 kern.debug kernel: [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
Sat Feb 24 15:42:39 2018 kern.debug kernel: [    0.000000] pcpu-alloc: [0] 0
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Writing ErrCtl register=0002e590
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Readback ErrCtl register=0002e590
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Memory: 60180K/65536K available (3328K kernel code, 160K rwdata, 788K rodata, 196K init, 214K bss, 5356K reserved, 0K cma-reserved)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] NR_IRQS:256
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] intc: using register map from devicetree
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] CPU Clock: 580MHz
Sat Feb 24 15:42:39 2018 kern.crit kernel: [    0.000000] clocksource_probe: no matching clocksources found
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000012] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.007538] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.070056] pid_max: default: 32768 minimum: 301
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.074649] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.080990] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.094378] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.103871] futex hash table entries: 256 (order: -1, 3072 bytes)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.109805] pinctrl core: initialized pinctrl subsystem
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.116165] NET: Registered protocol family 16
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.141577] mt7621_gpio 10000600.gpio: registering 32 gpios
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.147299] mt7621_gpio 10000600.gpio: registering 32 gpios
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.152855] mt7621_gpio 10000600.gpio: registering 32 gpios
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.162541] clocksource: Switched to clocksource MIPS
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.168725] NET: Registered protocol family 2
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.173953] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.180647] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.186833] TCP: Hash tables configured (established 1024 bind 1024)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.193030] UDP hash table entries: 256 (order: 0, 4096 bytes)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.198631] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.204961] NET: Registered protocol family 1
Sat Feb 24 15:42:39 2018 kern.debug kernel: [    0.209136] PCI: CLS 0 bytes, default 32
Sat Feb 24 15:42:39 2018 kern.warn kernel: [    0.212220] Crashlog allocated RAM at address 0x3f00000
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.218487] workingset: timestamp_bits=30 max_order=14 bucket_order=0
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.233706] squashfs: version 4.0 (2009/01/31) Phillip Lougher
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.239280] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.258244] io scheduler noop registered
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.261976] io scheduler deadline registered (default)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.267855] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.277514] console [ttyS0] disabled
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.280950] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.289727] console [ttyS0] enabled
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.296720] bootconsole [early0] disabled
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.306182] spi-mt7621 10000b00.spi: sys_freq: 193333333
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.326112] m25p80 spi32766.0: using chunked io (size=32)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.331605] m25p80 spi32766.0: s25fl064k (8192 Kbytes)
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.336872] 4 ofpart partitions found on MTD device spi32766.0
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.342799] Creating 4 MTD partitions on "spi32766.0":
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.348031] 0x000000000000-0x000000020000 : "boot"
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.354629] 0x000000020000-0x0000007c0000 : "firmware"
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.409677] 2 tplink-fw partitions found on MTD device firmware
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.415726] 0x000000020000-0x00000017bf82 : "kernel"
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.422399] 0x00000017bf84-0x0000007c0000 : "rootfs"
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.429316] mtd: device 3 (rootfs) set to be root filesystem
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.435670] 1 squashfs-split partitions found on MTD device rootfs
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.441957] 0x0000004c0000-0x0000007c0000 : "rootfs_data"
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.449113] 0x0000007c0000-0x0000007d0000 : "config"
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.456109] 0x0000007d0000-0x000000800000 : "factory"
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.463823] libphy: Fixed MDIO Bus: probed
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.477020] rt3050-esw 10110000.esw: link changed 0x00
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.484907] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.494972] NET: Registered protocol family 10
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.502665] NET: Registered protocol family 17
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.507243] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.520395] 8021q: 802.1Q VLAN Support v1.8
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.537708] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.545989] Freeing unused kernel memory: 196K
Sat Feb 24 15:42:39 2018 kern.warn kernel: [    0.550496] This architecture does not have kernel memory protection.
Sat Feb 24 15:42:39 2018 user.info kernel: [    1.738778] init: Console is alive
Sat Feb 24 15:42:39 2018 user.info kernel: [    1.742456] init: - watchdog -
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    2.212552] random: fast init done
Sat Feb 24 15:42:39 2018 user.info kernel: [    3.778742] kmodloader: loading kernel modules from /etc/modules-boot.d/*
Sat Feb 24 15:42:39 2018 kern.info kernel: [    3.990946] usbcore: registered new interface driver usbfs
Sat Feb 24 15:42:39 2018 kern.info kernel: [    3.996710] usbcore: registered new interface driver hub
Sat Feb 24 15:42:39 2018 kern.info kernel: [    4.002204] usbcore: registered new device driver usb
Sat Feb 24 15:42:39 2018 kern.info kernel: [    4.013603] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Sat Feb 24 15:42:39 2018 kern.info kernel: [    4.022121] ehci-platform: EHCI generic platform driver
Sat Feb 24 15:42:39 2018 user.info kernel: [    4.032782] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
Sat Feb 24 15:42:39 2018 user.info kernel: [    4.041790] init: - preinit -
Sat Feb 24 15:42:39 2018 kern.info kernel: [    5.471487] rt3050-esw 10110000.esw: link changed 0x00
Sat Feb 24 15:42:39 2018 kern.info kernel: [    8.844888] rt3050-esw 10110000.esw: link changed 0x01
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    8.918943] jffs2: notice: (354) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
Sat Feb 24 15:42:39 2018 user.info kernel: [    8.936992] mount_root: switching to jffs2 overlay
Sat Feb 24 15:42:39 2018 user.warn kernel: [    8.999423] urandom-seed: Seed file not found (/etc/urandom.seed)
Sat Feb 24 15:42:39 2018 user.info kernel: [    9.120387] procd: - early -
Sat Feb 24 15:42:39 2018 user.info kernel: [    9.124254] procd: - watchdog -
Sat Feb 24 15:42:39 2018 user.info kernel: [    9.711108] procd: - watchdog -
Sat Feb 24 15:42:39 2018 user.info kernel: [    9.714637] procd: - ubus -
Sat Feb 24 15:42:39 2018 user.info kernel: [    9.860378] procd: - init -
Sat Feb 24 15:42:39 2018 user.info kernel: [   10.441522] kmodloader: loading kernel modules from /etc/modules.d/*
Sat Feb 24 15:42:39 2018 kern.info kernel: [   10.546554] ip6_tables: (C) 2000-2006 Netfilter Core Team
Sat Feb 24 15:42:39 2018 kern.info kernel: [   10.562939] Netfilter messages via NETLINK v0.30.
Sat Feb 24 15:42:39 2018 kern.info kernel: [   10.570949] ip_set: protocol 6
Sat Feb 24 15:42:39 2018 kern.info kernel: [   10.624896] u32 classifier
Sat Feb 24 15:42:39 2018 kern.info kernel: [   10.627652]     input device check on
Sat Feb 24 15:42:39 2018 kern.info kernel: [   10.631358]     Actions configured
Sat Feb 24 15:42:39 2018 kern.info kernel: [   10.637834] Mirror/redirect action on
Sat Feb 24 15:42:39 2018 kern.info kernel: [   10.816137] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
Sat Feb 24 15:42:39 2018 kern.notice kernel: [   10.829980] Bridge firewalling registered
Sat Feb 24 15:42:39 2018 kern.info kernel: [   10.836244] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
Sat Feb 24 15:42:39 2018 kern.info kernel: [   10.844437] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
Sat Feb 24 15:42:39 2018 kern.info kernel: [   10.855699] ip_tables: (C) 2000-2006 Netfilter Core Team
Sat Feb 24 15:42:39 2018 kern.info kernel: [   11.078289] xt_time: kernel timezone is -0000
Sat Feb 24 15:42:39 2018 kern.info kernel: [   11.197613] mt76_wmac 10300000.wmac: ASIC revision: 76280001
Sat Feb 24 15:42:39 2018 kern.info kernel: [   11.208400] mt76_wmac 10300000.wmac: Firmware Version: _e2_mp
Sat Feb 24 15:42:39 2018 kern.info kernel: [   11.214334] mt76_wmac 10300000.wmac: Build Time: 20150211175503
Sat Feb 24 15:42:39 2018 kern.warn kernel: [   11.232541] firmware init done
Sat Feb 24 15:42:39 2018 kern.debug kernel: [   11.399014] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Sat Feb 24 15:42:39 2018 kern.info kernel: [   11.430112] PPP generic driver version 2.4.2
Sat Feb 24 15:42:39 2018 kern.info kernel: [   11.446558] NET: Registered protocol family 24
Sat Feb 24 15:42:39 2018 user.info kernel: [   11.571831] kmodloader: done loading kernel modules from /etc/modules.d/*
Sat Feb 24 15:42:40 2018 kern.info kernel: [   14.779709] rt3050-esw 10110000.esw: link changed 0x00
Sat Feb 24 15:42:41 2018 user.notice : Added device handler type: tunnel
Sat Feb 24 15:42:41 2018 user.notice : Added device handler type: Network device
Sat Feb 24 15:42:41 2018 user.notice : Added device handler type: bridge
Sat Feb 24 15:42:41 2018 user.notice : Added device handler type: veth
Sat Feb 24 15:42:41 2018 user.notice : Added device handler type: macvlan
Sat Feb 24 15:42:41 2018 user.notice : Added device handler type: 8021ad
Sat Feb 24 15:42:41 2018 user.notice : Added device handler type: 8021q
Sat Feb 24 15:42:42 2018 cron.info crond[867]: crond (busybox 1.27.2) started, log level 8
Sat Feb 24 15:42:43 2018 authpriv.info dropbear[900]: Not backgrounding
Sat Feb 24 15:42:43 2018 kern.info kernel: [   18.150107] rt3050-esw 10110000.esw: link changed 0x01
Sat Feb 24 15:42:46 2018 kern.info kernel: [   21.015586] br-lan: port 1(eth0.1) entered blocking state
Sat Feb 24 15:42:46 2018 kern.info kernel: [   21.021079] br-lan: port 1(eth0.1) entered disabled state
Sat Feb 24 15:42:46 2018 kern.info kernel: [   21.027088] device eth0.1 entered promiscuous mode
Sat Feb 24 15:42:46 2018 kern.info kernel: [   21.031953] device eth0 entered promiscuous mode
Sat Feb 24 15:42:46 2018 kern.info kernel: [   21.061117] br-lan: port 1(eth0.1) entered blocking state
Sat Feb 24 15:42:46 2018 kern.info kernel: [   21.066667] br-lan: port 1(eth0.1) entered forwarding state
Sat Feb 24 15:42:46 2018 kern.info kernel: [   21.072569] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
Sat Feb 24 15:42:46 2018 daemon.notice netifd: Interface 'lan' is enabled
Sat Feb 24 15:42:46 2018 daemon.notice netifd: Interface 'lan' is setting up now
Sat Feb 24 15:42:46 2018 daemon.notice netifd: Interface 'lan' is now up
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'admin' is enabled
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'admin' is setting up now
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'admin' is now up
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'loopback' is enabled
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'loopback' is setting up now
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'loopback' is now up
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'wan' is enabled
Sat Feb 24 15:42:47 2018 kern.info kernel: [   21.432180] IPv6: ADDRCONF(NETDEV_UP): br-lanfree: link is not ready
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'lanfree' is enabled
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'lanfree' is setting up now
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'lanfree' is now up
Sat Feb 24 15:42:47 2018 daemon.notice netifd: bridge 'br-lan' link is up
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'lan' has link connectivity
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Network device 'eth0' link is up
Sat Feb 24 15:42:47 2018 daemon.notice netifd: VLAN 'eth0.1' link is up
Sat Feb 24 15:42:47 2018 daemon.notice netifd: VLAN 'eth0.3' link is up
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'admin' has link connectivity
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Network device 'lo' link is up
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'loopback' has link connectivity
Sat Feb 24 15:42:47 2018 daemon.notice netifd: VLAN 'eth0.2' link is up
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'wan' has link connectivity
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'wan' is setting up now
Sat Feb 24 15:42:47 2018 daemon.notice netifd: wan (1212): udhcpc: started, v1.27.2
Sat Feb 24 15:42:47 2018 kern.info kernel: [   22.030028] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
Sat Feb 24 15:42:48 2018 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Sat Feb 24 15:42:48 2018 daemon.notice netifd: wan (1212): udhcpc: sending discover
Sat Feb 24 15:42:48 2018 daemon.notice netifd: wan (1212): udhcpc: sending select for 192.168.1.7
Sat Feb 24 15:42:48 2018 daemon.notice netifd: wan (1212): udhcpc: lease of 192.168.1.7 obtained, lease time 86400
Sat Feb 24 15:42:48 2018 daemon.notice netifd: Interface 'wan' is now up
Sat Feb 24 15:42:49 2018 user.notice firewall: Reloading firewall due to ifup of lanfree (br-lanfree)
Sat Feb 24 15:42:50 2018 user.notice firewall: Reloading firewall due to ifup of wan (eth0.2)
Sat Feb 24 15:42:51 2018 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.382956] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.397174] br-lan: port 2(wlan0) entered blocking state
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.402673] br-lan: port 2(wlan0) entered disabled state
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.408510] device wlan0 entered promiscuous mode
Sat Feb 24 15:42:51 2018 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Sat Feb 24 15:42:51 2018 daemon.err hostapd: Using interface wlan0 with hwaddr c0:25:e9:b1:48:b6 and ssid "Portal"
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.448746] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.455484] br-lan: port 2(wlan0) entered blocking state
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.460901] br-lan: port 2(wlan0) entered forwarding state
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.473557] br-lanfree: port 1(wlan0-1) entered blocking state
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.479592] br-lanfree: port 1(wlan0-1) entered disabled state
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.486189] device wlan0-1 entered promiscuous mode
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.602634] IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.608836] br-lanfree: port 1(wlan0-1) entered blocking state
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.614773] br-lanfree: port 1(wlan0-1) entered forwarding state
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.621709] IPv6: ADDRCONF(NETDEV_CHANGE): br-lanfree: link becomes ready
Sat Feb 24 15:42:51 2018 daemon.notice netifd: bridge 'br-lanfree' link is up
Sat Feb 24 15:42:51 2018 daemon.notice netifd: Interface 'lanfree' has link connectivity

Thanks

05.03.20181408Base systemFeature RequestVery LowMediumSeparate device-specific config files in base files & r...AllUnconfirmed Task Description

The redundant config files for other targets in the same arch (e.g. in /etc/diag.sh, /lib/preinit/, /etc/board.d) can take quite a bit of space (a few of kB after sfs, especially for popular archs like ar71xx). Separating config files into board-specific base-files.ipk packages can be very useful for devices with limited flash space.

Also, it will be much helpful to include an option/script in the image builder for auto-removing comments and white-space in all bash and lua files since this will also be much useful for devices with 4MB flash.

07.03.20181417Base systemBug ReportVery LowMediumLinksys WRT 3200ACM Note for DFS of WRT3200ACM (88W8964...AllUnconfirmed Task Description

Supply the following if possible:

* Device problem occurs on

  • Linksys WRT 3200ACM

* Software versions of OpenWrt/LEDE release, packages, etc.

  • All releases (trunk, stable)

* Steps to reproduce

  • The firmware is included the following packages by default:
    • kmod-mwifiex-sdio
    • mwifiex-sdio-firmware
    • radio2 and default_radio2 in /etc/config/wireless - which is the radar for Linksys WRT 3200ACM

Based on the discussions with @yuhhaurlin from Github based on and the European but US version as well:
https://github.com/kaloz/mwlwifi/blob/master/README.md - Note for DFS of WRT3200ACM (88W8964)
https://github.com/kaloz/mwlwifi/issues/280 https://github.com/kaloz/mwlwifi/issues/280#issuecomment-370997269 https://github.com/kaloz/mwlwifi/issues/280#issuecomment-371061171 https://github.com/kaloz/mwlwifi/issues/280#issuecomment-371063231 https://github.com/kaloz/mwlwifi/issues/280#issuecomment-371070315

As @yuhhaurlin described mwlwifi takes care of everything of this router, but the defaults for the configs includes the:
* kmod-mwifiex-sdio
* mwifiex-sdio-firmware
* radio2 and default_radio2 in /etc/config/wireless - which is the radar for Linksys WRT 3200ACM

But it just giving problems and to make to work you need to exclude these.

My request is to remove it in the .config defaults and the image-builder as well so the router is working (will) perfectly with 160Mhz, DTS, DFS radar and MU-MIMO.

They could be installed as a module, but as @yuhhaurlin in GitHub describes mwlwifi is not required totally.

Besides kmod-mwifiex-sdio and mwifiex-sdio-firmware might only work with US, but then again mwlwifi takes care everything.

 


20.03.20181451Base systemBug ReportVery LowMediumAccess points should not run a DHCP server after instal...TrunkUnconfirmed Task Description

Take an [UniFi AP](https://openwrt.org/toh/ubiquiti/unifi) or [UniFi AC AP](https://openwrt.org/toh/ubiquiti/unifiac) and deploy OpenWRT to it. It’ll come up as an authoritative DHCP server, which is (a) completely unexpected, as no reasonable network will have authoritative DHCP servers running on access points, and (b) disruptive.

I think that default configuration for access points should be any of, in the order decreasing preference:

  • DHCP client with fallback to static configuration
  • Just DHCP client
  • Static configuration
29.03.20181461Base systemBug ReportVery LowMedium[hostapd] wpa_supplicant and mesh fail to connect after...TrunkUnconfirmed Task Description

Even after changing /etc/config/wireless to use option sae_password, mesh node fails to connect with other nodes with builds on or after the indicated commit.

This may be an upstream issue, even though hostap/wpa_supplicant/wpa_supplicant.conf does call out sae_password

Reverting to the older version of /lib/netifd/hostapd.sh allows the mesh to properly connect. (The config file contains both key and sae_password entries.) Commenting out the option key line in the config file for the failing build does not change the behavior.

Reverting /lib/netifd/hostapd.sh is a work-around at this time.

Interface is up as per both iw dev and ip link

/var/run/wpa_supplicant-mesh0.conf has been confirmed to pick up sae_password in the impacted builds and be otherwise “the same” as functioning builds.

network={
	
	ssid="<mesh ID>"
	key_mgmt=SAE
	mode=5
	fixed_freq=1
	frequency=5745
	ht40=1
	vht=1
	max_oper_chwidth=1
	sae_password="<same for both>"
	beacon_int=100
}

The command line executing wpa_supplicant on the interface is the same in both cases
/usr/sbin/wpa_supplicant -B -b br-mesh -P /var/run/wpa_supplicant-mesh0.pid -D nl80211 -i mesh0 -c /var/run/wpa_supplicant-mesh0.conf -C/var/run/wpa_supplicant

config wifi-device 'radio5'
	option type 'mac80211'
	option channel '149'
	option hwmode '11a'
	option path 'pci0000:01/0000:01:00.0'
	option htmode 'VHT80'
	option require_mode 'ac'

config wifi-iface 'mesh0'
	option device 'radio5'
	option ifname 'mesh0'
	option mode 'mesh'
	option mesh_id '<mesh ID>'
	option mesh_fwding '1'
	option encryption 'psk2+ccmp'
	option key '<same for both>'
	option sae_password '<same for both>'
	option network 'mesh'

Four Archer C7 v2 units
5 GHz radio for all on the mesh; other units running older builds with identical config for 5 GHz radio, other than the addition of option sae_password

Clean builds for the DUT with identical .config for both builds.

OpenWRT tree:

Good: 9b92afa3aa3bf19986983f4dceb54b4952d4b970 uci: update to latest git
Fails: eba3b028e46dbfe54f1208e9edf47bb0c6f73ac8 hostapd: update to git snapshot of 2018-03-26

Makefile changes around hostap:

-PKG_SOURCE_DATE:=2018-03-26
-PKG_SOURCE_VERSION:=64624f31cf81dc6164462fa153ee7a5909e21183

+PKG_SOURCE_DATE:=2017-08-24
+PKG_SOURCE_VERSION:=c2d4f2eb5dba0b5c5a8c5805823084da958a9b52


08.04.20181478Base systemBug ReportVery LowMediumopenvpn: comp_lzo option is ignoredTrunkUnconfirmed Task Description

Model Xiaomi Mi Router 3G
Firmware Version OpenWrt SNAPSHOT r6640-c0742307a1 / LuCI Master (git-18.096.77918-83a59dc)
Kernel Version 4.14.32

“comp_lzo” option in /etc/openvpn/config is ignored - it missing in openvpn conf file

Having following config entry:

config openvpn 'myvpn_tap'
        option float '1'
        option client '1'
        option dev 'tap'
        option reneg_sec '0'
        option verb '3'
        option persist_key '1'
        option nobind '1'
        option remote_cert_tls 'server'
        list remote 'myserver'
        option port '1195'
        option proto 'udp'
        option pkcs12 '/etc/luci-uploads/cbid.openvpn.myvpn_tap.pkcs12'
        option log_append '/var/log/openvpn_myvpn_tap.log'
        option enabled '1'
        option comp_lzo 'yes'

but “comp_lzo” option is not saved into /var/etc/openvpn_myvpn_tap.conf which turns tunnel non-working in case option enabled on the server side


14.04.20181492Base systemBug ReportVery LowMediumodhcpd triggered dnsmasq reloads spam system logTrunkUnconfirmed Task Description

odhcpd currently spams system log as it causes so many dnsmasq config reloads.

This log spam problem has been present in Openwrt/LEDE master since late 2017, when odhcpd (and/or netifd?) were changed so that the odhcpd more frequently signals dnsmasq to reload its hosts config via /usr/sbin/odhcpd-update script.

I have native ipv6 and most of my devices are ipv6 aware, so the problem is quite visible. There has been also some forum discussion about the problem, e.g. in the david wrt1900ac build thread, so others have noticed the problem, too.

As the RA lifetimes and DHCPv6 lifetimes are rather short by default, this reloading seems to happen every few minutes when a device joins or renews its address.

System log gets spammed with dnsmasq reload log lines whenever odhcpd writes the /tmp/hosts/odhcpd file and then triggers dnsmasq reload via /usr/sbin/odhcpd-update.

I added a logger statement “ ODHCPD event ” to /usr/sbin/odhcpd-update and that pretty clearly indicates the additional problem that odhcpd can cause multiple reloads inside 1-2 seconds for a single device joining and getting an address.

I am not sure what is the best approach:

  • Reduce dnsmasq reload log verbosity. Sounds more like a quick and dirty patch than an actual fix.
  • Reduce dnsmasq reloads via longer RA/DHCPv6 address lifetimes.
  • Reduce dnsmasq reloads via combining several events before triggering /usr/sbin/odhcpd-update. Currently a single device can cause multiple reloads inside a few seconds. Maybe there could be a “dirty flag” that is then evaluated once per minute and only then causes a /usr/sbin/odhcpd-update call.
  • Write /tmp/hosts/odhcpd less frequently. Evaluate the need to actually write it, or at least evaluate the need to trigger a dnsmasq reload. Currently the file gets the plain address allocations but also a # commented-out line with timestamp etc. debug info. AFAIK that is not really utilised by dnsmasq, so that is just for debug purposes. I general, if a device just renews its existing dhcpv6 address, there should be no need to reload dnsmasq because of /tmp/hosts/odhcpd (as the actual information does not change, although the debug timestamp changes)

Example of /tmp/hosts/odhcpd

2001:14ba:801f:9f00::180        Z97IW7
fd1b:7654:3210::180     Z97IW7
# br-lan 000100011b8be1ec7824af3a801c e7824af Z97IW7 -1 180 128 2001:14ba:801f:9f00::180/128 fd1b:7654:3210::180/128
2001:14ba:801f:9f00::67f        router2
fd1b:7654:3210::67f     router2
# br-lan 00030001c63dc7a33f50 1 router2 1523711242 67f 128 2001:14ba:801f:9f00::67f/128 fd1b:7654:3210::67f/128
2001:14ba:801f:9f00::dbd        Hannu650
fd1b:7654:3210::dbd     Hannu650
# br-lan 000100181e4723f200a0c6000000 d5cca1a Hannu650 1523711242 dbd 128 2001:14ba:801f:9f00::dbd/128 fd1b:7654:3210::dbd/128

odhcpd is not the only culprit for dnsmasq reloads, but it is very visible at least in my use case

Log below:

Sat Apr 14 11:19:36 2018 user.notice odhcpd: **** ODHCPD event ****
Sat Apr 14 11:19:36 2018 daemon.info dnsmasq[3409]: read /etc/hosts - 4 addresses
Sat Apr 14 11:19:36 2018 daemon.info dnsmasq[3409]: read /tmp/hosts/odhcpd - 4 addresses
Sat Apr 14 11:19:36 2018 daemon.info dnsmasq[3409]: read /tmp/hosts/dhcp.cfg01411c - 2 addresses
Sat Apr 14 11:19:36 2018 daemon.info dnsmasq-dhcp[3409]: read /etc/ethers - 0 addresses
Sat Apr 14 11:19:36 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zztxdown.com
Sat Apr 14 11:19:36 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zzshw.net
Sat Apr 14 11:19:36 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zzpxw.cn
Sat Apr 14 11:19:36 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zyjyyy.com
Sat Apr 14 11:19:36 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zwgoca.com
Sat Apr 14 11:19:36 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zw52.ru
Sat Apr 14 11:19:36 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zumobi.com
Sat Apr 14 11:19:36 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zum.mudmaggot.com
Sat Apr 14 11:19:36 2018 daemon.info dnsmasq[3409]: using nameserver 62.241.198.246#53
Sat Apr 14 11:19:36 2018 daemon.info dnsmasq[3409]: using nameserver 62.241.198.245#53
Sat Apr 14 11:19:36 2018 daemon.info dnsmasq[3409]: using nameserver 2001:14b8:1000::1#53
Sat Apr 14 11:19:36 2018 daemon.info dnsmasq[3409]: using nameserver 2001:14b8:1000::2#53
Sat Apr 14 11:19:36 2018 daemon.info dnsmasq[3409]: using 4651 more local addresses
Sat Apr 14 11:19:37 2018 daemon.warn odhcpd[1396]: DHCPV6 REQUEST IA_NA from 000100011b8be1ec7824af3a801c on br-lan: ok 2001:14ba:801f:9f00::180/128 fd1b:7654:3210::180/128
Sat Apr 14 11:19:37 2018 user.notice odhcpd: **** ODHCPD event ****
Sat Apr 14 11:19:37 2018 daemon.info dnsmasq[3409]: read /etc/hosts - 4 addresses
Sat Apr 14 11:19:37 2018 daemon.info dnsmasq[3409]: read /tmp/hosts/odhcpd - 6 addresses
Sat Apr 14 11:19:37 2018 daemon.info dnsmasq[3409]: read /tmp/hosts/dhcp.cfg01411c - 2 addresses
Sat Apr 14 11:19:37 2018 daemon.info dnsmasq-dhcp[3409]: read /etc/ethers - 0 addresses
Sat Apr 14 11:19:37 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zztxdown.com
Sat Apr 14 11:19:37 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zzshw.net
Sat Apr 14 11:19:37 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zzpxw.cn
Sat Apr 14 11:19:37 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zyjyyy.com
Sat Apr 14 11:19:37 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zwgoca.com
Sat Apr 14 11:19:37 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zw52.ru
Sat Apr 14 11:19:37 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zumobi.com
Sat Apr 14 11:19:37 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zum.mudmaggot.com
Sat Apr 14 11:19:37 2018 daemon.info dnsmasq[3409]: using nameserver 62.241.198.246#53
Sat Apr 14 11:19:37 2018 daemon.info dnsmasq[3409]: using nameserver 62.241.198.245#53
Sat Apr 14 11:19:37 2018 daemon.info dnsmasq[3409]: using nameserver 2001:14b8:1000::1#53
Sat Apr 14 11:19:37 2018 daemon.info dnsmasq[3409]: using nameserver 2001:14b8:1000::2#53
Sat Apr 14 11:19:37 2018 daemon.info dnsmasq[3409]: using 4651 more local addresses
Sat Apr 14 11:20:54 2018 daemon.info dnsmasq-dhcp[3409]: DHCPREQUEST(br-lan) 192.168.1.165 5c:ca:1a:2a:cd:c4
Sat Apr 14 11:20:54 2018 daemon.info dnsmasq-dhcp[3409]: DHCPACK(br-lan) 192.168.1.165 5c:ca:1a:2a:cd:c4 Hannu650
Sat Apr 14 11:20:55 2018 daemon.warn odhcpd[1396]: DHCPV6 CONFIRM IA_NA from 000100181e4723f200a0c6000000 on br-lan: not on-link 2001:14ba:801f:9f00::dbd/128 fd1b:7654:3210::dbd/128
Sat Apr 14 11:20:55 2018 daemon.warn odhcpd[1396]: DHCPV6 CONFIRM IA_NA from 000100181e4723f200a0c6000000 on br-lan: not on-link 2001:14ba:801f:9f00::dbd/128 fd1b:7654:3210::dbd/128
Sat Apr 14 11:20:56 2018 daemon.warn odhcpd[1396]: DHCPV6 CONFIRM IA_NA from 000100181e4723f200a0c6000000 on br-lan: not on-link 2001:14ba:801f:9f00::dbd/128 fd1b:7654:3210::dbd/128
Sat Apr 14 11:20:56 2018 daemon.warn odhcpd[1396]: DHCPV6 CONFIRM IA_NA from 000100181e4723f200a0c6000000 on br-lan: not on-link 2001:14ba:801f:9f00::dbd/128 fd1b:7654:3210::dbd/128
Sat Apr 14 11:20:56 2018 daemon.warn odhcpd[1396]: DHCPV6 SOLICIT IA_NA from 000100181e4723f200a0c6000000 on br-lan: ok 2001:14ba:801f:9f00::dbd/128 fd1b:7654:3210::dbd/128
Sat Apr 14 11:20:56 2018 user.notice odhcpd: **** ODHCPD event ****
Sat Apr 14 11:20:56 2018 daemon.info dnsmasq[3409]: read /etc/hosts - 4 addresses
Sat Apr 14 11:20:56 2018 daemon.info dnsmasq[3409]: read /tmp/hosts/odhcpd - 4 addresses
Sat Apr 14 11:20:56 2018 daemon.info dnsmasq[3409]: read /tmp/hosts/dhcp.cfg01411c - 2 addresses
Sat Apr 14 11:20:56 2018 daemon.info dnsmasq-dhcp[3409]: read /etc/ethers - 0 addresses
Sat Apr 14 11:20:56 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zztxdown.com
Sat Apr 14 11:20:56 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zzshw.net
Sat Apr 14 11:20:56 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zzpxw.cn
Sat Apr 14 11:20:56 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zyjyyy.com
Sat Apr 14 11:20:56 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zwgoca.com
Sat Apr 14 11:20:56 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zw52.ru
Sat Apr 14 11:20:56 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zumobi.com
Sat Apr 14 11:20:56 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zum.mudmaggot.com
Sat Apr 14 11:20:56 2018 daemon.info dnsmasq[3409]: using nameserver 62.241.198.246#53
Sat Apr 14 11:20:56 2018 daemon.info dnsmasq[3409]: using nameserver 62.241.198.245#53
Sat Apr 14 11:20:56 2018 daemon.info dnsmasq[3409]: using nameserver 2001:14b8:1000::1#53
Sat Apr 14 11:20:56 2018 daemon.info dnsmasq[3409]: using nameserver 2001:14b8:1000::2#53
Sat Apr 14 11:20:56 2018 daemon.info dnsmasq[3409]: using 4651 more local addresses
Sat Apr 14 11:20:57 2018 daemon.warn odhcpd[1396]: DHCPV6 REQUEST IA_NA from 000100181e4723f200a0c6000000 on br-lan: ok 2001:14ba:801f:9f00::dbd/128 fd1b:7654:3210::dbd/128
Sat Apr 14 11:20:57 2018 user.notice odhcpd: **** ODHCPD event ****
Sat Apr 14 11:20:57 2018 daemon.info dnsmasq[3409]: read /etc/hosts - 4 addresses
Sat Apr 14 11:20:57 2018 daemon.info dnsmasq[3409]: read /tmp/hosts/odhcpd - 6 addresses
Sat Apr 14 11:20:57 2018 daemon.info dnsmasq[3409]: read /tmp/hosts/dhcp.cfg01411c - 2 addresses
Sat Apr 14 11:20:57 2018 daemon.info dnsmasq-dhcp[3409]: read /etc/ethers - 0 addresses
Sat Apr 14 11:20:57 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zztxdown.com
Sat Apr 14 11:20:57 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zzshw.net
Sat Apr 14 11:20:57 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zzpxw.cn
Sat Apr 14 11:20:57 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zyjyyy.com
Sat Apr 14 11:20:57 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zwgoca.com
Sat Apr 14 11:20:57 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zw52.ru
Sat Apr 14 11:20:57 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zumobi.com
Sat Apr 14 11:20:57 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zum.mudmaggot.com
Sat Apr 14 11:20:57 2018 daemon.info dnsmasq[3409]: using nameserver 62.241.198.246#53
Sat Apr 14 11:20:57 2018 daemon.info dnsmasq[3409]: using nameserver 62.241.198.245#53
Sat Apr 14 11:20:57 2018 daemon.info dnsmasq[3409]: using nameserver 2001:14b8:1000::1#53
Sat Apr 14 11:20:57 2018 daemon.info dnsmasq[3409]: using nameserver 2001:14b8:1000::2#53
Sat Apr 14 11:20:57 2018 daemon.info dnsmasq[3409]: using 4651 more local addresses
Sat Apr 14 11:42:55 2018 daemon.info dnsmasq-dhcp[3409]: DHCPREQUEST(br-lan) 192.168.1.165 5c:ca:1a:2a:cd:c4
Sat Apr 14 11:42:55 2018 daemon.info dnsmasq-dhcp[3409]: DHCPACK(br-lan) 192.168.1.165 5c:ca:1a:2a:cd:c4 Hannu650
Sat Apr 14 11:42:56 2018 daemon.warn odhcpd[1396]: DHCPV6 CONFIRM IA_NA from 000100181e4723f200a0c6000000 on br-lan: not on-link 2001:14ba:801f:9f00::dbd/128 fd1b:7654:3210::dbd/128
Sat Apr 14 11:42:56 2018 daemon.warn odhcpd[1396]: DHCPV6 CONFIRM IA_NA from 000100181e4723f200a0c6000000 on br-lan: not on-link 2001:14ba:801f:9f00::dbd/128 fd1b:7654:3210::dbd/128
Sat Apr 14 11:42:57 2018 daemon.warn odhcpd[1396]: DHCPV6 CONFIRM IA_NA from 000100181e4723f200a0c6000000 on br-lan: not on-link 2001:14ba:801f:9f00::dbd/128 fd1b:7654:3210::dbd/128
Sat Apr 14 11:42:57 2018 daemon.warn odhcpd[1396]: DHCPV6 CONFIRM IA_NA from 000100181e4723f200a0c6000000 on br-lan: not on-link 2001:14ba:801f:9f00::dbd/128 fd1b:7654:3210::dbd/128
Sat Apr 14 11:42:58 2018 daemon.warn odhcpd[1396]: DHCPV6 SOLICIT IA_NA from 000100181e4723f200a0c6000000 on br-lan: ok 2001:14ba:801f:9f00::dbd/128 fd1b:7654:3210::dbd/128
Sat Apr 14 11:42:58 2018 user.notice odhcpd: **** ODHCPD event ****
Sat Apr 14 11:42:58 2018 daemon.info dnsmasq[3409]: read /etc/hosts - 4 addresses
Sat Apr 14 11:42:58 2018 daemon.info dnsmasq[3409]: read /tmp/hosts/odhcpd - 4 addresses
Sat Apr 14 11:42:58 2018 daemon.info dnsmasq[3409]: read /tmp/hosts/dhcp.cfg01411c - 2 addresses
Sat Apr 14 11:42:58 2018 daemon.info dnsmasq-dhcp[3409]: read /etc/ethers - 0 addresses
Sat Apr 14 11:42:58 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zztxdown.com
Sat Apr 14 11:42:58 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zzshw.net
Sat Apr 14 11:42:58 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zzpxw.cn
Sat Apr 14 11:42:58 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zyjyyy.com
Sat Apr 14 11:42:58 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zwgoca.com
Sat Apr 14 11:42:58 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zw52.ru
Sat Apr 14 11:42:58 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zumobi.com
Sat Apr 14 11:42:58 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zum.mudmaggot.com
Sat Apr 14 11:42:58 2018 daemon.info dnsmasq[3409]: using nameserver 62.241.198.246#53
Sat Apr 14 11:42:58 2018 daemon.info dnsmasq[3409]: using nameserver 62.241.198.245#53
Sat Apr 14 11:42:58 2018 daemon.info dnsmasq[3409]: using nameserver 2001:14b8:1000::1#53
Sat Apr 14 11:42:58 2018 daemon.info dnsmasq[3409]: using nameserver 2001:14b8:1000::2#53
Sat Apr 14 11:42:58 2018 daemon.info dnsmasq[3409]: using 4651 more local addresses
Sat Apr 14 11:42:59 2018 daemon.warn odhcpd[1396]: DHCPV6 REQUEST IA_NA from 000100181e4723f200a0c6000000 on br-lan: ok 2001:14ba:801f:9f00::dbd/128 fd1b:7654:3210::dbd/128
Sat Apr 14 11:42:59 2018 user.notice odhcpd: **** ODHCPD event ****
Sat Apr 14 11:42:59 2018 daemon.info dnsmasq[3409]: read /etc/hosts - 4 addresses
Sat Apr 14 11:42:59 2018 daemon.info dnsmasq[3409]: read /tmp/hosts/odhcpd - 6 addresses
Sat Apr 14 11:42:59 2018 daemon.info dnsmasq[3409]: read /tmp/hosts/dhcp.cfg01411c - 2 addresses
Sat Apr 14 11:42:59 2018 daemon.info dnsmasq-dhcp[3409]: read /etc/ethers - 0 addresses
Sat Apr 14 11:42:59 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zztxdown.com
Sat Apr 14 11:42:59 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zzshw.net
Sat Apr 14 11:42:59 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zzpxw.cn
Sat Apr 14 11:42:59 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zyjyyy.com
Sat Apr 14 11:42:59 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zwgoca.com
Sat Apr 14 11:42:59 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zw52.ru
Sat Apr 14 11:42:59 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zumobi.com
Sat Apr 14 11:42:59 2018 daemon.info dnsmasq[3409]: using local addresses only for domain zum.mudmaggot.com
Sat Apr 14 11:42:59 2018 daemon.info dnsmasq[3409]: using nameserver 62.241.198.246#53
Sat Apr 14 11:42:59 2018 daemon.info dnsmasq[3409]: using nameserver 62.241.198.245#53
Sat Apr 14 11:42:59 2018 daemon.info dnsmasq[3409]: using nameserver 2001:14b8:1000::1#53
Sat Apr 14 11:42:59 2018 daemon.info dnsmasq[3409]: using nameserver 2001:14b8:1000::2#53
Sat Apr 14 11:42:59 2018 daemon.info dnsmasq[3409]: using 4651 more local addresses
Sat Apr 14 11:49:32 2018 daemon.err uhttpd[4310]: luci: accepted login on / for root from 192.168.1.180
30.04.20181525Base systemBug ReportVery LowMediumlisting more than ~230 objects fails (ubusd discards me...TrunkUnconfirmed Task Description

When registering more than ~250 objects on ubus, calling

ubus list

on the command line hangs before finishing to list all the registered objects. It keeps waiting for data and the sequence end message on the socket forever.

This issue was witnessed on x86 VM builds of Chaos Calmer and LEDE 17.01.4 as well as ubus on a Linux Desktop. The number of objects being successfully listed varied for each system (232 for CC VM, 252 for LEDE VM and 572 on Desktop).

The root of the problem seems to be a limitation of the ubus daemon. When doing a recursive lookup, one message per object is sent from the daemon to the client. The current implementation of the ubus daemon seems to discard messages, when the fixed size tx queue is full.

The code responsible for this behavior can be found in method ubus_msg_enqueue() in ubusd.c:

if (cl->tx_queue[cl->txq_tail])
	return;

Calling one or more methods in rapid sequence could potentially lead to the same problem.

01.05.20181527Base systemBug ReportVery LowMediumAR8327 low throughputAllUnconfirmed Task Description

Affected devices and versions of LEDE/OpenWRT:
1x TL-WR1043NDv2 - OpenWrt SNAPSHOT, r6800-52ba576
3x TL-WR1043NDv2 - LEDE 17.01.4 (stable)
1x TL-WDR3600 - LEDE 17.01.4 (stable)

All of the above devices use AR8327 rev as their switch:
[ 0.881815] switch0: Atheros AR8327 rev. 4 switch registered on ag71xx-mdio.0

Steps to reproduce:
A) iperf clients
3x TL-WR1043NDv2 connected by their WAN port, that is configured to act as vlan trunk port only.
1x TL-WDR3600 connected by it’s WAN port, that is configured to act as vlan trunk port only.
1x TL-WR1043NDv2 connected by it’s port no 4, that is configured to act as vlan trunk port only.
B) iperf server 1 (192.168.0.1)
C) iperf server 2 (192.168.0.11)
D) four gigabit ethernet easysmart/websmart switches with 1,5GB+ throughput, each, in between A,B,C.

1. Any A against B over cable - as an example:
Client connecting to 192.168.0.1, TCP port 5001
TCP window size: 43.8 KByte (default)


[ 3] local 192.168.0.75 port 35102 connected with 192.168.0.1 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 179 MBytes 150 Mbits/sec

2. C against B over each of the 4 devices in D:
Client connecting to 192.168.0.1, TCP port 5001
TCP window size: 85.0 KByte (default)


[ 3] local 192.168.0.11 port 56228 connected with 192.168.0.1 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 1.09 GBytes 938 Mbits/sec

Each of the TP-Links is using switch-only, no WAN, no NAT, but INPUT-iptables for their respective vlans, so another test of one of the A-devices against B w/o iptables:


Client connecting to 192.168.0.1, TCP port 5001
TCP window size: 43.8 KByte (default)


[ 3] local 192.168.0.242 port 45976 connected with 192.168.0.1 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 213 MBytes 179 Mbits/sec

It seems, that devices containing AR8327 rev4 wont achieve more than 1/5 of the specified nominal LAN speeds, when acting as an endpoint.

Further observations: WLAN clients won’t exceed 25-30 Mbit/s, when using one of the trunked vlans. (WLAN client iwlwifi, Centrino N 2230, e.g. in either 40 or 20 MHz against A-devices in 802.11n WDS AP mode).

Since this is no WAN to LAN scenario, (missing) HWNAT cannot be involved.
Why is the switch performance below expectations? Is this a hw issue or a driver problem?

09.05.20181536Base systemBug ReportVery LowMediumUbus: not creating needed /var/run directoryAllUnconfirmed Task Description

/sbin/init create /tmp/run directory.
ubus uses /var/run directory that’s normally linked to /tmp aka /tmp/run and starts up.

If by accident /var is deleted and the router is rebooted the system hangs forever.
It does not help to create an empty /var directory /var/run is not created by ubus.

Console shows: “procd - early -” and afterwards “procd - ubus -”
The needed directories are created later inside “/etc/rc.d/S10boot” aka “/etc/init.d/boot”

20.05.20181554Base systemBug ReportVery LowMediumprocd/netifd: on shutdown direct start stopping netifd ...AllUnconfirmed Task Description

procd does not stop services managed by procd or not on shutdown before start stopping netifd
If there is no tun-ovpn and br-guest then br-lan is the first network that is stopped.
Consequence: ie radicale (not managed by procd) and dropbear (managed by procd) get no chance to correctly close their client connections.
So client-site running into timeout with possibly incomplete data transfer.

Log:

....
12:00:51 daemon.info procd: - shutdown -
12:00:53 daemon.notice netifd: Network device 'tun-ovpn' link is down
12:00:53 daemon.notice netifd: Interface 'ovpn' has link connectivity loss
12:00:53 daemon.notice netifd: Interface 'ovpn' is now down
12:00:53 daemon.notice netifd: Interface 'ovpn' is disabled
12:00:56 user.warn radicale[----]: Service shutdown FORCED
12:00:56 user.notice radicale[6141]: Service stoped successfully
12:00:56 authpriv.info dropbear[5674]: Early exit: Terminated by signal
12:00:56 authpriv.info dropbear[5675]: Early exit: Terminated by signal
12:00:56 daemon.notice netifd: Interface 'guest' is now down
12:00:56 kern.info kernel: [ 245.292858] br-guest: port 2(wlanif5g) entered disabled state
12:00:56 kern.info kernel: [ 245.298826] br-guest: port 1(wlanif2g) entered disabled state
....


29.06.20181622Base systemBug ReportVery LowMediumDSA switch port vlanopenwrt-18.06Unconfirmed Task Description

Device: Turris Omnia
Version: OpenWRT-18.06-rc1

Steps to reproduce:

Network configuration:

config interface 'lan'
        option type 'bridge'
        option ifname 'lan0 lan1 lan2 lan3 lan4.1'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'

config interface 'dmz'
        option type 'bridge'
        option ifname 'lan4.2'
        option proto 'static'
        option ipaddr '192.168.2.1'
        option netmask '255.255.255.0'

From router, I have ping with the other device on both vlan:

# ping -c 3 192.168.1.5
PING 192.168.1.5 (192.168.1.5): 56 data bytes
64 bytes from 192.168.1.5: seq=0 ttl=64 time=0.434 ms
64 bytes from 192.168.1.5: seq=1 ttl=64 time=0.335 ms
64 bytes from 192.168.1.5: seq=2 ttl=64 time=0.333 ms

--- 192.168.1.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.333/0.367/0.434 ms

# ping -c 3 192.168.2.5
PING 192.168.2.5 (192.168.2.5): 56 data bytes
64 bytes from 192.168.2.5: seq=0 ttl=64 time=0.455 ms
64 bytes from 192.168.2.5: seq=1 ttl=64 time=0.341 ms
64 bytes from 192.168.2.5: seq=2 ttl=64 time=0.337 ms

--- 192.168.2.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.337/0.377/0.455 ms

But from other device connected to lan0 port I can’t do ping. More exactly, the situation is the next:

  • All work as expected in the next cases:
    • movile → tun0 (openvpn) → br-lan → lan4.1 (part of br-lan) → remote device
    • tablet → wlan0 (part of br-lan) → lan4.1 (part of br-lan) → remote device
  • It do not work as expected in the next case:
    • PC linux → lan0 (part of br-lan) → lan4.1 (part of br-lan) → remote device
27.07.20181699Base systemBug ReportVery LowMediummac filter broken on TP-Link 1043ND v4openwrt-18.06Unconfirmed Task Description

Hello,

I’m using a TP-Link 1043ND v4 before the LEDE 18.x RC1 release the mac filter was working fine.
Now it seems some devices are not being able to be connected to wifi (points to the iphone 6) but other devices are able to connect properly.

my reproduction steps:

I followed this guide https://wiki.openwrt.org/doc/recipes/routedap of course I’m aware that the guide is a little bit outdated and in some configurations I shouldn’t use quotes.

after this I gave my wifi interface the following network address:

lan:
- ip: 10.234.53.1 - 10.234.53.250
- dns given out by dhcp: 6,10.234.53.34

wifi:
- ip: 10.234.80.1 - 10.234.80.250
- dns given out by dhcp: 6,10.234.53.34

- then I went inside the luci ui to the wireless options:

- I called my SSID: H1F1v3

- then I selected “Hide ESSID” and WMM to.

- then I went “Advanced options (tab)” and changed my country code to Netherlands and selected “Allow legacy 802.11b rates”.

- then I went to the tab wireless security I used WPA2-PSK encryption with the following cipher: “Force TKIP and CCMP (AES)” with a key of 120 characters long.

- I also checked the option “Enable key reinstallation (KRACK) countermeasures”

- then I saved the configuration at this point all my devices were able to connect fine.

- then I changed the mac filter and added all my devices, all devices would be able to connect but my iphone fails to connect.

my log showed this I suspect but I’m not to sure but is the mac filter also deauthing normal routers?, there are alot of unknown mac addresses in this list aswell:

(Note i’ve masked mac addresses, this rebind attack message is just a local ip on the domain name)

Fri Jul 27 21:08:09 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:09 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:09 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:09 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:09 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:09 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:09 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:11 2018 daemon.warn dnsmasq[1741]: possible DNS-rebind attack detected: pfsense.0c3.eu
Fri Jul 27 21:08:15 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:15 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:15 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:15 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:15 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:15 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:16 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:16 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:16 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:16 2018 daemon.warn dnsmasq[1741]: possible DNS-rebind attack detected: pfsense.0c3.eu
Fri Jul 27 21:08:21 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:21 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:22 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:22 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:22 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:22 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:22 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:23 2018 daemon.warn dnsmasq[1741]: possible DNS-rebind attack detected: pfsense.0c3.eu
Fri Jul 27 21:08:27 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:27 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:27 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:28 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:28 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:28 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:28 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:28 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:29 2018 daemon.warn dnsmasq[1741]: possible DNS-rebind attack detected: pfsense.0c3.eu
Fri Jul 27 21:08:33 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:34 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:34 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:34 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:34 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:34 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:34 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:34 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:34 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:35 2018 daemon.warn dnsmasq[1741]: possible DNS-rebind attack detected: pfsense.0c3.eu
Fri Jul 27 21:08:39 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:40 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:40 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:40 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:40 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:40 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:40 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:40 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:40 2018 daemon.warn dnsmasq[1741]: possible DNS-rebind attack detected: pfsense.0c3.eu
Fri Jul 27 21:08:45 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:46 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:46 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:46 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:46 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:46 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:46 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:46 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:46 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:46 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:46 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:46 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:47 2018 daemon.warn dnsmasq[1741]: possible DNS-rebind attack detected: pfsense.0c3.eu
Fri Jul 27 21:08:49 2018 daemon.notice hostapd: Station 5e:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:49 2018 daemon.notice hostapd: Station 5e:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:49 2018 daemon.notice hostapd: Station 5e:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:49 2018 daemon.notice hostapd: Station 5e:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:49 2018 daemon.notice hostapd: Station 5e:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:49 2018 daemon.notice hostapd: Station 5e:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:52 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:52 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:52 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:52 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:52 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:52 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:52 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:52 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:52 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:52 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:52 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:52 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:52 2018 daemon.notice hostapd: Station ba:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:52 2018 daemon.notice hostapd: Station ba:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:53 2018 daemon.notice hostapd: Station 3a:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:53 2018 daemon.notice hostapd: Station 62:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:53 2018 daemon.notice hostapd: Station 62:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:53 2018 daemon.notice hostapd: Station fe:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:53 2018 daemon.notice hostapd: Station fe:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:53 2018 daemon.notice hostapd: Station 1e:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:53 2018 daemon.notice hostapd: Station 1e:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:53 2018 daemon.warn dnsmasq[1741]: possible DNS-rebind attack detected: pfsense.0c3.eu
Fri Jul 27 21:08:58 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
Fri Jul 27 21:08:58 2018 daemon.notice hostapd: Station b0:xx:xx:xx:xx:xx not allowed to authenticate
29.07.20181710Base systemBug ReportVery LowMediumMir3g - unable to install OpenWrt/LEDE with ubi bad blo...AllUnconfirmed Task Description

We are some users unable to complete the installation of OpenWrt/LEDE because erasing bad blocks on ubi partition fail :

[    2.516128] # MTK NAND # : Use HW ECC
[    2.519787] Device not found, ID: c8d1
[    2.523528] Not Support this Device!
[    2.527257] chip_mode=00000001
[    2.530305] Support this Device in MTK table! c8d1
[    2.535261] [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
[    2.541736] nand: device found, Manufacturer ID: 0xc8, Chip ID: 0xd1
[    2.548056] nand: ESMT NAND 128MiB 3,3V 8-bit
[    2.552406] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    2.559951] Scanning device for bad blocks
[    2.662018] Bad eraseblock 692 at 0x000005680000
[    2.667177] Bad eraseblock 696 at 0x000005700000
[    2.672347] Bad eraseblock 700 at 0x000005780000
[    2.684032] Bad eraseblock 750 at 0x000005dc0000
[    2.720853] Bad eraseblock 978 at 0x000007a40000
[    2.731898] 10 fixed-partitions partitions found on MTD device MT7621-NAND
[    2.738737] Creating 10 MTD partitions on "MT7621-NAND":
[    2.744047] 0x000000000000-0x000000080000 : "Bootloader"
[    2.750271] 0x000000080000-0x0000000c0000 : "Config"
[    2.756079] 0x0000000c0000-0x000000100000 : "Bdata"
[    2.761844] 0x000000100000-0x000000140000 : "Factory"
[    2.767685] 0x000000140000-0x000000180000 : "crash"
[    2.773394] 0x000000180000-0x0000001c0000 : "crash_syslog"
[    2.779670] 0x0000001c0000-0x000000200000 : "reserved0"
[    2.785801] 0x000000200000-0x000000600000 : "kernel_stock"
[    2.792164] 0x000000600000-0x000000a00000 : "kernel"
[    2.797981] 0x000000a00000-0x000007f80000 : "ubi"
[    2.804498] [mtk_nand] probe successfully!
[    2.809315] Signature matched and data read!
[    2.813583] load_fact_bbt success 1023
[    2.817914] libphy: Fixed MDIO Bus: probed
[    2.893154] libphy: mdio: probed
[    4.296704] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
[    4.303312] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 20
[    4.314072] NET: Registered protocol family 10
[    4.320075] Segment Routing with IPv6
[    4.323876] NET: Registered protocol family 17
[    4.328373] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    4.341284] 8021q: 802.1Q VLAN Support v1.8
[    4.348309] UBI: auto-attach mtd9
[    4.351691] ubi0: attaching mtd9
[    4.377159] UBI: EOF marker found, PEBs from 19 will be erased
[    4.384201] ubi0: scanning is finished
[    4.403913] ubi0 warning: do_sync_erase.part.4: error -5 while erasing PEB 939, retry
[    4.411789] ubi0 warning: do_sync_erase.part.4: error -5 while erasing PEB 939, retry
[    4.419622] ubi0 warning: do_sync_erase.part.4: error -5 while erasing PEB 939, retry
[    4.427504] ubi0 error: do_sync_erase.part.4: cannot erase PEB 939, error -5
[    4.434543] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.14.50 #0
[    4.440520] Stack : 00000000 00000000 00000000 00000000 80607ad2 00000034 00000000 00000000
[    4.448864]         8fc40374 8059c947 805275ac 00000001 00000001 00000001 8fc35838 1cc282d2
[    4.457197]         00000000 00000000 80600000 00003d80 00000000 000000cd 00000007 00000000
[    4.465531]         00000000 805a0000 0006a16f 00000000 00000000 00000000 805c0000 802edc20
[    4.473865]         80550000 80600000 fffffffb 8f44c780 00000003 80299e30 00000004 80600004
[    4.482200]         ...
[    4.484638] Call Trace:
[    4.487093] [<80010558>] show_stack+0x58/0x100
[    4.491533] [<804685ac>] dump_stack+0x9c/0xe0
[    4.495871] [<802ef678>] do_sync_erase.part.4+0x118/0x2ac
[    4.501250] [<802efb58>] ubi_io_sync_erase+0x2ac/0x2e4
[    4.506365] [<802f0418>] sync_erase.isra.4+0x150/0x25c
[    4.511482] [<802f0a4c>] __erase_worker+0x4c/0x4b0
[    4.516250] [<802f0f14>] erase_worker+0x64/0x8c
[    4.520765] [<802eff70>] do_work+0xf8/0x13c
[    4.524930] [<802f280c>] ubi_wl_get_peb+0xcc/0x260
[    4.529697] [<802eb2d8>] try_write_vid_and_data+0x54/0x200
[    4.535160] [<802ecb54>] ubi_eba_atomic_leb_change+0x208/0x314
[    4.541000] [<802e3120>] ubi_update_layout_vol+0x40/0x74
[    4.546287] [<802e37dc>] ubi_change_vtbl_record+0xb0/0x104
[    4.551747] [<802e5714>] ubi_resize_volume+0x254/0x4c4
[    4.556860] [<802e6ae0>] autoresize+0x144/0x1cc
[    4.561375] [<802e7c88>] ubi_attach_mtd_dev+0x730/0xbe8
[    4.566599] [<805dd428>] ubi_init+0x2a8/0x360
[    4.570939] [<80005650>] do_one_initcall+0xd0/0x1a0
[    4.575813] [<805c5d80>] kernel_init_freeable+0x168/0x228
[    4.581209] [<8047f6bc>] kernel_init+0x10/0x10c
[    4.585719] [<8000b098>] ret_from_kernel_thread+0x14/0x1c
[    4.591175] ubi0 error: __erase_worker: failed to erase PEB 939, error -5
[    4.597931] ubi0: mark PEB 939 as bad

A user (@Tanonn, thanks to him) successful installed LEDE by shrinking the ubi partition (85% of the original size) then made a custom build.

Could you handle the erasing of bad blocks for next builds ?

06.08.20181741Base systemBug ReportVery LowMediumHotplug events with ACTION=ifdown fail to set the DEVIC...openwrt-18.06Unconfirmed Task Description

Device: TP-Link Archer C7 V2
OpenWRT Version: 18.06 r7204-8be3af93b4

Description:

The scripts in /etc/hotplug.d/iface/ are called during ifdown/ifup events, setting
the environment variables ACTION, INTERFACE and DEVICE.

The problem is the DEVICE variable is not being set for ACTION=ifdown.

In my case this causes a problem for the /etc/hotplug.d/iface/11-sqm script, because if
the DEVICE variable is blank, ALL configured SQM devices are brought down on ACTION=ifdown.

I created a DEBUG version of 11-sqm to show the problem and fix the DEVICE variable, but the
underlying source of the problem remains.

Debug version of /etc/hotplug.d/iface/11-sqm

#!/bin/sh
# dell modified this file

if [ "${DEVICE}" = "" ]; then
    if [ "${INTERFACE}" = "" ]; then
        logger -t SQM-DEBUG /etc/hotplug.d/iface/11-sqm Called with ACTION=${ACTION} INTERFACE=${INTERFACE} DEVICE=${DEVICE} ... EXITING
        exit 0
    else
        logger -t SQM-DEBUG /etc/hotplug.d/iface/11-sqm Called with ACTION=${ACTION} INTERFACE=${INTERFACE} DEVICE=${DEVICE}
        if [ "$(uci -q get network.${INTERFACE}.type)" = "bridge" ]; then
            DEVICE="br-${INTERFACE}"
        else
            DEVICE="$(uci -q get network.${INTERFACE}.ifname)"
        fi
        if [ "${DEVICE}" = "" ]; then
            logger -t SQM-DEBUG /etc/hotplug.d/iface/11-sqm Unable to determine DEVICE ... exiting
            exit 0
        fi
        logger -t SQM-DEBUG /etc/hotplug.d/iface/11-sqm *MODIFIED* CALLING WITH ACTION=${ACTION} INTERFACE=${INTERFACE} DEVICE=${DEVICE}
    fi
else
    logger -t SQM-DEBUG /etc/hotplug.d/iface/11-sqm Called with ACTION=${ACTION} INTERFACE=${INTERFACE} DEVICE=${DEVICE}
fi

restart_sqm() {
    /usr/lib/sqm/run.sh stop ${DEVICE}
    /usr/lib/sqm/run.sh start ${DEVICE}
}

[ "$ACTION" = ifup ] && /etc/init.d/sqm enabled && restart_sqm

[ "$ACTION" = ifdown ] && /usr/lib/sqm/run.sh stop ${DEVICE}

OpenWRT Log showing the problem when different interfaces are brought down and up.

****
**** Log showing hotplug events with ACTION=ifdown called on scripts in /etc/hotplug.d/iface/ do not specify the DEVICE parameter.
**** One effect is this causes ALL SQM configured interfaces to be brought down.
****
**** Look for SQM-DEBUG lines (my 11-sqm debug script), and SQM lines (system) to see what is happeining.
**** My debug script inserts the proper DEVICE parameter ( see *MODIFIED* lines) so only the appropriate SQM interface is brouht down.
****
Sun Aug  5 21:50:57 2018 authpriv.info dropbear[19118]: Child connection from fd07:fb0e:52ba::db8:52120
Sun Aug  5 21:50:57 2018 authpriv.notice dropbear[19118]: Pubkey auth succeeded for 'root' with key sha1!! 11:f6:dc:6c:09:61:37:1d:9a:45:97:86:e5:c7:3a:b7:fa:d5:dc:7f from fd07:fb0e:52ba::db8:52120
Sun Aug  5 21:51:26 2018 daemon.err uhttpd[1763]: luci: accepted login on / for root from 192.168.1.167
****
**** Restart WAN interface from Luci
****
**** Note the hotplug event with ACTION=ifdown does not specify DEVICE (my debug script recreates the proper device).
****
Sun Aug  5 21:52:00 2018 user.notice SQM-DEBUG: /etc/hotplug.d/iface/11-sqm Called with ACTION=ifdown INTERFACE=wan DEVICE=
Sun Aug  5 21:52:00 2018 user.notice SQM-DEBUG: /etc/hotplug.d/iface/11-sqm *MODIFIED* CALLING WITH ACTION=ifdown INTERFACE=wan DEVICE=eth0.2
Sun Aug  5 21:52:00 2018 daemon.notice netifd: wan (16000): udhcpc: received SIGTERM
Sun Aug  5 21:52:00 2018 daemon.notice netifd: Interface 'wan' is now down
Sun Aug  5 21:52:00 2018 daemon.notice netifd: Interface 'wan' is setting up now
Sun Aug  5 21:52:00 2018 daemon.warn dnsmasq[15577]: no servers found in /tmp/resolv.conf.auto, will retry
Sun Aug  5 21:52:01 2018 user.notice SQM: Stopping SQM on eth0.2
Sun Aug  5 21:52:01 2018 daemon.notice netifd: wan (19350): udhcpc: started, v1.28.3
Sun Aug  5 21:52:01 2018 daemon.notice netifd: wan (19350): udhcpc: sending discover
Sun Aug  5 21:52:01 2018 daemon.err openvpn(torguard_client)[14487]: write UDP: Network unreachable (code=128)
Sun Aug  5 21:52:02 2018 daemon.notice netifd: wan (19350): udhcpc: sending select for 206.212.230.237
Sun Aug  5 21:52:02 2018 daemon.notice netifd: wan (19350): udhcpc: lease of 206.212.230.237 obtained, lease time 86400
Sun Aug  5 21:52:02 2018 daemon.notice netifd: Interface 'wan' is now up
Sun Aug  5 21:52:02 2018 daemon.info dnsmasq[15577]: reading /tmp/resolv.conf.auto
Sun Aug  5 21:52:02 2018 daemon.info dnsmasq[15577]: using local addresses only for domain test
Sun Aug  5 21:52:02 2018 daemon.info dnsmasq[15577]: using local addresses only for domain onion
Sun Aug  5 21:52:02 2018 daemon.info dnsmasq[15577]: using local addresses only for domain localhost
Sun Aug  5 21:52:02 2018 daemon.info dnsmasq[15577]: using local addresses only for domain local
Sun Aug  5 21:52:02 2018 daemon.info dnsmasq[15577]: using local addresses only for domain invalid
Sun Aug  5 21:52:02 2018 daemon.info dnsmasq[15577]: using local addresses only for domain bind
Sun Aug  5 21:52:02 2018 daemon.info dnsmasq[15577]: using local addresses only for domain lan
Sun Aug  5 21:52:02 2018 daemon.info dnsmasq[15577]: using nameserver 208.67.222.222#53
Sun Aug  5 21:52:02 2018 daemon.info dnsmasq[15577]: using nameserver 208.67.220.220#53
****
**** Note that hotplug event with ACTION=ifup correctly specifies the DEVICE parameter.
****
Sun Aug  5 21:52:02 2018 user.notice SQM-DEBUG: /etc/hotplug.d/iface/11-sqm Called with ACTION=ifup INTERFACE=wan DEVICE=eth0.2
Sun Aug  5 21:52:02 2018 user.notice SQM: Starting SQM script: layer_cake.qos on eth0.2, in: 9600 Kbps, out: 2000 Kbps
Sun Aug  5 21:52:02 2018 daemon.err insmod: module is already loaded - sch_cake
Sun Aug  5 21:52:02 2018 daemon.err insmod: module is already loaded - sch_ingress
Sun Aug  5 21:52:02 2018 daemon.err insmod: module is already loaded - act_mirred
Sun Aug  5 21:52:02 2018 daemon.err insmod: module is already loaded - cls_fw
Sun Aug  5 21:52:02 2018 daemon.err insmod: module is already loaded - cls_flow
Sun Aug  5 21:52:02 2018 daemon.err insmod: module is already loaded - cls_u32
Sun Aug  5 21:52:02 2018 daemon.err insmod: module is already loaded - sch_htb
Sun Aug  5 21:52:02 2018 daemon.err insmod: module is already loaded - sch_hfsc
Sun Aug  5 21:52:03 2018 user.notice SQM: layer_cake.qos was started on eth0.2 successfully
Sun Aug  5 21:52:03 2018 user.notice firewall: Reloading firewall due to ifup of wan (eth0.2)
Sun Aug  5 21:52:06 2018 user.notice ddns-scripts[19866]: myddns_ipv4: PID '19866' started at 2018-08-05 21:52
Sun Aug  5 21:52:08 2018 user.warn ddns-scripts[19866]: myddns_ipv4: Service section disabled! - TERMINATE
Sun Aug  5 21:52:09 2018 user.warn ddns-scripts[19866]: myddns_ipv4: PID '19866' exit WITH ERROR '1' at 2018-08-05 21:52
****
**** Restarting the LAN interface from Luci
****
Sun Aug  5 21:52:32 2018 daemon.notice netifd: Interface 'lan' is now down
Sun Aug  5 21:52:32 2018 kern.info kernel: [71559.952265] br-lan: port 2(wlan1) entered disabled state
Sun Aug  5 21:52:32 2018 kern.info kernel: [71559.957785] br-lan: port 1(eth1.1) entered disabled state
Sun Aug  5 21:52:32 2018 kern.info kernel: [71559.983346] device eth1.1 left promiscuous mode
Sun Aug  5 21:52:32 2018 kern.info kernel: [71559.987984] device eth1 left promiscuous mode
Sun Aug  5 21:52:32 2018 kern.info kernel: [71559.992556] br-lan: port 1(eth1.1) entered disabled state
Sun Aug  5 21:52:32 2018 kern.info kernel: [71560.027381] IPv6: ADDRCONF(NETDEV_UP): eth1.1: link is not ready
****
**** Note the hotplug event with ACTION=ifdown does not include DEVICE parameter
****
Sun Aug  5 21:52:32 2018 user.notice SQM-DEBUG: /etc/hotplug.d/iface/11-sqm Called with ACTION=ifdown INTERFACE=lan DEVICE=
Sun Aug  5 21:52:32 2018 kern.info kernel: [71560.059335] eth1: link down
Sun Aug  5 21:52:32 2018 user.notice SQM-DEBUG: /etc/hotplug.d/iface/11-sqm *MODIFIED* CALLING WITH ACTION=ifdown INTERFACE=lan DEVICE=br-lan
Sun Aug  5 21:52:32 2018 kern.info kernel: [71560.081604] device wlan1 left promiscuous mode
Sun Aug  5 21:52:32 2018 kern.info kernel: [71560.086211] br-lan: port 2(wlan1) entered disabled state
Sun Aug  5 21:52:32 2018 daemon.notice netifd: Interface 'lan' is disabled
Sun Aug  5 21:52:32 2018 daemon.err odhcpd[1308]: setsockopt(IPV6_ADD_MEMBERSHIP): No such device
Sun Aug  5 21:52:32 2018 daemon.err odhcpd[1308]: setsockopt(SO_BINDTODEVICE): No such device
Sun Aug  5 21:52:32 2018 daemon.notice netifd: VLAN 'eth1.1' link is down
Sun Aug  5 21:52:32 2018 daemon.notice netifd: bridge 'br-lan' link is down
Sun Aug  5 21:52:32 2018 daemon.notice netifd: Interface 'lan' has link connectivity loss
Sun Aug  5 21:52:32 2018 daemon.notice netifd: Network device 'eth1' link is down
Sun Aug  5 21:52:33 2018 kern.info kernel: [71560.176382] eth1: link up (1000Mbps/Full duplex)
Sun Aug  5 21:52:33 2018 kern.info kernel: [71560.214139] br-lan: port 1(eth1.1) entered blocking state
Sun Aug  5 21:52:33 2018 kern.info kernel: [71560.219686] br-lan: port 1(eth1.1) entered disabled state
Sun Aug  5 21:52:33 2018 kern.info kernel: [71560.225526] device eth1.1 entered promiscuous mode
Sun Aug  5 21:52:33 2018 kern.info kernel: [71560.230424] device eth1 entered promiscuous mode
Sun Aug  5 21:52:33 2018 daemon.info dnsmasq[15577]: read /etc/hosts - 4 addresses
Sun Aug  5 21:52:33 2018 daemon.info dnsmasq[15577]: read /tmp/hosts/odhcpd - 0 addresses
Sun Aug  5 21:52:33 2018 daemon.info dnsmasq[15577]: read /tmp/hosts/dhcp.cfg01411c - 7 addresses
Sun Aug  5 21:52:33 2018 daemon.info dnsmasq-dhcp[15577]: read /etc/ethers - 0 addresses
Sun Aug  5 21:52:33 2018 kern.info kernel: [71560.310085] br-lan: port 2(wlan1) entered blocking state
Sun Aug  5 21:52:33 2018 kern.info kernel: [71560.315572] br-lan: port 2(wlan1) entered disabled state
Sun Aug  5 21:52:33 2018 kern.info kernel: [71560.321326] device wlan1 entered promiscuous mode
Sun Aug  5 21:52:33 2018 kern.info kernel: [71560.367445] br-lan: port 2(wlan1) entered blocking state
Sun Aug  5 21:52:33 2018 kern.info kernel: [71560.372845] br-lan: port 2(wlan1) entered forwarding state
Sun Aug  5 21:52:33 2018 kern.info kernel: [71560.378527] br-lan: port 1(eth1.1) entered blocking state
Sun Aug  5 21:52:33 2018 kern.info kernel: [71560.384004] br-lan: port 1(eth1.1) entered forwarding state
Sun Aug  5 21:52:33 2018 daemon.notice netifd: Interface 'lan' is enabled
Sun Aug  5 21:52:33 2018 daemon.notice netifd: Interface 'lan' is setting up now
Sun Aug  5 21:52:33 2018 daemon.notice netifd: Interface 'lan' is now up
Sun Aug  5 21:52:33 2018 daemon.notice netifd: bridge 'br-lan' link is up
Sun Aug  5 21:52:33 2018 daemon.notice netifd: Interface 'lan' has link connectivity
Sun Aug  5 21:52:33 2018 daemon.notice netifd: Network device 'eth1' link is up
Sun Aug  5 21:52:33 2018 daemon.notice netifd: VLAN 'eth1.1' link is up
Sun Aug  5 21:52:34 2018 daemon.notice hostapd: wlan1: interface state ENABLED->DISABLED
Sun Aug  5 21:52:34 2018 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED 94:65:2d:6c:f7:34
Sun Aug  5 21:52:34 2018 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED dc:bf:e9:af:8a:9a
Sun Aug  5 21:52:34 2018 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED ac:22:0b:5d:b5:cf
Sun Aug  5 21:52:34 2018 daemon.notice hostapd: wlan1: AP-DISABLED
Sun Aug  5 21:52:34 2018 daemon.notice hostapd: wlan1: CTRL-EVENT-TERMINATING
Sun Aug  5 21:52:34 2018 daemon.notice hostapd: nl80211: deinit ifname=wlan1 disabled_11b_rates=0
Sun Aug  5 21:52:34 2018 kern.info kernel: [71561.433522] device wlan1 left promiscuous mode
Sun Aug  5 21:52:34 2018 kern.info kernel: [71561.438190] br-lan: port 2(wlan1) entered disabled state
****
**** Note the hotplug event with ACTION=ifup correctly specifies DEVICE
****
Sun Aug  5 21:52:34 2018 user.notice SQM-DEBUG: /etc/hotplug.d/iface/11-sqm Called with ACTION=ifup INTERFACE=lan DEVICE=br-lan
Sun Aug  5 21:52:34 2018 daemon.notice netifd: Network device 'wlan1' link is down
Sun Aug  5 21:52:35 2018 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Sun Aug  5 21:52:35 2018 daemon.info dnsmasq[15577]: read /etc/hosts - 4 addresses
Sun Aug  5 21:52:35 2018 daemon.info dnsmasq[15577]: read /tmp/hosts/odhcpd - 2 addresses
Sun Aug  5 21:52:35 2018 daemon.info dnsmasq[15577]: read /tmp/hosts/dhcp.cfg01411c - 7 addresses
Sun Aug  5 21:52:35 2018 daemon.info dnsmasq-dhcp[15577]: read /etc/ethers - 0 addresses
Sun Aug  5 21:52:36 2018 daemon.err hostapd: Configuration file: /var/run/hostapd-phy1.conf
Sun Aug  5 21:52:36 2018 kern.info kernel: [71563.789521] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
Sun Aug  5 21:52:36 2018 kern.info kernel: [71563.994859] br-lan: port 2(wlan1) entered blocking state
Sun Aug  5 21:52:36 2018 kern.info kernel: [71564.000337] br-lan: port 2(wlan1) entered disabled state
Sun Aug  5 21:52:36 2018 kern.info kernel: [71564.006051] device wlan1 entered promiscuous mode
Sun Aug  5 21:52:36 2018 daemon.notice hostapd: wlan1: interface state UNINITIALIZED->COUNTRY_UPDATE
Sun Aug  5 21:52:36 2018 daemon.notice hostapd: wlan1: interface state COUNTRY_UPDATE->HT_SCAN
Sun Aug  5 21:52:38 2018 daemon.notice hostapd: handle_probe_req: send failed
Sun Aug  5 21:52:38 2018 daemon.notice hostapd: handle_probe_req: send failed
Sun Aug  5 21:52:38 2018 daemon.notice hostapd: handle_probe_req: send failed
Sun Aug  5 21:52:38 2018 daemon.notice hostapd: handle_probe_req: send failed
Sun Aug  5 21:52:38 2018 daemon.notice hostapd: handle_probe_req: send failed
Sun Aug  5 21:52:38 2018 daemon.notice hostapd: handle_probe_req: send failed
Sun Aug  5 21:52:38 2018 daemon.notice hostapd: handle_probe_req: send failed
Sun Aug  5 21:52:38 2018 daemon.notice hostapd: handle_probe_req: send failed
Sun Aug  5 21:52:38 2018 daemon.notice hostapd: handle_probe_req: send failed
Sun Aug  5 21:52:38 2018 daemon.notice hostapd: handle_probe_req: send failed
Sun Aug  5 21:52:38 2018 daemon.notice hostapd: handle_probe_req: send failed
Sun Aug  5 21:52:38 2018 daemon.notice hostapd: handle_probe_req: send failed
Sun Aug  5 21:52:38 2018 daemon.notice hostapd: 20/40 MHz operation not permitted on channel pri=6 sec=10 based on overlapping BSSes
Sun Aug  5 21:52:38 2018 daemon.err hostapd: Using interface wlan1 with hwaddr 30:b5:c2:96:70:c9 and ssid "CatDen-router"
Sun Aug  5 21:52:38 2018 daemon.info dnsmasq[15577]: read /etc/hosts - 4 addresses
Sun Aug  5 21:52:38 2018 daemon.info dnsmasq[15577]: read /tmp/hosts/odhcpd - 2 addresses
Sun Aug  5 21:52:38 2018 daemon.info dnsmasq[15577]: read /tmp/hosts/dhcp.cfg01411c - 7 addresses
Sun Aug  5 21:52:38 2018 daemon.info dnsmasq-dhcp[15577]: read /etc/ethers - 0 addresses
Sun Aug  5 21:52:38 2018 kern.info kernel: [71566.021420] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
Sun Aug  5 21:52:38 2018 kern.info kernel: [71566.028048] br-lan: port 2(wlan1) entered blocking state
Sun Aug  5 21:52:38 2018 kern.info kernel: [71566.033444] br-lan: port 2(wlan1) entered forwarding state
Sun Aug  5 21:52:38 2018 daemon.notice hostapd: wlan1: interface state HT_SCAN->ENABLED
Sun Aug  5 21:52:38 2018 daemon.notice hostapd: wlan1: AP-ENABLED
Sun Aug  5 21:52:38 2018 daemon.notice netifd: Network device 'wlan1' link is up
Sun Aug  5 21:52:41 2018 daemon.info hostapd: wlan1: STA 94:65:2d:6c:f7:34 IEEE 802.11: authenticated
Sun Aug  5 21:52:41 2018 daemon.info hostapd: wlan1: STA 94:65:2d:6c:f7:34 IEEE 802.11: associated (aid 1)
Sun Aug  5 21:52:41 2018 daemon.notice hostapd: wlan1: AP-STA-CONNECTED 94:65:2d:6c:f7:34
Sun Aug  5 21:52:41 2018 daemon.info hostapd: wlan1: STA 94:65:2d:6c:f7:34 WPA: pairwise key handshake completed (RSN)
Sun Aug  5 21:52:41 2018 daemon.info dnsmasq-dhcp[15577]: DHCPDISCOVER(br-lan) 94:65:2d:6c:f7:34
Sun Aug  5 21:52:41 2018 daemon.info dnsmasq-dhcp[15577]: DHCPOFFER(br-lan) 192.168.1.169 94:65:2d:6c:f7:34
Sun Aug  5 21:52:41 2018 daemon.info dnsmasq-dhcp[15577]: DHCPREQUEST(br-lan) 192.168.1.169 94:65:2d:6c:f7:34
Sun Aug  5 21:52:41 2018 daemon.info dnsmasq-dhcp[15577]: DHCPACK(br-lan) 192.168.1.169 94:65:2d:6c:f7:34 OnePlus_5
Sun Aug  5 21:52:42 2018 daemon.info hostapd: wlan1: STA dc:bf:e9:af:8a:9a IEEE 802.11: authenticated
Sun Aug  5 21:52:42 2018 daemon.info hostapd: wlan1: STA dc:bf:e9:af:8a:9a IEEE 802.11: associated (aid 2)
Sun Aug  5 21:52:42 2018 daemon.notice hostapd: wlan1: AP-STA-CONNECTED dc:bf:e9:af:8a:9a
Sun Aug  5 21:52:42 2018 daemon.info hostapd: wlan1: STA dc:bf:e9:af:8a:9a WPA: pairwise key handshake completed (RSN)
Sun Aug  5 21:52:43 2018 daemon.info dnsmasq-dhcp[15577]: DHCPDISCOVER(br-lan) dc:bf:e9:af:8a:9a
Sun Aug  5 21:52:43 2018 daemon.info dnsmasq-dhcp[15577]: DHCPOFFER(br-lan) 192.168.1.125 dc:bf:e9:af:8a:9a
Sun Aug  5 21:52:43 2018 daemon.info dnsmasq-dhcp[15577]: DHCPREQUEST(br-lan) 192.168.1.125 dc:bf:e9:af:8a:9a
Sun Aug  5 21:52:43 2018 daemon.info dnsmasq-dhcp[15577]: DHCPACK(br-lan) 192.168.1.125 dc:bf:e9:af:8a:9a android-e91ad6b278c61985
Sun Aug  5 21:52:49 2018 daemon.info hostapd: wlan1: STA ac:22:0b:5d:b5:cf IEEE 802.11: authenticated
Sun Aug  5 21:52:49 2018 daemon.info hostapd: wlan1: STA ac:22:0b:5d:b5:cf IEEE 802.11: associated (aid 3)
Sun Aug  5 21:52:49 2018 daemon.notice hostapd: wlan1: AP-STA-CONNECTED ac:22:0b:5d:b5:cf
Sun Aug  5 21:52:49 2018 daemon.info hostapd: wlan1: STA ac:22:0b:5d:b5:cf WPA: pairwise key handshake completed (RSN)
Sun Aug  5 21:52:50 2018 daemon.info dnsmasq-dhcp[15577]: DHCPDISCOVER(br-lan) ac:22:0b:5d:b5:cf
Sun Aug  5 21:52:50 2018 daemon.info dnsmasq-dhcp[15577]: DHCPOFFER(br-lan) 192.168.1.142 ac:22:0b:5d:b5:cf
Sun Aug  5 21:52:50 2018 daemon.info dnsmasq-dhcp[15577]: DHCPREQUEST(br-lan) 192.168.1.142 ac:22:0b:5d:b5:cf
Sun Aug  5 21:52:50 2018 daemon.info dnsmasq-dhcp[15577]: DHCPACK(br-lan) 192.168.1.142 ac:22:0b:5d:b5:cf android-41e25fe580fa511f
****
**** openvpn is restarted using /etc/init.d/openvpn restart
****
Sun Aug  5 21:53:03 2018 daemon.err openvpn(torguard_client)[14487]: event_wait : Interrupted system call (code=4)
Sun Aug  5 21:53:03 2018 daemon.notice openvpn(torguard_client)[14487]: /sbin/ifconfig tun0 0.0.0.0
Sun Aug  5 21:53:03 2018 daemon.notice netifd: Network device 'tun0' link is down
Sun Aug  5 21:53:03 2018 daemon.notice netifd: Interface 'vpn' has link connectivity loss
Sun Aug  5 21:53:03 2018 daemon.notice netifd: Interface 'vpn' is now down
Sun Aug  5 21:53:03 2018 daemon.notice openvpn(torguard_client)[14487]: /etc/openvpn/down.sh tun0 1500 1585 10.9.0.6 10.9.0.5 init
Sun Aug  5 21:53:03 2018 daemon.notice openvpn(torguard_client)[14487]: SIGTERM[hard,] received, process exiting
****
**** Note hotplug called with ACTION=ifdown and no DEVICE specified
****
Sun Aug  5 21:53:03 2018 user.notice SQM-DEBUG: /etc/hotplug.d/iface/11-sqm Called with ACTION=ifdown INTERFACE=vpn DEVICE=
Sun Aug  5 21:53:03 2018 user.notice SQM-DEBUG: /etc/hotplug.d/iface/11-sqm *MODIFIED* CALLING WITH ACTION=ifdown INTERFACE=vpn DEVICE=tun0
Sun Aug  5 21:53:03 2018 daemon.notice netifd: Interface 'vpn' is disabled
Sun Aug  5 21:53:03 2018 user.notice SQM: Stopping SQM on tun0
Sun Aug  5 21:53:04 2018 daemon.notice openvpn(torguard_client)[21573]: OpenVPN 2.4.5 mips-openwrt-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD]
Sun Aug  5 21:53:04 2018 daemon.notice openvpn(torguard_client)[21573]: library versions: OpenSSL 1.0.2o  27 Mar 2018, LZO 2.10
Sun Aug  5 21:53:04 2018 daemon.warn openvpn(torguard_client)[21573]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Sun Aug  5 21:53:04 2018 daemon.notice openvpn(torguard_client)[21573]: TCP/UDP: Preserving recently used remote address: [AF_INET]204.44.121.194:443
Sun Aug  5 21:53:04 2018 daemon.notice openvpn(torguard_client)[21573]: UDP link local: (not bound)
Sun Aug  5 21:53:04 2018 daemon.notice openvpn(torguard_client)[21573]: UDP link remote: [AF_INET]204.44.121.194:443
Sun Aug  5 21:53:04 2018 daemon.warn openvpn(torguard_client)[21573]: WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Sun Aug  5 21:53:04 2018 daemon.warn openvpn(torguard_client)[21573]: WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1574', remote='link-mtu 1542'
Sun Aug  5 21:53:04 2018 daemon.warn openvpn(torguard_client)[21573]: WARNING: 'tun-mtu' is used inconsistently, local='tun-mtu 1532', remote='tun-mtu 1500'
Sun Aug  5 21:53:04 2018 daemon.notice openvpn(torguard_client)[21573]: [TG-OVPN-CA] Peer Connection Initiated with [AF_INET]204.44.121.194:443
Sun Aug  5 21:53:05 2018 daemon.err openvpn(torguard_client)[21573]: Options error: option 'redirect-gateway' cannot be used in this context ([PUSH-OPTIONS])
Sun Aug  5 21:53:05 2018 daemon.err openvpn(torguard_client)[21573]: Options error: option 'dhcp-option' cannot be used in this context ([PUSH-OPTIONS])
Sun Aug  5 21:53:05 2018 daemon.err openvpn(torguard_client)[21573]: Options error: option 'dhcp-option' cannot be used in this context ([PUSH-OPTIONS])
Sun Aug  5 21:53:05 2018 daemon.err openvpn(torguard_client)[21573]: Options error: option 'route' cannot be used in this context ([PUSH-OPTIONS])
Sun Aug  5 21:53:05 2018 daemon.notice netifd: Interface 'vpn' is enabled
Sun Aug  5 21:53:05 2018 daemon.notice netifd: Network device 'tun0' link is up
Sun Aug  5 21:53:05 2018 daemon.notice netifd: Interface 'vpn' has link connectivity
Sun Aug  5 21:53:05 2018 daemon.notice netifd: Interface 'vpn' is setting up now
Sun Aug  5 21:53:05 2018 daemon.notice netifd: Interface 'vpn' is now up
Sun Aug  5 21:53:05 2018 daemon.notice openvpn(torguard_client)[21573]: TUN/TAP device tun0 opened
Sun Aug  5 21:53:05 2018 daemon.notice openvpn(torguard_client)[21573]: do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Sun Aug  5 21:53:05 2018 daemon.notice openvpn(torguard_client)[21573]: /sbin/ifconfig tun0 10.9.0.6 pointopoint 10.9.0.5 mtu 1500
Sun Aug  5 21:53:05 2018 daemon.notice openvpn(torguard_client)[21573]: /etc/openvpn/up.sh tun0 1500 1585 10.9.0.6 10.9.0.5 init
****
**** Note hotplug called with ACTION=ifup and correct DEVICE
****
Sun Aug  5 21:53:05 2018 user.notice SQM-DEBUG: /etc/hotplug.d/iface/11-sqm Called with ACTION=ifup INTERFACE=vpn DEVICE=tun0
Sun Aug  5 21:53:06 2018 user.notice SQM: Starting SQM script: piece_of_cake.qos on tun0, in: 8000 Kbps, out: 1700 Kbps
Sun Aug  5 21:53:06 2018 daemon.err insmod: module is already loaded - sch_cake
Sun Aug  5 21:53:06 2018 daemon.err insmod: module is already loaded - sch_ingress
Sun Aug  5 21:53:06 2018 daemon.err insmod: module is already loaded - act_mirred
Sun Aug  5 21:53:06 2018 daemon.err insmod: module is already loaded - cls_fw
Sun Aug  5 21:53:06 2018 daemon.err insmod: module is already loaded - cls_flow
Sun Aug  5 21:53:06 2018 daemon.err insmod: module is already loaded - cls_u32
Sun Aug  5 21:53:06 2018 daemon.err insmod: module is already loaded - sch_htb
Sun Aug  5 21:53:06 2018 daemon.err insmod: module is already loaded - sch_hfsc
Sun Aug  5 21:53:07 2018 user.notice SQM: piece_of_cake.qos was started on tun0 successfully
Sun Aug  5 21:53:07 2018 user.notice firewall: Reloading firewall due to ifup of vpn (tun0)
Sun Aug  5 21:53:07 2018 daemon.notice openvpn(torguard_client)[21573]: Initialization Sequence Completed


06.08.20181744Base systemFeature RequestVery LowMedium6rd - feature request - support subnetAllUnconfirmed Task Description

Depending on the providers deploying 6rd, there might be some subnet id bits available to the user if all of the first 64 bits of the IPv6 are not used.

In the example attached 64 - 28 - 32 = 4 bits are available to define subnets so the end user can use any network prefix from 2a02:1205:5050:7ab0:: to 2a02:1205:5050:7abf::

Currently the lowest prefix is chosen by default, without opportunity to specify the subnet.

The feature would add a new “subnet” field to 6rd, available through UCI and the UI. Appropriate checks are performed regarding the maximum value of the field given the constraints given by the ip6prefixlen and ip4prefixlen.

06.08.20181745Base systemBug ReportVery LowMediumtxpower config not applied on ath9kTrunkUnconfirmed Task Description

TP-Link TL-MR22U v1
OpenWrt SNAPSHOT r7410-d3a7587 4.9.111

add secondary wifi usb device with AR9271 chipset
configure txpower on primary ath9k interface to some value other than maximum reported
make configurations of secondary device
apply configurations or run command from console: wifi

first interface is set again to max txpower

this issue seems to exist since barrier breaker!

10.08.20181762Base systemBug ReportVery LowMedium18.06.1 openvpn (mbedtls and openssl) write to TUN/TAP ...openwrt-18.06Unconfirmed Task Description

I have tested this with a tl-wr842n-v3 (ar71xx/generic) and MikroTik rb750gr3 (ramips/mt7621). The problem seems to be architecture independant. This setup works fine with 17.05.1

There is already an issue filed with freifunk-berlin https://github.com/freifunk-berlin/firmware/issues/580

With 18.06.1 I have tested with openvpn-mbedtls and openvpn-openssl. With 17.01.5 I tested with openvpn-mbedtls. Attached are pcapng files for both the wan interface (host filtered) and the ffuplink (vpn) interface. On the ffuplink interface I simply ran a “ping <IPADDR> -I ffuplink”.

Attached is also an example log from 18.06.1 and the configuration for openvpn on the router.

Also worth noting is that there are crc errors being reported which I run tcpdump directly on the router

 ~# tcpdump  -nvvi br-wan host 217.197.83.193
tcpdump: listening on br-wan, link-type EN10MB (Ethernet), capture size 262144 bytes
22:50:56.042355 IP (tos 0x0, ttl 64, id 3801, offset 0, flags [DF], proto UDP (17), length 136)
    192.168.200.3.1194 > 217.197.83.193.1194: [bad udp cksum 0xb6b8 -> 0x8450!] UDP, length 108
22:50:57.050206 IP (tos 0x0, ttl 64, id 3838, offset 0, flags [DF], proto UDP (17), length 136) 
    192.168.200.3.1194 > 217.197.83.193.1194: [bad udp cksum 0xb6b8 -> 0xcf66!] UDP, length 108
22:50:57.059920 IP (tos 0x0, ttl 59, id 62922, offset 0, flags [DF], proto UDP (17), length 66)
    217.197.83.193.1194 > 192.168.200.3.1194: [udp sum ok] UDP, length 38
22:50:58.058255 IP (tos 0x0, ttl 64, id 3859, offset 0, flags [DF], proto UDP (17), length 136)
    192.168.200.3.1194 > 217.197.83.193.1194: [bad udp cksum 0xb6b8 -> 0x0c0a!] UDP, length 108
22:50:59.066179 IP (tos 0x0, ttl 64, id 3941, offset 0, flags [DF], proto UDP (17), length 136)
    192.168.200.3.1194 > 217.197.83.193.1194: [bad udp cksum 0xb6b8 -> 0x3675!] UDP, length 108
22:51:00.074120 IP (tos 0x0, ttl 64, id 3973, offset 0, flags [DF], proto UDP (17), length 136)
    192.168.200.3.1194 > 217.197.83.193.1194: [bad udp cksum 0xb6b8 -> 0x8ba0!] UDP, length 108
22:51:01.082085 IP (tos 0x0, ttl 64, id 4039, offset 0, flags [DF], proto UDP (17), length 136)
    192.168.200.3.1194 > 217.197.83.193.1194: [bad udp cksum 0xb6b8 -> 0x0392!] UDP, length 108

I unfortunately can not be of much help with debugging this issue before the beginning of Sept (traveling). If anyone wants to test with the same server, you can apply for a freifunk-berlin tunnel cert at http://tunnel.berlin.freifunk.net (hopefully the cert will get approved quickly). To get the extra data files in the /etc/openvpn diretory, please temporarily install berlin-freifunk’s Hedy-1.0.1 firmware (tunnel-berlin version).

I unfortunately don’t have acces to the vpn server (217.197.83.193) so I cannot post the server config. A similar config from a peer server is attached.

10.08.20181765Base systemBug ReportVery LowMediumdnsmasq-full fails to listen on dhcp socket after reboo...openwrt-18.06Waiting on reporter Task Description

When I restart my router, dnsmasq comes up and works for IPv6, but fails to serve out dhcp for ipv4.

Supply the following if possible:
- Device problem occurs on

Ubiquiti Edgerouter Lite

- Software versions of OpenWrt/LEDE release, packages, etc.

OpenWrt 18.06.0, r7188-b0b5c64c22
dnsmasq-full - 2.80test3-1

- Steps to reproduce

Reboot the router. When it comes up just after reboot, it fails to respond to DHCP requests. lsof shows that it’s not listening on port 67, and does not have /tmp/dhcp.leases open:

root@junction:~# lsof -p 1792 -P
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
dnsmasq 1792 dnsmasq cwd DIR 0,15 3488 1166 /
dnsmasq 1792 dnsmasq rtd DIR 0,15 3488 1166 /
dnsmasq 1792 dnsmasq txt REG 7,0 349744 1526 /usr/sbin/dnsmasq
dnsmasq 1792 dnsmasq mem REG 7,0 16776 189 /usr/lib/libmnl.so.0.2.0
dnsmasq 1792 dnsmasq mem REG 8,2 117320 1033 /lib/libgcc_s.so.1
dnsmasq 1792 dnsmasq mem REG 8,2 25440 1114 /lib/libubus.so
dnsmasq 1792 dnsmasq mem REG 8,2 46168 1029 /lib/libubox.so
dnsmasq 1792 dnsmasq mem REG 7,0 466112 696 /usr/lib/libgmp.so.10.3.2
dnsmasq 1792 dnsmasq mem REG 7,0 206656 702 /usr/lib/libhogweed.so.4.3
dnsmasq 1792 dnsmasq mem REG 7,0 231888 704 /usr/lib/libnettle.so.6.3
dnsmasq 1792 dnsmasq mem REG 7,0 22232 216 /usr/lib/libnfnetlink.so.0.2.0
dnsmasq 1792 dnsmasq mem REG 7,0 111864 561 /usr/lib/libnetfilter_conntrack.so.3.6.0
dnsmasq 1792 dnsmasq mem REG 8,2 650896 1012 /lib/libc.so
dnsmasq 1792 dnsmasq mem REG 0,14 23 713 /tmp/TZ
dnsmasq 1792 dnsmasq 0u CHR 1,3 0t0 1226 /dev/null
dnsmasq 1792 dnsmasq 1u CHR 1,3 0t0 1226 /dev/null
dnsmasq 1792 dnsmasq 2u CHR 1,3 0t0 1226 /dev/null
dnsmasq 1792 dnsmasq 3u netlink 0t0 3561 ROUTE
dnsmasq 1792 dnsmasq 4u IPv4 3568 0t0 UDP junction:53
dnsmasq 1792 dnsmasq 5u IPv4 3569 0t0 TCP junction:53 (LISTEN)
dnsmasq 1792 dnsmasq 6u IPv4 3570 0t0 UDP localhost:53
dnsmasq 1792 dnsmasq 7u IPv4 3571 0t0 TCP localhost:53 (LISTEN)
dnsmasq 1792 dnsmasq 8u IPv6 3572 0t0 UDP localhost:53
dnsmasq 1792 dnsmasq 9u IPv6 3573 0t0 TCP localhost:53 (LISTEN)
dnsmasq 1792 dnsmasq 10r FIFO 0,8 0t0 3574 pipe
dnsmasq 1792 dnsmasq 11w FIFO 0,8 0t0 3574 pipe
dnsmasq 1792 dnsmasq 12u unix 0x800000041d16ca00 0t0 3576 type=DGRAM
dnsmasq 1792 dnsmasq 13u a_inode 0,9 0 14 [eventpoll]
dnsmasq 1792 dnsmasq 14r FIFO 0,8 0t0 3598 pipe
dnsmasq 1792 dnsmasq 15w FIFO 0,8 0t0 3598 pipe
dnsmasq 1792 dnsmasq 16u unix 0x800000041d16d900 0t0 3599 type=STREAM
dnsmasq 1792 dnsmasq 21u IPv6 3729 0t0 UDP fe80::822a:a8ff:fe4c:9dc1:53
dnsmasq 1792 dnsmasq 22u IPv6 3730 0t0 TCP fe80::822a:a8ff:fe4c:9dc1:53 (LISTEN)
dnsmasq 1792 dnsmasq 26u IPv6 3745 0t0 UDP fd90:79d3:5065:f00d::1:53
dnsmasq 1792 dnsmasq 27u IPv6 3746 0t0 TCP fd90:79d3:5065:f00d::1:53 (LISTEN)
dnsmasq 1792 dnsmasq 35u IPv6 6049 0t0 UDP cpe-2606-A000-1100-DB-0-0-0-1.dyn6.twc.com:53
dnsmasq 1792 dnsmasq 36u IPv6 6050 0t0 TCP cpe-2606-A000-1100-DB-0-0-0-1.dyn6.twc.com:53 (LISTEN)

...if I then restart it with “/etc/init.d/dnsmasq restart”, it comes up properly. The router

COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
dnsmasq 6861 dnsmasq cwd DIR 0,15 3488 1166 /
dnsmasq 6861 dnsmasq rtd DIR 0,15 3488 1166 /
dnsmasq 6861 dnsmasq txt REG 7,0 349744 1526 /usr/sbin/dnsmasq
dnsmasq 6861 dnsmasq mem REG 7,0 16776 189 /usr/lib/libmnl.so.0.2.0
dnsmasq 6861 dnsmasq mem REG 8,2 117320 1033 /lib/libgcc_s.so.1
dnsmasq 6861 dnsmasq mem REG 8,2 25440 1114 /lib/libubus.so
dnsmasq 6861 dnsmasq mem REG 8,2 46168 1029 /lib/libubox.so
dnsmasq 6861 dnsmasq mem REG 7,0 466112 696 /usr/lib/libgmp.so.10.3.2
dnsmasq 6861 dnsmasq mem REG 7,0 206656 702 /usr/lib/libhogweed.so.4.3
dnsmasq 6861 dnsmasq mem REG 7,0 231888 704 /usr/lib/libnettle.so.6.3
dnsmasq 6861 dnsmasq mem REG 7,0 22232 216 /usr/lib/libnfnetlink.so.0.2.0
dnsmasq 6861 dnsmasq mem REG 7,0 111864 561 /usr/lib/libnetfilter_conntrack.so.3.6.0
dnsmasq 6861 dnsmasq mem REG 8,2 650896 1012 /lib/libc.so
dnsmasq 6861 dnsmasq mem REG 0,14 23 713 /tmp/TZ
dnsmasq 6861 dnsmasq 0u CHR 1,3 0t0 1226 /dev/null
dnsmasq 6861 dnsmasq 1u CHR 1,3 0t0 1226 /dev/null
dnsmasq 6861 dnsmasq 2u CHR 1,3 0t0 1226 /dev/null
dnsmasq 6861 dnsmasq 3u REG 0,14 0 806 /tmp/dhcp.leases
dnsmasq 6861 dnsmasq 4u IPv4 10060 0t0 UDP *:bootps
dnsmasq 6861 dnsmasq 5u netlink 0t0 10061 ROUTE
dnsmasq 6861 dnsmasq 6u IPv4 10063 0t0 UDP junction:domain
dnsmasq 6861 dnsmasq 7u IPv4 10064 0t0 TCP junction:domain (LISTEN)
dnsmasq 6861 dnsmasq 8u IPv4 10065 0t0 UDP localhost:domain
dnsmasq 6861 dnsmasq 9u IPv4 10066 0t0 TCP localhost:domain (LISTEN)
dnsmasq 6861 dnsmasq 10u IPv6 10067 0t0 UDP fe80::822a:a8ff:fe4c:9dc1:domain
dnsmasq 6861 dnsmasq 11u IPv6 10068 0t0 TCP fe80::822a:a8ff:fe4c:9dc1:domain (LISTEN)
dnsmasq 6861 dnsmasq 12u IPv6 10069 0t0 UDP fd90:79d3:5065:f00d::1:domain
dnsmasq 6861 dnsmasq 13u IPv6 10070 0t0 TCP fd90:79d3:5065:f00d::1:domain (LISTEN)
dnsmasq 6861 dnsmasq 14u IPv6 10071 0t0 UDP cpe-2606-A000-1100-DB-0-0-0-1.dyn6.twc.com:domain
dnsmasq 6861 dnsmasq 15u IPv6 10072 0t0 TCP cpe-2606-A000-1100-DB-0-0-0-1.dyn6.twc.com:domain (LISTEN)
dnsmasq 6861 dnsmasq 16u IPv6 10073 0t0 UDP localhost:domain
dnsmasq 6861 dnsmasq 17u IPv6 10074 0t0 TCP localhost:domain (LISTEN)
dnsmasq 6861 dnsmasq 18r FIFO 0,8 0t0 10075 pipe
dnsmasq 6861 dnsmasq 19w FIFO 0,8 0t0 10075 pipe
dnsmasq 6861 dnsmasq 20u unix 0x800000041c446300 0t0 10077 type=DGRAM
dnsmasq 6861 dnsmasq 21u a_inode 0,9 0 14 [eventpoll]
dnsmasq 6861 dnsmasq 22r FIFO 0,8 0t0 10078 pipe
dnsmasq 6861 dnsmasq 23w FIFO 0,8 0t0 10078 pipe
dnsmasq 6861 dnsmasq 24u unix 0x800000041c445e00 0t0 10079 type=STREAM

When I restart the daemon, I see these messages in the log as well:

Fri Aug 10 09:46:50 2018 daemon.info dnsmasq-dhcp[6861]: DHCP, IP range 192.168.1.100 – 192.168.1.249, lease time 12h
Fri Aug 10 09:46:50 2018 daemon.info dnsmasq-dhcp[6861]: DHCP, sockets bound exclusively to interface br-lan

...but they are absent when the daemon starts on a clean boot.

Attaching my /etc/config/dhcp, and the output from logread.

13.08.20181772Base systemBug ReportVery LowMediumsunxi: broken sysupgradeAllUnconfirmed Task Description

Hi all
With both trunk (even pre 18.06.x) 18.06.x the sysupgrade for sunxi target (verified with BananaPi and new Orange Pi PC2) does not work
Tested with both ext4 and squashfs upgrade (of course only ext4 to ext4 and squashfs to squashfs) creating a dummy file under /usr/bin that remains after reboot
First log attempting to upgrade img.gz

root@MenionRouter:/# sysupgrade -v /tmp/openwrt-sunxi-cortexa53-sun50i-h5-orange
pi-pc2-squashfs-sdcard.img.gz
Image metadata not found
Reading partition table from bootdisk... gzip: stdout: Broken pipe
Reading partition table from image...
Saving config files...
/etc/config/.system.uci-AHDKKD
/etc/config/adblock
/etc/config/adblock-opkg
/etc/config/ddns
/etc/config/dhcp
/etc/config/dropbear
/etc/config/firewall
/etc/config/luci
/etc/config/luci-opkg
/etc/config/minidlna
/etc/config/mwan3
/etc/config/network
/etc/config/nlbwmon
/etc/config/ntpclient
/etc/config/openvpn
/etc/config/openvpn-opkg
/etc/config/openvpn_recipes
/etc/config/rpcd
/etc/config/squid
/etc/config/stunnel
/etc/config/system
/etc/config/ucitrack
/etc/config/ucitrack-opkg
/etc/config/uhttpd
/etc/config/uhttpd-opkg
/etc/config/upnpd
/etc/config/upnpd-opkg
/etc/config/wifi_schedule
/etc/config/wireless
/etc/dropbear/dropbear_rsa_host_key
/etc/easy-rsa/android.ovpn
/etc/easy-rsa/keys/01.pem
/etc/easy-rsa/keys/02.pem
/etc/easy-rsa/keys/ca.crt
/etc/easy-rsa/keys/ca.key
/etc/easy-rsa/keys/dh2048.pem
/etc/easy-rsa/keys/index.txt
/etc/easy-rsa/keys/index.txt-opkg
/etc/easy-rsa/keys/index.txt.attr
/etc/easy-rsa/keys/index.txt.attr.old
/etc/easy-rsa/keys/index.txt.old
/etc/easy-rsa/keys/my-Ros.crt
/etc/easy-rsa/keys/my-Ros.csr
/etc/easy-rsa/keys/my-Ros.key
/etc/easy-rsa/keys/my-Ros.p12
/etc/easy-rsa/keys/my-android.crt
/etc/easy-rsa/keys/my-android.csr
/etc/easy-rsa/keys/my-android.key
/etc/easy-rsa/keys/my-android.p12
/etc/easy-rsa/keys/my-lavoro.crt
/etc/easy-rsa/keys/my-lavoro.csr
/etc/easy-rsa/keys/my-lavoro.key
/etc/easy-rsa/keys/my-lavoro.p12
/etc/easy-rsa/keys/my-server.crt
/etc/easy-rsa/keys/my-server.csr
/etc/easy-rsa/keys/my-server.key
/etc/easy-rsa/keys/serial
/etc/easy-rsa/keys/serial-opkg
/etc/easy-rsa/keys/serial.old
/etc/easy-rsa/lavoro.ovpn
/etc/easy-rsa/openssl-1.0.0.cnf
/etc/easy-rsa/openssl-1.0.cnf
/etc/easy-rSending TERM to remaining processes ... sleep sleep ubusd askfirst logd rpcd monitor ovsdb-server monitor ovs-vswitchd netifd odhcpd minidlna uhttpd nlbwmon openvpn openvpn squid ntpd acpid hostapd hostapd miniupnpd miniupnpd[5112]: shutting down MiniUPnPd
sh dnsmasq sh
acpid: exiting
[ 175.976969] device wlan0 left promiscuous mode
[ 175.982039] br-lan: port 3(wlan0) entered disabled state
[ 176.032358] device wlan1 left promiscuous mode
[ 176.036984] br-lan: port 2(wlan1) entered disabled state
Sending KILL to remaining processes ... squid
Switching to ramdisk...
Performing system upgrade...
Reading partition table from bootdisk...
/usr/bin/zcat: exec: line 51: gzip: not found
[ 181.207511] kvm: exiting hardware virtualization
0+0 records in
0+0 records out
Reading partition table from image...
Invalid partition table on /tmp/image.bs
[ 181.217810] reboot: Restarting system

As you can see it seems that gzip is missing from the ramdisk, so the upgrade aborts. After having seen this, I first uncrompress the img.gz to img and tried again:

root@MenionRouter:/# sysupgrade -v /tmp/openwrt-sunxi-cortexa53-sun50i-h5-orange
pi-pc2-squashfs-sdcard.img
Reading partition table from bootdisk...
cat: write error: Broken pipe
Reading partition table from image...
Saving config files...
/etc/config/.system.uci-AHDKKD
/etc/config/adblock
/etc/config/adblock-opkg
/etc/config/ddns
/etc/config/dhcp
/etc/config/dropbear
/etc/config/firewall
/etc/config/luci
/etc/config/luci-opkg
/etc/config/minidlna
/etc/config/mwan3
/etc/config/network
/etc/config/nlbwmon
/etc/config/ntpclient
/etc/config/openvpn
/etc/config/openvpn-opkg
/etc/config/openvpn_recipes
/etc/config/rpcd
/etc/config/squid
/etc/config/stunnel
/etc/config/system
/etc/config/ucitrack
/etc/config/ucitrack-opkg
/etc/config/uhttpd
/etc/config/uhttpd-opkg
/etc/config/upnpd
/etc/config/upnpd-opkg
/etc/config/wifi_schedule
/etc/config/wireless
/etc/dropbear/dropbear_rsa_host_key
/etc/easy-rsa/android.ovpn
/etc/easy-rsa/keys/01.pem
/etc/easy-rsa/keys/02.pem
/etc/easy-rsa/keys/ca.crt
/etc/easy-rsa/keys/ca.key
/etc/easy-rsa/keys/dh2048.pem
/etc/easy-rsa/keys/index.txt
/etc/easy-rsa/keys/index.txt-opkg
/etc/easy-rsa/keys/index.txt.attr
/etc/easy-rsa/keys/index.txt.attr.old
/etc/easy-rsa/keys/index.txt.old
/etc/easy-rsa/keys/my-Ros.crt
/etc/easy-rsa/keys/my-Ros.csr
/etc/easy-rsa/keys/my-Ros.key
/etc/easy-rsa/keys/my-Ros.p12
/etc/easy-rsa/keys/my-android.crt
/etc/easy-rsa/keys/my-android.csr
/etc/easy-rsa/keys/my-android.key
/etc/easy-rsa/keys/my-android.p12
/etc/easy-rsa/keys/my-lavoro.crt
/etc/easy-rsa/keys/my-lavoro.csr
/etc/easy-rsa/keys/my-lavoro.key
/etc/easy-rsa/keys/my-lavoro.p12
/etc/easy-rsa/keys/my-server.crt
/etc/easy-rsa/keys/my-server.csr
/etc/easy-rsa/keys/my-server.key
/etc/easy-rsa/keys/serial
/etc/easy-rsa/keys/serial-opkg
/etc/easy-rsa/keys/serial.old
/etc/easy-rsa/lavoro.ovpn
/etc/easy-rsa/openssl-1.0.0.cnf
/etc/easy-rsa/opensslSending TERM to remaining processes ... sleep sleep ubusd askfirst logd rpcd monitor ovsdb-server monitor ovs-vswitchd netifd odhcpd minidlna uhttpd nlbwmon openvpn openvpn squid ntpd acpid hostapd hostapd miniupnpd miniupnpd[5126]: shutting down MiniUPnPd
sh sh dnsmasq
acpid: exiting
[ 92.437752] device wlan1 left promiscuous mode
[ 92.442327] br-lan: port 2(wlan1) entered disabled state
[ 92.448910] device wlan0 left promiscuous mode
[ 92.453768] br-lan: port 3(wlan0) entered disabled state
Sending KILL to remaining processes ... squid
Switching to ramdisk...
Performing system upgrade...
Reading partition table from bootdisk...
cat: write error: Broken pipe
Reading partition table from image...
1016+0 records in
1016+0 records out
Writing image to /dev/mmcblk0p1...
cat: write error: Broken pipe
40960+0 records in
20+0 records out
Writing image to /dev/mmcblk0p2...
38223+1 records in
18+1 records out
Writing new UUID to /dev/mmcblk0...
4+0 records in
4+0 records out
Upgrade completed
Rebooting system...
umount: can’t unmount /dev: Resource busy
umount: can’t unmount /tmp: Resource busy

Here something happen, but I get this write error due to broken pipe happening randomly in one or more of the mmc write. The result is a working SD card, I see the config being restored (even if with timestamp issue)

[ 9.963481] mount_root: switching to f2fs overlay
- config restore -
tar: etc/config/.system.uci-AHDKKD: time stamp 2017-08-21 21:02:25 is 1503349334.873834079 s in the future
tar: etc/config/adblock: time stamp 2018-03-02 18:15:32 is 1520014521.872032829 s in the future
tar: etc/config/adblock-opkg: time stamp 2018-02-24 14:13:16 is 1519481585.871617621 s in the future
tar: etc/config/ddns: time stamp 2018-03-02 08:48:43 is 1519980512.871290329 s in the future

But the temp file written in the overlay is still there:

root@MenionRouter:/# cd /usr/bin
root@MenionRouter:/usr/bin# ls foo
foo
root@MenionRouter:/usr/bin#

So apparently there are two issue (maybe correlated): there is no gzip in the ramdisk which prevent img.gz to work and the overlay filesystem that won’t get reset
Bye


14.08.20181776Base systemBug ReportVery LowMediumImageBuilder for brcm47x-mips74k reports "WARNING: maxl...openwrt-18.06Unconfirmed Task Description

I am using OpenWRT Image Builder 18.06 for brcm47x-mips74k like this:

make image PROFILE=linksys-e2500-v3 PACKAGES="openvpn-openssl mini_snmpd dnsmasq-full luci-app-mwan3 luci-app-sqm usb-modeswitch -dnsmasq kmod-nf-nathelper kmod-nf-nathelper-extra luci-ssl-openssl luci-proto-3g luci-app-ddns openssl-util luci-theme-material"

and I get

mjn3's trx replacement - v0.81.1
WARNING: maxlen exceeds default maximum!  Beware of overwriting nvram!

more than a dozen times. I am unsure whether I should use the resulting images or if they are indeed broken.

15.08.20181781Base systemBug ReportVery LowMedium"/sbin/block detect" reports improper uuid for raid par...AllWaiting on reporter Task Description

This bug is device independent (I think).

As a result of this bug, /etc/config/fstab may contain damaged content, and also block mount may fail.

‘block detect’ reports bad uuid for /dev/sda1 (and others) mixing inside uuid of raid volume with outside of the partitions.
Bug is ‘block detect’ showing the same uuid for /dev/sda1 and /dev/md1 while they are different, as you can observe in /sbin/blkid output at the middle of output below.

Important: /sbin/blkid from busybox may have same/similar bug as its reporting even different uuid. The standalone /usr/sbin/blkid works properly (shown in the middle of below) and should be basis for comparison.

root@bee:/tmp# block detect
config 'global'
        option  anon_swap       '0'
        option  anon_mount      '0'
        option  auto_swap       '1'
        option  auto_mount      '1'
        option  delay_root      '5'
        option  check_fs        '0'

config 'mount'
        option  target  '/mnt/sda1'
        option  uuid    '48f38899-5efb-4477-adca-bf11d81df99f'
        option  enabled '0'

config 'mount'
        option  target  '/mnt/sdb1'
        option  uuid    '48f38899-5efb-4477-adca-bf11d81df99f'
        option  enabled '0'

config 'mount'
        option  target  '/mnt/md1'
        option  uuid    '48f38899-5efb-4477-adca-bf11d81df99f'
        option  enabled '0'


root@bee:/tmp# which blkid
/usr/sbin/blkid
root@bee:/tmp# blkid
/dev/mtdblock5: TYPE="squashfs"
/dev/sda1: UUID="8b2d137c-4973-133d-6de4-7e91c4a4cdb0" TYPE="linux_raid_member" PARTUUID="f6eb912c-6ef7-4b8b-90d7-3ccc4e05d0c3"
/dev/sdb1: UUID="8b2d137c-4973-133d-6de4-7e91c4a4cdb0" TYPE="linux_raid_member" PARTUUID="731a8023-5734-463e-8866-46ea97a3f928"
/dev/md1: LABEL="OVERLAYROOT" UUID="48f38899-5efb-4477-adca-bf11d81df99f" TYPE="ext4"


root@bee:/tmp# /sbin/blkid
/dev/md1: LABEL="OVERLAYROOT" UUID="48f38899-5efb-4477-adca-bf11d81df99f" TYPE="ext4"
/dev/sda1: UUID="7c132d8b-3d13-7349-917e-e46db0cda4c4" TYPE="linux_raid_member"
/dev/sdb1: UUID="7c132d8b-3d13-7349-917e-e46db0cda4c4" TYPE="linux_raid_member"
20.08.20181798Base systemBug ReportVery LowMediummesh (802.11s) encrypted link wireless won't accept HT4...openwrt-18.06Unconfirmed Task Description

Issue occurs on multiple devices including TP-WR842v1/3, WR703 and WT3020.
18.06.0, 18.06.1 trunk

Configure wireless for mesh only (ie no AP) and HT40 mode. ‘iw’ command reports error in log when starting wireless and encrypted mesh link does not establish.

Works ok: encrypted mesh and ap with HT40 (wpa_supplicant has ht40=1)
cat /tmp/run/wpa_supplicant-mesh0.conf

country=AU
network={

      ssid="xxxxxx"
      key_mgmt=SAE
      mode=5
      mesh_fwding=1
      fixed_freq=1
      frequency=2462
      ht40=1
      max_oper_chwidth=0
      noscan=1
      sae_password="xxxxxxxx"
      beacon_int=100

}

Works ok: encrypted mesh (and no AP) with HT20 (wpa_supplicant has disable_ht40=1)
cat /tmp/run/wpa_supplicant-mesh0.conf

country=AU
network={

      ssid="xxxxxx"
      key_mgmt=SAE
      mode=5
      fixed_freq=1
      frequency=2462
      disable_ht40=1
      max_oper_chwidth=0
      sae_password="xxxxxxxx"
      beacon_int=100

}

Fails: encrypted mesh (and no AP) with HT40 (wpa_supplicant has no ht40 related entry)
cat /tmp/run/wpa_supplicant-mesh0.conf

country=AU
network={

      ssid="xxxxxx"
      key_mgmt=SAE
      mode=5
      fixed_freq=1
      frequency=2462
      max_oper_chwidth=0
      sae_password="xxxxxxxx"
      beacon_int=100

}


25.08.20181815Base systemBug ReportVery LowMediumUdhcpc on boot don't add default gateway and dns serveropenwrt-18.06Waiting on reporter Task Description
  • TP-Link Archer C7 v2
  • OpenWrt 18.06.1 r7258-5eb055306f / LuCI openwrt-18.06 branch (git-18.228.31946-f64b152)

—-

  • I update my router from 15 with erasing of config.
  • setup WAN
        config interface 'wan'
        option ifname 'eth0.2'
        option proto 'dhcp'
        option macaddr '00:0F:EA:60:3D:30'
  • Dhcp work as expected returned ip and simple route
# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.40.62.0      10.40.62.5      255.255.255.0   UG    0      0        0 eth0.2
192.168.2.0     *               255.255.255.0   U     0      0        0 br-lan

But no default gw added

  • After reboot i found in log
Sat Aug 25 11:44:54 2018 daemon.notice netifd: wan (1297): udhcpc: started, v1.28.3
Sat Aug 25 11:44:54 2018 daemon.err odhcp6c[1296]: Failed to send RS (Address not available)
Sat Aug 25 11:44:54 2018 daemon.notice netifd: wan (1297): udhcpc: sending discover
Sat Aug 25 11:44:54 2018 daemon.notice netifd: wan (1297): udhcpc: sending select for 10.40.62.76
Sat Aug 25 11:44:54 2018 daemon.notice netifd: wan (1297): udhcpc: lease of 10.40.62.76 obtained, lease time 43200

- But if I run udhcpc by hand

~# udhcpc -i eth0.2
udhcpc: started, v1.28.3
udhcpc: sending discover
udhcpc: sending select for 10.40.62.76
udhcpc: lease of 10.40.62.76 obtained, lease time 43200
udhcpc: ifconfig eth0.2 10.40.62.76 netmask 255.255.255.0 broadcast 10.40.62.255
udhcpc: setting default routers: 10.40.62.5

And routing is like

~# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         10.40.62.5      0.0.0.0         UG    0      0        0 eth0.2
10.40.62.0      *               255.255.255.0   U     0      0        0 eth0.2
192.168.2.0     *               255.255.255.0   U     0      0        0 br-lan

Workaround

  • Added to scheduled task
*/1 * * * * udhcpc  -i eth0.2
 


Showing tasks 151 - 200 of 1046 Page 4 of 21<<First - 2 - 3 - 4 - 5 - 6 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing