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.

OpenedIDCategoryTask TypePrioritySeveritySummaryReported InStatus
15.08.20181780Base systemBug ReportVery LowLowbrcm63xx: SR102 double entry in make infoTrunkUnconfirmed Task Description

/openwrt/snapshots/brcm63xx/generic

  make info
  [...]
  SR102:
      SKY SR102
      Packages: kmod-b43 wpad-mini kmod-usb2 kmod-usb-ohci iwinfo
  SR102:
      SKY-SR102
      Packages: kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
  [...]

I guess that’s an typo somewhere but as I don’t know about the deeper structure nor the model I can’t suggest a fix.

14.08.20181779ToolchainBug ReportVery LowMediumtools/include headers contain old, incomplete versions?AllUnconfirmed Task Description

I tried to add a package that includes <elf.h> on host and this comes from the tools/include files. The build failed because “AT_HWCAP2” was undefined.

After comparing the host distro against tools/include its clear that those files are quite old “1995-2012” vs “1995-2018”.
So why do we keep those few headers around in a old version anyway and not use the host headers?

If they are just some old copy’s, than maybe they should at least be updated?

14.08.20181778Base systemBug ReportVery LowHighrelease 18.06 does not work for recent RouterBoard 450G...openwrt-18.06Unconfirmed Task Description

OpenWrt 18.06. does not work on at least some RB45Gs, because the yaffs2-Image for the kernel in

openwrt-18.06.0-ar71xx-mikrotik-nand-large-squashfs-sysupgrade.bin

seems to be created with a pagesize of 2048, but my recent RB450G contains a NAND-Chip with a pagesize of 4096 (as displayed by the linux-kernel). Flashing this image onto this chip with “nandwrite -o”, inside function platform_nand_pre_upgrade() in file target/linux/ar71xx/base-files/lib/upgrade/platform.sh, screws up oop-data and renders the kernel-nand-partition unbootable, unreadable, unwritable and even unerasable (at least with “mtd erase”).

See attached File cap1.txt for an installation log. The Installation seemed to work just fine, but the device did not bool any more.
See attached File cap2.txt for a log of a netboot-session after that. The kernel showed up 6 new “Bad eraseblock”s and “mtd erase” did not work any more.
After restoring Mikrotik’s RouterOS to the device with their NetInstall-Application, the “bad eraseblock”s were gone, which prooves, that the NAND-Chip is not really defective and the “Bad eraseblock” are erroneous.

There seem to be RouterBoards with different NAND-Chips around: This page:

https://wikidevi.com/wiki/MikroTik_RouterBOARD_450G_%28RB450G%29

states that it is a “Hynix HY27UT084G2A”, but the Linux-Kernel states that
the Chip is from Toshiba. Hence the sysupgrade-procedure should probably prepared
for different yaffs2-page-sizes.

Workaround:

After quite some time, I figures out the following workaround:

  1. Netboot OpenWrt 18-06.
  2. Open the file /lib/upgrade/platform.sh with vi and comment out the nandwrite-call in line 760.
  3. Call sysupgrade as usual –> The Installation will not be bootable, but the kernel-Partition will still be accessable
  4. Netboot OpenWrt 14.07 (because v18.06 lacks yaffs2-kernel-support !)
  5. Manually install the kernel-file with:
mtd erase /dev/mtd5
mkdir /mnt/kernel
mount -t yaffs2 /dev/mtdblock5 /mnt/kernel
cd /mnt/kernel
wget -O kernel http://192.168.88.1:8080/openwrt-18.06.0-ar71xx-mikrotik-vmlinux-lzma.elf
chmod +x kernel
cd /
sync
umount /mnt/kernel

With this procedure I got a working installation.

14.08.20181777Base systemBug ReportVery LowVery Lowrelease 18.06 on RouterBoards (ar71xx/mikrotik): superf...openwrt-18.06Unconfirmed Task Description

The sysupgrade-procedure of release 18.06 for RouterBoards (ar71xx/mikrotik)
(as contained in openwrt-18.06.0-ar71xx-mikrotik-vmlinux-initramfs-lzma.elf) creates
a superfluous UBI volume named “none”.

Details:

The function platform_nand_pre_upgrade() intarget/linux/ar71xx/base-files/lib/upgrade/platform.sh sets
“CI_KERNPART=none” to bypass the normal kernel-install-procedure.
This works, but causes nand_upgrade_prepare_ubi() in package/base-files/files/lib/upgrade/nand.sh
to creat an UBI volume named “none”, containing a (supposedly defective) kernel-yaffs2-image.

Used command :

sysupgrade -n -v http://192.168.88.1:8080/openwrt-18.06.0-ar71xx-mikrotik-nand-large-squashfs-sysupgrade.bin

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.

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


13.08.20181771Base systemBug ReportVery LowLowError Log - mac80211/rx.c openwrt-18.06Unconfirmed Task Description

WAN stopped working then noticed this in dmesg not sure if to events related

[85451.573214] ————[ cut here ]———— [85451.576496] WARNING: CPU: 0 PID: 3 at backports-2017-11-01/net/mac80211/rx.c:4347 0x82c26514 [mac80211@82c00000+0x61ca0]
[85451.587239] Rate marked as an HT rate but passed status→rate_idx is not an MCS index [0-76]: 98 (0×62)
[85451.596538] Modules linked in: ltq_atm_ar9 ath9k ath9k_common ath9k_hw ath pppoe nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 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 xt_CT 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 nf_conntrack ltq_deu_ar9 iptable_mangle iptable_filter ip_tables crc_ccitt compat drv_dsl_cpe_api ledtrig_usbport drv_mei_cpe ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables pppoatm ppp_generic slhc br2684 atm usb_storage sd_mod scsi_mod ext4 jbd2 mbcache crc32c_generic dwc2 gpio_button_hotplug
[85451.667460] aead cryptomgr crypto_null
[85451.669954] CPU: 0 PID: 3 Comm: ksoftirqd/0 Not tainted 4.9.111 #0
[85451.676117] Stack : 805e7892 00000036 00000000 00000001 00000000 00000000 00000000 00000000
[85451.684365] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[85451.692659] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[85451.700953] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[85451.709248] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[85451.717542] ...
[85451.719962] Call Trace:
[85451.722309] [<8000edb0>] 0x8000edb0
[85451.725675] [<8000edb0>] 0x8000edb0
[85451.729200] [<800271c8>] 0x800271c8
[85451.732636] [<82c26514>] 0x82c26514 [mac80211@82c00000+0x61ca0]
[85451.738553] [<80027200>] 0×80027200 [85451.741994] [<82c26514>] 0x82c26514 [mac80211@82c00000+0x61ca0]
[85451.747876] [<802c9c3c>] 0x802c9c3c
[85451.751320] [<802c9e48>] 0x802c9e48
[85451.754782] [<833fc37c>] 0x833fc37c [ath9k_common@833fc000+0x2a80]
[85451.760992] [<82ce78ac>] 0x82ce78ac [ath9k@82ce0000+0x160f0]
[85451.766578] [<802d6a00>] 0x802d6a00
[85451.769951] [<82ce4d90>] 0x82ce4d90 [ath9k@82ce0000+0x160f0]
[85451.775622] [<8002a790>] 0x8002a790
[85451.779032] [<80029fc0>] 0x80029fc0
[85451.782482] [<800495cc>] 0x800495cc
[85451.785946] [<8002a118>] 0x8002a118
[85451.789399] [<80040568>] 0×80040568 [85451.792840] [<80044a28>] 0x80044a28
[85451.796337] [<800448b0>] 0x800448b0
[85451.799826] [<800448b0>] 0x800448b0
[85451.803222] [<80040974>] 0×80040974 [85451.806674] [<8014a005>] 0x8014a005
[85451.810205] [<8004085c>] 0x8004085c
[85451.813557] [<80009798>] 0×80009798 [85451.817048]
[85451.818496] —[ end trace 368f08669849794a ]—

# cat /etc/os-release
NAME=”OpenWrt” VERSION=”18.06.0” ID=”openwrt” ID_LIKE=”lede openwrt” PRETTY_NAME=”OpenWrt 18.06.0” VERSION_ID=”18.06.0” HOME_URL=”http://openwrt.org/” BUG_URL=”http://bugs.openwrt.org/” SUPPORT_URL=”http://forum.lede-project.org/” BUILD_ID=”r7188-b0b5c64c22” LEDE_BOARD=”lantiq/xway” LEDE_ARCH=”mips_24kc” LEDE_TAINTS=”” LEDE_DEVICE_MANUFACTURER=”OpenWrt” LEDE_DEVICE_MANUFACTURER_URL=”http://openwrt.org/” LEDE_DEVICE_PRODUCT=”Generic” LEDE_DEVICE_REVISION=”v0” LEDE_RELEASE=”OpenWrt 18.06.0 r7188-b0b5c64c22”

12.08.20181769PackagesFeature RequestVery LowMediumEnable built-in RADIUS support for full version of host...TrunkUnconfirmed Task Description

hostapd has built-in RADIUS server and capable to perform EAP authentication without external authenticator. Unfortunately OpenWRT package builds full version of hostapd with internal crypto backend. All functions related to EAP-TLS in internal crypto backend stubbed with empty bodies returning error immediately.

Recently I used FreeRADIUS running directly on my router, but it requires pretty remarkable amount of RAM. I ended up with patch for openwrt build specs in order to build fully functional hostapd. Also I made some ugly hacks in netifd scripts to compose proper hostapd.conf. Finally, I got working EAP-TLS auth virtually with no additional costs.

Probably support for internal RADIUS and some authentication methods should be added to LUCI/UCI configuration interface.

I guess secure WLAN is not a luxury feature and EAP auth is mandatory for modern secure networks.

My device is: TP-Link Archer C50 V1
My current OpenWRT version is: OpenWrt 18.06.0, r7188-b0b5c64c22

12.08.20181766Base systemBug ReportVery LowLowopkg fails signature check on already downloaded and ve...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: x86_64
- Software versions of OpenWrt/LEDE release, packages, etc.: 18.06.0
- Steps to reproduce

opkg fails signature check on already downloaded and verified package lists, which makes `opkg upgrade` impossible.

```
root@OpenWrt:~# ls /tmp/opkg-lists/
root@OpenWrt:~# opkg update
Downloading http://downloads.openwrt.org/releases/18.06.0/targets/x86/64/packages/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading http://downloads.openwrt.org/releases/18.06.0/targets/x86/64/packages/Packages.sig Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/base/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/base/Packages.sig Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/luci/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/luci/Packages.sig Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/packages/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/packages/Packages.sig Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/routing/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/routing/Packages.sig Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/telephony/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/telephony/Packages.sig Signature check passed.
root@OpenWrt:~# ls /tmp/opkg-lists/
openwrt_base openwrt_core.sig openwrt_packages openwrt_routing.sig
openwrt_base.sig openwrt_luci openwrt_packages.sig openwrt_telephony
openwrt_core openwrt_luci.sig openwrt_routing openwrt_telephony.sig
root@OpenWrt:~# opkg update
Downloading http://downloads.openwrt.org/releases/18.06.0/targets/x86/64/packages/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading http://downloads.openwrt.org/releases/18.06.0/targets/x86/64/packages/Packages.sig Signature check failed.
Remove wrong Signature file.
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/base/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/base/Packages.sig Signature check failed.
Remove wrong Signature file.
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/luci/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/luci/Packages.sig Signature check failed.
Remove wrong Signature file.
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/packages/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/packages/Packages.sig Signature check failed.
Remove wrong Signature file.
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/routing/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/routing/Packages.sig Signature check failed.
Remove wrong Signature file.
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/telephony/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/telephony/Packages.sig Signature check failed.
Remove wrong Signature file.
root@OpenWrt:~# ls /tmp/opkg-lists/
root@OpenWrt:~#
```

```
root@OpenWrt:~# ls /tmp/opkg-lists/
root@OpenWrt:~# opkg update
Downloading http://downloads.openwrt.org/releases/18.06.0/targets/x86/64/packages/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading http://downloads.openwrt.org/releases/18.06.0/targets/x86/64/packages/Packages.sig Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/base/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/base/Packages.sig Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/luci/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/luci/Packages.sig Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/packages/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/packages/Packages.sig Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/routing/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/routing/Packages.sig Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/telephony/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/telephony/Packages.sig Signature check passed.
root@OpenWrt:~# opkg list-upgradable
luci-lib-ip - git-18.210.69179-6df9a57-1 - git-18.219.52706-a49e4e4-1
luci-theme-bootstrap - git-18.210.69179-6df9a57-1 - git-18.219.52706-a49e4e4-1
netifd - 2018-05-30-a580028d-1 - 2018-07-30-a0a1e52e-1
luci-app-firewall - git-18.210.69179-6df9a57-1 - git-18.219.52706-a49e4e4-1
libuci - 2018-03-24-5d2bf09e-1 - 2018-08-11-4c8b4d6e-1
uclient-fetch - 2017-11-02-4b87d831-1 - 2018-08-03-ae1c656f-1
libuclient - 2017-11-02-4b87d831-1 - 2018-08-03-ae1c656f-1
uci - 2018-03-24-5d2bf09e-1 - 2018-08-11-4c8b4d6e-1
luci-proto-ppp - git-18.210.69179-6df9a57-1 - git-18.219.52706-a49e4e4-1
luci-mod-admin-full - git-18.210.69179-6df9a57-1 - git-18.219.52706-a49e4e4-1
luci-base - git-18.210.69179-6df9a57-1 - git-18.219.52706-a49e4e4-1
luci-proto-ipv6 - git-18.210.69179-6df9a57-1 - git-18.219.52706-a49e4e4-1
luci-lib-nixio - git-18.210.69179-6df9a57-1 - git-18.219.52706-a49e4e4-1
luci-lib-jsonc - git-18.210.69179-6df9a57-1 - git-18.219.52706-a49e4e4-1
luci - git-18.210.69179-6df9a57-1 - git-18.219.52706-a49e4e4-1
root@OpenWrt:~# opkg list-upgradable | cut -d ' ' -f 1 | xargs opkg upgrade
Upgrading luci-lib-ip on root from git-18.210.69179-6df9a57-1 to git-18.219.52706-a49e4e4-1...
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/luci/luci-lib-ip_git-18.219.52706-a49e4e4-1_x86_64.ipk Upgrading luci-theme-bootstrap on root from git-18.210.69179-6df9a57-1 to git-18.219.52706-a49e4e4-1...
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/luci/luci-theme-bootstrap_git-18.219.52706-a49e4e4-1_all.ipk Upgrading netifd on root from 2018-05-30-a580028d-1 to 2018-07-30-a0a1e52e-1...
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/base/netifd_2018-07-30-a0a1e52e-1_x86_64.ipk Upgrading luci-app-firewall on root from git-18.210.69179-6df9a57-1 to git-18.219.52706-a49e4e4-1...
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/luci/luci-app-firewall_git-18.219.52706-a49e4e4-1_all.ipk Upgrading libuci on root from 2018-03-24-5d2bf09e-1 to 2018-08-11-4c8b4d6e-1...
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/base/libuci_2018-08-11-4c8b4d6e-1_x86_64.ipk Upgrading uclient-fetch on root from 2017-11-02-4b87d831-1 to 2018-08-03-ae1c656f-1...
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/base/uclient-fetch_2018-08-03-ae1c656f-1_x86_64.ipk Upgrading libuclient on root from 2017-11-02-4b87d831-1 to 2018-08-03-ae1c656f-1...
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/base/libuclient_2018-08-03-ae1c656f-1_x86_64.ipk Upgrading uci on root from 2018-03-24-5d2bf09e-1 to 2018-08-11-4c8b4d6e-1...
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/base/uci_2018-08-11-4c8b4d6e-1_x86_64.ipk Upgrading luci-proto-ppp on root from git-18.210.69179-6df9a57-1 to git-18.219.52706-a49e4e4-1...
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/luci/luci-proto-ppp_git-18.219.52706-a49e4e4-1_all.ipk Upgrading luci-mod-admin-full on root from git-18.210.69179-6df9a57-1 to git-18.219.52706-a49e4e4-1...
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/luci/luci-mod-admin-full_git-18.219.52706-a49e4e4-1_x86_64.ipk Upgrading luci-base on root from git-18.210.69179-6df9a57-1 to git-18.219.52706-a49e4e4-1...
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/luci/luci-base_git-18.219.52706-a49e4e4-1_x86_64.ipk Upgrading luci-proto-ipv6 on root from git-18.210.69179-6df9a57-1 to git-18.219.52706-a49e4e4-1...
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/luci/luci-proto-ipv6_git-18.219.52706-a49e4e4-1_all.ipk Upgrading luci-lib-nixio on root from git-18.210.69179-6df9a57-1 to git-18.219.52706-a49e4e4-1...
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/luci/luci-lib-nixio_git-18.219.52706-a49e4e4-1_x86_64.ipk Upgrading luci-lib-jsonc on root from git-18.210.69179-6df9a57-1 to git-18.219.52706-a49e4e4-1...
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/luci/luci-lib-jsonc_git-18.219.52706-a49e4e4-1_x86_64.ipk Upgrading luci on root from git-18.210.69179-6df9a57-1 to git-18.219.52706-a49e4e4-1...
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/luci/luci_git-18.219.52706-a49e4e4-1_all.ipk Collected errors:
* opkg_install_pkg: Failed to verify the signature of /var/opkg-lists/openwrt_luci.
* opkg_install_pkg: Failed to verify the signature of /var/opkg-lists/openwrt_luci.
* opkg_install_pkg: Failed to verify the signature of /var/opkg-lists/openwrt_base.
* opkg_install_pkg: Failed to verify the signature of /var/opkg-lists/openwrt_luci.
* opkg_install_pkg: Failed to verify the signature of /var/opkg-lists/openwrt_base.
* opkg_install_pkg: Failed to verify the signature of /var/opkg-lists/openwrt_base.
* opkg_install_pkg: Failed to verify the signature of /var/opkg-lists/openwrt_base.
* opkg_install_pkg: Failed to verify the signature of /var/opkg-lists/openwrt_base.
* opkg_install_pkg: Failed to verify the signature of /var/opkg-lists/openwrt_luci.
* opkg_install_pkg: Failed to verify the signature of /var/opkg-lists/openwrt_luci.
* opkg_install_pkg: Failed to verify the signature of /var/opkg-lists/openwrt_luci.
* opkg_install_pkg: Failed to verify the signature of /var/opkg-lists/openwrt_luci.
* opkg_install_pkg: Failed to verify the signature of /var/opkg-lists/openwrt_luci.
* opkg_install_pkg: Failed to verify the signature of /var/opkg-lists/openwrt_luci.
* opkg_install_pkg: Failed to verify the signature of /var/opkg-lists/openwrt_luci.
xargs: opkg: exited with status 255; aborting
root@OpenWrt:~#
```

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.

10.08.20181764Base systemBug ReportVery LowLowftp helper from kmod-nf-nathelper doesn't workTrunkUnconfirmed Task Description

Hi, I use OpenWRT 18.06.0 on Archer C7 v2.

After upgrade from latest LEDE to new OpenWRT my ftp connection (inside to outside) isnt working any more.

kmod-nf-nathelper is installed and loaded - router also restarted.

But the connection isnt working any more....

thats my tcpdump from the connection:

.....%A@.7.5.P..._W..230 User user logged in.

15:36:03.477896 IP rd1.xxx-local-xxx.local.53412 > pm-fw.xxx-remote-xxx.de.21: Flags [P.], seq 29:35, ack 89, win 260, length 6: FTP: FEAT
E.....@.......
.........7.5.%A@.P...p2..FEAT

15:36:03.489914 IP pm-fw.xxx-remote-xxx.de.21 > rd1.xxx-local-xxx.local.53412: Flags [P.], seq 89:99, ack 35, win 65501, length 10: FTP: 211-FEAT
E..2D.@.v.........
.....%A@.7.5.P.......211-FEAT

15:36:03.539917 IP rd1.xxx-local-xxx.local.53412 > pm-fw.xxx-remote-xxx.de.21: Flags [.], ack 99, win 260, length 0
E..(..@.......
.........7.5.%A@.P.............
15:36:03.551603 IP pm-fw.xxx-remote-xxx.de.21 > rd1.xxx-local-xxx.local.53412: Flags [P.], seq 99:128, ack 35, win 65501, length 29: FTP:     SIZE
E..EE.@.v..<......
.....%A@.7.5.P...%s..    SIZE
    MDTM
211 END

15:36:03.555058 IP rd1.xxx-local-xxx.local.53412 > pm-fw.xxx-remote-xxx.de.21: Flags [P.], seq 35:43, ack 128, win 260, length 8: FTP: TYPE I
E..0..@.......
.........7.5.%A@.P...2...TYPE I

15:36:03.566608 IP pm-fw.xxx-remote-xxx.de.21 > rd1.xxx-local-xxx.local.53412: Flags [P.], seq 128:148, ack 43, win 65493, length 20: FTP: 200 Type set to I.
E..<E.@.v..4......
.....%A@.7.5%P...r...200 Type set to I.

15:36:03.567247 IP rd1.xxx-local-xxx.local.53412 > pm-fw.xxx-remote-xxx.de.21: Flags [P.], seq 43:70, ack 148, win 260, length 27: FTP: PORT 192,168,10,5,208,165
E..C..@....{..
.........7.5%%A@.P...9...PORT 192,168,10,5,208,165

15:36:03.579094 IP pm-fw.xxx-remote-xxx.de.21 > rd1.xxx-local-xxx.local.53412: Flags [P.], seq 148:178, ack 70, win 65465, length 30: FTP: 200 PORT command successful.
E..FE!@.v.........
.....%A@.7.5@P...H...200 PORT command successful.

15:36:03.580969 IP rd1.xxx-local-xxx.local.53412 > pm-fw.xxx-remote-xxx.de.21: Flags [P.], seq 70:96, ack 178, win 260, length 26: FTP: SIZE user_mydat.csv
E..B..@....{..
.........7.5@%A@.P.......SIZE user_mydat.csv

15:36:03.592986 IP pm-fw.xxx-remote-xxx.de.21 > rd1.xxx-local-xxx.local.53412: Flags [P.], seq 178:189, ack 96, win 65439, length 11: FTP: 213 15493
E..3E;@.v.........
.....%A@.7.5ZP.......213 15493

15:36:03.593395 IP rd1.xxx-local-xxx.local.53412 > pm-fw.xxx-remote-xxx.de.21: Flags [P.], seq 96:122, ack 189, win 260, length 26: FTP: RETR user_mydat.csv
E..B..@....z..
.........7.5Z%AA.P.......RETR user_mydat.csv

15:36:03.604832 IP pm-fw.xxx-remote-xxx.de.21 > rd1.xxx-local-xxx.local.53412: Flags [P.], seq 189:268, ack 122, win 65413, length 79: FTP: 150 Opening BINARY mode data connection for user_mydat.csv(15493 bytes).
E..wEL@.v.........
.....%AA.7.5tP....=..150 Opening BINARY mode data connection for user_mydat.csv(15493 bytes).

15:36:03.654419 IP rd1.xxx-local-xxx.local.53412 > pm-fw.xxx-remote-xxx.de.21: Flags [.], ack 268, win 259, length 0
E..(..@.......
.........7.5t%AAUP.............
15:36:24.767221 IP pm-fw.xxx-remote-xxx.de.21 > rd1.xxx-local-xxx.local.53412: Flags [P.], seq 268:301, ack 122, win 65413, length 33: FTP: 425 Can't open data connection.
E..I\.@.v.........
.....%AAU7.5tP...k/..425 Can't open data connection.
10.08.20181763Base systemBug ReportVery LowMedium18.06 doesn't obtain IPv6 address on mt76openwrt-18.06Unconfirmed Task Description

OpenWRT-18.06 doesn’t obtain an IPv6 address on the wan6 interface since commit 424a9ae128bd2045cd4bfd6e3229f2529d150a25. IPv6 works before that commit. The git bisect output is

$ git bisect good
There are only 'skip'ped commits left to test.
The first bad commit could be any of:
424a9ae128bd2045cd4bfd6e3229f2529d150a25
bfed38254076d576914251689a2e1f85d514783d
We cannot bisect more!

The WAN6 interface status when not working is

root@OpenWrt:~# ifstatus wan6
{
	"up": false,
	"pending": true,
	"available": true,
	"autostart": true,
	"dynamic": false,
	"proto": "dhcpv6",
	"device": "eth0.2",
	"data": {		
	}
}

The device is a Netgear R6220, and my ISP is Comcast in Pennsylvania.

I attach dmesg when running the last working commit.

Other users also have this problem, see this forum thread. (I’m the OP of that thread.)

Would be great to have IPv6 working again. Thank you!

Steps to reproduce:
0. Delete .config file, in “make menuconfig” select appropriate target (MediaTek Ralink MIPS), subtarget (MT7621), and target profile (Netgear R6220).
1a. Compile image prior to above commits, upload to router
1b. Run “sysupgrade -v -n /tmp/*.tar” 1c. Confirm that IPv6 is working, e.g. by pointing browser to ipv6-test.com, or “ifstatus wan6” on the router
2a. Compile image from source after above mentioned commits, e.g. tag “v18.06.0”, upload to router
2b. Run “sysupgrade -v -n /tmp/*.tar” 2c. Confirm that IPv6 is not working

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.20181759Base systemBug ReportVery LowCritical SQM fine in 17.01.4, can’t keep up with line speed in ...openwrt-18.06Unconfirmed Task Description

Netgear R7800 running 17.01.4 kept up with my ISP line speed (nominal 250Mbps/15Mbps) when configured to use SQM with cake/piece_of_cake.
In 18.06, it cannot keep up
Possibly the same root cause as issue 1598

DSLreports speed test with SQM enabled in 17.01.4 (223.1/14.71 Mbps):
http://www.dslreports.com/speedtest/29614883

and with 18.06 ( 95.8/14.16 Mbps):
http://www.dslreports.com/speedtest/36981183

root@LEDE:~# cat /etc/config/sqm

config queue 'eth1'
	option qdisc_advanced '0'
	option verbosity '5'
	option upload '15000'
	option linklayer 'ethernet'
	option overhead '18'
	option debug_logging '1'
	option download '232750'
	option interface 'eth0.2'
	option enabled '1'
	option qdisc 'cake'
	option script 'piece_of_cake.qos'

Sample tc output after running the DSLreports speed test

root@LEDE:~# tc -d qdisc
qdisc noqueue 0: dev lo root refcnt 2 
qdisc mq 0: dev eth0 root 
qdisc fq_codel 0: dev eth0 parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb ecn 
qdisc mq 0: dev eth1 root 
qdisc fq_codel 0: dev eth1 parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb ecn 
qdisc noqueue 0: dev br-lan root refcnt 2 
qdisc noqueue 0: dev eth1.1 root refcnt 2 
qdisc cake 8012: dev eth0.2 root refcnt 2 bandwidth 15Mbit besteffort triple-isolate split-gso rtt 100.0ms noatm overhead 18 
qdisc ingress ffff: dev eth0.2 parent ffff:fff1 ---------------- 
qdisc noqueue 0: dev br-guest root refcnt 2 
qdisc noqueue 0: dev br-iot root refcnt 2 
qdisc noqueue 0: dev wlan0 root refcnt 2 
qdisc noqueue 0: dev wlan1 root refcnt 2 
qdisc noqueue 0: dev wlan1-1 root refcnt 2 
qdisc noqueue 0: dev wlan1-2 root refcnt 2 
qdisc noqueue 0: dev wlan0-1 root refcnt 2 
qdisc fq_codel 0: dev ovpns0 root refcnt 2 limit 10240p flows 1024 quantum 1500 target 5.0ms interval 100.0ms memory_limit 4Mb ecn 
qdisc fq_codel 0: dev ovpns1 root refcnt 2 limit 10240p flows 1024 quantum 1500 target 5.0ms interval 100.0ms memory_limit 4Mb ecn 
qdisc cake 8013: dev ifb4eth0.2 root refcnt 2 bandwidth 232750Kbit besteffort triple-isolate wash split-gso rtt 100.0ms noatm overhead 18 

root@LEDE:~# tc -s qdisc
qdisc noqueue 0: dev lo root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc mq 0: dev eth0 root 
 Sent 351709498 bytes 2034499 pkt (dropped 0, overlimits 0 requeues 65185) 
 backlog 0b 0p requeues 65185
qdisc fq_codel 0: dev eth0 parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb ecn 
 Sent 351709498 bytes 2034499 pkt (dropped 0, overlimits 0 requeues 65185) 
 backlog 0b 0p requeues 65185
  maxpacket 1514 drop_overlimit 0 new_flow_count 60774 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc mq 0: dev eth1 root 
 Sent 4385184093 bytes 3164614 pkt (dropped 0, overlimits 0 requeues 109126) 
 backlog 0b 0p requeues 109126
qdisc fq_codel 0: dev eth1 parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb ecn 
 Sent 4385184093 bytes 3164614 pkt (dropped 0, overlimits 0 requeues 109126) 
 backlog 0b 0p requeues 109126
  maxpacket 1514 drop_overlimit 0 new_flow_count 137321 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc noqueue 0: dev br-lan root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev eth1.1 root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc cake 8012: dev eth0.2 root refcnt 2 bandwidth 15Mbit besteffort triple-isolate split-gso rtt 100.0ms noatm overhead 18 
 Sent 41321462 bytes 92960 pkt (dropped 919, overlimits 39456 requeues 0) 
 backlog 0b 0p requeues 0
 memory used: 194432b of 4Mb
 capacity estimate: 15Mbit
 min/max network layer size:           28 /    1500
 min/max overhead-adjusted size:       46 /    1518
 average network hdr offset:           14

                  Tin 0
  thresh         15Mbit
  target          5.0ms
  interval      100.0ms
  pk_delay        672us
  av_delay        211us
  sp_delay         11us
  backlog            0b
  pkts            93879
  bytes        42712828
  way_inds            6
  way_miss          392
  way_cols            0
  drops             919
  marks               0
  ack_drop            0
  sp_flows            0
  bk_flows            1
  un_flows            0
  max_len         12112
  quantum           457

qdisc ingress ffff: dev eth0.2 parent ffff:fff1 ---------------- 
 Sent 143870988 bytes 121001 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev br-guest root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev br-iot root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev wlan0 root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev wlan1 root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev wlan1-1 root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev wlan1-2 root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev wlan0-1 root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc fq_codel 0: dev ovpns0 root refcnt 2 limit 10240p flows 1024 quantum 1500 target 5.0ms interval 100.0ms memory_limit 4Mb ecn 
 Sent 2015423 bytes 2972 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev ovpns1 root refcnt 2 limit 10240p flows 1024 quantum 1500 target 5.0ms interval 100.0ms memory_limit 4Mb ecn 
 Sent 228 bytes 3 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc cake 8013: dev ifb4eth0.2 root refcnt 2 bandwidth 232750Kbit besteffort triple-isolate wash split-gso rtt 100.0ms noatm overhead 18 
 Sent 148570176 bytes 120706 pkt (dropped 297, overlimits 622 requeues 0) 
 backlog 0b 0p requeues 0
 memory used: 661056b of 11637500b
 capacity estimate: 232750Kbit
 min/max network layer size:           46 /    1500
 min/max overhead-adjusted size:       64 /    1518
 average network hdr offset:           14

                  Tin 0
  thresh     232750Kbit
  target          5.0ms
  interval      100.0ms
  pk_delay        245us
  av_delay         45us
  sp_delay          4us
  backlog            0b
  pkts           121003
  bytes       149019834
  way_inds            6
  way_miss          384
  way_cols            0
  drops             297
  marks               0
  ack_drop            0
  sp_flows            0
  bk_flows            1
  un_flows            0
  max_len         12112
  quantum          1514
09.08.20181755Base systemBug ReportVery LowHighdata not flushed to persistent storage on ubifsTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

Observed on a Meraki MR24 (apm821xx), with NAND flash and ubifs overlay

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

Seen on versions as old as 5979-gc9c2e4d78d and 6286-gf01b394266, and as recent as 7763-g9537c1a153.

- Steps to reproduce

 

Sysupgrade or factory reset, allow to boot fully, wait a few minutes if desired, yank power. When device comes up again, I found /overlay/upper/etc/config/dropbear was all NULL (also /overlay/upper/etc/config/horst and /overlay/upper/etc/config/batman-adv). If I login to a shell (over serial or ssh) and either reboot or ‘sync’ before yanking power, the files in /overlay survive intact. It seems the data is not making it out to persistent storage without an explicit sync even after considerable time. In my case, the corrupted /etc/config/dropbear was a big problem, because remote access wasn’t possible anymore (I initially had to crack the case to attach a serial console to figure out what was going wrong). It is possible to recover with a factory reset, followed by logging in and sync’ing or rebooting.

08.08.20181750DocumentationFeature RequestVery LowLowProvide notification channel for release announcementsAllUnconfirmed Task Description

After installing OpenWrt on any device, I have to actively monitor the project website to know whenever a new release is available, potentially fixing security issues with my installation.

I propose creating a release-announce mailinglist used only for that purpose, readable & subscribable for everyone.

There might already be other channels offering more push-like notifications, but I didn’t find any ones that are officially sanctioned thus reliably complete.

07.08.20181748ToolchainBug ReportVery LowMediumlibgcc_pic.a not autoincluded when building c++ staticTrunkUnconfirmed Task Description

I’m trying to build static C++ code using openwrt toolchain with gcc compiler 7.3.0 for x64 arch.
It works fine without “-static” , links against “libgcc_s.so.1” But with “-static” compiler does not link against libgcc_pic.a.

#include <stdio.h>

class CTest
{
public:
 CTest()
 {
 printf("Test\n");
 }
 ~CTest()
 {
 printf("unTest\n");
 }
};

void Test()
{
 CTest c;
 throw (int)1;
}

int main()
{
try
{
 Test();
}
catch(int Test)
{
}
 return 0;
}
/lib/../lib64/libstdc++.a(eh_alloc.o): In function `__gnu_cxx::__scoped_lock::~__scoped_lock()':
eh_alloc.cc:(.text._ZN9__gnu_cxx13__scoped_lockD2Ev[_ZN9__gnu_cxx13__scoped_lockD5Ev]+0x4b): undefined reference to `_Unwind_Resume'
/tmp/ccedkPfo.o: In function `Test()':
unwind.cpp:(.text+0x4d): undefined reference to `_Unwind_Resume'
/tmp/ccedkPfo.o: In function `main':
unwind.cpp:(.text+0x6f): undefined reference to `_Unwind_Resume'
/lib/../lib64/libstdc++.a(eh_personality.o): In function `base_of_encoded_value(unsigned char, _Unwind_Context*) [clone .part.3]':
eh_personality.cc:(.text._ZL21base_of_encoded_valuehP15_Unwind_Context.part.3+0x26): undefined reference to `_Unwind_GetDataRelBase'
eh_personality.cc:(.text._ZL21base_of_encoded_valuehP15_Unwind_Context.part.3+0x2c): undefined reference to `_Unwind_GetTextRelBase'
eh_personality.cc:(.text._ZL21base_of_encoded_valuehP15_Unwind_Context.part.3+0x32): undefined reference to `_Unwind_GetRegionStart'

If I include “-lgcc_pic” it compiles OK
I think compiler should autoinclude gcc_pic as it does in dynamic build

06.08.20181746Base systemBug ReportVery LowLowjffs2reset / firstboot has no effectopenwrt-18.06Unconfirmed Task Description

Device problem occurs on:
Arcadyan VGV7510KW22 (o2 Box 6431)

Software versions of OpenWrt/LEDE release:
OpenWrt 18.06.0, r7188-b0b5c64c22

Steps to reproduce:
Create a file in jffs2, then perform a factory reset as documented in the OpenWrt wiki:
root@OpenWrt:~# touch /overlay/blah
root@OpenWrt:~# umount /overlay && jffs2reset && reboot
This will erase all settings and remove any installed packages. Are you sure? [N/y]
y
/dev/mtdblock6 is not mounted
/dev/mtdblock6 will be erased on next mount
root@OpenWrt:~# Connection to openwrt.lan closed.

$ ssh root@openwrt.lan

BusyBox v1.28.3 () built-in shell (ash)

_______                     ________        __

| |.—–.—–.—–.| | | |.—-.| |_
| - || _ | -| || | | || _|| _|
|
_|| |_||||||| ||

        |__| W I R E L E S S   F R E E D O M

—————————————————– OpenWrt 18.06.0, r7188-b0b5c64c22


WARNING!

There is no root password defined on this device!
Use the “passwd” command to set up a new password
in order to prevent unauthorized SSH logins.


root@OpenWrt:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 3.5M 3.5M 0 100% /rom
tmpfs 27.9M 976.0K 26.9M 3% /tmp
tmpfs 27.9M 48.0K 27.8M 0% /tmp/root
tmpfs 512.0K 0 512.0K 0% /dev
/dev/mtdblock6 10.3M 4.3M 5.9M 42% /overlay
overlayfs:/overlay 10.3M 4.3M 5.9M 42% /

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!

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.20181743Base systemBug ReportVery LowHighArcher C7 v1.1 is soft bricked with the 18.06 releaseopenwrt-18.06Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: TP-Link Archer C7 v1.1

- Software versions of OpenWrt/LEDE release, packages, etc.
I tested this on the release version 18.06 and yesterday’s snapshot. (archer-c7-v1-squashfs-factory.bin)

- Steps to reproduce

 

Install OpenWRT 18.06 from the SSH command line (an older version is already running OK). The device will enter into a reboot loop.

I managed to enter safe mode and downgrade to an archived older version from December 2017 (https://archive.openwrt.org/snapshots/trunk/ar71xx/generic/openwrt-ar71xx-generic-archer-c7-v1-squashfs-factory.bin)

Back in October 2017 I also tried the then stable release from LEDE and it had the same issue (reboot loop).

06.08.20181742KernelBug ReportVery LowHighOpenWrt18.06 is not working on Netgear WNR1000 v2 due t...openwrt-18.06Unconfirmed Task Description

Netgear WNR1000 v2
OpenWrt 18.06 is unable to mount jffs2 with the following message:
daemon.err mount_root: failed - mount -t jffs2 /dev/mtdblock5 /rom/overlay: Invalid argument

Snapshot is working.

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


05.08.20181738Base systemFeature RequestVery LowLowPlease include Full Cone NAT packageAllUnconfirmed Task Description

The default OpenWrt netfilter implements “Port Restricted Cone” NAT. Sometimes it’s useful to have less restricted NAT.

Someone recently created a netfilter extension that implements “Full Cone” NAT. Please include it in the package feeds.

Full Cone NAT description:
https://tools.ietf.org/html/rfc3489#section-5

Netfilter extension:
https://github.com/Chion82/netfilter-full-cone-nat

OpenWrt package:

05.08.20181736Base systemBug ReportVery LowLow/etc/os-release: VERSION_ID should not include .fix num...openwrt-18.06Unconfirmed Task Description

Hello,

There is no info in /etc/os-release that tells directly which major version
of OpenWrt I’m using. Both VERSION and VERSION_ID are the same ‘18.06.0’

VERSION_ID should be a field for sw to know which version it is running on.
Generally, it cares about major releases, not “level of bug fixing”.

IMHO, VERSION_ID should be only ‘18.06’ as ubuntu does.

04.08.20181735Base systemFeature RequestVery LowLowdeprecate wiki.openwrt.org pages search optimalityTrunkUnconfirmed Task Description

Currently when searching for just about any technical question, the wiki.openwrt.org pages show up in google search before the newer pages that are on the main url. This is confusing and leads to out-of-date information. It should be possible to de-rank without delisting the wiki pages.

https://support.google.com/webmasters/answer/34437


04.08.20181728KernelBug ReportVery LowHighNewifi D1- Unable to rebootAllUnconfirmed Task Description

Newifi D1, openwrt trunk, 18.06, etc.

This device can not reboot and there is a patch that can fix this problem.
The official builds don’t include it, so the only way to solve it is to build the firmware by ourselves, which is very inconvenient.

I hope there is someone who can solve this problem.

Thank you!

The patch is from https://forum.openwrt.org/t/newifi-d1-unable-to-reboot/7910/8

--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -1075,7 +1075,7 @@ static const struct flash_info spi_nor_i
 	{ "mx25u6435f",  INFO(0xc22537, 0, 64 * 1024, 128, SECT_4K) },
 	{ "mx25l12805d", INFO(0xc22018, 0, 64 * 1024, 256, 0) },
 	{ "mx25l12855e", INFO(0xc22618, 0, 64 * 1024, 256, 0) },
-	{ "mx25l25635e", INFO(0xc22019, 0, 64 * 1024, 512, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
+	{ "mx25l25635e", INFO(0xc22019, 0, 64 * 1024, 512, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_READ_OP) },
 	{ "mx25u25635f", INFO(0xc22539, 0, 64 * 1024, 512, SECT_4K | SPI_NOR_4B_OPCODES) },
 	{ "mx25l25655e", INFO(0xc22619, 0, 64 * 1024, 512, 0) },
 	{ "mx66l51235l", INFO(0xc2201a, 0, 64 * 1024, 1024, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
03.08.20181726Base systemBug ReportVery LowCriticalNetifd lockup when USB LTE modem was restartedopenwrt-18.06Unconfirmed Task Description

OpenWrt 18.06.0, r7188-b0b5c64c22
Device: Xiaomi Mir3G
Modem: Huawei E3372

How to reproduce:
1. Bring up wwan interface
2. Reconnect modem (or echo ‘at^reset’ > /dev/ttyUSB0)
3. See in logs:


Fri Aug 3 16:59:02 2018 kern.info kernel: [ 950.710901] usb 1-1: USB disconnect, device number 3
Fri Aug 3 16:59:02 2018 kern.info kernel: [ 950.716646] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
Fri Aug 3 16:59:02 2018 kern.info kernel: [ 950.725206] option 1-1:1.0: device disconnected
Fri Aug 3 16:59:02 2018 kern.info kernel: [ 950.730738] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
Fri Aug 3 16:59:02 2018 kern.info kernel: [ 950.739145] option 1-1:1.1: device disconnected
Fri Aug 3 16:59:02 2018 kern.info kernel: [ 950.744808] huawei_cdc_ncm 1-1:1.2 wwan0: unregister ‘huawei_cdc_ncm’ usb-1e1c0000.xhci-1, Huawei CDC NCM device
Fri Aug 3 16:59:02 2018 daemon.notice netifd: Network device ‘wwan0’ link is down
Fri Aug 3 16:59:02 2018 daemon.notice netifd: Network alias ‘wwan0’ link is down
Fri Aug 3 16:59:02 2018 daemon.notice netifd: Interface ‘wwan_4’ has link connectivity loss
Fri Aug 3 16:59:02 2018 daemon.notice netifd: Interface ‘wwan_4’ is disabled
Fri Aug 3 16:59:02 2018 daemon.info chronyd[1303]: Source 94.247.111.10 offline
Fri Aug 3 16:59:02 2018 daemon.info chronyd[1303]: Source 195.91.239.8 offline
Fri Aug 3 16:59:02 2018 daemon.info chronyd[1303]: Source 91.207.136.50 offline
Fri Aug 3 16:59:02 2018 daemon.info chronyd[1303]: Source 195.210.189.106 offline
Fri Aug 3 16:59:02 2018 daemon.info chronyd[1303]: Can’t synchronise: no selectable sources
Fri Aug 3 16:59:02 2018 daemon.notice netifd: wwan_4 (4421): udhcpc: SIOCGIFINDEX: No such device
Fri Aug 3 16:59:02 2018 daemon.notice netifd: wwan_4 (4421): udhcpc: received SIGTERM
Fri Aug 3 16:59:03 2018 daemon.notice netifd: wwan (4800): Stopping network wwan
Fri Aug 3 16:59:03 2018 daemon.notice netifd: wwan (4800): Can’t open device /dev/ttyUSB1.
Fri Aug 3 16:59:03 2018 daemon.notice netifd: wwan (4800): Failed to disconnect
Fri Aug 3 16:59:03 2018 daemon.notice netifd: Interface ‘wwan’ is now down
Fri Aug 3 16:59:03 2018 daemon.warn dnsmasq[4567]: no servers found in /tmp/resolv.conf.auto, will retry
Fri Aug 3 16:59:09 2018 kern.info kernel: [ 957.683961] usb 1-1: new high-speed USB device number 4 using xhci-mtk
Fri Aug 3 16:59:09 2018 kern.info kernel: [ 957.867590] option 1-1:1.0: GSM modem (1-port) converter detected
Fri Aug 3 16:59:09 2018 kern.info kernel: [ 957.874380] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
Fri Aug 3 16:59:09 2018 kern.info kernel: [ 957.882334] option 1-1:1.1: GSM modem (1-port) converter detected
Fri Aug 3 16:59:09 2018 kern.info kernel: [ 957.889115] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
Fri Aug 3 16:59:09 2018 kern.info kernel: [ 957.915707] huawei_cdc_ncm 1-1:1.2: resetting NTB format to 16-bit
Fri Aug 3 16:59:09 2018 kern.info kernel: [ 957.926799] huawei_cdc_ncm 1-1:1.2: MAC-Address: 00:1e:10:1f:00:00
Fri Aug 3 16:59:09 2018 kern.info kernel: [ 957.933038] huawei_cdc_ncm 1-1:1.2: setting rx_max = 16384
Fri Aug 3 16:59:09 2018 kern.info kernel: [ 957.938957] huawei_cdc_ncm 1-1:1.2: NDP will be placed at end of frame for this device.
Fri Aug 3 16:59:09 2018 kern.info kernel: [ 957.947454] huawei_cdc_ncm 1-1:1.2: cdc-wdm0: USB WDM device
Fri Aug 3 16:59:09 2018 kern.info kernel: [ 957.955970] huawei_cdc_ncm 1-1:1.2 wwan0: register ‘huawei_cdc_ncm’ at usb-1e1c0000.xhci-1, Huawei CDC NCM device, 00:1e:10:1f:00:00
Fri Aug 3 16:59:10 2018 daemon.notice netifd: Interface ‘wwan’ is setting up now
Fri Aug 3 16:59:10 2018 daemon.notice netifd: wwan (5197): Stopping network wwan
Fri Aug 3 16:59:11 2018 daemon.notice netifd: wwan (5197): sending → Fri Aug 3 16:59:15 2018 daemon.notice netifd: Interface ‘wwan’ is now down


Now ``ifup wwan`` or ``ifdown wwan`` doesn’t do anything until restart of netifd process.

02.08.20181724Base systemBug ReportVery LowHigh18.06.0 release not working on ZyXEL NBG6616 (ar71xx)openwrt-18.06Unconfirmed Task Description

After flashing the firmware the device is not booting as it should.

 


01.08.20181723KernelBug ReportVery LowLowWARNING: CPU: 0 PID: 0 at backports-2017-11-01/drivers/...openwrt-18.06Unconfirmed Task Description

I am running openwrt-18.06 on Linksys EA8500 (ipq806x).

I see the following warning in the kernel log (nothing for 10+ minutes in dmesg prior to this, and nothing after):

[  745.944042] ------------[ cut here ]------------
[  745.944108] WARNING: CPU: 0 PID: 0 at backports-2017-11-01/drivers/net/wireless/ath/ath10k/htt_rx.c:1015 0xbf2caf0c [ath10k_core@bf2b5000+0x3d000]
[  745.947840] Modules linked in: pppoe ppp_async ath10k_pci ath10k_core ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 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 xt_FLOWOFFLOAD xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_of_simple ohci_platform ohci_hcd phy_qcom_dwc3 ahci ehci_platform
[  746.009232]  sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug
[  746.031433] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.14.54 #0
[  746.040610] Hardware name: Generic DT based system
[  746.046865] Function entered at [<c030f7e8>] from [<c030ba24>]
[  746.051463] Function entered at [<c030ba24>] from [<c07a5138>]
[  746.057278] Function entered at [<c07a5138>] from [<c0318dcc>]
[  746.063094] Function entered at [<c0318dcc>] from [<c0318eb8>]
[  746.068908] Function entered at [<c0318eb8>] from [<bf2caf0c>]
[  746.074768] Function entered at [<bf2caf0c>] from [<bf2cc404>]
[  746.080544] Function entered at [<bf2cc404>] from [<bf2f5b48>]
[  746.086374] Function entered at [<bf2f5b48>] from [<c06956f8>]
[  746.092173] Function entered at [<c06956f8>] from [<c03015c8>]
[  746.097989] Function entered at [<c03015c8>] from [<c031d13c>]
[  746.103805] Function entered at [<c031d13c>] from [<c0359ba8>]
[  746.109621] Function entered at [<c0359ba8>] from [<c0301488>]
[  746.115436] Function entered at [<c0301488>] from [<c030c60c>]
[  746.121253] Exception stack(0xc0a01f48 to 0xc0a01f90)
[  746.127092] 1f40:                   00000001 00000000 00000000 c03154c0 ffffe000 c0a03c70
[  746.132225] 1f60: c0a03c24 00000000 00000000 c092da28 00000000 00000000 c0a01f90 c0a01f98
[  746.140369] 1f80: c0308844 c0308848 60000013 ffffffff
[  746.148510] Function entered at [<c030c60c>] from [<c0308848>]
[  746.153544] Function entered at [<c0308848>] from [<c034fc18>]
[  746.159273] Function entered at [<c034fc18>] from [<c034ff60>]
[  746.165087] Function entered at [<c034ff60>] from [<c0900c68>]
[  746.170998] ---[ end trace d7b584a1e69fa5ab ]---
[  746.179889] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[  746.181533] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 1, skipped old beacon

not sure what if anything provoked it, and wireless appears to work fine afterwards.

I looked at the backports-2017-11-01 tarball but apparently the source doesn’t quite correspond to what I’m actually running (prebuilt binary from openwrt release downloads):

 998 static void ath10k_htt_rx_h_undecap_raw(struct ath10k *ar,
 999                                         struct sk_buff *msdu,
1000                                         struct ieee80211_rx_status *status,
1001                                         enum htt_rx_mpdu_encrypt_type enctype,
1002                                         bool is_decrypted)
1003 {
1004         struct ieee80211_hdr *hdr;
1005         struct htt_rx_desc *rxd;
1006         size_t hdr_len;
1007         size_t crypto_len;
1008         bool is_first;
1009         bool is_last;
1010 
1011         rxd = (void *)msdu->data - sizeof(*rxd);
1012         is_first = !!(rxd->msdu_end.common.info0 &
1013                       __cpu_to_le32(RX_MSDU_END_INFO0_FIRST_MSDU));
1014         is_last = !!(rxd->msdu_end.common.info0 &
1015                      __cpu_to_le32(RX_MSDU_END_INFO0_LAST_MSDU));
1016 
1017         /* Delivered decapped frame:
1018          * [802.11 header]
1019          * [crypto param] <-- can be trimmed if !fcs_err &&
1020          *                    !decrypt_err && !peer_idx_invalid
1021          * [amsdu header] <-- only if A-MSDU
1022          * [rfc1042/llc]
1023          * [payload]
1024          * [FCS] <-- at end, needs to be trimmed
1025          */
1026 
1027         /* This probably shouldn't happen but warn just in case */
1028         if (unlikely(WARN_ON_ONCE(!is_first)))
1029                 return;
1030 
1031         /* This probably shouldn't happen but warn just in case */
1032         if (unlikely(WARN_ON_ONCE(!(is_first && is_last))))
1033                 return;

I suspect one of those two warnings is what is being hit but neither of them is quite at line 1015...

01.08.20181722Base systemBug ReportVery LowLowRTL8366rb bridge on tp-link wr1043nd-v1 doesn't activat...TrunkUnconfirmed Task Description

This a very weird problem.

I am building a 4.14 ath79 image from trunk for wr1043nd-v1.
The dtsi file seems to be correct, because the device works properly without any issues when I boot from initramfs.

If I flash the same image to the router, switch stops working at all. Wireless and usb-net do work OK.

I compared logs, ethtool, swconfig, brctl and everything I could imagine and didn’t notice any differences between when boot form RAM or from flash except this one in syslog

overlayfs: upper fs does not support tmpfile.

There must be some tricky race condition. We discussed that at the forums and it is reproducible.

May be anyone has some idea how to debug it?


31.07.20181719Base systemBug ReportVery LowCriticalNo wireless interfaces on the UniFi AP AC Lite on the f...openwrt-18.06Unconfirmed Task Description

The same issue as this, but on the final release: https://bugs.openwrt.org/index.php?do=details&task_id=1663&string=unifi&type%5B0%5D=&sev%5B0%5D=&pri%5B0%5D=&due%5B0%5D=&reported%5B0%5D=&cat%5B0%5D=&status%5B0%5D=open&percent%5B0%5D=&opened=&dev=&closed=&duedatefrom=&duedateto=&changedfrom=&changedto=&openedfrom=&openedto=&closedfrom=&closedto=

31.07.20181718KernelBug ReportVery LowMediumkmod-iwlwifi stacktrace in dmesgopenwrt-18.06Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
- Software versions of OpenWrt/LEDE release, packages, etc.
- Steps to reproduce

 

I have observed the following on all recent versions of Openwrt 18.06 on X86_64. When I install the kmod-iwlwifi and the appropriate iwlwifi-firmware-iwl7265d I see numerous stack traces in the dmesg log when I load LuCI and the Wifi doesn’t appear to work. The hardware in question is an Intel M.2 3165 Wifi card inside a ZBOX Nano CI327.

Stack trace is as follows:

[ 258.880235] ————[ cut here ]———— [ 258.885301] WARNING: CPU: 2 PID: 5893 at 0xffffffffa02dd612 [cfg80211@ffffffffa02be000+0×36000]
[ 258.894725] Modules linked in: iwlmvm iwldvm mac80211 iwlwifi cfg80211 compat pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 lzo lz4 iptable_nat ipt_REJECT ipt_MASQUERADE 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_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY slhc r8169 nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache lzo_decompress lzo_compress lz4_decompress lz4_compress iptable_mangle iptable_filter ipt_ECN ip_tables e1000e crc_ccitt sch_cake nf_conntrack act_skbedit
[ 258.973086] act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress i2c_dev ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables igb i2c_algo_bit e1000 ifb tun zram zsmalloc crypto_acompress button_hotplug ptp pps_core mii
[ 259.003308] CPU: 2 PID: 5893 Comm: luci Tainted: G W 4.14.54 #0
[ 259.010881] Hardware name: NA ZBOX-CI327NANO-GS-01/ZBOX-CI327NANO-GS-01, BIOS 5.12 01/16/2018
[ 259.020145] task: ffff8802737f0b00 task.stack: ffffc900050ac000
[ 259.026505] RIP: 0010:0xffffffffa02dd612 [cfg80211@ffffffffa02be000+0×36000]
[ 259.034106] RSP: 0018:ffffc900050afac8 EFLAGS: 00010202
[ 259.039790] RAX: 0000000000000000 RBX: ffff880270809400 RCX: 0000000000000000
[ 259.047388] RDX: ffff880271520008 RSI: 0000000000000000 RDI: ffff880271520300
[ 259.055062] RBP: ffffc900050afb00 R08: 0000000000000004 R09: ffff8802760e2014
[ 259.062700] R10: 0000000000000014 R11: 0000000000000ec0 R12: ffffc900050afb28
[ 259.070363] R13: ffff8802760e2014 R14: 0000000000000000 R15: ffff880271520300
[ 259.078040] FS: 00007f4dcf16fb88(0000) GS:ffff88027fd00000(0000) knlGS:0000000000000000
[ 259.086820] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 259.093050] CR2: 00007f0127cdd005 CR3: 00000002717da000 CR4: 00000000001406e0
[ 259.100674] Call Trace:
[ 259.103421] ? 0xffffffff814bdb01
[ 259.107062] 0xffffffff814dfdcd
[ 259.110514] 0xffffffff814dfe8f
[ 259.113940] ? 0xffffffff814dfe40
[ 259.117580] 0xffffffff814defdb
[ 259.121001] 0xffffffff814dfb43
[ 259.124474] 0xffffffff814de7e0
[ 259.127909] 0xffffffff814dec5c
[ 259.131369] 0xffffffff81493d55
[ 259.134845] 0xffffffff814943ca
[ 259.138291] ? 0xffffffffa02c034c [cfg80211@ffffffffa02be000+0×36000]
[ 259.145239] ? 0xffffffff81194739
[ 259.148918] ? 0xffffffff811947ad
[ 259.152547] ? 0xffffffff8126b3e6
[ 259.156150] ? 0xffffffff8115e4f8
[ 259.159823] ? 0xffffffff81152cfe
[ 259.163504] 0xffffffff81495612
[ 259.166977] ? 0xffffffff81495612
[ 259.170578] 0xffffffff81495649
[ 259.174049] 0xffffffff81002f45
[ 259.177467] 0xffffffff81600081
[ 259.180921] RIP: 0033:0x7f4dcef563f2
[ 259.184828] RSP: 002b:00007ffe31e06528 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
[ 259.193073] RAX: ffffffffffffffda RBX: 00007f4dcf16fb88 RCX: 00007f4dcef563f2
[ 259.200707] RDX: 0000000000000000 RSI: 00007ffe31e06578 RDI: 0000000000000007
[ 259.208347] RBP: 000000000000002e R08: 0000000000000000 R09: 0000000000000000
[ 259.216006] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
[ 259.223607] R13: 0000000000a5dc0c R14: 0000000000a793b0 R15: 0000000000a5dc08
[ 259.231171] Code: 00 00 4c 8d b8 00 03 00 00 8b 80 38 0b 00 00 4c 89 ff c0 e8 07 88 45 c8 e8 7c 65 fe ff 48 85 c0 49 89 c6 75 1a 80 7d c8 00 74 14 <0f> 0b 48 89 df e8 74 05 1c e1 b8 ea ff ff ff e9 45 01 00 00 49
[ 259.251522] —[ end trace 0a9a5b29bb2beae3 ]—

31.07.20181717Base systemBug ReportVery LowLowZyxel Keenetic doesn't save any settingsTrunkUnconfirmed Task Description

Zyxel Keenetic (ramips, rt305x, kn-squashfs-sysupgrade.bin)
After 18.06.00 RC1 this router doesn’t save any settings. May be it occurs due to low memory (4MB) and LUCI installed in RC versions. After reboot it have factory setting again ang again. Also it doesn’t have Factory reset button in LUCI and doesn’t react on Reset button.

31.07.20181716Base systemBug ReportVery LowHighZyxel Keenetic doesn't save any settingsopenwrt-18.06Unconfirmed Task Description

OpenWRT 18.06.00 RC1, RC2...
Zyxel Keenetic (ramips, rt305x, kn-squashfs-sysupgrade.bin)

Probably due to low memory (4MB) router does not save any settings and after reboot it have factory settings again and again. Also it doesn't have factory reset button in LUCI and does not react on Reset button.

31.07.20181715KernelBug ReportVery LowMediumMikrotik: unrecognized SPI NOR flash chip (JEDEC id: ef...AllNew Task Description

Platform: Mikrotik RBM33G
OS: Openwrt Distrib Revision r7579-fc89831

Do not support module m25p80 and m25p128 on platform based MT7621.
Error in dmesg:

m25p80 spi0.1: unrecognized JEDEC id bytes: ef, 70, 18
m25p80 spi0.1: using Read Manufacturer / Device ID Command (0×90) returned 17 ef
m25p80 spi0.1: probe of spi0.1 failed with error -2

31.07.20181714Base systemBug ReportVery LowLowath79: wifi is broken with wndr3800TrunkUnconfirmed Task Description

wifi of ath79 wndr3800 is broken with latest sources at master branch.


30.07.20181713PackagesBug ReportVery LowMediumlevel of deamon log messagesAllUnconfirmed Task Description

during some driver tests noticed these:

Sat Jul  7 13:41:52 2018 daemon.err hostapd: Using interface wlan0-2 with hwaddr <mac_addr> and ssid "9531_3"
Sat Jul  7 13:41:52 2018 daemon.err hostapd: Using interface wlan1-2 with hwaddr <mac_addr> and ssid "OpenWrt3"

this was not an error but rather notice.
Sat Jul  7 13:10:06 2018 daemon.notice hostapd: nl80211: Failed to remove interface wlan1-1 from bridge br-lan: No such device
Sat Jul  7 13:11:01 2018 daemon.notice hostapd: wlan1: STA <mac_addr> IEEE 802.11: Could not set STA to kernel driver
Sat Jul  7 13:11:28 2018 daemon.notice hostapd: wlan1: STA <mac_addr> IEEE 802.11: did not acknowledge authentication response

this is most likely an error isn't it rather than just notice?
30.07.20181712Base systemBug ReportVery LowCriticalLEDE 17.01.05 on BCM2710 (Raspberry Pi 3) defaults conf...lede-17.01Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

  1. BCM2710 (Raspberry Pi 3B)

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

  1. LEDE 17.01.05 → Directly from download page, and from clean build

- Steps to reproduce

  1. Perform initial flash of software.
  2. Boot device up and confirm interfaces work correctly, and DHCP is server properly from eth0
  3. Confirm that configuration for /etc/dhcp and /etc/network looks correct
  4. Reboot device (either via LuCI or console reboot)
  5. Upon start, confirm that dhcp config is empty, network config is defaulted (missing wlan0, etc).
  6. Confirm that interfaces do not work correctly, GUI is no longer navigable even with a static IP fixed on PC.


30.07.20181711Base systemBug ReportVery LowLowoxnas820 pogoplug v3 does not spawn shell on serial con...TrunkUnconfirmed Task Description

Supply the following if possible:

- Device problem occurs on

# cat /tmp/sysinfo/model
Cloud Engines PogoPlug Series 3

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

master branch, discovered when testing r7581-7880a6f7fe

Built image using the following .config stub:

CONFIG_TARGET_oxnas=y
CONFIG_TARGET_oxnas_ox820=y
CONFIG_TARGET_oxnas_ox820_DEVICE_cloudengines-pogoplug-series-3=y
CONFIG_BUSYBOX_CUSTOM=y
# CONFIG_BUSYBOX_CONFIG_BRCTL is not set
# CONFIG_BUSYBOX_CONFIG_FREE is not set
# CONFIG_BUSYBOX_CONFIG_PGREP is not set
# CONFIG_BUSYBOX_CONFIG_TOP is not set
# CONFIG_BUSYBOX_CONFIG_UPTIME is not set
CONFIG_IMAGEOPT=y
CONFIG_KERNEL_DYNAMIC_DEBUG=y
CONFIG_PACKAGE_diffutils=y
CONFIG_PACKAGE_ip-full=y
CONFIG_PACKAGE_iperf3=y
CONFIG_PACKAGE_kmod-crypto-crc32c=y
CONFIG_PACKAGE_kmod-crypto-hash=y
CONFIG_PACKAGE_kmod-fs-ext4=y
CONFIG_PACKAGE_kmod-fs-vfat=y
CONFIG_PACKAGE_kmod-lib-crc16=y
CONFIG_PACKAGE_kmod-nls-cp437=y
CONFIG_PACKAGE_kmod-nls-iso8859-1=y
CONFIG_PACKAGE_kmod-nls-utf8=y
CONFIG_PACKAGE_kmod-usb-serial=y
CONFIG_PACKAGE_kmod-usb-serial-ftdi=y
CONFIG_PACKAGE_kmod-usb-serial-pl2303=y
CONFIG_PACKAGE_libpcap=y
CONFIG_PACKAGE_odhcp6c=y
CONFIG_PACKAGE_odhcp6c_ext_cer_id=0
CONFIG_PACKAGE_procps-ng=y
CONFIG_PACKAGE_procps-ng-free=y
CONFIG_PACKAGE_procps-ng-kill=y
CONFIG_PACKAGE_procps-ng-pgrep=y
CONFIG_PACKAGE_procps-ng-pkill=y
CONFIG_PACKAGE_procps-ng-pmap=y
CONFIG_PACKAGE_procps-ng-ps=y
CONFIG_PACKAGE_procps-ng-pwdx=y
CONFIG_PACKAGE_procps-ng-skill=y
CONFIG_PACKAGE_procps-ng-slabtop=y
CONFIG_PACKAGE_procps-ng-snice=y
CONFIG_PACKAGE_procps-ng-tload=y
CONFIG_PACKAGE_procps-ng-top=y
CONFIG_PACKAGE_procps-ng-uptime=y
CONFIG_PACKAGE_procps-ng-vmstat=y
CONFIG_PACKAGE_procps-ng-w=y
CONFIG_PACKAGE_procps-ng-watch=y
CONFIG_PACKAGE_screen=y
CONFIG_PACKAGE_socat=y
CONFIG_PACKAGE_strace=y
CONFIG_PACKAGE_tcpdump=y
CONFIG_STRIP_ARGS="--strip-all"
# CONFIG_USE_SSTRIP is not set
CONFIG_USE_STRIP=y

- Steps to reproduce

Attach serial console, flash image, allow to boot, press return key in serial console, no shell. Device is reachable over network, you can echo strings to /dev/console and they appear on the serial console. “pidof ash” seems to indicate only shell is associated with dropbear’s ssh session, not /dev/ttyS0. Also, when rebooting from shell, with either “reboot” or “reboot -f”, get this on the console:

[ 2995.550000] reboot: Restarting system
[ 2995.560000] Reboot failed -- System halted

Power cycle is needed to restart.

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 ?

29.07.20181709Base systemBug ReportVery LowLowmtd_get_mac_ascii fails if the env has shrunkopenwrt-18.06Unconfirmed Task Description

In /lib/functions/system.sh is the code:

  mac_dirty=$(strings "$part" | sed -n 's/^'"$key"'=//p')

$part is the mtd containing the uboot environment.

When uboot writes its env it only erases sectors it needs to. If you delete a lot of env variables, later sectors can still contain old data. strings will read from those sectors and sed will potentially see multiple copies of the ethaddr variable. It can then output multiple copies of the ethaddr, which causes macaddr_canonicalize to reject the input because it is longer than 17 characters

A simple fix would be to do something like:

  mac_dirty=$(strings "$part" | sed -n 's/^'"$key"'=//p' | head -n 1)

There may be a better way with some sed magic.

28.07.20181706KernelFeature RequestVery LowLowAdd TCP BBR Congestion ControlTrunkUnconfirmed Task Description

Dear OpenWrt Team,

Please enable TCP BBR congestion control for kernel 4.9 + 4.14. It is available since kernel 4.9 and reported to allow significant performance boost for TCP.

Thank you!

28.07.20181701Base systemBug ReportVery LowCritical[wnr3500l-v1-other-regions] Unable to upgrade from lede...TrunkUnconfirmed Task Description

Hello,

I was unable to upgrade from lede-17.01.4 to lede-17.01.5 from web interface or from bootloader tftpd with wnr3500l-v1-other-regions images, attached the boot log from both firmware and the sha256sums:


sha256sum lede-17.01.5-brcm47xx-mips74k-netgear-wnr3500l-v1-other-regions-squashfs.chk
5dbaddfae5bbbcca6fb4f0e2810de2135dbadf0bf346e755ca6063700f445d4d lede-17.01.5-brcm47xx-mips74k-netgear-wnr3500l-v1-other-regions-squashfs.chk

sha256sum lede-17.01.4-brcm47xx-mips74k-netgear-wnr3500l-v1-other-regions-squashfs.chk
6e4eaa5e988f99f77b5e00d8be4f288934ae69e3056ceaffc4e3fb60099d2a3c lede-17.01.4-brcm47xx-mips74k-netgear-wnr3500l-v1-other-regions-squashfs.chk

Start TFTP server
Reading :: Done. 3805242 bytes read
Programming...done. 3805242 bytes written
Write len/chksum offset @ 0x0074FFF8...done.
Decompressing..........done

CFE for WNR3500L version: v1.0.36
Build Date: Tue Aug 11 15:09:14 CST 2009
Init Arena
Init Devs.
Boot partition size = 262144(0×40000)
Found a 8MB ST compatible serial flash
et0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 5.10.56.28
CPU type 0×19740: 453MHz
Tot mem: 65536 KBytes

Device eth0: hwaddr C0-3F-0E-E1-97-EA, ipaddr 192.168.1.1, mask 255.255.255.0

      gateway not set, nameserver not set

too long file.
LZMA boot failed
Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)
Loading: .. 3864 bytes read
Entry at 0×80001000 Closing network.
Starting program at 0×80001000 [ 0.000000] Linux version 4.4.140 (buildbot@builds-02.infra.lede-project.org) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3104-41de9a2) ) #0 Fri Jul 13 19:25:14 2018
[ 0.000000] CPU0 revision is: 00019740 (MIPS 74Kc)
[ 0.000000] bcm47xx: Using bcma bus
[ 0.000000] bcma: bus0: Found chip with id 0×4716, rev 0×01 and package 0x0A
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] HighMem empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: noinitrd console=ttyS0,115200
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 60876K/65536K available (3006K kernel code, 139K rwdata, 368K rodata, 188K init, 294K bss, 4660K reserved, 0K cma-reserved, 0K highmem)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:128
[ 0.000000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0×800, rev 0x1F, class 0×0)
[ 0.000000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0×812, rev 0×11, class 0×0)
[ 0.000000] bcma: bus0: Core 2 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0×00, class 0×0)
[ 0.000000] bcma: bus0: Core 3 found: MIPS 74K (manuf 0x4A7, id 0x82C, rev 0×01, class 0×0)
[ 0.000000] bcma: bus0: Core 4 found: USB 2.0 Host (manuf 0x4BF, id 0×819, rev 0×04, class 0×0)
[ 0.000000] bcma: bus0: Core 5 found: PCIe (manuf 0x4BF, id 0×820, rev 0x0E, class 0×0)
[ 0.000000] bcma: bus0: Core 6 found: DDR1/DDR2 Memory Controller (manuf 0x4BF, id 0x82E, rev 0×01, class 0×0)
[ 0.000000] bcma: bus0: Core 7 found: Internal Memory (manuf 0x4BF, id 0x80E, rev 0×07, class 0×0)
[ 0.000000] bcma: bus0: Core 8 found: I2S (manuf 0x4BF, id 0×834, rev 0×00, class 0×0)
[ 0.000000] bcma: bus0: Found M25P64 serial flash (size: 8192KiB, blocksize: 0×10000, blocks: 128)
[ 0.000000] bcma: bus0: Early bus registered
[ 0.000000] MIPS: machine is Netgear WNR3500L
[ 0.000000] bcm47xx: Setting up vectored interrupts
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 8438235966 ns
[ 0.000016] sched_clock: 32 bits at 226MHz, resolution 4ns, wraps every 9481163773ns
[ 0.000088] Calibrating delay loop... 226.09 BogoMIPS (lpj=1130496)
[ 0.070059] pid_max: default: 32768 minimum: 301
[ 0.070323] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.070355] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.074430] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.074486] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.075763] NET: Registered protocol family 16
[ 0.076831] Can’t analyze schedule() prologue at 800077c8
[ 0.097612] clocksource: Switched to clocksource MIPS
[ 0.099778] NET: Registered protocol family 2
[ 0.101549] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.101611] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.101653] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.101827] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.101880] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.102346] NET: Registered protocol family 1
[ 0.136945] bcma: bus0: PCIEcore in host mode found
[ 0.136961] bcma: bus0: This PCIE core is disabled and not working
[ 0.138624] bcma: bus0: Bus registered
[ 0.140082] Crashlog allocated RAM at address 0x3f00000
[ 0.173818] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.173852] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
[ 0.179094] io scheduler noop registered
[ 0.179132] io scheduler deadline registered (default)
[ 0.179528] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.184744] console [ttyS0] disabled
[ 0.205005] serial8250.0: ttyS0 at MMIO 0xb8000300 (irq = 2, base_baud = 1250000) is a U6_16550A
[ 0.650369] console [ttyS0] enabled
[ 0.716781] 8 bcm47xxpart partitions found on MTD device bcm47xxsflash
[ 0.723492] Creating 8 MTD partitions on “bcm47xxsflash”:
[ 0.729058] 0×000000000000-0×000000040000 : “boot” [ 0.738490] 0×000000040000-0x0000007d0000 : “firmware” [ 0.746855] 0x0000007d0000-0x0000007e0000 : “POT” [ 0.754929] 0x0000007e0000-0x0000007f0000 : “board_data” [ 0.763597] 0x0000007f0000-0×000000800000 : “nvram” [ 0.771879] 0x00000004001c-0×000000040924 : “loader” [ 0.780208] 0×000000040924-0x000000167c00 : “linux” [ 0.788492] 0x000000167c00-0x0000007d0000 : “rootfs” [ 0.796719] mtd: device 7 (rootfs) set to be root filesystem
[ 0.802656] 1 squashfs-split partitions found on MTD device rootfs
[ 0.809019] 0x0000003a0000-0x0000007d0000 : “rootfs_data” [ 0.821473] libphy: Fixed MDIO Bus: probed
[ 0.825896] bgmac_bcma bcma0:2: Found PHY addr: 30 (NOREGS)
[ 0.834901] libphy: bcma_mdio mii bus: probed
[ 0.839469] bgmac_bcma bcma0:2: Support for Roboswitch not implemented
[ 0.993379] b53_common: found switch: BCM53115, rev 8
[ 1.000032] bgmac_bcma: Broadcom 47xx GBit MAC driver loaded
[ 1.006312] bcm47xx-wdt bcm47xx-wdt.0: BCM47xx Watchdog Timer enabled (30 seconds)
[ 1.016346] NET: Registered protocol family 10
[ 1.027256] NET: Registered protocol family 17
[ 1.032044] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 1.044946] 8021q: 802.1Q VLAN Support v1.8
[ 1.061633] VFS: Mounted root (squashfs filesystem) readonly on device 31:7.
[ 1.070250] Freeing unused kernel memory: 188K

FE for WNR3500L version: v1.0.36
Build Date: Tue Aug 11 15:09:14 CST 2009
Init Arena
Init Devs.
Boot partition size = 262144(0×40000)
Found a 8MB ST compatible serial flash
et0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 5.10.56.28
CPU type 0×19740: 453MHz
Tot mem: 65536 KBytes

Device eth0: hwaddr C0-3F-0E-E1-97-EA, ipaddr 192.168.1.1, mask 255.255.255.0

      gateway not set, nameserver not set

too long file.
LZMA boot failed
Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)
Loading: .. 3848 bytes read
Entry at 0×80001000 Closing network.
Starting program at 0×80001000 [ 0.000000] Linux version 4.4.92 (buildbot@builds-02.infra.lede-project.org) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3104-41de9a2) ) #0 Tue Oct 17 17:46:20 2017
[ 0.000000] CPU0 revision is: 00019740 (MIPS 74Kc)
[ 0.000000] bcm47xx: Using bcma bus
[ 0.000000] bcma: bus0: Found chip with id 0×4716, rev 0×01 and package 0x0A
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] HighMem empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: noinitrd console=ttyS0,115200
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 60940K/65536K available (2979K kernel code, 134K rwdata, 368K rodata, 156K init, 294K bss, 4596K reserved, 0K cma-reserved, 0K highmem)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:128
[ 0.000000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0×800, rev 0x1F, class 0×0)
[ 0.000000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0×812, rev 0×11, class 0×0)
[ 0.000000] bcma: bus0: Core 2 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0×00, class 0×0)
[ 0.000000] bcma: bus0: Core 3 found: MIPS 74K (manuf 0x4A7, id 0x82C, rev 0×01, class 0×0)
[ 0.000000] bcma: bus0: Core 4 found: USB 2.0 Host (manuf 0x4BF, id 0×819, rev 0×04, class 0×0)
[ 0.000000] bcma: bus0: Core 5 found: PCIe (manuf 0x4BF, id 0×820, rev 0x0E, class 0×0)
[ 0.000000] bcma: bus0: Core 6 found: DDR1/DDR2 Memory Controller (manuf 0x4BF, id 0x82E, rev 0×01, class 0×0)
[ 0.000000] bcma: bus0: Core 7 found: Internal Memory (manuf 0x4BF, id 0x80E, rev 0×07, class 0×0)
[ 0.000000] bcma: bus0: Core 8 found: I2S (manuf 0x4BF, id 0×834, rev 0×00, class 0×0)
[ 0.000000] bcma: bus0: Found M25P64 serial flash (size: 8192KiB, blocksize: 0×10000, blocks: 128)
[ 0.000000] bcma: bus0: Early bus registered
[ 0.000000] MIPS: machine is Netgear WNR3500L
[ 0.000000] bcm47xx: Setting up vectored interrupts
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 8438235966 ns
[ 0.000015] sched_clock: 32 bits at 226MHz, resolution 4ns, wraps every 9481163773ns
[ 0.000087] Calibrating delay loop... 226.09 BogoMIPS (lpj=1130496)
[ 0.070070] pid_max: default: 32768 minimum: 301
[ 0.070333] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.070363] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.074377] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.074431] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.075699] NET: Registered protocol family 16
[ 0.076766] Can’t analyze schedule() prologue at 800077c8
[ 0.097432] clocksource: Switched to clocksource MIPS
[ 0.099646] NET: Registered protocol family 2
[ 0.101436] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.101500] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.101541] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.101723] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.101772] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.102233] NET: Registered protocol family 1
[ 0.138267] bcma: bus0: PCIEcore in host mode found
[ 0.138284] bcma: bus0: This PCIE core is disabled and not working
[ 0.139823] bcma: bus0: Bus registered
[ 0.141279] Crashlog allocated RAM at address 0x3f00000
[ 0.173720] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.173754] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
[ 0.178931] io scheduler noop registered
[ 0.178969] io scheduler deadline registered (default)
[ 0.179399] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.184624] console [ttyS0] disabled
[ 0.204881] serial8250.0: ttyS0 at MMIO 0xb8000300 (irq = 2, base_baud = 1250000) is a U6_16550A
[ 0.649908] console [ttyS0] enabled
[ 0.716330] 8 bcm47xxpart partitions found on MTD device bcm47xxsflash
[ 0.723042] Creating 8 MTD partitions on “bcm47xxsflash”:
[ 0.728592] 0×000000000000-0×000000040000 : “boot” [ 0.737974] 0×000000040000-0x0000007d0000 : “firmware” [ 0.746296] 0x0000007d0000-0x0000007e0000 : “POT” [ 0.754307] 0x0000007e0000-0x0000007f0000 : “board_data” [ 0.762954] 0x0000007f0000-0×000000800000 : “nvram” [ 0.771197] 0x00000004001c-0x00000004091c : “loader” [ 0.779503] 0x00000004091c-0×000000166000 : “linux” [ 0.787711] 0×000000166000-0x0000007d0000 : “rootfs” [ 0.795968] mtd: device 7 (rootfs) set to be root filesystem
[ 0.801906] 1 squashfs-split partitions found on MTD device rootfs
[ 0.808266] 0x0000003a0000-0x0000007d0000 : “rootfs_data” [ 0.821280] libphy: Fixed MDIO Bus: probed
[ 0.825701] bgmac_bcma bcma0:2: Found PHY addr: 30 (NOREGS)
[ 0.834008] libphy: bcma_mdio mii bus: probed
[ 0.838578] bgmac_bcma bcma0:2: Support for Roboswitch not implemented
[ 0.993243] b53_common: found switch: BCM53115, rev 8
[ 0.999847] bgmac_bcma: Broadcom 47xx GBit MAC driver loaded
[ 1.006179] bcm47xx-wdt bcm47xx-wdt.0: BCM47xx Watchdog Timer enabled (30 seconds)
[ 1.016224] NET: Registered protocol family 10
[ 1.027053] NET: Registered protocol family 17
[ 1.031842] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 1.044737] 8021q: 802.1Q VLAN Support v1.8
[ 1.059021] VFS: Mounted root (squashfs filesystem) readonly on device 31:7.
[ 1.067285] Freeing unused kernel memory: 156K
[ 2.806611] init: Console is alive
[ 2.810639] init: - watchdog -
[ 3.997377] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 4.143653] usbcore: registered new interface driver usbfs
[ 4.149584] usbcore: registered new interface driver hub
[ 4.155199] usbcore: registered new device driver usb
[ 4.169708] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 4.178819] ehci-platform: EHCI generic platform driver
[ 4.184317] ehci-platform ehci-platform.0: EHCI Host Controller
[ 4.190529] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
[ 4.199005] ehci-platform ehci-platform.0: irq 5, io mem 0×18004000 [ 4.217502] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
[ 4.225784] hub 1-0:1.0: USB hub found
[ 4.230502] hub 1-0:1.0: 2 ports detected
[ 4.239429] ohci_hcd: USB 1.1 ‘Open’ Host Controller (OHCI) Driver
[ 4.248047] ohci-platform: OHCI generic platform driver
[ 4.253525] ohci-platform ohci-platform.0: Generic Platform OHCI controller
[ 4.260791] ohci-platform ohci-platform.0: new USB bus registered, assigned bus number 2
[ 4.269219] ohci-platform ohci-platform.0: irq 5, io mem 0×18009000 [ 4.333295] hub 2-0:1.0: USB hub found
[ 4.338046] hub 2-0:1.0: 2 ports detected
[ 4.348953] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 4.358415] init: - preinit -
[ 4.937596] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 6.107517] bgmac_bcma bcma0:2 eth0: Link is Up - 1Gbps/Full - flow control off
[ 6.115064] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 7.012167] random: procd: uninitialized urandom read (4 bytes read, 11 bits of entropy available)
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 10.209518] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[ 10.223679] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 10.512569] procd: - early -
[ 10.515754] procd: - watchdog -
[ 11.163982] procd: - watchdog -
[ 11.168071] procd: - ubus -
[ 11.325865] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
[ 11.441414] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
[ 11.451517] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
[ 11.460856] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
[ 11.470925] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
[ 11.480252] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
[ 11.489980] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
[ 11.499705] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
[ 11.509819] procd: - init -
Please press Enter to activate this console.
[ 13.270551] kmodloader: loading kernel modules from /etc/modules.d/*
[ 13.285240] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 13.311701] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[ 13.319947] Backport generated by backports.git backports-20160324-13-g24da7d3c
[ 13.333019] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 13.352710] nf_conntrack version 0.5.0 (954 buckets, 3816 max)
[ 13.416167] xt_time: kernel timezone is -0000
[ 13.508191] PPP generic driver version 2.4.2
[ 13.517216] NET: Registered protocol family 24
[ 13.540700] b43-phy0: Broadcom 4716 WLAN found (core revision 17)
[ 13.547966] b43-phy0: Found PHY: Analog 8, Type 4 (N), Revision 5
[ 13.554192] b43-phy0: Found Radio: Manuf 0x17F, ID 0×2056, Revision 7, Version 0
[ 13.562486] Broadcom 43xx driver loaded [ Features: NL ]
[ 13.686566] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 15.687579] random: jshn: uninitialized urandom read (4 bytes read, 25 bits of entropy available)
[ 25.746893] jffs2_scan_eraseblock(): End of filesystem marker found at 0×0 [ 25.777547] jffs2_build_filesystem(): unlocking the mtd device... done.
[ 25.784300] jffs2_build_filesystem(): erasing all blocks after the end marker...
[ 30.647563] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 30.687011] device eth0.1 entered promiscuous mode
[ 30.692016] device eth0 entered promiscuous mode
[ 30.730434] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 30.868472] IPv6: ADDRCONF(NETDEV_UP): eth0.2: link is not ready
[ 32.267639] bgmac_bcma bcma0:2 eth0: Link is Up - 1Gbps/Full - flow control off
[ 32.275184] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 32.307649] br-lan: port 1(eth0.1) entered forwarding state
[ 32.313443] br-lan: port 1(eth0.1) entered forwarding state
[ 32.319424] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
[ 32.427588] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 34.307460] br-lan: port 1(eth0.1) entered forwarding state

28.07.20181700Base systemBug ReportVery LowLowError: Unknown error (INVALID_PROTO)TrunkUnconfirmed Task Description

Using this version:
Powered by LuCI Master (git-18.207.66253-ddf4c2b) / OpenWrt SNAPSHOT r7561-7316515

Problem:
RELAYD / Router is working fine, only luci says “Error: Unknown error (INVALID_PROTO)”

Installed Packages:
relayd 2016-02-07-ad0b25ad-2
luci-proto-relay git-18.207.66253-ddf4c2b-1

Hardware:
three different routers, same sutuation


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
25.07.20181692PackagesBug ReportVery LowMediumDDNS seems to not use ca-certificatesTrunkWaiting on reporter Task Description

On 18.06 rc2 I have to type “IGNORE” in the “Path to ca-file” field. Otherwise I always get this error:

Wed Jul 25 23:31:21 2018 user.err ddns-scripts[1745]: myddns_ipv4: cURL Error: ‘77’ Wed Jul 25 23:31:22 2018 user.warn ddns-scripts[1745]: myddns_ipv4: Transfer failed - retry 1/0 in 60 seconds

The ca-certificates package is installed. On 18.06 rc1 I got not this error.

22.07.20181686Base systemBug ReportVery LowHighMir3g random reboot/freezeTrunkUnconfirmed Task Description

Xiaomi Mi Router 3G r7519-1e83f775a3 / LuCI Master (git-18.199.46142-369553c)

i’m using a mir3g and weekly updating to the latest snapshot but from months i still having the same issue random reboots or in some cases, an amber led and what looks a freeze.

here the interesting parts i’ve found using /etc/syslog for logging (to avoid losing the log each reboot) when the reboots come up:

Fri Jul 20 05:36:04 2018 kern.alert kernel: [42728.145661] CPU 3 Unable to handle kernel paging request at virtual address 0000802f, epc == 8e9b1ae0, ra == 8e9b1994
Fri Jul 20 05:36:04 2018 kern.warn kernel: [42728.156261] Oops[#1]:
                                                                                                                  Fri Jul 20 05:36:07 2018 user.notice dnsmasq: DNS rebinding

...

Sat Jul 21 01:37:35 2018 kern.alert kernel: [72076.004853] CPU 1 Unable to handle kernel paging request at virtual address 07402008, epc == 80118aa0, ra == 8011a1f4
Sat Jul 21 01:37:35 2018 kern.warn kernel: [72076.015740] Oops[#1]:
Sat Jul 21 01:37:35 2018 kern.warn kernel: [72076.018010] CPU: 1 PID: 18600 Comm: nslookup Not tainted 4.14.54 #0
Sat Jul 21 01:37:38 2018 user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!

...

Sun Jul 22 04:30:12 2018 kern.alert kernel: [96742.276696] CPU 0 Unable to handle kernel paging request at virtual address 0000802f, epc == 8e991ae0, ra == 8e991994
Sun Jul 22 04:30:12 2018 kern.warn kernel: [96742.287301] Oops[#1]:
Sun Jul 22 04:30:15 2018 user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!

any guess to whats happening? i just have a faulty unit?

22.07.20181684Base systemBug ReportVery LowLow18.06.0-rc2 dos not save settings when applyed ramips/r...TrunkWaiting on reporter Task Description

D-Link DIR-615 D but using a D2 version
18.06.0-rc2 but 17.01.5 is working fine!
OpenWrt 18.06.0-rc2 r7141-e4d0ee5af5

I have a issue with Luci or maybe is issue with ramips/rt305x device’s but when i go to apply settings in the webgui and reboot my d-link it goes back to the default openwrt settings however 17.01.5 is working fine no issue here but 18.06.0-rc2 is a no no unless i manual change them in the SSH/SCP folder.

Just to be clear when save&apply is ok but once reboot or turn off by the mains power it resolves into default settings.

22.07.20181683Base systemBug ReportVery LowLowCONFIG_PACKAGE_usign not selected by SIGNED_PACKAGESTrunkUnconfirmed Task Description

Version: git 03fce62c09f95f5efe51f9aa09b5c29be7338689

Run `git clean -dfx` to get a pristine tree.

make menuconfig:

Target System: (Lantiq)
Subtarget: (XRX200)
Target Profile: (BT OpenReach - ECI VDSL Modem V-2FUb/R)

In Base System de-select base-files and usign.

make V=99

Result:

Build fails - “Signing package index... bash: line 3: /home/al/lantiq/openwrt/staging_dir/host/bin/usign: No such file or directory”

Expected result:

menuconfig should disallow this combination of options if it does not work. Specifically, usign should be force-selected by SIGNED_PACKAGES.

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

Available keyboard shortcuts

Tasklist

Task Details

Task Editing