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
22.03.20192201KernelBug ReportVery LowLowkernel error: do_page_fault(): sending SIGSEGV to reade...TrunkUnconfirmed Task Description

current trunk from 22.3.2019
git-19.079.18950-11e64f8) / OpenWrt SNAPSHOT r9672-d78e229903

i see in the logs that having more often kernel error:

Fri Mar 22 15:14:27 2019 kern.info kernel: [11750.766284] do_page_fault(): sending SIGSEGV to reader#1 for invalid read access from 77a87d90
Fri Mar 22 15:14:27 2019 kern.info kernel: [11750.774984] epc = 77f55944 in libc.so[77edb000+94000]
Fri Mar 22 15:14:27 2019 kern.info kernel: [11750.780320] ra = 77f558e0 in libc.so[77edb000+94000]

any idea about what can be the reason for it ? or how i can give you more infos ?

22.03.20192199KernelBug ReportVery LowLowBananapi R2, Kernel command line problemTrunkUnconfirmed Task Description

Can not configure root variable in kernel command line with U-Boot. Please clean
CONFIG_CMDLINE for linux kernel.

thanks.

 


21.03.20192198ToolchainBug ReportVery LowLowTow entangled problems involving boost and package inte...openwrt-18.06Unconfirmed Task Description

This involves an x86 generic full build of 18.02.
This seems less to be a problem directly involving packages, and more a
problem involving the integration of packages.

The builds were finishing up to this point.
In make menuconfig, I added in a few packages to replace the weaker
binutils version of these utilities, e.g., the less package, because I
wanted the search capability.
Apparently these additions got tangled up with boost, which was not at
this point selected:

cp -fpR -v /home/stuff/code/openwrt/repo/build_dir/target-i386_pentium4_musl/boost_1_68_0/ipkg-install/lib/*.{a,so*} /home/stuff/code/openwrt/repo/tmp/stage-boost/usr/lib/
‘/home/stuff/code/openwrt/repo/build_dir/target-i386_pentium4_musl/boost_1_68_0/ipkg-install/lib/libboost_exception.a’ → ‘/home/stuff/code/openwrt/repo/tmp/stage-boost/usr/lib/libboost_exception.a’ cp: cannot stat ‘/home/stuff/code/openwrt/repo/build_dir/target-i386_pentium4_musl/boost_1_68_0/ipkg-install/lib/*.so*’: No such file or directory

I searched for the unusual string {a,so*} and found it in feeds/packages/libs/boost/Makefile
line 473.
Apparently boost was being pulled in, but not creating any .so* files, even though boost was not yet selected.

So I went into make menuconfig and selected boost. Same problem.

Then I split line 473 to this form:

$(CP) -v $(PKG_INSTALL_DIR)/lib/*.a $(1)/usr/lib/
-$(CP) -v $(PKG_INSTALL_DIR)/lib/*.so* $(1)/usr/lib/

(It had been {a,so*}).
This (I think) will execute the same if boost is creating any .so files,
but will otherwise get past this step if no .so files are being created.

It seemed to work at first. But then (using make -j1) I started getting
complaints about the newly selected packages overwriting busybox versions of
files.
If you look more closely you will see that these errors wrote in the middle
of the string “Configuring boost.”
CoCollected errors:
* check_data_file_clashes: Package logger wants to install file /home/stuff/code/openwrt/repo/build_dir/target-i386_pentium4_musl/root-x86/usr/bin/logger

      But that file is already provided by package  * busybox

* opkg_install_cmd: Cannot install package logger.
* check_data_file_clashes: Package findutils-find wants to install file /home/stuff/code/openwrt/repo/build_dir/target-i386_pentium4_musl/root-x86/usr/bin/find

      But that file is already provided by package  * busybox

* opkg_install_cmd: Cannot install package findutils-find.
* check_data_file_clashes: Package findutils-xargs wants to install file /home/stuff/code/openwrt/repo/build_dir/target-i386_pentium4_musl/root-x86/usr/bin/xargs

      But that file is already provided by package  * busybox

* opkg_install_cmd: Cannot install package findutils-xargs.
* check_data_file_clashes: Package less-wide wants to install file /home/stuff/code/openwrt/repo/build_dir/target-i386_pentium4_musl/root-x86/bin/less

      But that file is already provided by package  * less

* opkg_install_cmd: Cannot install package less-wide.
nfiguring boost.

Note that busybox doesn’t like having logger, find, and xargs overwritten,
but I also selected find and less, which should have overwritten busybox
versions of the files. But that didn’t generate any complaints.

Here is where my memory gets a little hazy... I found out about this time that
menuconfig/boost was set to not install any libraries, so I selected ‘all
libraries’, and that may have gotten rid of the boost .so problem, because the
boost build was now creating .so files.

But I was still getting the file overwrite problem, so I yanked out the
offending package selections. At that point the make process completed.

Anyway, that’s what happened.

 


21.03.20192197KernelBug ReportVery LowMediumdefault kernel option CONFIG_BPF_JIT=y breaking bpf fil...TrunkUnconfirmed Task Description

Between 18.06.2 and the Trunk the kernel option CONFIG_BPF_JIT=y was added.

With JIT enabled, a simple beacon filter shows no traffic.
With JIT disabled, the filter works normally.

Device: ar71xx generic device (gl-mifi):

Test:
put the radio card in monitor mode:
iw wlan0 set type monitor
ifconfig wlan0 up
iw wlan0 set channel 1 # some channel with an AP

tcpdump -i wlan0
see lots of traffic and beacons

tcpdump -i wlan0 wlan type mgt subtype beacon
no traffic

Fix:
echo 0 > /proc/sys/net/core/bpf_jit_enable

tcpdump -i wlan0 wlan type mgt subtype beacon
see lots of beacons

More detail:
Testing on my side, with JIT enabled, it seems to be computing the offset to the start of the wlan packet incorrectly. In my case, the offset was off by +16 bytes. A filter of “wlan[0] == 0×80” should show beacons, because the type/subtype field is the first byte of the wlan packet. With JIT enabled, wlan[0] was equal to the first byte of the addr3/bssid field (the first byte of my AP’s MAC address), which is 16 bytes later in the packet.


21.03.20192196Base systemBug ReportVery LowMediumblock info confuses mount pointsAllUnconfirmed Task Description

I’ve encountered a bug in /sbin/block.

If multiple block devices paths share the same prefix e.g. /dev/mmcblk0p1 and /dev/mmcblk0p10 the commands block info confuses them.
In my case /dev/mmcblk0p1 is a boot partition and /dev/mmcblk0p10 is a data partition.
There are a bunch of other partitions, which I’ll omit for the sake clarity in the following example.

/etc/config/fstab:

config 'global'
        option  anon_swap       '0'
        option  anon_mount      '0'
        option  auto_swap       '1'
        option  auto_mount      '1'
        option  delay_root      '5'
        option  check_fs        '0'

config 'mount'
        option  target  '/data'
        option  device  '/dev/mmcblk0p10'
        option  fstype  'ext4'
        option  enabled '1'

config 'mount'
        option  device  '/dev/mmcblk0p1'
        option  target  '/uboot'
        option  fstype  'vfat'
        option  options 'rw,sync'
        option  enabled '1'
...

After boot the output of mount looks like this:

root@foobar:~# mount
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
/dev/mmcblk0p10 on /data type ext4 (rw,relatime,data=ordered)
/dev/mmcblk0p1 on /uboot type vfat (rw,sync,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
...

At least everything is mounted in the right place.
If I do a block info I get:

root@foobar:~# block info
/dev/mmcblk0p1: UUID="0037-0032" LABEL="" VERSION="FAT16" MOUNT="/data" TYPE="vfat"
/dev/mmcblk0p10: UUID="d8dff841-edc4-4094-ae68-f6f0596c2277" VERSION="1.0" MOUNT="/data" TYPE="ext4"
...

Which is a little bit odd, as /dev/mmcblk0p1 is clearly not mounted under /data.

I did some digging in the sources and found the culprit in block.c:find_mount_point.
In line 646 in block.c:

*pos = '\0';
devname = tmp;
if (!strncmp(block, devname, len)) { // <- problem
	point = strdup(cpoint);
	break;
}

block is the parameter passed to find_mount_point, len is the string length of block and devname is a block device name read from /proc/self/mountinfo.
If the string in block is a prefix of the string in devname, !strncmp will always be true as, therefore the mount point in this line will be returned to caller.
In my case the line for /dev/mmcblk0p10 is encountered first, therefore /data is returned as mountpoint for both /dev/mmcblk0p10 and /dev/mmcblk0p1.

Since the idea here is to look for an exactly equal string I would suggest to compare the string length as well as calling strncmp.
See the attached patch for my temporary solution.

As a last remark: I could not determine if this affects other functionalities of /sbin/block as well,
but since find_mount_point is also called during umounting this might be more than just a display bug.

18.03.20192193Base systemBug ReportVery LowLownetdev LED Trigger for pppoe-wanTrunkUnconfirmed Task Description

Hi there, I am having a little issue with

netdev

LED trigger for DSL based routers. The issue occurs when the pppoe-wan connection gets connected but the assigned LED doesn’t light up and shows no activity either. I have two HH5As and one TP-Link TDW8980 and these devices are based on xrx200 chips.

The issue is appearing in master/snapshots builds, either manually compiled from source or downloaded from downloads.openwrt.org. Also the issue appears on all of the devices mentioned above.

To reproduce you can disconnect the pppoe-wan connection and connect it again. Once connected the LED wouldn’t light up but if you issue a

service led reload

command then LED starts working as it should.

17.03.20192192Base systemFeature RequestVery LowHighEFI compatible images neededopenwrt-18.06Unconfirmed Task Description

Currently we are only getting msdos based images for x86_64. Much of the new hardware for that platform is increasingly only UEFI based. Some motherboards allow for a CSM (bios) boot, but not all. I know there is a workaround documented in the wiki, but I was unable to get it to work.

With x86_64 hardware we can get much greater openvpn speeds vs an off the shelf router. This enhancement would be a win for all those wanting to build their own with newer more efficient hardware with excellent AES-NI support.


16.03.20192191Base systemBug ReportVery LowMediumTP-Link WBS210 Images brokenopenwrt-18.06Unconfirmed Task Description

I cannot install the 18.06.1 and 18.06.2 Images on my TP-Link WBS210. For the openwrt-18.06.x-ar71xx-generic-wbs210-v1-squashfs-sysupgrade.bin image I get the message:

“The uploaded image file does not contain a supported format. Make sure that you choose the generic image format for your platform.”

Up to version 18.06.0 everything worked fine.

16.03.20192190Base systemBug ReportVery LowLowTP-Link Archer C7 v2 ath79 - using lastest gcc doesnt b...TrunkUnconfirmed Task Description

I compile openwrt / lede for many years... using gcc 8.x + binutils 2.32, tplink doesnt boot!
Compatibility problem?

15.03.20192188Base systemBug ReportVery LowLowiw reg get confusing outputTrunkUnconfirmed Task Description

I get:

# iw reg get
global
country BE: DFS-ETSI
        (2402 - 2482 @ 40), (N/A, 20), (N/A)
        (5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW
        (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW
        (5490 - 5710 @ 160), (N/A, 27), (0 ms), DFS
        (57000 - 66000 @ 2160), (N/A, 40), (N/A)

phy#1
country US: DFS-FCC
        (2402 - 2472 @ 40), (N/A, 30), (N/A)
        (5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
        (5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW
        (5490 - 5730 @ 160), (N/A, 23), (0 ms), DFS
        (5735 - 5835 @ 80), (N/A, 30), (N/A)
        (57240 - 63720 @ 2160), (N/A, 40), (N/A)

phy#0
country US: DFS-FCC
        (2402 - 2472 @ 40), (N/A, 30), (N/A)
        (5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
        (5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW
        (5490 - 5730 @ 160), (N/A, 23), (0 ms), DFS
        (5735 - 5835 @ 80), (N/A, 30), (N/A)
        (57240 - 63720 @ 2160), (N/A, 40), (N/A)

But it seems to me that that output is confusing. It’s reporting the country as US for both the phys, but it actually seems to be using the global settings for BE. I’ve tried changing the output power to 23, but it’s limiting it to 20, even though it seems to claim that other settings are in use. “iw phy phy0 info” is also reporting the correct power levels and which channels are available. If I change the global setting to US using “iw reg set US”, it will actually let me set the power level to 23. My config actually lists BE for both radios. I’m not sure there is actually a way to set different values for the phys.

I’m pretty sure that both radio’s where set to BE before, but at some point it was listing US for both of them in the luci status (on cgi-bin/luci/admin/network/wireless/radio0.network1). It seems that for some reason it changed one of them from BE to US, and then both ended up showing as US, even when one was still configured as BE. I’m not sure it’s related to the above or not.

This is on a Ubiquiti UniFi-AC-MESH using 18.06.2.

14.03.20192187Base systemFeature RequestVery LowLowAdd LED trigger "phy0tpt" - NETGEAR EX2700openwrt-18.06Unconfirmed Task Description

Device: NETGEAR EX2700

Version: openwrt-18.06 branch (git-19.020.41695-6f6641d) / OpenWrt 18.06.2 r7676-cddd7b4c77

Feature: Add LED trigger “phy0tpt”. At the moment there is such no option available in luci and changing the config file manually also doesn’t have any effect. This trigger is available on many other devices by default.

 


14.03.20192186KernelBug ReportVery LowMediumDSA driver performance issueTrunkUnconfirmed Task Description


Device: Linksys EA9500
Trunk: Kernel v4.19.25

I’ve compiled my own kernel and used DSA driver instead of swconfig
one for this router. Note: Kernel v4.19 enables broadcom tags for
B53 family of switches in this DSA driver

Here are some of my observations:

1. Lan to Lan speed is indeed 1Gbps (file copy)
2. However, Lan to Wan port is capped at ~500Mbps

 i. My internet is limited to 200Mbps, please see by test 
    setup below
ii. One of the users who has 1GBps internet had initially
    reported this issue

I’ve tried all the lan ports but the result is same. Note that this
router has 8 lan ports and 1 wan port. Where, switch bcm53012
covers lan4, lan7, lan8 and wan ports. While bcm53125 covers lan1,
lan2, lan3, lan5 and lan6 ports. bcm53125’s cpu port(8) hangs of
bcm53012 at port(0). bcm53012 is connected to GMAC.

When I load factory firmware, I do get 1Gbps from lan to wan port

Test setup:


Router ⇔ pfsense box ⇔ Modem

             ||
            SSD

File copy is limited to ~500Mbps

Thanks,

Vivek


14.03.20192184Base systemBug ReportVery LowLowWhen interface is deleted from LuCI, it's name isn't de...openwrt-18.06Unconfirmed Task Description

If an interface is created and assigned a firewall zone, then this interface is deleted form LuCI, its name remains in /etc/config/firewall

14.03.20192183Base systemBug ReportVery LowLowIf setting WWAN to WAN zone then back to LAN zone, no a...openwrt-18.06Unconfirmed Task Description

Main router is a third party router in router mode.
OpenWrt 18.06.02 on Archer C7 V2 connects to main router’s AP – we call this interface WWAN
If WWAN interface is set to LAN zone, there is access to router form WWAN side. If I set it to WAN zone then revert back to WWAN zone, access is not regained.

 


12.03.20192182KernelBug ReportVery LowMediumath10k_pci repeated errors in dmesgTrunkUnconfirmed Task Description

Netgear R7800
OpenWrt SNAPSHOT, r9559-445ca981d1

dmesg full of these errors. Kernel crashes too (reported in  FS#2178 ), not sure if related or a different issues.

[40794.429593] ath10k_pci 0001:01:00.0: received unexpected tx_fetch_ind event: in push mode
[40794.429647] ath10k_pci 0001:01:00.0: received unexpected tx_fetch_ind event: in push mode
[40794.436800] ath10k_pci 0001:01:00.0: received unexpected tx_fetch_ind event: in push mode
[40794.445022] ath10k_pci 0001:01:00.0: received unexpected tx_fetch_ind event: in push mode
...
10.03.20192174PackagesBug ReportVery LowMediumOpenVPN tun adapter loses its IP address on network res...openwrt-18.06Unconfirmed Task Description

- Linksys WRT1200AC
- OpenWrt 18.06.2
- OpenVPN 2.4.5

The tun interface loses its IP address when a network restart (/etc/init.d/network restart) gets issued, if the tun adapter is if referenced in /etc/config/network.
You have to restart the OpenVPN service to reassign an IP address.
This happens on the server as well as on the client side and it can lock yourself out if you are connected via VPN.

https://forum.openwrt.org/t/openvpn-client-tun-adapter-loses-its-ip-address-on-network-restart/13825

08.03.20192172Base systemBug ReportVery LowLowath79: Archer C7 v1 CPU hangTrunkUnconfirmed Task Description

OpenWrt SNAPSHOT, r9548-9f818cb

boot ramdisk image, set password and configure wifi with following settings:

config wifi-device 'radio0'
	option type 'mac80211'
	option hwmode '11g'
	option path 'platform/ahb/ahb:apb/18100000.wmac'
	option channel '5'
	option htmode 'HT40'
	option txpower '25'
	option country 'US'
	option legacy_rates '0'

config wifi-iface 'default_radio0'
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option encryption 'psk2+ccmp'
	option key 'gsthrsrt6uhsthw6wu54ws'
	option ieee80211w '1'
	option wpa_disable_eapol_key_retries '1'
	option ssid 'OpenWrt2'

do some iperf traffic both ways (~130Mbps) for few minutes

executed command iw phy0 set distance auto, ran few short iperf tests after that

from luci unchecked Allow legacy 802.11b rates and hit apply

wifi doesn’t come up, CPU hangs, no additional messages on console except below posted and console don’t respond. device restarted automatically within a minute or so.

[ 1125.499211] device wlan0 left promiscuous mode
[ 1125.503804] br-lan: port 2(wlan0) entered disabled state
[ 1126.181396] br-lan: port 2(wlan0) entered blocking state
[ 1126.186789] br-lan: port 2(wlan0) entered disabled state
[ 1126.192445] device wlan0 entered promiscuous mode
[ 1126.197272] br-lan: port 2(wlan0) entered blocking state
[ 1126.202691] br-lan: port 2(wlan0) entered forwarding state
[ 1126.527341] br-lan: port 2(wlan0) entered disabled state
[ 1128.047343] ath: phy0: Unable to reset channel, reset status -5


07.03.20192171Base systemBug ReportVery LowLowStill stuck in boot loop after raspbian workaroundTrunkUnconfirmed Task Description

I’ve tried using the raspbian workaround:

  1. boot raspbian
  1. change region code
  1. reboot and check it
  1. reboot again with openwrt

But still it gets stuck in a boot loop at the same place.

Any suggestions please? Some users do not need wlan(2 I/f router) so would disabling(and how) allow openwrt to boot?

 


07.03.20192169Base systemBug ReportVery LowLowqca8337 switch does not support VLAN IDs > 128TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

c2600

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

openwrt 18.6.2 r7676-cddd7b4c77

- Steps to reproduce

attempt to configure a VLAN > 128

swconfig dev reports that it supports 128 VLANs with VLAN IDs in the range 0-4094
but with only 2 VLANs defined, you cannot set the vlan ID > 128

I do not find any option to enable larger VLAN IDs (enable4kvlans is not accepted)

06.03.20192168KernelBug ReportVery LowCriticalSwitch no longer work after restart on Linksys EA8500AllAssigned Task Description

Got error when I try to post with all followings, so I have to post the task first then supply those information below.

There is a problem with the EA8500, the switch will not work after soft reboot, the only way to get it work is power cycle it manually, tested on 18.06.2 and latest source code.

There is already a topic for this https://forum.openwrt.org/t/ea8500-reboot-fails-only-with-power-switch-on-off-successful/18234

I will copy what I replied to the topic to this issue.

have the same issue, looks like something not reset properly, or clock not initialize properly.

on successful boot it will show
[ ] libphy: GPIO Bitbanged MDIO: probed
[ ] switch0: Atheros AR8337 rev. 2 switch registered on gpio-0
[ ] ar8327: qca,phy-rgmii-en is not specified

after soft reboot it will become
[ ] libphy: GPIO Bitbanged MDIO: probed
[ ] mdio_bus gpio-0: MDIO device at address 0 is missing.
[ ] mdio_bus gpio-0: MDIO device at address 4 is missing.

after reading code and google, found following information
the switch reset pin is connect to gpio63, tried manually reset by control gpio via /sys, dose see the port light off then on, reset dose work, but after restart network service still no switch.
then read boot log, there is error for initialize dma for ipq806x-gmac-dwmac 37200000.ethernet, then go to the actual code change it to print more information, found the dma reset bit will never clear.

I don’t think this is a switch related issue, it should be a soc driver issue, either mdio bus or eth driver, personally I think it is the clock for mdio bus.

Did another test, flashed the official FW in Openwrt, then auto reboot, the official FW cannot working properly for the same reason, cannot find the switch.
After power cycle official FW working properly, and I can soft restart by issue a reboot cmd in serial port, after reboot everything still works.
Therefore there must be something got disabled during Openwrt shutdown process that should not be disabled.

Success boot log (on cold boot / manual power cycle)
success_log.txt

Fail boot log (on restart / reboot)
fail_log.txt

Fail boot log (sysupgrade -v -n -F flashed official FW then auto reboot)
fail_boot_linksys_fw.txt

06.03.20192167Base systemBug ReportVery LowMediumIPv6-connectivity is broken for local system via 6in4-t...openwrt-18.06Unconfirmed Task Description

Issue description:
IPv6-connectivity is broken for local system via 6in4-tunnel.
Disabling source-routing is ignored.

System version:
OpenWrt 18.06.1

Steps to reproduce:

# uci show network.wan6
network.wan6=interface
network.wan6.proto='6in4'
network.wan6.tunlink='wan'
network.wan6.peeraddr='216.66.88.98'
network.wan6.ipaddr='139.162.227.238'
network.wan6.ip6addr='2001:470:1f1c:2a6::2/64'
network.wan6.ip6prefix='2001:470:1f1d:2a2::/64'
network.wan6.sourcerouting='0'
 
# ip -6 addr show 6in4-wan6
9: 6in4-wan6@eth0: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1280 state UNKNOWN qlen 1000
    inet6 2001:470:1f1c:2a6::2/64 scope global 
       valid_lft forever preferred_lft forever
    inet6 fe80::8ba2:e3ee/64 scope link 
       valid_lft forever preferred_lft forever
 
# ip -6 route show default table all
default from 2001:470:1f1c:2a6::/64 dev 6in4-wan6 proto static metric 1024 pref medium
default from 2001:470:1f1d:2a2::/64 dev 6in4-wan6 proto static metric 1024 pref medium
 
# ip -6 route show dev 6in4-wan6
default from 2001:470:1f1c:2a6::/64 proto static metric 1024 pref medium
default from 2001:470:1f1d:2a2::/64 proto static metric 1024 pref medium
2001:470:1f1c:2a6::/64 proto kernel metric 256 pref medium
fe80::/64 proto kernel metric 256 pref medium
 
# dig +short -q openwrt.org -t aaaa
2a03:b0c0:3:d0::1af1:1
 
# ping6 -c 3 openwrt.org
connect: Permission denied
 
# ip -6 route get 2a03:b0c0:3:d0::1af1:1
RTNETLINK answers: Permission denied
 
# ping6 -c 3 -I 2001:470:1f1c:2a6::2 openwrt.org
PING openwrt.org(wiki-01.infra.openwrt.org) from 2001:470:1f1c:2a6::2 : 56 data bytes
64 bytes from wiki-01.infra.openwrt.org: icmp_seq=1 ttl=59 time=20.2 ms
64 bytes from wiki-01.infra.openwrt.org: icmp_seq=2 ttl=59 time=35.3 ms
64 bytes from wiki-01.infra.openwrt.org: icmp_seq=3 ttl=59 time=20.0 ms
 
--- openwrt.org ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 20.006/25.190/35.340/7.177 ms
 
# ip -6 route get 2a03:b0c0:3:d0::1af1:1 from 2001:470:1f1c:2a6::2
2a03:b0c0:3:d0::1af1:1 from 2001:470:1f1c:2a6::2 dev 6in4-wan6 proto static src 2001:470:1f1c:2a6::2 metric 1024 pref medium
06.03.20192166Base systemBug ReportVery LowHighOpenwrt 18.06.2 build fails when ext4 is not chosen as ...openwrt-18.06Unconfirmed Task Description

upply the following if possible:
- Raspberry Pi Zero
- 18.06.2
- Go into menu, choose only ‘squashfs’ with defaults and bcm2708 as target. The ‘rootfs’ option disappears, and the build script fails with make world:

Output follows:

./gen_rpi_sdcard_img.sh /data/openwrt/build_dir/target-arm_arm1176jzf-s+vfp_musl_eabi/linux-brcm2708_bcm2708/tmp/openwrt-brcm2708-bcm2708-rpi-squashfs-factory.img.gz /data/openwrt/build_dir/target-arm_arm1176jzf-s+vfp_musl_eabi/linux-brcm2708_bcm2708/tmp/openwrt-brcm2708-bcm2708-rpi-squashfs-factory.img.gz.boot /data/openwrt/build_dir/target-arm_arm1176jzf-s+vfp_musl_eabi/linux-brcm2708_bcm2708/root.squashfs 20
+ '[' 4 -eq 5 ']'
+ echo 'SYNTAX: ./gen_rpi_sdcard_img.sh <file> <bootfs image> <rootfs image> <bootfs size> <rootfs size>'
SYNTAX: ./gen_rpi_sdcard_img.sh <file> <bootfs image> <rootfs image> <bootfs size> <rootfs size>

Looks like the script isn’t passing proper paramaters unless I select ext4 image as well as squashfs image.

06.03.20192164Base systemBuild FailureVery LowLowWhen compiling with zero packages configured, the compi...TrunkUnconfirmed Task Description

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

 

git clone –depth 1 https://github.com/openwrt/openwrt.git openwrt-reproduce-package-cat-bug
cd openwrt-reproduce-package-cat-bug
cp $attached_file_.config .config
make V=sc

The build process hangs after these log lines:

find .tmp_versions -name '*.mod' | xargs -r grep -h '\.ko$' | sort -u | sed 's/\.ko$/.o/' | scripts/mod/modpost   -o ./Module.symvers    -S    -s -T -

make[5]: Leaving directory ‘/home/jonesmz/openwrt-reproduce-package-cat-bug/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/linux-4.14.104’ touch /home/jonesmz/openwrt-reproduce-package-cat-bug/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/linux-4.14.104/.modules
make -C image compile TARGET_BUILD=
make[5]: Entering directory ‘/home/jonesmz/openwrt-reproduce-package-cat-bug/target/linux/ipq806x’ make[5]: warning: jobserver unavailable: using -j1. Add ‘+’ to parent make rule.
make[5]: Nothing to be done for ‘compile’.
make[5]: Leaving directory ‘/home/jonesmz/openwrt-reproduce-package-cat-bug/target/linux/ipq806x/image’ make[4]: Leaving directory ‘/home/jonesmz/openwrt-reproduce-package-cat-bug/target/linux/ipq806x’ make[3]: Leaving directory ‘/home/jonesmz/openwrt-reproduce-package-cat-bug/target/linux’ time: target/linux/compile#2.58#0.96#1.99
make[2]: Leaving directory ‘/home/jonesmz/openwrt-reproduce-package-cat-bug’ export MAKEFLAGS= ;make -w -r diffconfig
make[2]: Entering directory ‘/home/jonesmz/openwrt-reproduce-package-cat-bug’ make[2]: Entering directory ‘/home/jonesmz/openwrt-reproduce-package-cat-bug’ make[3]: Entering directory ‘/home/jonesmz/openwrt-reproduce-package-cat-bug/package/libs/libjson-c’ make[3]: Leaving directory ‘/home/jonesmz/openwrt-reproduce-package-cat-bug/package/libs/libjson-c’ time: package/libs/libjson-c/host-compile#0.16#0.08#0.22
make[3]: Entering directory ‘/home/jonesmz/openwrt-reproduce-package-cat-bug/package/libs/libubox’ make[3]: Leaving directory ‘/home/jonesmz/openwrt-reproduce-package-cat-bug/package/libs/libubox’ time: package/libs/libubox/host-compile#0.68#0.36#0.98
make[3]: Entering directory ‘/home/jonesmz/openwrt-reproduce-package-cat-bug/package/system/opkg’ make[2]: Leaving directory ‘/home/jonesmz/openwrt-reproduce-package-cat-bug’ make[3]: Leaving directory ‘/home/jonesmz/openwrt-reproduce-package-cat-bug/package/system/opkg’ time: package/system/opkg/host-compile#0.55#0.25#0.75
make[2]: Leaving directory ‘/home/jonesmz/openwrt-reproduce-package-cat-bug’ make[2]: Entering directory ‘/home/jonesmz/openwrt-reproduce-package-cat-bug’ make[2]: warning: -jN forced in submake: disabling jobserver mode.
rm -rf /home/jonesmz/openwrt-reproduce-package-cat-bug/staging_dir/packages/ipq806x
mkdir -p /home/jonesmz/openwrt-reproduce-package-cat-bug/staging_dir/packages/ipq806x

And the following process tree

/bin/bash
- make -j25 V=sc

  1. /bin/sh -c _limit=`ulimit -n` ; .............
  2. make -w -r world
    1. make -j1 package/install
    2. bash -c cat 2>/dev/null
      1. cat

The attached .config file has a minimal configuration where as few packages as possible selected. In this case, I think I’ve managed to get it down to zero packages. I believe that what’s failing is this line:

./package/Makefile: $(call opkg_package_files,$(foreach pkg,$(shell cat $(PACKAGE_INSTALL_FILES) 2>/dev/null),$(pkg)$(call GetABISuffix,$(pkg))))

Where if this line is executed when $PACKAGE_INSTALL_FILES expands to nothing, then the “cat” program expects to read data from standard in, which will wait forever.

An easy workaround is to add /dev/null to the list of files to cat, such as

./package/Makefile: $(call opkg_package_files,$(foreach pkg,$(shell cat /dev/null $(PACKAGE_INSTALL_FILES) 2>/dev/null),$(pkg)$(call GetABISuffix,$(pkg))))

But you still end up with failures later, such as opkg being given an empty list of packages to install.

05.03.20192163Base systemBug ReportVery LowLowNew installation via OEM method on Linksys WRT1900AC v1...TrunkUnconfirmed Task Description

Trying to flash a new installation of either openWRT (openwrt-18.06.2-mvebu-cortexa9-linksys-wrt1900ac-squashfs-factory.img) or the Davidc variant (lede-mvebu-cortexa9-linksys-wrt1900ac-squashfs-factory.img)from OEM gui fails on Linksys WRT1900AC v1 with firmware version 1.1.10.187766.

To reproduce, attempt to flash either image using the Linksys gui. Go to the “Connectivity” tab. In the area labeled “Manual”, choose the image file, and click “Start”. According to the gui, the flash is successful and proceeds to restart. The power and ethernet indicators light up for a bit, then the internet flashes orange until the router reboots into the Linksys firmware.

From my research, silent failure like this indicates the flash didn’t actually succeed, but I don’t have a serial cable or much time to do further diagnosis at the moment.

05.03.20192162Base systemBug ReportVery LowHighLinksys 3200ACM stop to function, no connection out of ...openwrt-18.06Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on Linksys WRT 3200ACM
- Software versions of OpenWrt/LEDE release, packages, etc.
OpenWrt 18.06.2 r7676-cddd7b4c77 / LuCI openwrt-18.06 branch (git-19.020.41695-6f6641d)
+ IGMProxy (followed this tuturial https://oldwiki.archive.openwrt.org/doc/howto/udp_multicast)
- Steps to reproduce

 I have a large network with arround 200 Virtual Machines connected to the router, this router is great and looks like it can handle all of my VMs easly (my ISP router break after 80VMs) but out of nowhere sometimes the router stop to function, I cannot connect to it from LAN or WLAN. I am not sure if this is related with the VMs or if it is another issue

I had remote logs active, and the last time this ocurred I got this from the logs:
root# nc -u -4 -l 5555

<30>Mar  5 00:38:13 OpenWrt logread[6094]: Logread connected to 10.0.10.1:5555
<28>Mar  5 00:38:26 OpenWrt odhcpd[1791]: DHCPV6 RENEW IA_NA from 00020000ab1119a3c79428a626de on br-lan: no binding
<29>Mar  5 00:41:05 OpenWrt netifd: wan (2068): udhcpc: sending renew to 10.141.0.1
<29>Mar  5 00:41:05 OpenWrt netifd: wan (2068): udhcpc: lease of 188.250.74.185 obtained, lease time 3600
<13>Mar  5 00:42:40 OpenWrt root: testLog “Blah1”
<28>Mar  5 00:43:43 OpenWrt odhcpd[1791]: DHCPV6 RENEW IA_NA from 00020000ab114ef36bcb13e12a6c on br-lan: no binding
<28>Mar  5 00:43:46 OpenWrt odhcpd[1791]: DHCPV6 RENEW IA_NA from 00020000ab11ec7b577aa4a2257e on br-lan: no binding
<28>Mar  5 00:47:21 OpenWrt odhcpd[1791]: DHCPV6 RENEW IA_NA from 00020000ab11ee5cdb55e31e9275 on br-lan: no binding
<28>Mar  5 00:48:45 OpenWrt odhcpd[1791]: DHCPV6 RENEW IA_NA from 00020000ab1119a3c79428a626de on br-lan: no binding
<30>Mar  5 00:49:14 OpenWrt dnsmasq-dhcp[2944]: DHCPREQUEST(br-lan) 10.0.0.202 00:50:56:96:e6:32
<30>Mar  5 00:49:14 OpenWrt dnsmasq-dhcp[2944]: DHCPACK(br-lan) 10.0.0.202 00:50:56:96:e6:32 zen
<28>Mar  5 00:53:21 OpenWrt odhcpd[1791]: DHCPV6 RENEW IA_NA from 00020000ab114ef36bcb13e12a6c on br-lan: no binding
<28>Mar  5 00:53:26 OpenWrt odhcpd[1791]: DHCPV6 RENEW IA_NA from 00020000ab11ec7b577aa4a2257e on br-lan: no binding
<28>Mar  5 00:58:16 OpenWrt odhcpd[1791]: DHCPV6 RENEW IA_NA from 00020000ab11ee5cdb55e31e9275 on br-lan: no binding

Right after I reset the router power I did an logread and could get this:

Tue Mar  5 00:42:43 2019 user.info kernel: [    3.202957] kmodloader: loading kernel modules from /etc/modules-boot.d/*
Tue Mar  5 00:42:43 2019 user.info kernel: [    3.234044] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
Tue Mar  5 00:42:43 2019 user.info kernel: [    3.243296] init: - preinit -
Tue Mar  5 00:42:43 2019 kern.info kernel: [    3.395512] mvneta f1070000.ethernet tmp0: renamed from eth0
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    3.401750] random: procd: uninitialized urandom read (4 bytes read)
Tue Mar  5 00:42:43 2019 kern.info kernel: [    3.441356] mvneta f1034000.ethernet eth0: renamed from eth1
Tue Mar  5 00:42:43 2019 kern.info kernel: [    3.481320] mvneta f1070000.ethernet eth1: renamed from tmp0
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    3.699138] random: jshn: uninitialized urandom read (4 bytes read)
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    3.730488] random: jshn: uninitialized urandom read (4 bytes read)
Tue Mar  5 00:42:43 2019 kern.info kernel: [    3.892827] mvneta f1034000.ethernet eth0: configuring for fixed/sgmii link mode
Tue Mar  5 00:42:43 2019 kern.info kernel: [    3.900629] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Tue Mar  5 00:42:43 2019 kern.info kernel: [    3.906643] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Tue Mar  5 00:42:43 2019 kern.info kernel: [    3.914852] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    6.969318] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 821
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    6.989686] UBIFS (ubi0:1): recovery needed
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.049827] UBIFS (ubi0:1): recovery completed
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.054334] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.062207] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.072173] UBIFS (ubi0:1): FS size: 65138688 bytes (62 MiB, 513 LEBs), journal size 3301376 bytes (3 MiB, 26 LEBs)
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.082681] UBIFS (ubi0:1): reserved for root: 3076660 bytes (3004 KiB)
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.089325] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID 0A2948E0-EE94-4D03-A2AA-5BDE63AE5BFC, small LPT model
Tue Mar  5 00:42:43 2019 user.info kernel: [    7.102478] mount_root: switching to ubifs overlay
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.148010] ubi1: attaching mtd9
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.236995] random: crng init done
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.240412] random: 3 urandom warning(s) missed due to ratelimiting
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.380723] ubi1: scanning is finished
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.388751] ubi1: attached mtd9 (name "syscfg", size 86 MiB)
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.394452] ubi1: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.401361] ubi1: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.408179] ubi1: VID header offset: 2048 (aligned 2048), data offset: 4096
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.415174] ubi1: good PEBs: 680, bad PEBs: 8, corrupted PEBs: 0
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.421208] ubi1: user volume: 1, internal volumes: 1, max. volumes count: 128
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.428462] ubi1: max/mean erase counter: 8/4, WL threshold: 4096, image sequence number: 876597111
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.437550] ubi1: available PEBs: 0, total reserved PEBs: 680, PEBs reserved for bad PEB handling: 32
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.446817] ubi1: background thread "ubi_bgt1d" started, PID 829
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.457387] UBIFS (ubi1:0): background thread "ubifs_bgt1_0" started, PID 835
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.477892] UBIFS (ubi1:0): recovery needed
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.535464] UBIFS (ubi1:0): recovery completed
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.539966] UBIFS (ubi1:0): UBIFS: mounted UBI device 1, volume 0, name "syscfg"
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.547410] UBIFS (ubi1:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.557398] UBIFS (ubi1:0): FS size: 80375808 bytes (76 MiB, 633 LEBs), journal size 4063232 bytes (3 MiB, 32 LEBs)
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.567882] UBIFS (ubi1:0): reserved for root: 3796347 bytes (3707 KiB)
Tue Mar  5 00:42:43 2019 kern.notice kernel: [    7.574529] UBIFS (ubi1:0): media format: w4/r0 (latest is w5/r0), UUID 61E88146-E8C2-4229-B3CE-3F574E1AD339, small LPT model
Tue Mar  5 00:42:43 2019 user.warn kernel: [    7.587144] urandom-seed: Seeding with /etc/urandom.seed
Tue Mar  5 00:42:43 2019 kern.info kernel: [    7.620917] mvneta f1034000.ethernet eth0: Link is Down
Tue Mar  5 00:42:43 2019 user.info kernel: [    7.692743] procd: - early -
Tue Mar  5 00:42:43 2019 user.info kernel: [    7.695657] procd: - watchdog -
Tue Mar  5 00:42:43 2019 user.info kernel: [    8.294006] procd: - watchdog -
Tue Mar  5 00:42:43 2019 user.info kernel: [    8.297241] procd: - ubus -
Tue Mar  5 00:42:43 2019 user.info kernel: [    8.350566] procd: - init -
Tue Mar  5 00:42:43 2019 user.info kernel: [    8.457200] kmodloader: loading kernel modules from /etc/modules.d/*
Tue Mar  5 00:42:43 2019 kern.info kernel: [    8.465564] ip6_tables: (C) 2000-2006 Netfilter Core Team
Tue Mar  5 00:42:43 2019 kern.info kernel: [    8.472404] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
Tue Mar  5 00:42:43 2019 kern.info kernel: [    8.480456] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
Tue Mar  5 00:42:43 2019 kern.info kernel: [    8.493859] <<Marvell Mac80211 Wireless PCIE Network Driver version 10.3.8.0-20181114>>
Tue Mar  5 00:42:43 2019 kern.info kernel: [    8.501934] pci 0000:00:01.0: enabling device (0140 -> 0142)
Tue Mar  5 00:42:43 2019 kern.debug kernel: [    8.507713] ieee80211 phy0: priv->pcmd_buf = de040000  priv->pphys_cmd_buf = 1e040000
Tue Mar  5 00:42:43 2019 kern.debug kernel: [    8.560127] ieee80211 phy0: fw download start
Tue Mar  5 00:42:43 2019 kern.debug kernel: [    8.560132] ieee80211 phy0: ddr init: download start
Tue Mar  5 00:42:43 2019 kern.debug kernel: [    8.560509] ieee80211 phy0: ddr init: download complete
Tue Mar  5 00:42:43 2019 kern.debug kernel: [    8.698421] ieee80211 phy0: FwSize = 450732 downloaded Size = 450732 curr_iteration 65521
Tue Mar  5 00:42:43 2019 kern.debug kernel: [   11.560105] ieee80211 phy0: fw download complete
Tue Mar  5 00:42:43 2019 kern.info kernel: [   11.560137] ieee80211 phy0: device node: /soc/pcie/pcie@1,0
Tue Mar  5 00:42:43 2019 kern.debug kernel: [   11.575295] ieee80211 phy0: pcmd = de040000
Tue Mar  5 00:42:43 2019 kern.info kernel: [   11.593337] ieee80211 phy0: firmware version: 0x9030206
Tue Mar  5 00:42:43 2019 kern.info kernel: [   11.900106] ieee80211 phy0: firmware region code: 30
Tue Mar  5 00:42:43 2019 kern.info kernel: [   11.938916] ieee80211 phy0: 2G disabled, 5G enabled
Tue Mar  5 00:42:43 2019 kern.info kernel: [   11.943846] ieee80211 phy0: 4 TX antennas, 4 RX antennas
Tue Mar  5 00:42:43 2019 kern.info kernel: [   11.949442] pci 0000:00:02.0: enabling device (0140 -> 0142)
Tue Mar  5 00:42:43 2019 kern.debug kernel: [   11.955288] ieee80211 phy1: priv->pcmd_buf = d98c0000  priv->pphys_cmd_buf = 198c0000
Tue Mar  5 00:42:43 2019 kern.debug kernel: [   11.963534] ieee80211 phy1: fw download start
Tue Mar  5 00:42:43 2019 kern.debug kernel: [   11.963540] ieee80211 phy1: ddr init: download start
Tue Mar  5 00:42:43 2019 kern.debug kernel: [   11.963922] ieee80211 phy1: ddr init: download complete
Tue Mar  5 00:42:43 2019 kern.debug kernel: [   12.105401] ieee80211 phy1: FwSize = 450732 downloaded Size = 450732 curr_iteration 65527
Tue Mar  5 00:42:43 2019 kern.debug kernel: [   13.296113] ieee80211 phy1: fw download complete
Tue Mar  5 00:42:43 2019 kern.info kernel: [   13.296154] ieee80211 phy1: device node: /soc/pcie/pcie@2,0
Tue Mar  5 00:42:43 2019 kern.debug kernel: [   13.311376] ieee80211 phy1: pcmd = d98c0000
Tue Mar  5 00:42:43 2019 kern.info kernel: [   13.329129] ieee80211 phy1: firmware version: 0x9030206
Tue Mar  5 00:42:43 2019 kern.info kernel: [   13.636119] ieee80211 phy1: firmware region code: 30
Tue Mar  5 00:42:43 2019 kern.info kernel: [   13.668957] ieee80211 phy1: 2G enabled, 5G disabled
Tue Mar  5 00:42:43 2019 kern.info kernel: [   13.673887] ieee80211 phy1: 4 TX antennas, 4 RX antennas
Tue Mar  5 00:42:43 2019 kern.info kernel: [   13.681691] hidraw: raw HID events driver (C) Jiri Kosina
Tue Mar  5 00:42:43 2019 kern.info kernel: [   13.690270] Bluetooth: Core ver 2.22
Tue Mar  5 00:42:43 2019 kern.info kernel: [   13.693906] NET: Registered protocol family 31
Tue Mar  5 00:42:43 2019 kern.info kernel: [   13.698374] Bluetooth: HCI device and connection manager initialized
Tue Mar  5 00:42:43 2019 kern.info kernel: [   13.704792] Bluetooth: HCI socket layer initialized
Tue Mar  5 00:42:43 2019 kern.info kernel: [   13.709700] Bluetooth: L2CAP socket layer initialized
Tue Mar  5 00:42:43 2019 kern.info kernel: [   13.714807] Bluetooth: SCO socket layer initialized
Tue Mar  5 00:42:43 2019 kern.info kernel: [   13.720159] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Tue Mar  5 00:42:43 2019 kern.info kernel: [   13.725501] Bluetooth: BNEP filters: protocol multicast
Tue Mar  5 00:42:43 2019 kern.info kernel: [   13.730788] Bluetooth: BNEP socket layer initialized
Tue Mar  5 00:42:43 2019 kern.info kernel: [   13.736995] Bluetooth: vendor=0x2df, device=0x9136, class=255, fn=2
Tue Mar  5 00:42:43 2019 kern.info kernel: [   14.523809] Bluetooth: FW download over, size 695532 bytes
Tue Mar  5 00:42:43 2019 kern.err kernel: [   15.120137] sdio platform data not available
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.120809] usbcore: registered new interface driver btusb
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.131483] Bluetooth: HCI UART driver ver 2.3
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.135948] Bluetooth: HCI UART protocol H4 registered
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.141118] Bluetooth: HCI UART protocol BCSP registered
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.146452] Bluetooth: HCI UART protocol ATH3K registered
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.152373] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.158323] Bluetooth: HIDP socket layer initialized
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.163866] ip_tables: (C) 2000-2006 Netfilter Core Team
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.174072] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.181224] mwifiex_sdio mmc0:0001:1: WLAN FW already running! Skip FW dnld
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.188222] mwifiex_sdio mmc0:0001:1: WLAN FW is active
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.197355] Bluetooth: RFCOMM TTY layer initialized
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.202295] Bluetooth: RFCOMM socket layer initialized
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.207470] Bluetooth: RFCOMM ver 1.11
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.213242] mwifiex_sdio mmc0:0001:1: CMD_RESP: cmd 0x242 error, result=0x2
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.220270] mwifiex_sdio mmc0:0001:1: mwifiex_process_cmdresp: cmd 0x242 failed during    initialization
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.231851] xt_time: kernel timezone is -0000
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.238144] PPP generic driver version 2.4.2
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.242945] NET: Registered protocol family 24
Tue Mar  5 00:42:43 2019 user.info kernel: [   15.248149] kmodloader: done loading kernel modules from /etc/modules.d/*
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.280879] mwifiex_sdio mmc0:0001:1: info: MWIFIEX VERSION: mwifiex 1.0 (15.68.7.p71)
Tue Mar  5 00:42:43 2019 kern.info kernel: [   15.288929] mwifiex_sdio mmc0:0001:1: driver_version = mwifiex 1.0 (15.68.7.p71)
Tue Mar  5 00:42:43 2019 user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Tue Mar  5 00:42:43 2019 daemon.info logread[1570]: failed to send log data to 10.0.10.1:5555 via udp
Tue Mar  5 00:42:43 2019 user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Tue Mar  5 00:42:43 2019 daemon.info dnsmasq[1668]: started, version 2.80 cachesize 150
Tue Mar  5 00:42:43 2019 daemon.info dnsmasq[1668]: DNS service limited to local subnets
Tue Mar  5 00:42:43 2019 daemon.info dnsmasq[1668]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC no-ID loop-detect inotify dumpfile
Tue Mar  5 00:42:43 2019 daemon.info dnsmasq[1668]: using local addresses only for domain test
Tue Mar  5 00:42:43 2019 daemon.info dnsmasq[1668]: using local addresses only for domain onion
Tue Mar  5 00:42:43 2019 daemon.info dnsmasq[1668]: using local addresses only for domain localhost
Tue Mar  5 00:42:43 2019 daemon.info dnsmasq[1668]: using local addresses only for domain local
Tue Mar  5 00:42:43 2019 daemon.info dnsmasq[1668]: using local addresses only for domain invalid
Tue Mar  5 00:42:43 2019 daemon.info dnsmasq[1668]: using local addresses only for domain bind
Tue Mar  5 00:42:43 2019 daemon.info dnsmasq[1668]: using local addresses only for domain lan
Tue Mar  5 00:42:43 2019 daemon.warn dnsmasq[1668]: no servers found in /tmp/resolv.conf.auto, will retry
Tue Mar  5 00:42:43 2019 daemon.info dnsmasq[1668]: read /etc/hosts - 4 addresses
Tue Mar  5 00:42:43 2019 daemon.info dnsmasq[1668]: read /tmp/hosts/dhcp.cfg01411c - 0 addresses
Tue Mar  5 00:42:43 2019 authpriv.info dropbear[1695]: Not backgrounding
Tue Mar  5 00:42:43 2019 user.notice : Added device handler type: tunnel
Tue Mar  5 00:42:43 2019 user.notice : Added device handler type: Network device
Tue Mar  5 00:42:43 2019 user.notice : Added device handler type: bridge
Tue Mar  5 00:42:43 2019 user.notice : Added device handler type: veth
Tue Mar  5 00:42:43 2019 user.notice : Added device handler type: macvlan
Tue Mar  5 00:42:43 2019 user.notice : Added device handler type: 8021ad
Tue Mar  5 00:42:43 2019 user.notice : Added device handler type: 8021q
Tue Mar  5 00:42:43 2019 daemon.notice procd: /etc/init.d/network: 'radio2' is disabled
Tue Mar  5 00:42:43 2019 daemon.notice procd: /etc/init.d/network: 'radio2' is disabled
Tue Mar  5 00:42:43 2019 user.notice ucitrack: Setting up /etc/config/network reload dependency on /etc/config/dhcp
Tue Mar  5 00:42:43 2019 user.notice ucitrack: Setting up /etc/config/network reload dependency on /etc/config/radvd
Tue Mar  5 00:42:43 2019 user.notice ucitrack: Setting up /etc/config/wireless reload dependency on /etc/config/network
Tue Mar  5 00:42:43 2019 user.notice ucitrack: Setting up /etc/config/firewall reload dependency on /etc/config/luci-splash
Tue Mar  5 00:42:43 2019 user.notice ucitrack: Setting up /etc/config/firewall reload dependency on /etc/config/qos
Tue Mar  5 00:42:43 2019 user.notice ucitrack: Setting up /etc/config/firewall reload dependency on /etc/config/miniupnpd
Tue Mar  5 00:42:43 2019 user.notice ucitrack: Setting up /etc/config/dhcp reload dependency on /etc/config/odhcpd
Tue Mar  5 00:42:43 2019 user.notice ucitrack: Setting up non-init /etc/config/fstab reload handler: /sbin/block mount
Tue Mar  5 00:42:43 2019 user.notice ucitrack: Setting up /etc/config/system reload trigger for non-procd /etc/init.d/led
Tue Mar  5 00:42:43 2019 user.notice ucitrack: Setting up /etc/config/system reload dependency on /etc/config/luci_statistics
Tue Mar  5 00:42:43 2019 user.notice ucitrack: Setting up /etc/config/system reload dependency on /etc/config/dhcp
Tue Mar  5 00:42:44 2019 kern.info kernel: [   16.425395] mvneta f1034000.ethernet eth0: configuring for fixed/sgmii link mode
Tue Mar  5 00:42:44 2019 kern.info kernel: [   16.432911] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Tue Mar  5 00:42:44 2019 kern.info kernel: [   16.438808] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Tue Mar  5 00:42:44 2019 kern.info kernel: [   16.446898] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Tue Mar  5 00:42:44 2019 kern.info kernel: [   16.454694] br-lan: port 1(eth0.1) entered blocking state
Tue Mar  5 00:42:44 2019 kern.info kernel: [   16.460165] br-lan: port 1(eth0.1) entered disabled state
Tue Mar  5 00:42:44 2019 kern.info kernel: [   16.465718] device eth0.1 entered promiscuous mode
Tue Mar  5 00:42:44 2019 kern.info kernel: [   16.470541] device eth0 entered promiscuous mode
Tue Mar  5 00:42:44 2019 kern.info kernel: [   16.476222] br-lan: port 1(eth0.1) entered blocking state
Tue Mar  5 00:42:44 2019 kern.info kernel: [   16.481680] br-lan: port 1(eth0.1) entered forwarding state
Tue Mar  5 00:42:44 2019 kern.info kernel: [   16.487364] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
Tue Mar  5 00:42:44 2019 daemon.notice netifd: Interface 'lan' is enabled
Tue Mar  5 00:42:44 2019 daemon.notice netifd: Interface 'lan' is setting up now
Tue Mar  5 00:42:44 2019 daemon.notice netifd: Interface 'lan' is now up
Tue Mar  5 00:42:44 2019 daemon.notice netifd: Interface 'loopback' is enabled
Tue Mar  5 00:42:44 2019 daemon.notice netifd: Interface 'loopback' is setting up now
Tue Mar  5 00:42:44 2019 daemon.notice netifd: Interface 'loopback' is now up
Tue Mar  5 00:42:44 2019 daemon.notice procd: /etc/rc.d/S96led: setting up led WAN
Tue Mar  5 00:42:44 2019 kern.info kernel: [   16.499084] mvneta f1070000.ethernet eth1: configuring for fixed/rgmii-id link mode
Tue Mar  5 00:42:44 2019 kern.info kernel: [   16.507362] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
Tue Mar  5 00:42:44 2019 kern.info kernel: [   16.513433] mvneta f1070000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
Tue Mar  5 00:42:44 2019 kern.info kernel: [   16.523133] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
Tue Mar  5 00:42:44 2019 daemon.notice netifd: Interface 'wan' is enabled
Tue Mar  5 00:42:44 2019 daemon.notice netifd: Interface 'wan6' is enabled
Tue Mar  5 00:42:44 2019 daemon.notice netifd: bridge 'br-lan' link is up
Tue Mar  5 00:42:44 2019 daemon.notice netifd: Interface 'lan' has link connectivity
Tue Mar  5 00:42:44 2019 daemon.notice netifd: Network device 'eth0' link is up
Tue Mar  5 00:42:44 2019 daemon.notice netifd: VLAN 'eth0.1' link is up
Tue Mar  5 00:42:44 2019 daemon.notice netifd: Network device 'lo' link is up
Tue Mar  5 00:42:44 2019 daemon.notice procd: /etc/rc.d/S96led: setting up led USB 1
Tue Mar  5 00:42:44 2019 daemon.notice netifd: Interface 'loopback' has link connectivity
Tue Mar  5 00:42:44 2019 daemon.notice netifd: Network device 'eth1' link is up
Tue Mar  5 00:42:44 2019 daemon.notice netifd: VLAN 'eth1.12' link is up
Tue Mar  5 00:42:44 2019 daemon.notice netifd: Interface 'wan' has link connectivity
Tue Mar  5 00:42:44 2019 daemon.notice netifd: Interface 'wan' is setting up now
Tue Mar  5 00:42:44 2019 daemon.notice netifd: Interface 'wan6' has link connectivity
Tue Mar  5 00:42:44 2019 daemon.notice netifd: Interface 'wan6' is setting up now
Tue Mar  5 00:42:44 2019 daemon.notice procd: /etc/rc.d/S96led: setting up led USB 2
Tue Mar  5 00:42:44 2019 daemon.notice procd: /etc/rc.d/S96led: setting up led USB 2 SS
Tue Mar  5 00:42:44 2019 daemon.notice netifd: wan (2080): udhcpc: started, v1.28.4
Tue Mar  5 00:42:44 2019 daemon.err odhcp6c[2074]: Failed to send RS (Address not available)
Tue Mar  5 00:42:44 2019 daemon.info logread[1570]: Logread connected to 10.0.10.1:5555
Tue Mar  5 00:42:44 2019 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Tue Mar  5 00:42:44 2019 daemon.notice netifd: wan (2080): udhcpc: sending discover
Tue Mar  5 00:42:44 2019 user.notice mac80211: Failed command: iw phy phy0 set antenna all all
Tue Mar  5 00:42:44 2019 user.notice mac80211: Failed command: iw phy phy1 set antenna all all
Tue Mar  5 00:42:44 2019 daemon.notice netifd: radio0 (2027): command failed: Not supported (-95)
Tue Mar  5 00:42:44 2019 daemon.notice netifd: radio1 (2028): command failed: Not supported (-95)
Tue Mar  5 00:42:44 2019 user.notice mac80211: Failed command: iw phy phy0 set distance 0
Tue Mar  5 00:42:44 2019 user.notice mac80211: Failed command: iw phy phy1 set distance 0
Tue Mar  5 00:42:44 2019 daemon.err odhcp6c[2074]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Tue Mar  5 00:42:44 2019 daemon.info procd: - init complete -
Tue Mar  5 00:42:44 2019 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
Tue Mar  5 00:42:44 2019 daemon.err hostapd: Configuration file: /var/run/hostapd-phy1.conf
Tue Mar  5 00:42:44 2019 kern.debug kernel: [   17.273258] ieee80211 phy0: change: 0xffffffff
Tue Mar  5 00:42:44 2019 kern.info kernel: [   17.379338] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Tue Mar  5 00:42:45 2019 kern.debug kernel: [   17.558204] ieee80211 phy1: change: 0xffffffff
Tue Mar  5 00:42:45 2019 kern.info kernel: [   17.647358] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
Tue Mar  5 00:42:45 2019 kern.info kernel: [   17.653379] br-lan: port 2(wlan0) entered blocking state
Tue Mar  5 00:42:45 2019 kern.info kernel: [   17.658719] br-lan: port 2(wlan0) entered disabled state
Tue Mar  5 00:42:45 2019 kern.info kernel: [   17.664173] device wlan0 entered promiscuous mode
Tue Mar  5 00:42:45 2019 kern.info kernel: [   17.668926] br-lan: port 2(wlan0) entered blocking state
Tue Mar  5 00:42:45 2019 kern.info kernel: [   17.674271] br-lan: port 2(wlan0) entered forwarding state
Tue Mar  5 00:42:45 2019 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Tue Mar  5 00:42:45 2019 kern.info kernel: [   17.679901] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
Tue Mar  5 00:42:45 2019 kern.info kernel: [   17.686973] br-lan: port 2(wlan0) entered disabled state
Tue Mar  5 00:42:45 2019 kern.info kernel: [   17.693189] br-lan: port 3(wlan1) entered blocking state
Tue Mar  5 00:42:45 2019 kern.info kernel: [   17.698534] br-lan: port 3(wlan1) entered disabled state
Tue Mar  5 00:42:45 2019 kern.info kernel: [   17.704004] device wlan1 entered promiscuous mode
Tue Mar  5 00:42:45 2019 daemon.notice hostapd: wlan1: interface state UNINITIALIZED->COUNTRY_UPDATE
Tue Mar  5 00:42:45 2019 daemon.notice netifd: wan (2080): udhcpc: sending select for 188.250.74.185
Tue Mar  5 00:42:45 2019 daemon.err odhcp6c[2074]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Tue Mar  5 00:42:45 2019 daemon.notice netifd: wan (2080): udhcpc: lease of 188.250.74.185 obtained, lease time 3600
Tue Mar  5 00:42:45 2019 daemon.notice netifd: Interface 'wan' is now up
Tue Mar  5 00:42:45 2019 daemon.info dnsmasq[1668]: reading /tmp/resolv.conf.auto
Tue Mar  5 00:42:45 2019 daemon.info dnsmasq[1668]: using local addresses only for domain test
Tue Mar  5 00:42:45 2019 daemon.info dnsmasq[1668]: using local addresses only for domain onion
Tue Mar  5 00:42:45 2019 daemon.info dnsmasq[1668]: using local addresses only for domain localhost
Tue Mar  5 00:42:45 2019 daemon.info dnsmasq[1668]: using local addresses only for domain local
Tue Mar  5 00:42:45 2019 daemon.info dnsmasq[1668]: using local addresses only for domain invalid
Tue Mar  5 00:42:45 2019 daemon.info dnsmasq[1668]: using local addresses only for domain bind
Tue Mar  5 00:42:45 2019 daemon.info dnsmasq[1668]: using local addresses only for domain lan
Tue Mar  5 00:42:45 2019 daemon.info dnsmasq[1668]: using nameserver 212.55.154.174#53
Tue Mar  5 00:42:45 2019 daemon.info dnsmasq[1668]: using nameserver 212.55.154.190#53
Tue Mar  5 00:42:45 2019 user.notice firewall: Reloading firewall due to ifup of wan (eth1.12)
Tue Mar  5 00:42:45 2019 daemon.notice hostapd: handle_probe_req: send failed
Tue Mar  5 00:42:46 2019 daemon.notice hostapd: handle_probe_req: send failed
Tue Mar  5 00:42:46 2019 daemon.notice hostapd: handle_probe_req: send failed
Tue Mar  5 00:42:48 2019 daemon.notice hostapd: handle_probe_req: send failed
Tue Mar  5 09:00:06 2019 daemon.notice hostapd: handle_probe_req: send failed
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[1668]: exiting on receipt of SIGTERM
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: started, version 2.80 cachesize 150
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: DNS service limited to local subnets
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC no-ID loop-detect inotify dumpfile
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq-dhcp[2970]: DHCP, IP range 10.0.0.100 -- 10.0.1.93, lease time 12h
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: using local addresses only for domain test
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: using local addresses only for domain onion
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: using local addresses only for domain localhost
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: using local addresses only for domain local
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: using local addresses only for domain invalid
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: using local addresses only for domain bind
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: using local addresses only for domain lan
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: reading /tmp/resolv.conf.auto
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: using local addresses only for domain test
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: using local addresses only for domain onion
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: using local addresses only for domain localhost
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: using local addresses only for domain local
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: using local addresses only for domain invalid
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: using local addresses only for domain bind
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: using local addresses only for domain lan
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: using nameserver 212.55.154.174#53
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: using nameserver 212.55.154.190#53
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: read /etc/hosts - 4 addresses
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq[2970]: read /tmp/hosts/dhcp.cfg01411c - 1 addresses
Tue Mar  5 09:00:06 2019 daemon.info dnsmasq-dhcp[2970]: read /etc/ethers - 0 addresses
Tue Mar  5 09:00:06 2019 daemon.notice hostapd: handle_probe_req: send failed
Tue Mar  5 09:00:07 2019 daemon.notice hostapd: handle_probe_req: send failed
Tue Mar  5 09:00:07 2019 daemon.notice hostapd: handle_probe_req: send failed
Tue Mar  5 09:00:08 2019 daemon.notice netifd: Interface 'wan6' is now up
Tue Mar  5 09:00:08 2019 daemon.info dnsmasq[2970]: reading /tmp/resolv.conf.auto
Tue Mar  5 09:00:08 2019 daemon.info dnsmasq[2970]: using local addresses only for domain test
Tue Mar  5 09:00:08 2019 daemon.info dnsmasq[2970]: using local addresses only for domain onion
Tue Mar  5 09:00:08 2019 daemon.info dnsmasq[2970]: using local addresses only for domain localhost
Tue Mar  5 09:00:08 2019 daemon.info dnsmasq[2970]: using local addresses only for domain local
Tue Mar  5 09:00:08 2019 daemon.info dnsmasq[2970]: using local addresses only for domain invalid
Tue Mar  5 09:00:08 2019 daemon.info dnsmasq[2970]: using local addresses only for domain bind
Tue Mar  5 09:00:08 2019 daemon.info dnsmasq[2970]: using local addresses only for domain lan
Tue Mar  5 09:00:08 2019 daemon.info dnsmasq[2970]: using nameserver 212.55.154.174#53
Tue Mar  5 09:00:08 2019 daemon.info dnsmasq[2970]: using nameserver 212.55.154.190#53
Tue Mar  5 09:00:08 2019 daemon.info dnsmasq[2970]: using nameserver 2001:8a0:2106:5:212:55:154:174#53
Tue Mar  5 09:00:08 2019 daemon.info dnsmasq[2970]: using nameserver 2001:8a0:2206:5:212:55:154:190#53
Tue Mar  5 09:00:08 2019 user.notice firewall: Reloading firewall due to ifup of wan6 (eth1.12)
Tue Mar  5 09:00:08 2019 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE->HT_SCAN
Tue Mar  5 09:00:08 2019 kern.debug kernel: [   22.710474] ieee80211 phy0: change: 0x100
Tue Mar  5 09:00:08 2019 daemon.err hostapd: Using interface wlan1 with hwaddr 24:f5:a2:2d:dd:a9 and ssid "Smells Like Teen Spirit"
Tue Mar  5 09:00:08 2019 kern.debug kernel: [   22.723547] ieee80211 phy0: change: 0x40
Tue Mar  5 09:00:08 2019 kern.debug kernel: [   22.727756] ieee80211 phy1: change: 0x100
Tue Mar  5 09:00:08 2019 kern.debug kernel: [   22.740123] ieee80211 phy1: change: 0x42
Tue Mar  5 09:00:08 2019 kern.info kernel: [   22.879165] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
Tue Mar  5 09:00:08 2019 kern.info kernel: [   22.885619] br-lan: port 3(wlan1) entered blocking state
Tue Mar  5 09:00:08 2019 kern.info kernel: [   22.890967] br-lan: port 3(wlan1) entered forwarding state
Tue Mar  5 09:00:08 2019 daemon.notice hostapd: wlan1: interface state COUNTRY_UPDATE->ENABLED
Tue Mar  5 09:00:08 2019 daemon.notice hostapd: wlan1: AP-ENABLED
Tue Mar  5 09:00:08 2019 kern.debug kernel: [   22.940119] ieee80211 phy0: change: 0x40
Tue Mar  5 09:00:08 2019 daemon.notice netifd: Network device 'wlan1' link is up
Tue Mar  5 09:00:08 2019 daemon.info hostapd: wlan1: STA 2c:3a:e8:4e:a0:47 IEEE 802.11: associated (aid 1)
Tue Mar  5 09:00:08 2019 daemon.notice hostapd: wlan1: AP-STA-CONNECTED 2c:3a:e8:4e:a0:47
Tue Mar  5 09:00:08 2019 daemon.info hostapd: wlan1: STA 00:06:66:93:9f:db IEEE 802.11: associated (aid 2)
Tue Mar  5 09:00:08 2019 daemon.notice hostapd: wlan1: AP-STA-CONNECTED 00:06:66:93:9f:db
Tue Mar  5 09:00:08 2019 kern.debug kernel: [   23.160120] ieee80211 phy0: change: 0x40
Tue Mar  5 09:00:08 2019 kern.debug kernel: [   23.260115] ieee80211 phy0: change: 0x100
Tue Mar  5 09:00:08 2019 daemon.err hostapd: Using interface wlan0 with hwaddr 24:f5:a2:2d:dd:aa and ssid "Smells Like Old"
Tue Mar  5 09:00:08 2019 kern.debug kernel: [   23.273384] ieee80211 phy0: change: 0x100
Tue Mar  5 09:00:08 2019 kern.debug kernel: [   23.286427] ieee80211 phy0: change: 0x42
Tue Mar  5 09:00:09 2019 kern.info kernel: [   23.457122] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Tue Mar  5 09:00:09 2019 kern.info kernel: [   23.463562] br-lan: port 2(wlan0) entered blocking state
Tue Mar  5 09:00:09 2019 kern.info kernel: [   23.468899] br-lan: port 2(wlan0) entered forwarding state
Tue Mar  5 09:00:09 2019 daemon.notice hostapd: wlan0: interface state HT_SCAN->ENABLED
Tue Mar  5 09:00:09 2019 daemon.notice hostapd: wlan0: AP-ENABLED
Tue Mar  5 09:00:09 2019 daemon.notice netifd: Network device 'wlan0' link is up
Tue Mar  5 09:00:09 2019 daemon.warn odhcpd[1792]: A default route is present but there is no public prefix on br-lan thus we don't announce a default route!
Tue Mar  5 09:00:09 2019 daemon.info hostapd: wlan1: STA 68:c6:3a:95:72:fe IEEE 802.11: associated (aid 3)
Tue Mar  5 09:00:09 2019 daemon.notice hostapd: wlan1: AP-STA-CONNECTED 68:c6:3a:95:72:fe
Tue Mar  5 09:00:11 2019 daemon.info dnsmasq-dhcp[2970]: DHCPDISCOVER(br-lan) 2c:3a:e8:4e:a0:47
Tue Mar  5 09:00:11 2019 daemon.info dnsmasq-dhcp[2970]: DHCPOFFER(br-lan) 10.0.0.189 2c:3a:e8:4e:a0:47
Tue Mar  5 09:00:11 2019 daemon.warn dnsmasq-dhcp[2970]: DHCP packet received on eth1 which has no address
Tue Mar  5 09:00:11 2019 daemon.info dnsmasq[2970]: read /etc/hosts - 4 addresses
Tue Mar  5 09:00:11 2019 daemon.info dnsmasq[2970]: read /tmp/hosts/odhcpd - 0 addresses
Tue Mar  5 09:00:11 2019 daemon.info dnsmasq[2970]: read /tmp/hosts/dhcp.cfg01411c - 1 addresses
Tue Mar  5 09:00:11 2019 daemon.info dnsmasq-dhcp[2970]: read /etc/ethers - 0 addresses
Tue Mar  5 09:00:12 2019 daemon.info hostapd: wlan1: STA 68:c6:3a:95:76:cc IEEE 802.11: associated (aid 4)
Tue Mar  5 09:00:12 2019 daemon.notice hostapd: wlan1: AP-STA-CONNECTED 68:c6:3a:95:76:cc
Tue Mar  5 09:00:14 2019 daemon.info hostapd: wlan1: STA 2c:3a:e8:4e:a0:47 IEEE 802.11: authenticated
Tue Mar  5 09:00:14 2019 daemon.info hostapd: wlan1: STA 00:06:66:93:9f:db IEEE 802.11: authenticated
Tue Mar  5 09:00:14 2019 daemon.info hostapd: wlan1: STA 68:c6:3a:95:72:fe IEEE 802.11: authenticated
Tue Mar  5 09:00:14 2019 daemon.info hostapd: wlan1: STA 68:c6:3a:95:76:cc IEEE 802.11: authenticated
Tue Mar  5 09:00:14 2019 daemon.info hostapd: wlan1: STA d8:63:75:18:1f:c0 IEEE 802.11: associated (aid 5)
Tue Mar  5 09:00:14 2019 daemon.notice hostapd: wlan1: AP-STA-CONNECTED d8:63:75:18:1f:c0
Tue Mar  5 09:00:15 2019 daemon.info dnsmasq-dhcp[2970]: DHCPDISCOVER(br-lan) 00:06:66:93:9f:db
Tue Mar  5 09:00:15 2019 daemon.info dnsmasq-dhcp[2970]: DHCPOFFER(br-lan) 10.0.0.157 00:06:66:93:9f:db
Tue Mar  5 09:00:15 2019 daemon.warn dnsmasq-dhcp[2970]: DHCP packet received on eth1 which has no address
Tue Mar  5 09:00:17 2019 daemon.info hostapd: wlan1: STA 5c:cf:7f:66:c0:b7 IEEE 802.11: associated (aid 6)
Tue Mar  5 09:00:17 2019 daemon.notice hostapd: wlan1: AP-STA-CONNECTED 5c:cf:7f:66:c0:b7
Tue Mar  5 09:00:19 2019 daemon.info dnsmasq-dhcp[2970]: DHCPDISCOVER(br-lan) 68:c6:3a:95:72:fe
Tue Mar  5 09:00:19 2019 daemon.info dnsmasq-dhcp[2970]: DHCPOFFER(br-lan) 10.0.0.111 68:c6:3a:95:72:fe
Tue Mar  5 09:00:19 2019 daemon.warn dnsmasq-dhcp[2970]: DHCP packet received on eth1 which has no address
Tue Mar  5 09:00:19 2019 daemon.info dnsmasq-dhcp[2970]: DHCPDISCOVER(br-lan) 2c:3a:e8:4e:a0:47
Tue Mar  5 09:00:19 2019 daemon.info dnsmasq-dhcp[2970]: DHCPOFFER(br-lan) 10.0.0.189 2c:3a:e8:4e:a0:47
01.03.20192156KernelBug ReportVery LowMediumcacheinfo kernel error on TD-W8970 v1TrunkUnconfirmed Task Description

See this at every boot. Does no happen on previous versions. Can this be related to random crash + auto-reboots I’m experiencing with this devices?
I have a TD-W8970 v1 with OpenWrt SNAPSHOT r9458-c8153722a2.

Fri Mar  1 11:09:10 2019 kern.err kernel: [    0.691124] cacheinfo: Failed to find cpu0 device node
Fri Mar  1 11:09:10 2019 kern.warn kernel: [    0.694921] cacheinfo: Unable to detect cache hierarchy for CPU 0
01.03.20192155Base systemBug ReportVery LowMediumDHCPv6 Client not working on 18.06.2openwrt-18.06Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

x86 generic ext4 combine / ar71xx generic

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

fresh install

- Steps to reproduce

create a new interface
choose dhcpv6 client(disable address, auto prefix length)

- Log

Fri Mar  1 07:05:29 2019 daemon.notice netifd: Interface 'LAN6' is setting up now
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): Usage: odhcp6c [options] <interface>
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900):
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): Feature options:
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-S <time>	Wait at least <time> sec for a DHCP-server (0)
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-N <mode>	Mode for requesting addresses [try|force|none]
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-P <length>	Request IPv6-Prefix (0 = auto)
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-F		Force IPv6-Prefix
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-V <class>	Set vendor-class option (base-16 encoded)
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-u <user-class> Set user-class option string
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-x <opt>:<val>	Add option opt (with value val) in sent packets (cumulative)
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 			Examples of IPv6 address, string and base-16 encoded options:
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 			-x dns:2001:2001::1,2001:2001::2 - option 23
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 			-x 15:office - option 15 (userclass)
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 			-x 0x1f4:ABBA - option 500
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 			-x 202:'"file"' - option 202
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-c <clientid>	Override client-ID (base-16 encoded 16-bit type + value)
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-i <iface-id>	Use a custom interface identifier for RA handling
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-r <options>	Options to be requested (comma-separated)
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-R		Do not request any options except those specified with -r
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-s <script>	Status update script (/usr/sbin/odhcp6c-update)
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-a		Don't send Accept Reconfigure option
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-f		Don't send Client FQDN option
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-k		Don't send a RELEASE when stopping
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-t <seconds>	Maximum timeout for DHCPv6-SOLICIT (120)
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-m <seconds>	Minimum time between accepting RA updates (3)
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-L		Ignore default lifetime for RDNSS records
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-U		Ignore Server Unicast option
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900):
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): Invocation options:
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-p <pidfile>	Set pidfile (/var/run/odhcp6c.pid)
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-d		Daemonize
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-e		Write logmessages to stderr
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-v		Increase logging verbosity
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900): 	-h		Show this help
Fri Mar  1 07:05:29 2019 daemon.notice netifd: LAN6 (15900):
Fri Mar  1 07:05:29 2019 daemon.notice netifd: Interface 'LAN6' is now down


looks like some script error, got usage output in logread

28.02.20192154OtherBug ReportVery LowMediumath10k: not supported (-95) (DFS)openwrt-18.06Unconfirmed Task Description

Forum discussion: https://forum.openwrt.org/t/ath10k-issues-5ghz-interface-not-starting-18-06-2/32214/13

Supply the following if possible:
- Device problem occurs on

Netgear R7800-100PES

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

OpenWrt 18.06.2 r7676-cddd7b4c77
hostapd	2018-05-21-62566bc2-5
hostapd-common	2018-05-21-62566bc2-5
ath10k-firmware-qca9984	2018-05-12-952afa49-1
kmod-ath	4.14.95+2017-11-01-9
kmod-ath10k	4.14.95+2017-11-01-9

- Steps to reproduce

  - Flashed factory image: https://openwrt.org/toh/netgear/r7800
  - opkg update
  - opkg remove wpad-mini
  - opkg install hostapd
  - wifi down
  - applied config file from below
  - wifi up

/etc/config/wireless

root@OpenWrt:~# cat /etc/config/wireless

config wifi-device 'radio0'
        option country 'AT'
        option type 'mac80211'
        option hwmode '11a'
        option path 'soc/1b500000.pci/pci0000:00/0000:00:00.0/0000:01:00.0'
        option disabled '0'
        option legacy_rates '0'
        option channel '100'
        option htmode 'VHT160'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option wpa_disable_eapol_key_retries '1'
        option ssid 'OpenWrt'
        option encryption 'psk2'
        option key 'XXX'

config wifi-device 'radio1'
        option type 'mac80211'
        option channel '11'
        option hwmode '11g'
        option path 'soc/1b700000.pci/pci0001:00/0001:00:00.0/0001:01:00.0'
        option htmode 'HT20'
        option disabled '1'

config wifi-iface 'default_radio1'
        option device 'radio1'
        option network 'lan'
        option mode 'ap'
        option ssid 'OpenWrt'
        option encryption 'none'


full system log

https://pastebin.com/JrVw32t3

relevant system log

Thu Feb 28 22:32:40 2019 user.notice mac80211: Failed command: iw phy phy0 set antenna all all
Thu Feb 28 22:32:40 2019 daemon.notice netifd: radio0 (804): command failed: Not supported (-95)
Thu Feb 28 22:32:40 2019 user.notice mac80211: Failed command: iw phy phy0 set distance 0
Thu Feb 28 22:32:40 2019 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
Thu Feb 28 22:33:23 2019 kern.info kernel: [   41.023462] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Thu Feb 28 22:33:23 2019 kern.info kernel: [   41.029465] br-lan: port 2(wlan0) entered blocking state
Thu Feb 28 22:33:23 2019 kern.info kernel: [   41.029497] br-lan: port 2(wlan0) entered disabled state
Thu Feb 28 22:33:23 2019 kern.info kernel: [   41.034197] device wlan0 entered promiscuous mode
Thu Feb 28 22:33:23 2019 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Thu Feb 28 22:33:23 2019 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE->HT_SCAN
Thu Feb 28 22:33:23 2019 user.notice dnsmasq: found already running DHCP-server on interface 'br-lan' refusing to start, use 'option force 1' to override
Thu Feb 28 22:33:23 2019 daemon.info dnsmasq[530]: read /etc/hosts - 4 addresses
Thu Feb 28 22:33:23 2019 daemon.info dnsmasq[530]: read /tmp/hosts/dhcp.cfg01411c - 0 addresses
Thu Feb 28 22:33:23 2019 daemon.notice hostapd: wlan0: interface state HT_SCAN->DFS
Thu Feb 28 22:33:23 2019 daemon.notice hostapd: wlan0: DFS-CAC-START freq=5500 chan=100 sec_chan=1, width=2, seg0=114, seg1=0, cac_time=60s
Thu Feb 28 22:33:23 2019 daemon.err hostapd: DFS start_dfs_cac() failed, -1
Thu Feb 28 22:33:23 2019 daemon.err hostapd: Interface initialization failed
Thu Feb 28 22:33:23 2019 daemon.notice hostapd: wlan0: interface state DFS->DISABLED
Thu Feb 28 22:33:23 2019 daemon.notice hostapd: wlan0: AP-DISABLED
Thu Feb 28 22:33:23 2019 daemon.notice hostapd: wlan0: interface state DISABLED->DISABLED
Thu Feb 28 22:33:23 2019 daemon.notice hostapd: wlan0: AP-DISABLED
Thu Feb 28 22:33:23 2019 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Thu Feb 28 22:33:23 2019 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0 wasn't started
Thu Feb 28 22:33:23 2019 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Thu Feb 28 22:33:23 2019 kern.info kernel: [   41.423511] device wlan0 left promiscuous mode
Thu Feb 28 22:33:23 2019 kern.info kernel: [   41.423650] br-lan: port 2(wlan0) entered disabled state
Thu Feb 28 22:33:23 2019 kern.warn kernel: [   41.474131] ath10k_pci 0000:01:00.0: peer-unmap-event: unknown peer id 1
Thu Feb 28 22:33:23 2019 daemon.notice hostapd: ELOOP: remaining socket: sock=21 eloop_data=0xb6ec9bf0 user_data=0 handler=0x3cef4
Thu Feb 28 22:33:23 2019 daemon.notice netifd: radio0 (804): cat: can't open '/var/run/wifi-phy0.pid': No such file or directory
Thu Feb 28 22:33:23 2019 daemon.notice netifd: radio0 (804): WARNING (wireless_add_process): executable path /usr/sbin/hostapd does not match process  path ()
Thu Feb 28 22:33:23 2019 daemon.notice netifd: radio0 (804): Command failed: Invalid argument

iw list

https://pastebin.com/NrYtQtqe

27.02.20192151KernelBug ReportVery LowMediumkmod-ipt-tproxy package doesn't have xt_socket.ko, just...openwrt-18.06Unconfirmed Task Description

branch: openwrt-18.06
commit: 9ee8c8daf43416b579b3bf99e389a4c8dac145cb
platform: mt7621
issue: kmod-ipt-tproxy package doesn’t have xt_socket.ko, just xt_TPROXY.ko.

The following is my result:

mt7621 default kernel version is 4.14.103, but xt_socket.ko depends on CONFIG_NF_SOCKET_IPV4 CONFIG_NF_SOCKET_IPV6.

diff --git a/package/kernel/linux/modules/netfilter.mk b/package/kernel/linux/modules/netfilter.mk
index 3a989104d7..3398f7ff3a 100644
--- a/package/kernel/linux/modules/netfilter.mk
+++ b/package/kernel/linux/modules/netfilter.mk
@@ -554,6 +554,8 @@ define KernelPackage/ipt-tproxy
   TITLE:=Transparent proxying support
   DEPENDS+=+kmod-ipt-conntrack +IPV6:kmod-nf-conntrack6 +IPV6:kmod-ip6tables
   KCONFIG:= \
+       CONFIG_NF_SOCKET_IPV4 \
+       CONFIG_NF_SOCKET_IPV6 \
        CONFIG_NETFILTER_XT_MATCH_SOCKET \
        CONFIG_NETFILTER_XT_TARGET_TPROXY
   FILES:= \

But, I don’t know how to add CONFIG_NF_SOCKET_IPV4 or CONFIG_NF_SOCKET_IPV6 based on kernel version that built


27.02.20192150KernelBug ReportVery LowHighCrashlogs are empty/borken - TD-W8970 v1AllUnconfirmed Task Description

Device TD-W8970 v1.
Lot of crashes, all does not produce anything on logs (even tried to crank up log levels and saving to USB, to be sure to read last lines logged, but no errors is shown).
After the automatic reboot I can see the message

Crashlog allocated RAM at address 0x3f00000

with logread.
No log file is generated inside

/sys/kernel/debug

.
I compiled a custom image with

/dev/mem

enabled and dumped the memory after 0x3f00000 (basically last MB of ram available) and I can only see the bytes “A1 EE DE AD” followed by ~1KB of “00” and after that probably other programs code.

In this thread there is the full explanation about how this device is currently unstable, and having no logs available makes debugging x10 times harder..

25.02.20192145Base systemBug ReportVery LowCriticalNo IPv4 adresses offered on LAN of GL-AR150 if no LAN c...openwrt-18.06Unconfirmed Task Description

This is 100 % reproducible with a fresh and unchanged installation of OpenWRT 18.06.2 on a GL-Inet GL-AR150, and it gave me quite some headache until I found out what’s happening here:

If a LAN cable is plugged during the device’s boot process and one does a DHCP request when it’s ready, the router offers an IPv4 address (as expected) and one can access it on 192.168.1.1. This is also the case for a DHCP request via WLAN, as soon as one does enable it.

If however the device is powered up without a LAN cable being plugged, no IPv4 address will be offered, neither for a LAN nor for a WLAN connection. One can connect to the router via the IPv6 address to be found in /etc/resov.conf (on the client) though, but not via IPv4. This is also the case if a LAN cable is plugged after booting.

Looking at /var/etc/dnsmasq.conf.cfg01411c, it does contain the line

  dhcp-range=set:lan,192.168.1.100,192.168.1.249,255.255.255.0,12h

if a LAN cable has been plugged during bootup, and no such entry if none has been plugged.

This makes the device completely unusable for what I intend to use it ... as this happens with a completely unaltered, fresh installation, I suppose this is no misconfiguration but a bug?

25.02.20192144Base systemBug ReportVery LowLowMissing ipv4 network on gl-ar150 routeropenwrt-18.06Unconfirmed Task Description

The router gl-ar150 extern antenna have wifi wlan0, lan eth1 and wan eth0 when
it is booted with wan connected and not lan connected.
The ipv4 network is not available over the wifi. When the lan is connected during
boot there is no problem.

There have been similar problems before.
Bug [ FS#763 ](https://bugs.openwrt.org/index.php?do=details&task_id=763&status%5B0%5D=)

Connecting the lan after boot does not help. Stoping and starting the dnsmasq after
boot solves the problem.

I am using 18.06.2 and it is also in 18.06.1 I do not know when it started.

To me it looks like the etc/init.d/dnsmasq have run with variable $BOOT sat this
does not configure the dhcp so there will be no dhcp ipv4 range in dnsmesq.conf.cfg01411c

“dhcp-range=set:lan,192.168.8.100,192.168.8.249,255.255.255.0,12h”

and no ip addresses in dhcp.conf.cfg01411c

“192.168.8.1 GL-AR150
fdf8:514b:e97a::1 GL-AR150”

This result in no dhcp server on ipv4.

When lan is plug in the during boot the dnsmesq is retarted
dmseg: Mon Feb 25 10:07:21 2019 daemon.info dnsmasq[744]: exiting on receipt of SIGTERM
and the dhcp is configured.

It is my first time looking at a openwrt so I maybe wayoff,
I have time to dig deeper but without someone to anwser a few question
that seems like a lost cause.

Please let me know if you need more information.

Here is what I used to look through.

The network config:

config interface ‘loopback’

option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'

config globals ‘globals’

option ula_prefix 'fdf8:514b:e97a::/48'

config interface ‘lan’

option ifname 'eth1'
option force_link '1'
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option hostname 'GL-AR150-881'
option ipaddr '192.168.8.1'

config interface ‘wan’

option ifname 'eth0'
option proto 'dhcp'
option hostname 'GL-AR150-881'

config interface ‘wan6’

option ifname 'eth0'
option proto 'dhcpv6'

The dhcp config is:

config dnsmasq

option domainneeded '1'
option boguspriv '1'
option filterwin2k '0'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option nonegcache '0'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.auto'
option localservice '1'

config dhcp ‘lan’

option interface 'lan'
option start '100'
option limit '150'
option leasetime '12h'
option dhcpv6 'server'
option ra 'server'

config dhcp ‘wan’

option interface 'wan'
option ignore '1'

config odhcpd ‘odhcpd’

option maindhcp '0'
option leasefile '/tmp/hosts/odhcpd'
option leasetrigger '/usr/sbin/odhcpd-update'

It generated the files config files for dnsmasq and dns:

## Not Working generated files:

```
root@GL-AR150:~# cat /var/etc/dnsmasq.conf.cfg01411c
# auto-generated config file from /etc/config/dhcp
conf-file=/etc/dnsmasq.conf
dhcp-authoritative
domain-needed
localise-queries
read-ethers
enable-ubus
expand-hosts
bind-dynamic
local-service
domain=lan
server=/lan/
dhcp-leasefile=/tmp/dhcp.leases
resolv-file=/tmp/resolv.conf.auto
stop-dns-rebind
rebind-localhost-ok
dhcp-broadcast=tag:needs-broadcast
addn-hosts=/tmp/hosts
conf-dir=/tmp/dnsmasq.d
user=dnsmasq
group=dnsmasq

dhcp-ignore-names=tag:dhcp_bogus_hostname
conf-file=/usr/share/dnsmasq/dhcpbogushostname.conf

bogus-priv
conf-file=/usr/share/dnsmasq/rfc6761.conf

root@GL-AR150:~# cat /tmp/hosts/dhcp.cfg01411c
# auto-generated config file from /etc/config/dhcp

root@GL-AR150:~# logread
Mon Feb 25 09:49:41 2019 daemon.info hostapd: wlan0: STA 00:18:de:6e:1c:66 IEEE 802.11: authenticated
Mon Feb 25 09:49:41 2019 daemon.info hostapd: wlan0: STA 00:18:de:6e:1c:66 IEEE 802.11: associated (aid 1)
Mon Feb 25 09:49:41 2019 daemon.notice hostapd: wlan0: AP-STA-CONNECTED 00:18:de:6e:1c:66
Mon Feb 25 09:49:41 2019 daemon.info hostapd: wlan0: STA 00:18:de:6e:1c:66 WPA: pairwise key handshake completed (RSN)
Mon Feb 25 09:49:42 2019 daemon.info odhcpd[860]: Using a RA lifetime of 0 seconds on br-lan
Mon Feb 25 09:49:43 2019 daemon.notice odhcpd[860]: Got DHCPv6 request
Mon Feb 25 09:49:43 2019 daemon.warn odhcpd[860]: DHCPV6 CONFIRM IA_NA from 000496f7799bee5e4d0c1d09e6b7af698e42 on br-lan: not on-link
Mon Feb 25 09:49:43 2019 daemon.info dnsmasq[744]: read /etc/hosts - 1 addresses
Mon Feb 25 09:49:43 2019 daemon.info dnsmasq[744]: read /tmp/hosts/odhcpd - 0 addresses
Mon Feb 25 09:49:43 2019 daemon.info dnsmasq[744]: read /tmp/hosts/dhcp.cfg01411c - 0 addresses
Mon Feb 25 09:49:44 2019 daemon.notice odhcpd[860]: Got DHCPv6 request
Mon Feb 25 09:49:44 2019 daemon.warn odhcpd[860]: DHCPV6 SOLICIT IA_NA from 000496f7799bee5e4d0c1d09e6b7af698e42 on br-lan: ok fdf8:514b:e97a::aa7/128
Mon Feb 25 09:49:45 2019 daemon.notice odhcpd[860]: Got DHCPv6 request
Mon Feb 25 09:49:45 2019 daemon.warn odhcpd[860]: DHCPV6 REQUEST IA_NA from 000496f7799bee5e4d0c1d09e6b7af698e42 on br-lan: ok fdf8:514b:e97a::aa7/128
Mon Feb 25 09:49:45 2019 daemon.info dnsmasq[744]: read /etc/hosts - 1 addresses
Mon Feb 25 09:49:45 2019 daemon.info dnsmasq[744]: read /tmp/hosts/odhcpd - 1 addresses
Mon Feb 25 09:49:45 2019 daemon.info dnsmasq[744]: read /tmp/hosts/dhcp.cfg01411c - 0 addresses
Mon Feb 25 09:50:23 2019 kern.notice kernel: [ 83.422055] random: crng init done
Mon Feb 25 09:50:56 2019 authpriv.info dropbear[1448]: Child connection from fdf8:514b:e97a::aa7:41489
Mon Feb 25 09:51:06 2019 authpriv.notice dropbear[1448]: Password auth succeeded for ‘root’ from fdf8:514b:e97a::aa7:41489

root@GL-AR150:~# dmesg
[ 0.000000] Linux version 4.9.152 (buildbot@builds-03.infra.lede-project.org) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7549-217219e) ) #0 Mon Jan 28 08:54:32 2019
[ 0.000000] MyLoader: sysp=a1a4a4a4, boardp=e5e4b5a5, parts=85a124a5
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR9330 rev 1
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0×0000000000000000-0x0000000003ffffff]
[ 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] On node 0 totalpages: 16384
[ 0.000000] free_area_init_node: node 0, pgdat 8044a204, node_mem_map 81000020
[ 0.000000] Normal zone: 128 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 16384 pages, LIFO batch:3
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: board=GL-AR150 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,16000k(firmware),64k(art)ro console=ttyATH0,115200 rootfstype=squashfs noinitrd
[ 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: 60028K/65536K available (3388K kernel code, 175K rwdata, 448K rodata, 268K init, 211K bss, 5508K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[ 0.000014] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[ 0.007586] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[ 0.088757] pid_max: default: 32768 minimum: 301
[ 0.093347] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.099512] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.110351] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.118390] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.126123] NET: Registered protocol family 16
[ 0.131127] MIPS: machine is GL.iNet GL-AR150
[ 0.656270] Can’t analyze schedule() prologue at 803ab684
[ 0.678677] clocksource: Switched to clocksource MIPS
[ 0.683646] NET: Registered protocol family 2
[ 0.687874] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.693233] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.699289] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.705467] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.710955] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.717204] NET: Registered protocol family 1
[ 0.721121] PCI: CLS 0 bytes, default 32
[ 0.726262] Crashlog allocated RAM at address 0x3f00000
[ 0.731589] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.746787] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.751040] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
[ 0.773573] io scheduler noop registered
[ 0.775940] io scheduler deadline registered (default)
[ 0.781508] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.791012] ar933x-uart: ttyATH0 at MMIO 0×18020000 (irq = 11, base_baud = 1562500) is a AR933X UART
[ 0.798858] console [ttyATH0] enabled
[ 0.805643] bootconsole [early0] disabled
[ 0.822053] m25p80 spi0.0: found w25q128, expected m25p80
[ 0.836830] m25p80 spi0.0: w25q128 (16384 Kbytes)
[ 0.840146] 4 cmdlinepart partitions found on MTD device spi0.0
[ 0.845982] Creating 4 MTD partitions on “spi0.0”:
[ 0.850804] 0×000000000000-0×000000040000 : “u-boot” [ 0.858506] 0×000000040000-0×000000050000 : “u-boot-env” [ 0.865390] 0×000000050000-0x000000ff0000 : “firmware” [ 0.887313] 2 uimage-fw partitions found on MTD device firmware
[ 0.891855] 0×000000050000-0x0000001b0000 : “kernel” [ 0.898948] 0x0000001b0000-0x000000ff0000 : “rootfs” [ 0.904892] mtd: device 4 (rootfs) set to be root filesystem
[ 0.909224] 1 squashfs-split partitions found on MTD device rootfs
[ 0.915276] 0×000000400000-0x000000ff0000 : “rootfs_data” [ 0.923740] 0x000000ff0000-0×000001000000 : “art” [ 0.931475] libphy: Fixed MDIO Bus: probed
[ 0.954443] libphy: ag71xx_mdio: probed
[ 1.580395] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[ 1.589186] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[ 2.220160] ag71xx-mdio.1: Found an AR7240/AR9330 built-in switch
[ 2.262279] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[ 2.269488] NET: Registered protocol family 10
[ 2.277802] NET: Registered protocol family 17
[ 2.280958] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 2.293923] 8021q: 802.1Q VLAN Support v1.8
[ 2.300394] hctosys: unable to open rtc device (rtc0)
[ 2.310592] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 2.318255] Freeing unused kernel memory: 268K
[ 2.321298] This architecture does not have kernel memory protection.
[ 2.538693] random: fast init done
[ 3.185428] init: Console is alive
[ 3.187695] init: - watchdog -
[ 4.405403] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 4.494256] usbcore: registered new interface driver usbfs
[ 4.498406] usbcore: registered new interface driver hub
[ 4.503826] usbcore: registered new device driver usb
[ 4.516294] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 4.523662] ehci-platform: EHCI generic platform driver
[ 4.527554] ehci-platform ehci-platform: EHCI Host Controller
[ 4.533306] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 4.543246] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[ 4.568732] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 4.574818] hub 1-0:1.0: USB hub found
[ 4.577726] hub 1-0:1.0: 1 port detected
[ 4.582545] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 4.591909] init: - preinit -
[ 5.549495] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 7.610162] eth0: link up (100Mbps/Full duplex)
[ 7.613286] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 8.936801] jffs2: notice: (397) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 8.953615] mount_root: switching to jffs2 overlay
[ 8.997220] urandom-seed: Seeding with /etc/urandom.seed
[ 9.278860] eth0: link down
[ 9.298174] procd: - early -
[ 9.299856] procd: - watchdog -
[ 9.986373] procd: - watchdog -
[ 9.988456] procd: - ubus -
[ 10.132306] random: ubusd: uninitialized urandom read (4 bytes read)
[ 10.140757] random: ubusd: uninitialized urandom read (4 bytes read)
[ 10.146320] random: ubusd: uninitialized urandom read (4 bytes read)
[ 10.153493] procd: - init -
[ 10.809144] kmodloader: loading kernel modules from /etc/modules.d/*
[ 10.820985] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 10.841495] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[ 10.848047] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[ 10.859097] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 10.875467] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[ 10.950543] usbcore: registered new interface driver usbserial
[ 10.955075] usbcore: registered new interface driver usbserial_generic
[ 10.961678] usbserial: USB Serial support registered for generic
[ 10.994372] xt_time: kernel timezone is -0000
[ 11.070685] usbcore: registered new interface driver pl2303
[ 11.074937] usbserial: USB Serial support registered for pl2303
[ 11.086021] PPP generic driver version 2.4.2
[ 11.092573] NET: Registered protocol family 24
[ 11.151352] ath: EEPROM regdomain: 0×0 [ 11.151367] ath: EEPROM indicates default country code should be used
[ 11.151372] ath: doing EEPROM country→regdmn map search
[ 11.151392] ath: country maps to regdmn code: 0x3a
[ 11.151400] ath: Country alpha2 being used: US
[ 11.151406] ath: Regpair used: 0x3a
[ 11.163466] ieee80211 phy0: Selected rate control algorithm ‘minstrel_ht’ [ 11.169719] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[ 11.213249] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 12.897104] urandom_read: 5 callbacks suppressed
[ 12.897117] random: jshn: uninitialized urandom read (4 bytes read)
[ 13.017028] random: ubusd: uninitialized urandom read (4 bytes read)
[ 26.704844] br-lan: port 1(eth1) entered blocking state
[ 26.708623] br-lan: port 1(eth1) entered disabled state
[ 26.714484] device eth1 entered promiscuous mode
[ 26.763278] br-lan: port 1(eth1) entered blocking state
[ 26.767063] br-lan: port 1(eth1) entered forwarding state
[ 26.772776] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 26.851480] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 27.688843] br-lan: port 1(eth1) entered disabled state
[ 28.970259] eth0: link up (100Mbps/Full duplex)
[ 28.973396] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 31.832881] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 31.854346] br-lan: port 2(wlan0) entered blocking state
[ 31.858211] br-lan: port 2(wlan0) entered disabled state
[ 31.864200] device wlan0 entered promiscuous mode
[ 33.149847] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 33.155015] br-lan: port 2(wlan0) entered blocking state
[ 33.160147] br-lan: port 2(wlan0) entered forwarding state
[ 33.182461] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 83.422055] random: crng init done

```

## Working generated files:

```
root@GL-AR150:~# cat /var/etc/dnsmasq.conf.cfg01411c
# auto-generated config file from /etc/config/dhcp
conf-file=/etc/dnsmasq.conf
dhcp-authoritative
domain-needed
localise-queries
read-ethers
enable-ubus
expand-hosts
bind-dynamic
local-service
domain=lan
server=/lan/
dhcp-leasefile=/tmp/dhcp.leases
resolv-file=/tmp/resolv.conf.auto
stop-dns-rebind
rebind-localhost-ok
dhcp-broadcast=tag:needs-broadcast
addn-hosts=/tmp/hosts
conf-dir=/tmp/dnsmasq.d
user=dnsmasq
group=dnsmasq

dhcp-ignore-names=tag:dhcp_bogus_hostname
conf-file=/usr/share/dnsmasq/dhcpbogushostname.conf

bogus-priv
conf-file=/usr/share/dnsmasq/rfc6761.conf
dhcp-range=set:lan,192.168.8.100,192.168.8.249,255.255.255.0,12h
no-dhcp-interface=eth0

root@GL-AR150:~# cat /tmp/hosts/dhcp.cfg01411c
# auto-generated config file from /etc/config/dhcp
192.168.8.1 GL-AR150
fdf8:514b:e97a::1 GL-AR150

root@GL-AR150:~# logread
Mon Feb 25 10:07:21 2019 daemon.notice odhcpd[860]: Got DHCPv6 request
Mon Feb 25 10:07:21 2019 daemon.warn odhcpd[860]: DHCPV6 REQUEST IA_NA from 000496f7799bee5e4d0c1d09e6b7af698e42 on br-lan: ok fdf8:514b:e97a::aa7/128
Mon Feb 25 10:07:21 2019 daemon.info dnsmasq[744]: read /etc/hosts - 1 addresses
Mon Feb 25 10:07:21 2019 daemon.info dnsmasq[744]: read /tmp/hosts/dhcp.cfg01411c.1130 - 0 addresses
Mon Feb 25 10:07:21 2019 daemon.info dnsmasq[744]: read /tmp/hosts/odhcpd - 1 addresses
Mon Feb 25 10:07:21 2019 daemon.info dnsmasq[744]: read /tmp/hosts/dhcp.cfg01411c - 0 addresses
Mon Feb 25 10:07:21 2019 daemon.info dnsmasq[744]: exiting on receipt of SIGTERM
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: started, version 2.80 cachesize 150
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: DNS service limited to local subnets
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC no-ID loop-detect inotify dumpfile
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq-dhcp[1407]: DHCP, IP range 192.168.8.100 – 192.168.8.249, lease time 12h
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: using local addresses only for domain test
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: using local addresses only for domain onion
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: using local addresses only for domain localhost
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: using local addresses only for domain local
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: using local addresses only for domain invalid
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: using local addresses only for domain bind
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: using local addresses only for domain lan
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: reading /tmp/resolv.conf.auto
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: using local addresses only for domain test
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: using local addresses only for domain onion
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: using local addresses only for domain localhost
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: using local addresses only for domain local
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: using local addresses only for domain invalid
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: using local addresses only for domain bind
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: using local addresses only for domain lan
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: using nameserver 192.168.1.1#53
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: read /etc/hosts - 1 addresses
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: read /tmp/hosts/odhcpd - 1 addresses
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: read /tmp/hosts/dhcp.cfg01411c - 2 addresses
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq-dhcp[1407]: read /etc/ethers - 0 addresses
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: read /etc/hosts - 1 addresses
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: read /tmp/hosts/odhcpd - 1 addresses
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq[1407]: read /tmp/hosts/dhcp.cfg01411c - 2 addresses
Mon Feb 25 10:07:22 2019 daemon.info dnsmasq-dhcp[1407]: read /etc/ethers - 0 addresses
Mon Feb 25 10:07:24 2019 daemon.info hostapd: wlan0: STA 00:18:de:6e:1c:66 IEEE 802.11: authenticated
Mon Feb 25 10:07:24 2019 daemon.info hostapd: wlan0: STA 00:18:de:6e:1c:66 IEEE 802.11: associated (aid 1)
Mon Feb 25 10:07:24 2019 daemon.notice hostapd: wlan0: AP-STA-CONNECTED 00:18:de:6e:1c:66
Mon Feb 25 10:07:24 2019 daemon.info hostapd: wlan0: STA 00:18:de:6e:1c:66 WPA: pairwise key handshake completed (RSN)
Mon Feb 25 10:07:25 2019 daemon.info odhcpd[860]: Using a RA lifetime of 0 seconds on br-lan
Mon Feb 25 10:07:26 2019 daemon.notice odhcpd[860]: Got DHCPv6 request
Mon Feb 25 10:07:26 2019 daemon.warn odhcpd[860]: DHCPV6 CONFIRM IA_NA from 000496f7799bee5e4d0c1d09e6b7af698e42 on br-lan: not on-link
Mon Feb 25 10:07:26 2019 daemon.notice odhcpd[860]: Got DHCPv6 request
Mon Feb 25 10:07:26 2019 daemon.warn odhcpd[860]: DHCPV6 SOLICIT IA_NA from 000496f7799bee5e4d0c1d09e6b7af698e42 on br-lan: ok fdf8:514b:e97a::367/128
Mon Feb 25 10:07:27 2019 daemon.info dnsmasq-dhcp[1407]: DHCPDISCOVER(br-lan) 192.168.8.172 00:18:de:6e:1c:66
Mon Feb 25 10:07:27 2019 daemon.info dnsmasq-dhcp[1407]: DHCPOFFER(br-lan) 192.168.8.172 00:18:de:6e:1c:66
Mon Feb 25 10:07:27 2019 daemon.notice odhcpd[860]: Got DHCPv6 request
Mon Feb 25 10:07:27 2019 daemon.warn odhcpd[860]: DHCPV6 REQUEST IA_NA from 000496f7799bee5e4d0c1d09e6b7af698e42 on br-lan: ok fdf8:514b:e97a::367/128
Mon Feb 25 10:07:30 2019 authpriv.info dropbear[1454]: Child connection from fdf8:514b:e97a::aa7:43476
Mon Feb 25 10:07:30 2019 daemon.info dnsmasq-dhcp[1407]: DHCPDISCOVER(br-lan) 192.168.8.208 00:16:36:9a:49:c5
Mon Feb 25 10:07:30 2019 daemon.info dnsmasq-dhcp[1407]: DHCPOFFER(br-lan) 192.168.8.208 00:16:36:9a:49:c5
Mon Feb 25 10:07:30 2019 daemon.info dnsmasq[1407]: read /etc/hosts - 1 addresses
Mon Feb 25 10:07:30 2019 daemon.info dnsmasq[1407]: read /tmp/hosts/odhcpd - 2 addresses
Mon Feb 25 10:07:30 2019 daemon.info dnsmasq[1407]: read /tmp/hosts/dhcp.cfg01411c - 2 addresses
Mon Feb 25 10:07:30 2019 daemon.info dnsmasq-dhcp[1407]: read /etc/ethers - 0 addresses
Mon Feb 25 10:07:30 2019 daemon.info dnsmasq-dhcp[1407]: DHCPREQUEST(br-lan) 192.168.8.172 00:18:de:6e:1c:66
Mon Feb 25 10:07:30 2019 daemon.info dnsmasq-dhcp[1407]: DHCPACK(br-lan) 192.168.8.172 00:18:de:6e:1c:66 acer3043
Mon Feb 25 10:07:30 2019 daemon.info dnsmasq-dhcp[1407]: DHCPREQUEST(br-lan) 192.168.8.172 00:18:de:6e:1c:66
Mon Feb 25 10:07:30 2019 daemon.info dnsmasq-dhcp[1407]: DHCPACK(br-lan) 192.168.8.172 00:18:de:6e:1c:66 acer3043
Mon Feb 25 10:07:39 2019 authpriv.notice dropbear[1454]: Password auth succeeded for ‘root’ from fdf8:514b:e97a::aa7:43476
Mon Feb 25 10:08:05 2019 kern.notice kernel: [ 78.808586] random: crng init done
Mon Feb 25 10:08:06 2019 daemon.info dnsmasq-dhcp[1407]: DHCPDISCOVER(br-lan) 00:16:36:9a:49:c5
Mon Feb 25 10:08:06 2019 daemon.info dnsmasq-dhcp[1407]: DHCPOFFER(br-lan) 192.168.8.208 00:16:36:9a:49:c5
Mon Feb 25 10:08:06 2019 daemon.info dnsmasq-dhcp[1407]: DHCPREQUEST(br-lan) 192.168.8.208 00:16:36:9a:49:c5
Mon Feb 25 10:08:06 2019 daemon.info dnsmasq-dhcp[1407]: DHCPACK(br-lan) 192.168.8.208 00:16:36:9a:49:c5 acer3043

root@GL-AR150:~# dmesg
[ 0.000000] Linux version 4.9.152 (buildbot@builds-03.infra.lede-project.org) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7549-217219e) ) #0 Mon Jan 28 08:54:32 2019
[ 0.000000] MyLoader: sysp=a1a4a4a4, boardp=e5e4b5a5, parts=85a124a5
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR9330 rev 1
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0×0000000000000000-0x0000000003ffffff]
[ 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] On node 0 totalpages: 16384
[ 0.000000] free_area_init_node: node 0, pgdat 8044a204, node_mem_map 81000020
[ 0.000000] Normal zone: 128 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 16384 pages, LIFO batch:3
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: board=GL-AR150 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,16000k(firmware),64k(art)ro console=ttyATH0,115200 rootfstype=squashfs noinitrd
[ 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: 60028K/65536K available (3388K kernel code, 175K rwdata, 448K rodata, 268K init, 211K bss, 5508K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[ 0.000014] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[ 0.007585] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[ 0.088756] pid_max: default: 32768 minimum: 301
[ 0.093346] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.099512] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.110350] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.118389] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.126124] NET: Registered protocol family 16
[ 0.131127] MIPS: machine is GL.iNet GL-AR150
[ 0.656269] Can’t analyze schedule() prologue at 803ab684
[ 0.678678] clocksource: Switched to clocksource MIPS
[ 0.683647] NET: Registered protocol family 2
[ 0.687874] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.693233] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.699288] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.705467] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.710954] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.717204] NET: Registered protocol family 1
[ 0.721120] PCI: CLS 0 bytes, default 32
[ 0.726263] Crashlog allocated RAM at address 0x3f00000
[ 0.731589] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.746786] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.751039] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
[ 0.773570] io scheduler noop registered
[ 0.775940] io scheduler deadline registered (default)
[ 0.781508] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.791012] ar933x-uart: ttyATH0 at MMIO 0×18020000 (irq = 11, base_baud = 1562500) is a AR933X UART
[ 0.798858] console [ttyATH0] enabled
[ 0.805642] bootconsole [early0] disabled
[ 0.822054] m25p80 spi0.0: found w25q128, expected m25p80
[ 0.836940] m25p80 spi0.0: w25q128 (16384 Kbytes)
[ 0.840259] 4 cmdlinepart partitions found on MTD device spi0.0
[ 0.846095] Creating 4 MTD partitions on “spi0.0”:
[ 0.850916] 0×000000000000-0×000000040000 : “u-boot” [ 0.858619] 0×000000040000-0×000000050000 : “u-boot-env” [ 0.865504] 0×000000050000-0x000000ff0000 : “firmware” [ 0.887436] 2 uimage-fw partitions found on MTD device firmware
[ 0.891977] 0×000000050000-0x0000001b0000 : “kernel” [ 0.899072] 0x0000001b0000-0x000000ff0000 : “rootfs” [ 0.905016] mtd: device 4 (rootfs) set to be root filesystem
[ 0.909346] 1 squashfs-split partitions found on MTD device rootfs
[ 0.915399] 0×000000400000-0x000000ff0000 : “rootfs_data” [ 0.923861] 0x000000ff0000-0×000001000000 : “art” [ 0.931592] libphy: Fixed MDIO Bus: probed
[ 0.954535] libphy: ag71xx_mdio: probed
[ 1.580396] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[ 1.589185] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[ 2.220161] ag71xx-mdio.1: Found an AR7240/AR9330 built-in switch
[ 2.262280] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[ 2.269486] NET: Registered protocol family 10
[ 2.277791] NET: Registered protocol family 17
[ 2.280949] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 2.293914] 8021q: 802.1Q VLAN Support v1.8
[ 2.300379] hctosys: unable to open rtc device (rtc0)
[ 2.310576] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 2.318237] Freeing unused kernel memory: 268K
[ 2.321280] This architecture does not have kernel memory protection.
[ 2.538694] random: fast init done
[ 3.185487] init: Console is alive
[ 3.187760] init: - watchdog -
[ 4.406216] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 4.495067] usbcore: registered new interface driver usbfs
[ 4.499330] usbcore: registered new interface driver hub
[ 4.504539] usbcore: registered new device driver usb
[ 4.517118] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 4.524476] ehci-platform: EHCI generic platform driver
[ 4.528370] ehci-platform ehci-platform: EHCI Host Controller
[ 4.534120] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 4.544062] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[ 4.578732] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 4.584875] hub 1-0:1.0: USB hub found
[ 4.587725] hub 1-0:1.0: 1 port detected
[ 4.592472] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 4.609129] init: - preinit -
[ 5.567562] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 7.691291] eth0: link up (100Mbps/Full duplex)
[ 7.694417] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 8.971058] jffs2: notice: (397) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 8.987808] mount_root: switching to jffs2 overlay
[ 9.031937] urandom-seed: Seeding with /etc/urandom.seed
[ 9.312744] eth0: link down
[ 9.332255] procd: - early -
[ 9.333820] procd: - watchdog -
[ 10.023062] procd: - watchdog -
[ 10.025158] procd: - ubus -
[ 10.168622] random: ubusd: uninitialized urandom read (4 bytes read)
[ 10.177067] random: ubusd: uninitialized urandom read (4 bytes read)
[ 10.182692] random: ubusd: uninitialized urandom read (4 bytes read)
[ 10.189760] procd: - init -
[ 10.846238] kmodloader: loading kernel modules from /etc/modules.d/*
[ 10.858294] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 10.878875] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[ 10.885425] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[ 10.896442] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 10.912859] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[ 10.988460] usbcore: registered new interface driver usbserial
[ 10.993104] usbcore: registered new interface driver usbserial_generic
[ 10.999542] usbserial: USB Serial support registered for generic
[ 11.032383] xt_time: kernel timezone is -0000
[ 11.109304] usbcore: registered new interface driver pl2303
[ 11.113558] usbserial: USB Serial support registered for pl2303
[ 11.124655] PPP generic driver version 2.4.2
[ 11.131248] NET: Registered protocol family 24
[ 11.190177] ath: EEPROM regdomain: 0×0 [ 11.190191] ath: EEPROM indicates default country code should be used
[ 11.190196] ath: doing EEPROM country→regdmn map search
[ 11.190217] ath: country maps to regdmn code: 0x3a
[ 11.190225] ath: Country alpha2 being used: US
[ 11.190230] ath: Regpair used: 0x3a
[ 11.202188] ieee80211 phy0: Selected rate control algorithm ‘minstrel_ht’ [ 11.208321] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[ 11.251934] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 12.952349] urandom_read: 5 callbacks suppressed
[ 12.952361] random: jshn: uninitialized urandom read (4 bytes read)
[ 13.072732] random: ubusd: uninitialized urandom read (4 bytes read)
[ 26.754774] br-lan: port 1(eth1) entered blocking state
[ 26.758554] br-lan: port 1(eth1) entered disabled state
[ 26.764414] device eth1 entered promiscuous mode
[ 26.828954] br-lan: port 1(eth1) entered blocking state
[ 26.832741] br-lan: port 1(eth1) entered forwarding state
[ 26.838364] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 26.901696] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 27.854373] br-lan: port 1(eth1) entered disabled state
[ 28.389995] eth1: link up (1000Mbps/Full duplex)
[ 28.393227] br-lan: port 1(eth1) entered blocking state
[ 28.398386] br-lan: port 1(eth1) entered forwarding state
[ 28.498975] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 28.970283] eth0: link up (100Mbps/Full duplex)
[ 28.973401] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 32.072841] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 32.094353] br-lan: port 2(wlan0) entered blocking state
[ 32.098220] br-lan: port 2(wlan0) entered disabled state
[ 32.104221] device wlan0 entered promiscuous mode
[ 33.421666] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 33.426833] br-lan: port 2(wlan0) entered blocking state
[ 33.431962] br-lan: port 2(wlan0) entered forwarding state
[ 78.808586] random: crng init done
```

 


23.02.20192141Base systemBug ReportVery LowHighOn router Linksys EA6350v3, Luci shows missing port on ...TrunkUnconfirmed Task Description

Hi!

I am using OpenWRT development from Feb21 on my Linksys EA6350v3 router. So far, everything works fine, however I am trying to setup the WAN port with a VLAN, but if I access: Luci → Network → Switch it only displays the CPU port and the 4 LAN ports, the WAN port is not displayed, but if I access the router via SSH, then the port is there on swconfig:

root@wl:~# swconfig dev switch0 show
Global attributes:

enable_vlan: 1
enable_mirror_rx: 0
enable_mirror_tx: 0
mirror_monitor_port: 0
mirror_source_port: 0
linkdown: ???

Port 0:

mib: Port 0 MIB counters

RxBroad : 722
RxPause : 0
RxMulti : 2898
RxFcsErr : 0
RxAlignErr : 0
RxRunt : 0
RxFragment : 0
Rx64Byte : 34565
Rx128Byte : 717134
Rx256Byte : 12692
Rx512Byte : 7510
Rx1024Byte : 7809
Rx1518Byte : 141976
RxMaxByte : 193165
RxTooLong : 0
RxGoodByte : 573563874
RxBadByte : 0
RxOverFlow : 0
Filtered : 4
TxBroad : 3813
TxPause : 0
TxMulti : 73600
TxUnderRun : 0
Tx64Byte : 62619
Tx128Byte : 115302
Tx256Byte : 15655
Tx512Byte : 41091
Tx1024Byte : 34454
Tx1518Byte : 2869708
TxMaxByte : 0
TxOverSize : 0
TxByte : 4378564661
TxCollision : 0
TxAbortCol : 0
TxMultiCol : 0
TxSingleCol : 0
TxExcDefer : 0
TxDefer : 0
TxLateCol : 0

pvid: 1
link: port:0 link:up speed:1000baseT full-duplex txflow rxflow 

Port 1:

mib: Port 1 MIB counters

RxBroad : 10
RxPause : 0
RxMulti : 126
RxFcsErr : 0
RxAlignErr : 0
RxRunt : 0
RxFragment : 0
Rx64Byte : 40
Rx128Byte : 534
Rx256Byte : 313
Rx512Byte : 38
Rx1024Byte : 18
Rx1518Byte : 15
RxMaxByte : 0
RxTooLong : 0
RxGoodByte : 141761
RxBadByte : 0
RxOverFlow : 0
Filtered : 13
TxBroad : 180
TxPause : 0
TxMulti : 367
TxUnderRun : 0
Tx64Byte : 335
Tx128Byte : 362
Tx256Byte : 279
Tx512Byte : 216
Tx1024Byte : 29
Tx1518Byte : 52
TxMaxByte : 0
TxOverSize : 0
TxByte : 274900
TxCollision : 0
TxAbortCol : 0
TxMultiCol : 0
TxSingleCol : 0
TxExcDefer : 0
TxDefer : 0
TxLateCol : 0

pvid: 1
link: port:1 link:down

Port 2:

mib: Port 2 MIB counters

RxBroad : 0
RxPause : 0
RxMulti : 0
RxFcsErr : 0
RxAlignErr : 0
RxRunt : 0
RxFragment : 0
Rx64Byte : 0
Rx128Byte : 0
Rx256Byte : 0
Rx512Byte : 0
Rx1024Byte : 0
Rx1518Byte : 0
RxMaxByte : 0
RxTooLong : 0
RxGoodByte : 0
RxBadByte : 0
RxOverFlow : 0
Filtered : 0
TxBroad : 4419
TxPause : 0
TxMulti : 76469
TxUnderRun : 0
Tx64Byte : 46240
Tx128Byte : 1084
Tx256Byte : 2641
Tx512Byte : 28047
Tx1024Byte : 2915
Tx1518Byte : 1
TxMaxByte : 0
TxOverSize : 0
TxByte : 18438433
TxCollision : 0
TxAbortCol : 0
TxMultiCol : 0
TxSingleCol : 0
TxExcDefer : 0
TxDefer : 0
TxLateCol : 0

pvid: 1
link: port:2 link:up speed:100baseT full-duplex txflow rxflow auto

Port 3:

mib: Port 3 MIB counters

RxBroad : 0
RxPause : 0
RxMulti : 0
RxFcsErr : 0
RxAlignErr : 0
RxRunt : 0
RxFragment : 0
Rx64Byte : 0
Rx128Byte : 0
Rx256Byte : 0
Rx512Byte : 0
Rx1024Byte : 0
Rx1518Byte : 0
RxMaxByte : 0
RxTooLong : 0
RxGoodByte : 0
RxBadByte : 0
RxOverFlow : 0
Filtered : 0
TxBroad : 4419
TxPause : 0
TxMulti : 76469
TxUnderRun : 0
Tx64Byte : 46240
Tx128Byte : 1084
Tx256Byte : 2641
Tx512Byte : 28047
Tx1024Byte : 2915
Tx1518Byte : 1
TxMaxByte : 0
TxOverSize : 0
TxByte : 18438433
TxCollision : 0
TxAbortCol : 0
TxMultiCol : 0
TxSingleCol : 0
TxExcDefer : 0
TxDefer : 0
TxLateCol : 0

pvid: 1
link: port:3 link:up speed:1000baseT full-duplex auto

Port 4:

mib: Port 4 MIB counters

RxBroad : 3765
RxPause : 0
RxMulti : 73151
RxFcsErr : 0
RxAlignErr : 0
RxRunt : 0
RxFragment : 0
Rx64Byte : 62113
Rx128Byte : 115122
Rx256Byte : 15386
Rx512Byte : 40931
Rx1024Byte : 34440
Rx1518Byte : 2869706
RxMaxByte : 0
RxTooLong : 0
RxGoodByte : 4378395323
RxBadByte : 0
RxOverFlow : 0
Filtered : 11
TxBroad : 379
TxPause : 0
TxMulti : 2755
TxUnderRun : 0
Tx64Byte : 34306
Tx128Byte : 717333
Tx256Byte : 12274
Tx512Byte : 7258
Tx1024Byte : 7735
Tx1518Byte : 335099
TxMaxByte : 0
TxOverSize : 0
TxByte : 569081244
TxCollision : 0
TxAbortCol : 0
TxMultiCol : 0
TxSingleCol : 0
TxExcDefer : 0
TxDefer : 0
TxLateCol : 0

pvid: 1
link: port:4 link:up speed:1000baseT full-duplex txflow rxflow auto

Port 5:

mib: Port 5 MIB counters

RxBroad : 38
RxPause : 0
RxMulti : 323
RxFcsErr : 0
RxAlignErr : 0
RxRunt : 0
RxFragment : 0
Rx64Byte : 526
Rx128Byte : 312
Rx256Byte : 54
Rx512Byte : 205
Rx1024Byte : 23
Rx1518Byte : 30
RxMaxByte : 0
RxTooLong : 0
RxGoodByte : 217499
RxBadByte : 0
RxOverFlow : 0
Filtered : 9
TxBroad : 348
TxPause : 0
TxMulti : 259
TxUnderRun : 0
Tx64Byte : 344
Tx128Byte : 406
Tx256Byte : 200
Tx512Byte : 199
Tx1024Byte : 20
Tx1518Byte : 13
TxMaxByte : 0
TxOverSize : 0
TxByte : 194389
TxCollision : 0
TxAbortCol : 0
TxMultiCol : 0
TxSingleCol : 0
TxExcDefer : 0
TxDefer : 0
TxLateCol : 0

pvid: 1
link: port:5 link:down

VLAN 1:

vid: 1
ports: 0 1 2 3 4 5 

VLAN 2:

vid: 2
ports: 0t 5t 

root@wl:~#

So the firmware knows there is an additional port in the switch, it’s just Luci that does not display it.

For extra info, here’s the OpenWRT version I am running:

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

_______                     ________        __

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

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

—————————————————– OpenWrt SNAPSHOT, r9414-2d13945


Thanks in advance for your help with this, very appreciated.


22.02.20192140KernelBug ReportVery LowCriticalKernel hang when replace older uboot with uboot 2019 fo...TrunkUnconfirmed Task Description

Below is the log:

U-Boot 2019.01-00079-g3420a6fc6e-dirty (Feb 19 2019 - 17:19:16 +0800)

Qualcomm Atheros QCA9561 ver 1 rev 0
Model: AP152 Reference Board
DRAM:  128 MiB
Loading Environment from SPI Flash... SF: Detected w25q128bv with page size 256 Bytes, erase size 4 KiB, total 16 MiB, mapped at 9f000000
*** Warning - bad CRC, using default environment

In:    uart@18020000
Out:   uart@18020000
Err:   uart@18020000
Net:   
Warning: eth@0x19000000 (eth0) using random MAC address - 56:87:3c:61:9b:50
eth0: eth@0x19000000
Hit any key to stop autoboot:  0 
ap152 # bootm 0x1f060000
## Booting kernel from Legacy Image at 1f060000 ...
   Image Name:   MIPS OpenWrt Linux-4.14.101
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1615030 Bytes = 1.5 MiB
   Load Address: 80060000
   Entry Point:  80060000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
[    0.000000] Linux version 4.14.101 (xxx@xxx-PC) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r8997-488af51f81)) #0 Mon Feb 18 15:11:32 2019
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[    0.000000] MIPS: machine is ROSINSON WR818
[    0.000000] SoC: Qualcomm Atheros QCA956X ver 1 rev 0
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] random: get_random_bytes called from start_kernel+0x8c/0x474 with crng_init=0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 123184K/131072K available (3777K kernel code, 150K rwdata, 912K rodata, 1232K init, 204K bss, 7888K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] CPU clock: 775.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4932285024 ns
[    0.000007] sched_clock: 32 bits at 387MHz, resolution 2ns, wraps every 5541893118ns
[    0.008841] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.075897] pid_max: default: 32768 minimum: 301
[    0.081292] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.088805] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.100195] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.111385] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.118370] pinctrl core: initialized pinctrl subsystem
[    0.125117] NET: Registered protocol family 16
[    0.152720] clocksource: Switched to clocksource MIPS
[    0.159331] NET: Registered protocol family 2
[    0.164932] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.172894] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.180116] TCP: Hash tables configured (established 1024 bind 1024)
[    0.187461] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.194136] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.201461] NET: Registered protocol family 1
[    0.209168] Crashlog allocated RAM at address 0x3f00000
[    0.216385] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.227688] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.234346] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.253234] io scheduler noop registered
[    0.257682] io scheduler deadline registered (default)
[    0.263810] ar7200-usb-phy usb-phy: phy reset is missing
[    0.271331] pinctrl-single 1804002c.pinmux: 544 pins at pa b804002c size 68
[    0.280201] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.288040] console [ttyS0] disabled
[    0.292122] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 8, base_baud = 1562500) is a 16550A
[    0.301943] console [ttyS0] enabled
[    0.301943] console [ttyS0] enabled
[    0.309500] bootconsole [early0] disabled
[    0.309500] bootconsole [early0] disabled
[    0.332542] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    0.337492] 5 fixed-partitions partitions found on MTD device spi0.0
[    0.344060] Creating 5 MTD partitions on "spi0.0":
[    0.349014] 0x000000000000-0x000000040000 : "u-boot"
[    0.354834] 0x000000040000-0x000000050000 : "u-boot-env"
[    0.360944] 0x000000050000-0x000000060000 : "factory"
[    0.366831] 0x000000060000-0x000000fe0000 : "firmware"
[    0.374973] 2 uimage-fw partitions found on MTD device firmware
[    0.381090] Creating 2 MTD partitions on "firmware":
[    0.386258] 0x000000000000-0x000000190000 : "kernel"
[    0.392027] 0x000000190000-0x000000f80000 : "rootfs"
[    0.397783] mtd: device 5 (rootfs) set to be root filesystem
[    0.403703] 1 squashfs-split partitions found on MTD device rootfs
[    0.410095] 0x000000440000-0x000000f80000 : "rootfs_data"
[    0.416295] 0x000000ff0000-0x000001000000 : "art"
[    0.422691] libphy: Fixed MDIO Bus: probed
[    0.763078] libphy: ag71xx_mdio: probed
[    0.770036] switch0: Atheros AR8337 rev. 2 switch registered on mdio-bus.0
[    1.424526] ag71xx 19000000.eth: invalid MAC address, using random address
[    1.763882] ag71xx 19000000.eth: connected to PHY at mdio-bus.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316]
[    1.775479] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:SGMII
[    1.783515] NET: Registered protocol family 10
[    1.791439] Segment Routing with IPv6
[    1.795358] NET: Registered protocol family 17
[    1.799984] 8021q: 802.1Q VLAN Support v1.8
[    1.810014] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    1.824049] Freeing unused kernel memory: 1232K
[    1.828729] This architecture does not have kernel memory protection.

By the way, for the ath79 target(linux-4.14) after I enable CONFIG_MIPS32R2_IRQ_VI options, it works fine.
But still hang in ar71xx(linux-4.9.158).

21.02.20192139Base systemBug ReportVery LowMedium broadcom-wl don't work on rt-n16openwrt-18.06Unconfirmed Task Description

wifi on lede 17.01.6, with the same config, works great
install openwrt 18.06
opkg remove kmod-b43 kmod-b43legacy kmod-mac80211 kmod-cfg80211 kmod-brcmsmac
opkg install kmod-brcm-wl nas wlc wl
wl -i wl0 chanspec -c 9 -b 2 -w 40 -s -1

config wifi-device ‘wl0’

      option type 'broadcom'
      option channel '9'
      option hwmode '11ng'
      option htmode 'HT40'
      option txpower '16'
      option txantenna '3'
      option rxantenna '3'

config wifi-iface

      option device 'wl0'
      option network 'lan'
      option mode 'ap'
      option ssid 'point'
      option encryption 'psk2'
      option key 'pass'
      option wmm '1'
      option disabled '0'

After, my laptop (windows) does not connect and the phone on the android
connects for 15-20 minutes, disconnects, manually connects from the third fourth attempt
and disconnects again after a while

ifconfig shows that the interface wl0-1 is automatically created with non-existent mac address E2:CB:4E:C0:18:14 (wl0 E0:CB:4E:C0:18:13)
Wi-Fi scanner shows two access points with the same name, channels, but different MAC addresses (E2:CB:4E:C0:18:14, E0:CB:4E:C0:18:13)

I compiled two firmware with
CONFIG_TARGET_brcm47xx=y
CONFIG_TARGET_brcm47xx_mips74k=y
CONFIG_TARGET_brcm47xx_mips74k_DEVICE_asus-rt-n16=y
and
CONFIG_TARGET_brcm47xx=y
CONFIG_TARGET_brcm47xx_mips74k=y
CONFIG_TARGET_brcm47xx_mips74k_Broadcom-mips74k-wl=y

but it did not help

 



21.02.20192138PackagesFeature RequestVery LowLowmwan3-luci: sort order of shown interfaces not like as ...TrunkUnconfirmed Task Description

on current trunk
it hurts, that the ORDER on the mwan3 graphs is different as ORDERED on configuration of mwan3.
is it possible to fix that ?
sorry, i don’T know how i could fix that by myself and to provide a fix for it.

root@router02.dreamteam:/root # opkg list-installed | grep mwan3
luci-app-mwan3 - git-19.043.27122-eda8f02-1
mwan3 - 2.7.10-1

cu Erwin

 


21.02.20192137Base systemBug ReportVery LowLowwifi isolate clients not working on several routersAllUnconfirmed Task Description

Routers and versions: wireless.isolate NOT working: TP Link WR841n v13
Version: OpenWrt SNAPSHOT, r9278-39273b8 (from roughly Feb 8)

wireless.isolate NOT working: TP Link TL-WDR3600 v1
Version: OpenWrt 18.06.02
Note: Only the 2GHz radio was enabled

Steps to reproduce: Reset router to default settings
Create wifi network
Restart the router
Connect two devices using wifi to the router
SSh from one device to the other =⇒ (This step incorrectly works!)

wireless.default_radio0=wifi-iface
wireless.default_radio0.device='radio0'
wireless.default_radio0.network='lan'
wireless.default_radio0.mode='ap'
wireless.default_radio0.isolate='1'
wireless.default_radio0.encryption='psk2+ccmp'
wireless.default_radio0.key='xxxxyyyyyyyy'
wireless.default_radio0.ssid='ssssssid'

Note that wireless.isolate DOES test as working on TP Link C7 v2. The ssh fails in the reproduction steps above.

19.02.20192135KernelBug ReportVery LowLowADB AV4202 (BCM43222) wifi gets broadcasted but clients...AllUnconfirmed Task Description

I’ve tried OpenWRT on an ADB AV4202N. Everything works fine except wifi. I know the used Broadcom chip (BCM43222) is problematic but there is a bit of hope.

After installation the wifi is disabled by default. When enabling it and setting the country code correct(AT in my case) the network actually gets found by other devices but they just don’t get accepted by the ap. If i set an encryption this is also correctly broadcasted and recognized by other devices but it’s impossible to connect. Also the following values are shown in OpenWRT’s webinterface which is a strong indicator that something isn’t working correct: “Signal: 0 dBm | Noise: 0 dBm Bitrate: 0.0 Mbit/s”.

device id:

root@OpenWrt:~# for i in /sys/bus/pci/devices/*; do [ -f $i/vendor ] && echo "$(cat $i/vendor):$(cat $i/device) $(cat $i/subsystem_vendor):$(cat $i/subsystem_device)"; done
0x14e4:0xa8d6 0x14e4:0xa8d6
0x14e4:0x6368 0x14e4:0x6368

dmesg:

root@OpenWrt:~# dmesg
[    0.000000] Linux version 4.14.101 (buildbot@6167ddb9a6c5) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r9393-d0b4596)) #0 SMP Sun Feb 17 18:30:34 2019
[    0.000000] Detected Broadcom 0x6368 CPU revision b2
[    0.000000] CPU frequency is 400 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] board_bcm963xx: Boot address 0xb8000000
[    0.000000] board_bcm963xx: CFE version: 1.0.37-102.6
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0002a031 (Broadcom BMIPS4350)
[    0.000000] board: board name: 96368_Swiss_S1
[    0.000000] MIPS: machine is ADB P.DG AV4202N
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 16 bytes.
[    0.000000] Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 80577690, node_mem_map 81007330
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] random: get_random_bytes called from start_kernel+0x80/0x4b4 with crng_init=0
[    0.000000] percpu: Embedded 14 pages/cpu @8108a000 s25984 r8192 d23168 u57344
[    0.000000] pcpu-alloc: s25984 r8192 d23168 u57344 alloc=14*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: rootfstype=squashfs,jffs2 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] Memory: 57676K/65536K available (4354K kernel code, 190K rwdata, 992K rodata, 1304K init, 211K bss, 7860K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=16, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS: 256
[    0.000000] genirq: irq_chip bcm6345-periph-intc did not update eff. affinity mask of irq 28
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000029] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008242] Calibrating delay loop... 397.82 BogoMIPS (lpj=795648)
[    0.046765] pid_max: default: 32768 minimum: 301
[    0.052101] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.058995] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.072089] Hierarchical SRCU implementation.
[    0.079571] smp: Bringing up secondary CPUs ...
[    0.086729] SMP: Booting CPU1...
[    6.934360] Primary instruction cache 64kB, VIPT, 4-way, linesize 16 bytes.
[    6.934375] Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    6.934674] CPU1 revision is: 0002a031 (Broadcom BMIPS4350)
[    0.118454] Synchronize counters for CPU 1: 
[    0.139272] SMP: CPU1 is running
[    0.139326] done.
[    0.149437] smp: Brought up 1 node, 2 CPUs
[    0.171531] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.181656] futex hash table entries: 512 (order: 1, 8192 bytes)
[    0.188171] pinctrl core: initialized pinctrl subsystem
[    0.196658] NET: Registered protocol family 16
[    0.240012] registering PCI controller with io_map_base unset
[    0.246046] registering PCI controller with io_map_base unset
[    0.311758] PCI host bridge to bus 0000:00
[    0.316259] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[    0.323379] pci_bus 0000:00: root bus resource [io  0x8000000-0x8007fff]
[    0.330417] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.337680] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.346180] pci 0000:00:01.0: [14e4:a8d6] type 00 class 0x028000
[    0.348386] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x00003fff]
[    0.355870] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.356046] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x30003fff]
[    0.364098] PCI host bridge to bus 0000:01
[    0.368541] pci_bus 0000:01: root bus resource [mem 0x38000000-0x3fffffff]
[    0.375647] pci_bus 0000:01: root bus resource [io  0x8008000-0x800ffff]
[    0.382570] pci_bus 0000:01: root bus resource [??? 0x00000000 flags 0x0]
[    0.389579] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
[    0.397943] pci 0000:01:1e.0: [14e4:6368] type 02 class 0x060700
[    0.398768] pci 0000:01:1e.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.407692] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 05
[    0.407867] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 05
[    0.408066] pci 0000:01:1e.0: BAR 10: assigned [mem 0x38000000-0x3fffffff]
[    0.415246] pci 0000:01:1e.0: BAR 7: assigned [io  0x8008000-0x80080ff]
[    0.422091] pci 0000:01:1e.0: BAR 8: assigned [io  0x8008400-0x80084ff]
[    0.428924] pci 0000:01:1e.0: CardBus bridge to [bus 02-05]
[    0.434692] pci 0000:01:1e.0:   bridge window [io  0x8008000-0x80080ff]
[    0.441518] pci 0000:01:1e.0:   bridge window [io  0x8008400-0x80084ff]
[    0.448343] pci 0000:01:1e.0:   bridge window [mem 0x38000000-0x3fffffff]
[    0.462606] clocksource: Switched to clocksource MIPS
[    0.472337] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[    0.507397] ssb: Found chip with id 0xA8D6, rev 0x00 and package 0x08
[    0.514624] ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x1E, vendor 0x4243)
[    0.515162] ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x10, vendor 0x4243)
[    0.515697] ssb: Core 2 found: PCI (cc 0x804, rev 0x0E, vendor 0x4243)
[    0.588530] ssb: Sonics Silicon Backplane found on PCI device 0000:00:01.0
[    0.596698] NET: Registered protocol family 2
[    0.604194] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.606157] random: fast init done
[    0.612165] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.621583] TCP: Hash tables configured (established 1024 bind 1024)
[    0.628855] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.635018] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.642367] NET: Registered protocol family 1
[    0.647049] PCI: CLS 0 bytes, default 16
[    0.650334] Crashlog allocated RAM at address 0x3f00000
[    0.663506] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.692760] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.698841] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.753705] io scheduler noop registered
[    0.758168] io scheduler deadline registered (default)
[    0.768990] bcm6368-pinctrl 10000080.pin-controller: registered at mmio b0000080
[    0.780487] 10000100.serial: ttyS0 at MMIO 0x10000100 (irq = 10, base_baud = 1562500) is a bcm63xx_uart
[    0.790617] console [ttyS0] enabled
[    0.798066] bootconsole [early0] disabled
[    0.809201] bcm63xx-rng bcm63xx-rng: registered RNG driver
[    0.822290] 18000000.nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002101
[    0.832762] 18000000.nor: Found an alias at 0x1000000 for the chip at 0x0
[    0.832810] Amd/Fujitsu Extended Query Table at 0x0040
[    0.838153]   Amd/Fujitsu Extended Query version 1.3.
[    0.843377] number of CFI chips: 1
[    0.848379] Searching for RedBoot partition table in 18000000.nor at offset 0xfe0000
[    0.892656] No RedBoot partition table detected in 18000000.nor
[    0.898992] 3 fixed-partitions partitions found on MTD device 18000000.nor
[    0.906114] Creating 3 MTD partitions on "18000000.nor":
[    0.911623] 0x000000000000-0x000000020000 : "CFE"
[    0.922427] 0x000000020000-0x000000fe0000 : "linux"
[    0.933452] parser_imagetag: rootfs: CFE image tag found at 0x0 with version 6, board type 96368_Swiss_S1
[    0.943525] parser_imagetag: Partition 0 is kernel offset 100 and length 1c0970
[    0.951149] parser_imagetag: Partition 1 is rootfs offset 1c0a70 and length dff590
[    0.958961] parser_imagetag: Spare partition is offset 3e0004 and length bdfffc
[    0.966556] 2 bcm963xx-imagetag partitions found on MTD device linux
[    0.973131] Creating 2 MTD partitions on "linux":
[    0.978080] 0x000000000100-0x0000001c0a70 : "kernel"
[    0.988840] 0x0000001c0a70-0x000000fc0000 : "rootfs"
[    0.999352] mtd: device 3 (rootfs) set to be root filesystem
[    1.005321] 1 squashfs-split partitions found on MTD device rootfs
[    1.011731] 0x0000003e0000-0x000000fc0000 : "rootfs_data"
[    1.022907] 0x000000fe0000-0x000001000000 : "nvram"
[    1.039611] bcm63xx-spi 10000800.spi: at [mem 0x10000800-0x10000f0b flags 0x200] (irq 9, FIFOs size 542)
[    1.056412] libphy: Fixed MDIO Bus: probed
[    1.110601] b53_common: found switch: BCM63xx, rev 0
[    1.117669] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    1.141575] NET: Registered protocol family 10
[    1.151168] Segment Routing with IPv6
[    1.155277] NET: Registered protocol family 17
[    1.160044] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.173441] 8021q: 802.1Q VLAN Support v1.8
[    1.194502] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    1.222721] Freeing unused kernel memory: 1304K
[    1.227401] This architecture does not have kernel memory protection.
[    2.816654] init: Console is alive
[    2.820845] init: - watchdog -
[    5.378462] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.629748] usbcore: registered new interface driver usbfs
[    5.635909] usbcore: registered new interface driver hub
[    5.641949] usbcore: registered new device driver usb
[    5.666304] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.676645] ehci-platform: EHCI generic platform driver
[    5.790160] ehci-platform ehci-platform: EHCI Host Controller
[    5.796258] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[    5.805004] ehci-platform ehci-platform: irq 15, io mem 0xb0001500
[    5.826142] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00, overcurrent ignored
[    5.838275] hub 1-0:1.0: USB hub found
[    5.842423] hub 1-0:1.0: 2 ports detected
[    5.859914] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    5.869326] ohci-platform: OHCI generic platform driver
[    5.875339] ohci-platform ohci-platform: Generic Platform OHCI controller
[    5.882509] ohci-platform ohci-platform: new USB bus registered, assigned bus number 2
[    5.891178] ohci-platform ohci-platform: irq 13, io mem 0xb0001600
[    5.961590] hub 2-0:1.0: USB hub found
[    5.965787] hub 2-0:1.0: 2 ports detected
[    5.975380] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.988304] init: - preinit -
[    8.655702] random: jshn: uninitialized urandom read (4 bytes read)
[    9.040266] random: jshn: uninitialized urandom read (4 bytes read)
[    9.468482] random: jshn: uninitialized urandom read (4 bytes read)
[    9.864733] urandom_read: 1 callbacks suppressed
[    9.864759] random: jshn: uninitialized urandom read (4 bytes read)
[   10.598898] random: procd: uninitialized urandom read (4 bytes read)
[   10.625650] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   10.632236] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on port3, 100Mbps, full-duplex
[   10.632481] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on port4, 100Mbps, full-duplex
[   10.648613] IPv6: ADDRCONF(NETDEV_UP): eth0.1: link is not ready
[   10.655252] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[   11.602155] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   14.565445] jffs2: notice: (432) jffs2_build_xattr_subsystem: complete building xattr subsystem, 4 of xdatum (0 unchecked, 4 orphan) and 45 of xref (6 dead, 39 orphan) found.
[   14.586507] mount_root: overlay filesystem has not been fully initialized yet
[   14.955513] mount_root: switching to jffs2 overlay
[   15.045541] overlayfs: upper fs does not support tmpfile.
[   15.061837] urandom-seed: Seed file not found (/etc/urandom.seed)
[   15.392035] procd: - early -
[   15.395412] procd: - watchdog -
[   16.324654] procd: - watchdog -
[   16.328865] procd: - ubus -
[   16.424722] random: ubusd: uninitialized urandom read (4 bytes read)
[   16.608655] random: ubusd: uninitialized urandom read (4 bytes read)
[   16.616496] random: ubusd: uninitialized urandom read (4 bytes read)
[   16.625939] procd: - init -
[   17.831377] kmodloader: loading kernel modules from /etc/modules.d/*
[   18.031668] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   18.075416] Loading modules backported from Linux version v4.19.23-0-g67d52fae61c1
[   18.083356] Backport generated by backports.git v4.19.23-1-0-g480a925a
[   18.099683] ip_tables: (C) 2000-2006 Netfilter Core Team
[   18.141096] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[   18.328363] xt_time: kernel timezone is -0000
[   18.539141] PPP generic driver version 2.4.2
[   18.551564] NET: Registered protocol family 24
[   18.608971] b43-phy0: Broadcom 43222 WLAN found (core revision 16)
[   18.658122] b43-phy0: Found PHY: Analog 8, Type 4 (N), Revision 6
[   18.664442] b43-phy0: Found Radio: Manuf 0x17F, ID 0x2056, Revision 6, Version 0
[   18.688057] Broadcom 43xx driver loaded [ Features: PNL ]
[   18.709707] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   18.736997] kmodloader: done loading kernel modules from /etc/modules.d/*
[   22.095461] random: crng init done
[   22.098992] random: 1 urandom warning(s) missed due to ratelimiting
[   50.966616] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on port3, 100Mbps, full-duplex
[   50.974838] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on port4, 100Mbps, full-duplex
[   51.009263] br-lan: port 1(eth0.1) entered blocking state
[   51.015136] br-lan: port 1(eth0.1) entered disabled state
[   51.022906] device eth0.1 entered promiscuous mode
[   51.028018] device eth0 entered promiscuous mode
[   51.047687] br-lan: port 1(eth0.1) entered blocking state
[   51.053541] br-lan: port 1(eth0.1) entered forwarding state
[   51.060622] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   51.955920] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 1005.490482] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[ 1005.676804] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1005.704384] br-lan: port 2(wlan0) entered blocking state
[ 1005.710061] br-lan: port 2(wlan0) entered disabled state
[ 1005.716666] device wlan0 entered promiscuous mode
[ 1005.750838] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 1005.758685] br-lan: port 2(wlan0) entered blocking state
[ 1005.764276] br-lan: port 2(wlan0) entered forwarding state
[ 1194.941669] device wlan0 left promiscuous mode
[ 1194.947246] br-lan: port 2(wlan0) entered disabled state
[ 1195.732964] b43-phy0 ERROR: DMA RX reset timed out
[ 1196.013005] b43-phy0 ERROR: DMA TX reset timed out
[ 1196.042349] ssb: Timeout waiting for bitmask 01800000 on register 0F90 to clear.
[ 1198.385367] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[ 1198.592303] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1198.698993] br-lan: port 2(wlan0) entered blocking state
[ 1198.704833] br-lan: port 2(wlan0) entered disabled state
[ 1198.712445] device wlan0 entered promiscuous mode
[ 1198.818777] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 1198.826665] br-lan: port 2(wlan0) entered blocking state
[ 1198.832441] br-lan: port 2(wlan0) entered forwarding state

iwinfo:

root@OpenWrt:~# iwinfo 
wlan0     ESSID: "OpenWrt32"
          Access Point: 02:10:18:01:00:02
          Mode: Master  Channel: 11 (2.462 GHz)
          Tx-Power: 20 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: unknown
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11bg
          Hardware: unknown [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: no  PHY name: phy0

iw phy0 info

root@OpenWrt:~# iw phy0 info
Wiphy phy0
	max # scan SSIDs: 4
	max scan IEs length: 2285 bytes
	max # sched scan SSIDs: 0
	max # match sets: 0
	max # scan plans: 1
	max scan plan interval: -1
	max scan plan iterations: 0
	Retry short limit: 7
	Retry long limit: 4
	Coverage class: 0 (up to 0m)
	Available Antennas: TX 0x3 RX 0x3
	Configured Antennas: TX 0x3 RX 0x3
	Supported interface modes:
		 * IBSS
		 * managed
		 * AP
		 * AP/VLAN
		 * monitor
		 * mesh point
	Band 1:
		Frequencies:
			* 2412 MHz [1] (20.0 dBm)
			* 2417 MHz [2] (20.0 dBm)
			* 2422 MHz [3] (20.0 dBm)
			* 2427 MHz [4] (20.0 dBm)
			* 2432 MHz [5] (20.0 dBm)
			* 2437 MHz [6] (20.0 dBm)
			* 2442 MHz [7] (20.0 dBm)
			* 2447 MHz [8] (20.0 dBm)
			* 2452 MHz [9] (20.0 dBm)
			* 2457 MHz [10] (20.0 dBm)
			* 2462 MHz [11] (20.0 dBm)
			* 2467 MHz [12] (20.0 dBm)
			* 2472 MHz [13] (20.0 dBm)
			* 2484 MHz [14] (disabled)
	interface combinations are not supported
	HT Capability overrides:
		 * MCS: ff ff ff ff ff ff ff ff ff ff
		 * maximum A-MSDU length
		 * supported channel width
		 * short GI for 40 MHz
		 * max A-MPDU length exponent
		 * min MPDU start spacing
	Supported extended features:
		* [ RRM ]: RRM
		* [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
		* [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211

lsmod

root@OpenWrt:~# lsmod
b43                   363971  0 
cfg80211              233424  2 b43,mac80211
compat                  6567  3 b43,mac80211,cfg80211
crc_ccitt               1051  1 ppp_async
ehci_hcd               42167  1 ehci_platform
ehci_platform           4288  0 
gpio_button_hotplug     6464  0 
ip_tables              11245  4 iptable_nat,iptable_mangle,iptable_filter
ip6_tables             10945 24 ip6table_mangle,ip6table_filter
ip6t_REJECT             1040  2 
ip6table_filter          704  1 
ip6table_mangle         1216  0 
ipt_MASQUERADE           736  1 
ipt_REJECT              1008  2 
iptable_filter           704  1 
iptable_mangle           960  0 
iptable_nat              768  1 
ledtrig_usbport         2800  0 
mac80211              462241  1 b43
nf_conntrack           70989 13 nf_conntrack_ipv6,ipt_MASQUERADE,xt_state,xt_nat,xt_conntrack,xt_REDIRECT,xt_CT,nf_nat_masquerade_ipv4,nf_conntrack_ipv4,nf_nat_ipv4,nf_nat,nf_flow_table,nf_conntrack_rtcache
nf_conntrack_ipv4       5168 10 
nf_conntrack_ipv6       5584  4 
nf_conntrack_rtcache    2752  0 
nf_defrag_ipv4          1174  1 nf_conntrack_ipv4
nf_defrag_ipv6          5022  1 nf_conntrack_ipv6
nf_flow_table          14031  2 xt_FLOWOFFLOAD,nf_flow_table_hw
nf_flow_table_hw        2240  1 
nf_log_common           2879  2 nf_log_ipv4,nf_log_ipv6
nf_log_ipv4             3424  0 
nf_log_ipv6             4112  0 
nf_nat                 15164  4 xt_nat,nf_nat_redirect,nf_nat_masquerade_ipv4,nf_nat_ipv4
nf_nat_ipv4             4017  1 iptable_nat
nf_nat_masquerade_ipv4    1628  1 ipt_MASQUERADE
nf_nat_redirect         1515  1 xt_REDIRECT
nf_reject_ipv4          2275  1 ipt_REJECT
nf_reject_ipv6          2728  1 ip6t_REJECT
nls_base                5456  1 usbcore
ohci_hcd               30127  1 ohci_platform
ohci_platform           3808  0 
ppp_async               7120  0 
ppp_generic            23138  3 pppoe,ppp_async,pppox
pppoe                   8672  0 
pppox                   1402  1 pppoe
slhc                    5147  1 ppp_generic
usb_common              2551  1 usbcore
usbcore               138769  5 ledtrig_usbport,ohci_platform,ohci_hcd,ehci_platform,ehci_hcd
x_tables               14175 24 ipt_REJECT,ipt_MASQUERADE,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,iptable_mangle,iptable_filter,ip_tables,ip6t_REJECT,ip6table_mangle,ip6table_filter,ip6_tables
xt_CT                   2720  0 
xt_FLOWOFFLOAD          2896  0 
xt_LOG                   816  0 
xt_REDIRECT              752  0 
xt_TCPMSS               2800  0 
xt_comment               528107 
xt_conntrack            2400 12 
xt_limit                1344 20 
xt_mac                   672  0 
xt_mark                  720  0 
xt_multiport            1312  0 
xt_nat                  1584  0 
xt_state                 768  0 
xt_tcpudp               1808  8 
xt_time                 1824  0 

Although there is another wifi in reach “iw dev wlan0 scan” on the device returns nothing.

This problem applies to current release of OpenWRT (18.06.2) and also to current Snapshot (r9393-d0b4596). It most certainly also applies to lede-17.01 but i haven’t tested it there for now. I think i had lede installed on the device during 2018 and had the same problem but i’m not sure.

Please let me know in case you need more info. I’m also willing to test things in order to help improve the OpenWRT support for the AV4202N. As the network gets found maybe the problem can be solved just by of configuration or arguments to the module.

19.02.20192134Base systemBug ReportVery LowLowMake image wdr3600TrunkUnconfirmed Task Description

Error make image wdr3600
[mktplinkfw] rootfs offset aligned to 0×1617792 [mktplinkfw] *** error: images are too big by 49405 bytes
cp /home/user/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_tl-wdr3600-squashfs-factory.bin /home/user/openwrt/bin/targets/ath79/generic/openwrt-ath79-generic-tplink_tl-wdr3600-squashfs-factory.bin
cp: cannot stat ‘/home/user/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/tmp/openwrt-ath79-generic-tplink_tl-wdr3600-squashfs-factory.bin’: No such file or directory
Makefile:82: recipe for target ‘/home/user/openwrt/bin/targets/ath79/generic/openwrt-ath79-generic-tplink_tl-wdr3600-squashfs-factory.bin’ failed

 


19.02.20192133KernelBug ReportVery LowCriticallan rx performance on IPQ806X (R7800) AllUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on R7800
- Software versions of OpenWrt 18.06/Trunk

Firstly ,I found my ps4 download speed only 100mbps,so I’ve run iperf3
The lan rx work in problem ,tx works no problem.
One pair rx only 18mbps ten pair rx only 100mbps but tx can run in 1gbps.

So I change to offical 18.06.2 banch,rx is 400mbps ,tx is 1Gbps. Still in problem.
After I compile trunk banch ,it also WIP as 18.06 banch.

This problem also mentioned in FS#1598

18.02.20192132PackagesBug ReportVery LowMediumumdns: unicast response is always sent to udp port 5353openwrt-18.06Unconfirmed Task Description

According to RFC 6762 - Multicast DNS (https://tools.ietf.org/html/rfc6762), section 6. Responding tells:

The destination UDP port in all Multicast DNS responses MUST be 5353, and the destination address MUST be the mDNS IPv4 link-local multicast address 224.0.0.251 or its IPv6 equivalent FF02::FB, except when generating a reply to a query that explicitly requested a unicast response:
* via the unicast-response bit,
* by virtue of being a legacy query (Section 6.7), or
* by virtue of being a direct unicast query.

But current umdns implementation sets sender’s IP as dst IP for the response and always sets dst port 5353 ignoring actual sender’s port while sending the unicast response.

Also RFC 6762 tells that simple DNS resolver that uses One-Shot Multicast DNS Queries MUST NOT use source port 5353 (sections 5. Querying and 5.1. One-Shot Multicast DNS Queries):

These queries are typically done using a high-numbered ephemeral UDP source port, but regardless of whether they are sent from a dynamic port or from a fixed port, these queries MUST NOT be sent using UDP source port 5353, since using UDP source port 5353 signals the presence of a fully compliant Multicast DNS querier.

So simple DNS resolver can not receive the response from umdns if it requests the unicast response due to dst port 5353 that is always set by umdns for all responses.

17.02.20192130Base systemBug ReportVery LowMediumusbip fails to list USB devices due to libudev-fbsdTrunkUnconfirmed Task Description

The usbip package fails to list connected USB devices. “usbip list -l” simply gives an empty return.

This is not a kernel issue, it’s caused by libudev-fbsd. The dependencies for usbip are still pointing to libudev-fbsd. This lib contains just a stub for udev_device_get_sysattr_value, which leads to the errors mentioned by blasters and arrmo. Using libudev instead, everything’s working as expected.

This problem exists in 18.06 and trunk.

17.02.20192129PackagesBug ReportVery LowLowblock-mount shows incorrect UUID for NTFSopenwrt-18.06Unconfirmed Task Description

Issue description:
block-mount shows incorrect UUID for NTFS.

System version:
OpenWrt 18.06.1

Steps to reproduce:

# opkg update
...
 
# opkg install block-mount blkid losetup lsblk ntfs-3g-utils
...
 
# opkg list-installed block-mount
block-mount - 2018-04-16-e2436836-1
 
# dd if=/dev/zero of=ntfs.img bs=100M count=1
1+0 records in
1+0 records out
 
# mkfs.ntfs -F ntfs.img
...
 
# losetup /dev/loop1 /root/ntfs.img

# block info /dev/loop1
/dev/loop1: UUID="0000001800000030" TYPE="ntfs"
 
!># block detect | grep -C1 loop1
config 'mount'
	option	target	'/mnt/loop1'
	option	uuid	'0000001800000030'
 
# blkid /dev/loop1
/dev/loop1: UUID="4C40EAF864A1397B" TYPE="ntfs" PTTYPE="dos"
 
# lsblk -o name,uuid /dev/loop1
NAME  UUID
loop1 4C40EAF864A1397B
16.02.20192126Base systemBug ReportVery LowMediumDisable IPv6 link-local for VLAN-parent, bridge-slave, ...openwrt-18.06Unconfirmed Task Description

Disable IPv6 link-local for VLAN-parent, bridge-slave, L3-tunnel.

System version:
OpenWrt 18.06.1

Interfaces configured correctly:
lo, br-lan, eth0.1, eth0.2

Interfaces configured incorrectly:
* eth0 - VLAN-parent, should not have L3-address
* wlan0 - bridge-slave, should not have L3-address
* tun0 - L3-tunnel, IPv6 link-local breaks OpenVPN IPv6-connectivity for Windows-clients and is redundant for Linux-clients

16.02.20192125Base systemBug ReportVery LowMediumdropbear race condition with ipv6 networkingopenwrt-18.06Unconfirmed Task Description

I’m running OpenWRT on an x86 machine running OpenWRT 18.06.2.

Steps to reproduce:

Configure dropbear to only listen on an interface such as ‘lan’

 
  config dropbear
    option Interface 'lan'

After rebooting, often dropbear will be bound to 192.168.1.1, but not fd00:2233:4455:1::1 (router’s ipv6 address). Restarting dropbear fixes the problem and it binds correctly to the ipv4 and ipv6 lan address.

12.02.20192123KernelBug ReportVery LowCriticalmac80211: 802.11s TCP/IP Connectivity Fails After 2018-...TrunkWaiting on reporter Task Description

802.11s mesh appears to not transport TCP/IP even though the mesh
appears up, for commits on master after late September, 2018.

(Steps to replicate at the end of this message)

The output of `iw dev mesh0 station dump` yields similar results for
working and non-working builds, though it has been confirmed after
the posting to the openwrt-devel list (archive link attached) that
“mesh peer PS mode” never seems to be “ACTIVE”
on builds after “first failing commit” (identified below).

    mesh plink:    ESTAB
    mesh local PS mode:    ACTIVE
    mesh peer PS mode:    UNKNOWN
    mesh non-peer PS mode:    ACTIVE
    authorized:    yes
    authenticated:    yes
    associated:    yes

ping to the peer(s) prior to the first failing commit is successful and
the peer is reflected in the arp table. Full connectivity can be
established over the mesh to peers with UDP or TCP transport.

Both ping and arp fail to behave as expected on or after the first
failing commit.

The routing is the same for both builds.

Behavior seen on both Archer C7 v2 (QCA9880-BR4A v2)
and a GL.iNet AR750S (QCA9887), both on ath79 target (AR750S is WIP)

Confirmed that the newer (newest?) firmware (ver 10.2.4-1.0-00041)
works on the “old” build.

Lack of TCP/IP transport over the mesh confirmed both with 802.11s
integral routing, as well with 802.11s routing disabled and replaced
with batman-adv. Configuration using both 802.11s routing and
batman-adv on distinct meshes on the same radios has been running
successfully with four or five Archer C7 v2 units for both backhaul
over the 5 GHz mesh, as well as client access on 5 GHz. (Not tested
on 2.4 GHz on either the Archer C7 or the AR750S.)

git bisect was used to identify the “first failing commit”:

commit db90c243a0b9bd72fc691cd09e58a96ac2a452cf
Author: Hauke Mehrtens <redacted>
Date:   Sun Sep 23 18:02:35 2018 +0200

    mac80211: update to version based on 4.19-rc4

Note that the Candela Technologies drivers do not appear to support
mesh on either chipset.

Additional notes at
https://forum.openwrt.org/t/mac80211-802-11s-tcp-ip-connectivity-on-master-failing-after-2018-09/30629

Thanks to @slh and Koen for hopping on thing there!

To Replicate:

=⇒ Pick your target of choice

$ ./scripts/diffconfig.sh
CONFIG_TARGET_ath79=y
CONFIG_TARGET_ath79_generic=y
CONFIG_TARGET_ath79_generic_DEVICE_glinet_gl-ar750s-nor=y
CONFIG_DEVEL=y
CONFIG_ATH10K_LEDS=y
CONFIG_BUILD_LOG=y
CONFIG_CCACHE=y
CONFIG_OPENSSL_WITH_DEPRECATED=y
CONFIG_OPENSSL_WITH_EC=y
CONFIG_OPENSSL_WITH_NPN=y
CONFIG_OPENSSL_WITH_PSK=y
CONFIG_OPENSSL_WITH_SRP=y
CONFIG_PACKAGE_ath10k-firmware-qca9887=y
# CONFIG_PACKAGE_ath10k-firmware-qca9887-ct is not set
CONFIG_PACKAGE_diffutils=y
CONFIG_PACKAGE_findutils-find=y
CONFIG_PACKAGE_kmod-ath10k=y
# CONFIG_PACKAGE_kmod-ath10k-ct is not set
# CONFIG_PACKAGE_kmod-hwmon-core is not set
CONFIG_PACKAGE_less=y
CONFIG_PACKAGE_libncurses=y
CONFIG_PACKAGE_libopenssl=y
CONFIG_PACKAGE_terminfo=y
# CONFIG_PACKAGE_wpad-basic is not set
CONFIG_PACKAGE_wpad-mesh-openssl=y

=⇒ Add to `/etc/config/network`

config interface 'nwi_mesh0'
    option ifname 'mesh0'
    option mtu '2304'
    option proto 'static'
    option ipaddr '172.16.0.NNN'
    option netmask '255.255.255.0'

=⇒ Add to / replace in `/etc/config/wireless`

  • Please confirm a valid channel for your location
  • Adjust the device path/reference as needed
  • ‘n’ used for support of older iPhones here
config wifi-device 'radio5'
    option type 'mac80211'
    option channel '149'
    option hwmode '11a'
    option path 'pci0000:00/0000:00:00.0'
    option htmode 'VHT80'
        option require_mode 'n'

config wifi-iface 'mesh0'
    option device 'radio5'
    option ifname 'mesh0'
    option network 'nwi_mesh0'
    option mode 'mesh'
    option mesh_id 'TestMesh'
    option mesh_fwding '1'
    option encryption 'psk2+ccmp'
    option key 'TestMeshPassPhrase'

=⇒ Flash and configure additional unit(s), changing the last octet
of the nwi_mesh0 interface address.

=⇒ Note that the mesh appears established from the output of
`iw dev mesh0 station dump`

=⇒ Note that the one unit can’t ping the other’s nwi_mesh0 address
when building on or after “first bad commit” but ping (arp and ip
neigh) will work as expected prior to that commit.


12.02.20192122Base systemBug ReportVery LowMediumNAT-Loopback not working with NCM protocolTrunkUnconfirmed Task Description

Hi,

today I updated my LEDE installation to OpenWRT 18.06.2 in hope, it fixes some problems:

One of them is, that the NAT loopback rules get not automatically created on interface up / firewall reload

I think, it is because of the virtually assigned _4 / _6 suffix of the interface name.

11.02.20192121Base systemBug ReportVery LowLowfirstboot -> "writing /dev/ubi0_2 failed: Operation not...openwrt-18.06Unconfirmed Task Description

bt home hub 5a running OpenWrt 18.06.2

Boot into failsafe mode then “firstboot” results in:
writing /dev/ubi0_2 failed: Operation not permitted

Extra info:

root@(none):~# mount
/dev/root on / type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /dev type tmpfs (rw,nosuid,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,noatime,mode=600,ptmxmode=000)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)

root@(none):~# cat /proc/mtd
dev: size erasesize name
mtd0: 000a0000 00020000 “u-boot” mtd1: 00020000 00020000 “uboot-env” mtd2: 00040000 00020000 “unused” mtd3: 07e80000 00020000 “ubi”

root@(none):~# firstboot
This will erase all settings and remove any installed packages. Are you sure? [N/y]
y
/dev/ubi0_2 is not mounted
/dev/ubi0_2 will be erased on next mount
writing /dev/ubi0_2 failed: Operation not permitted

11.02.20192119PackagesBug ReportVery LowLowPython and Python3 pip and setuptools compilation step AllUnconfirmed Task Description

When compiling on new version of my OS (Gentoo) I encounter problem with Python and Python3 compilation. Originally there was no problem just weeks before but now I am not able to compile those two packages. It always fails on missing libffi.so.6.

Traceback (most recent call last):
  File "/home/build/run/turris-kittens-mox/8/openwrt/staging_dir/hostpkg/bin/pip3", line 7, in <module>
    from pip._internal import main
  File "/home/build/run/turris-kittens-mox/8/openwrt/staging_dir/hostpkg/lib/python3.6/site-packages/pip/_internal/__init__.py", line 42, in <module>
    from pip._internal import cmdoptions
  File "/home/build/run/turris-kittens-mox/8/openwrt/staging_dir/hostpkg/lib/python3.6/site-packages/pip/_internal/cmdoptions.py", line 16, in <module>
    from pip._internal.index import (
  File "/home/build/run/turris-kittens-mox/8/openwrt/staging_dir/hostpkg/lib/python3.6/site-packages/pip/_internal/index.py", line 25, in <module>
    from pip._internal.download import HAS_TLS, is_url, path_to_url, url_to_path
  File "/home/build/run/turris-kittens-mox/8/openwrt/staging_dir/hostpkg/lib/python3.6/site-packages/pip/_internal/download.py", line 39, in <module>
    from pip._internal.utils.glibc import libc_ver
  File "/home/build/run/turris-kittens-mox/8/openwrt/staging_dir/hostpkg/lib/python3.6/site-packages/pip/_internal/utils/glibc.py", line 3, in <module>
    import ctypes
  File "/home/build/run/turris-kittens-mox/8/openwrt/staging_dir/hostpkg/lib/python3.6/ctypes/__init__.py", line 7, in <module>
    from _ctypes import Union, Structure, Array
ImportError: libffi.so.6: cannot open shared object file: No such file or directory


The problem is in invalid environment used to run pip. In package python that is on line 170 and 179. In package python3 that is 174 and 183. They are missing something like HostPyRunTarget.

11.02.20192118OtherFeature RequestVery LowHighRenaming pre-configured firewall-zone names...AllUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
This is a suggestion and is not a model-specific bug report.

- Software versions of OpenWrt/LEDE release, packages, etc.
OpenWrt 18.06.1, r7258-5eb055306f

- Steps to reproduce
Description below:

This is a decade-old suggestion I’ve held within and I really hope the words will gather enough attention and momentum of the dev team. Streight to the conclusion, two pre-configured firewall-zones IMHO should be renamed from “lan” to “internal” and “wan” to “external” respectively. There are a few reasons for which I confidently feel this should be done. I’d like to argue that this is important if not essential because;
a.)Those who prefer making changes to current configurations by editing /etc/config/*, using stuff like “sed -i ‘s/before/after/g’ ${file}” (and then proceeding to reboot) is powerful and is almost mistake-free. checking for config-mistakes using grep is also powerful (and this applies to folks using uci CUI tool as well). What I do now is rename these two zones from GUI and then proceed to these steps, and it works great but having to take this extra step is rather inconvenient if not annoying.
b.)Current presets for interfaces have IPv4-WAN named as “wan” and IPv6-WAN named as “wan6” where the IPv4-WAN‘s label “wan” is no different from the firewalled-zone labeled as “wan”. This is simply comfusing. In early days when I I had just heard about the OpenWrt and had started messing with releases like Kamikaze,I had hard times understanding which string corresponded to which (sure you may argue this is documented in details but things don’t work like that for newbies).
c.)If needs for either firewall-zones or the interface-labels to be renamed are understood, I’d then have to say I’m against renaming interface-labels because those who’d decide to use VLANs would most likely name the interfaces as “config interface ‘vlan_ID’” and the string lan would stay in there.

I hope the above proposal is powerful enough...

Showing tasks 201 - 250 of 906 Page 5 of 19<<First - 3 - 4 - 5 - 6 - 7 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing