Nanostation M5 XW testing results on ath79 > > > [ 0.444718] libphy: Fixed MDIO Bus: probed > > [ 0.786402] libphy: ag71xx_mdio: probed > > [ 0.793193] switch0: Atheros AR8236 rev. 1 switch registered on > > mdio-bus.0 > > [ 1.137115] ag71xx 19000000.eth: connected to PHY at mdio-bus.0:04 > > [uid=004dd043, driver=Atheros AR8216/AR8236/AR8316] > > [ 1.148755] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII > > Please can you provide also output of `swconfig dev switch0 show` from the > same ath79 broken image? >
Notes: laptop only on main port LAN; secondary port WAN is plugged into my home network root@OpenWrt:/# 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 arl_table: address resolution table Port 0: MAC 04:18:d6:a7:70:b5 Port 1: MAC a4:77:33:4d:e6:3a Port 1: MAC 48:d6:d5:d2:0b:ae Port 1: MAC 00:21:55:9a:75:c0 Port 1: MAC 00:00:54:fe:07:cc Port 1: MAC a4:08:ea:84:c6:3e Port 1: MAC dc:9f:db:54:26:a0 Port 1: MAC 20:e5:2a:09:ef:84 Port 5: MAC 5c:26:0a:05:3c:62 <- my laptop MAC Port 0: mib: MIB counters RxBroad : 234 RxPause : 0 RxMulti : 51 RxFcsErr : 0 RxAlignErr : 0 RxRunt : 0 RxFragment : 0 Rx64Byte : 18 Rx128Byte : 27 Rx256Byte : 24 Rx512Byte : 216 Rx1024Byte : 0 Rx1518Byte : 0 RxMaxByte : 0 RxTooLong : 0 RxGoodByte : 83406 (81.4 KiB) RxBadByte : 0 RxOverFlow : 0 Filtered : 211 TxBroad : 73 TxPause : 0 TxMulti : 63 TxUnderRun : 0 Tx64Byte : 0 Tx128Byte : 99 Tx256Byte : 28 Tx512Byte : 21 Tx1024Byte : 37 Tx1518Byte : 0 TxMaxByte : 0 TxOverSize : 0 TxByte : 43228 (42.2 KiB) TxCollision : 0 TxAbortCol : 0 TxMultiCol : 0 TxSingleCol : 0 TxExcDefer : 0 TxDefer : 0 TxLateCol : 0 pvid: 0 link: port:0 link:up speed:100baseT full-duplex Port 1: mib: MIB counters RxBroad : 62 RxPause : 0 RxMulti : 35 RxFcsErr : 0 RxAlignErr : 0 RxRunt : 0 RxFragment : 0 Rx64Byte : 39 Rx128Byte : 32 Rx256Byte : 10 Rx512Byte : 16 Rx1024Byte : 37 Rx1518Byte : 0 RxMaxByte : 0 RxTooLong : 0 RxGoodByte : 34690 (33.8 KiB) RxBadByte : 0 RxOverFlow : 0 Filtered : 0 TxBroad : 37 TxPause : 0 TxMulti : 1 TxUnderRun : 0 Tx64Byte : 0 Tx128Byte : 0 Tx256Byte : 1 Tx512Byte : 37 Tx1024Byte : 0 Tx1518Byte : 0 TxMaxByte : 0 TxOverSize : 0 TxByte : 12974 (12.6 KiB) TxCollision : 0 TxAbortCol : 0 TxMultiCol : 0 TxSingleCol : 0 TxExcDefer : 0 TxDefer : 0 TxLateCol : 0 pvid: 2 link: port:1 link:up speed:100baseT full-duplex auto Port 2: mib: No MIB data pvid: 0 link: port:2 link:down Port 3: mib: No MIB data pvid: 0 link: port:3 link:down Port 4: mib: No MIB data pvid: 0 link: port:4 link:down Port 5: mib: MIB counters RxBroad : 11 RxPause : 0 RxMulti : 28 RxFcsErr : 0 RxAlignErr : 0 RxRunt : 0 RxFragment : 0 Rx64Byte : 18 Rx128Byte : 10 Rx256Byte : 18 Rx512Byte : 5 Rx1024Byte : 0 Rx1518Byte : 0 RxMaxByte : 0 RxTooLong : 0 RxGoodByte : 7798 (7.6 KiB) RxBadByte : 0 RxOverFlow : 0 Filtered : 0 TxBroad : 19 TxPause : 0 TxMulti : 17 TxUnderRun : 0 Tx64Byte : 18 Tx128Byte : 11 Tx256Byte : 6 Tx512Byte : 1 Tx1024Byte : 0 Tx1518Byte : 0 TxMaxByte : 0 TxOverSize : 0 TxByte : 3628 (3.5 KiB) TxCollision : 0 TxAbortCol : 0 TxMultiCol : 0 TxSingleCol : 0 TxExcDefer : 0 TxDefer : 0 TxLateCol : 0 pvid: 1 link: port:5 link:up speed:100baseT full-duplex auto VLAN 1: vid: 1 ports: 0t 5 VLAN 2: vid: 2 ports: 0t 1 br-lan Link encap:Ethernet HWaddr 04:18:D6:A7:70:B5 inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::618:d6ff:fea7:70b5/64 Scope:Link inet6 addr: fdd4:1225:6902::1/60 Scope:Global UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:34 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:3068 (2.9 KiB) eth0 Link encap:Ethernet HWaddr 04:18:D6:A7:70:B5 inet6 addr: fe80::618:d6ff:fea7:70b5/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:375 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:112638 (109.9 KiB) Interrupt:4 eth0.1 Link encap:Ethernet HWaddr 04:18:D6:A7:70:B5 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:34 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:3068 (2.9 KiB) eth0.2 Link encap:Ethernet HWaddr 04:18:D6:A7:70:B5 inet6 addr: fe80::618:d6ff:fea7:70b5/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:327 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:106666 (104.1 KiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:271 errors:0 dropped:0 overruns:0 frame:0 TX packets:271 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:19088 (18.6 KiB) TX bytes:19088 (18.6 KiB) wlan0 Link encap:Ethernet HWaddr 04:18:D6:A6:70:B5 inet6 addr: fe80::618:d6ff:fea6:70b5/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:28 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:2424 (2.3 KiB) > Can you please provide the same outputs (dmesg lines, swconfig) from firmware > which is working for you? It's firmware image from 18.06 release, am I > correct? > image from 18.06.01 release, configured by aredn project. The switch is not configured and linux thinks simple single port device. but switch acts as dumb switch and enables untagged and tagged packets on the main port (and secondary at same time). wlan0 & eth0 = LAN, eth0.1 = WAN, eth0.2 = route path to another mesh node cross band. Laptop using LAN on main port, secondary port is plugged into managed switch with tagged eth0.1 on to home network. [ 0.689584] libphy: Fixed MDIO Bus: probed [ 0.707920] switch0: Atheros AR8236 rev. 1 switch registered on ag71xx-mdio.0 [ 0.716256] libphy: ag71xx_mdio: probed [ 1.398788] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd0 43, driver=Atheros AR8216/AR8236/AR8316] [ 1.410438] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII [ 5.055800] eth0: link up (100Mbps/Full duplex) br-lan Link encap:Ethernet HWaddr 04:18:D6:A7:70:B5 inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:245 errors:0 dropped:0 overruns:0 frame:0 TX packets:193 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:25249 (24.6 KiB) TX bytes:17150 (16.7 KiB) eth0 Link encap:Ethernet HWaddr 04:18:D6:A7:70:B5 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1859 errors:0 dropped:0 overruns:0 frame:0 TX packets:462 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1872957 (1.7 MiB) TX bytes:101625 (99.2 KiB) Interrupt:4 eth0.1 Link encap:Ethernet HWaddr 04:18:D6:A7:70:B5 inet addr:172.16.0.48 Bcast:172.16.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:129 errors:0 dropped:0 overruns:0 frame:0 TX packets:257 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:13958 (13.6 KiB) TX bytes:79299 (77.4 KiB) eth0.2 Link encap:Ethernet HWaddr 04:18:D6:A7:70:B5 inet addr:192.168.3.1 Bcast:192.168.3.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1485 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1801268 (1.7 MiB) TX bytes:0 (0.0 B) wlan0 Link encap:Ethernet HWaddr 04:18:D6:A6:70:B5 inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:64 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:13131 (12.8 KiB) Global attributes: enable_vlan: 0 enable_mirror_rx: 0 enable_mirror_tx: 0 mirror_monitor_port: 0 mirror_source_port: 0 arl_table: address resolution table Port 0: MAC 04:18:d6:a7:70:b5 Port 1: MAC 48:d6:d5:d2:0b:ae Port 1: MAC 68:72:51:0b:8a:07 Port 1: MAC 00:21:55:9a:75:c0 Port 1: MAC 00:00:54:fe:07:cc Port 1: MAC b8:27:eb:af:b3:57 Port 1: MAC dc:9f:db:54:26:a0 Port 1: MAC 20:e5:2a:09:ef:84 Port 5: MAC 5c:26:0a:05:3c:62 Port 0: mib: MIB counters RxBroad : 242 RxPause : 0 RxMulti : 0 RxFcsErr : 0 RxAlignErr : 0 RxRunt : 0 RxFragment : 0 Rx64Byte : 97 Rx128Byte : 135 Rx256Byte : 5 Rx512Byte : 249 Rx1024Byte : 2 Rx1518Byte : 0 RxMaxByte : 0 RxTooLong : 0 RxGoodByte : 107603 (105.0 KiB) RxBadByte : 0 RxOverFlow : 0 Filtered : 0 TxBroad : 2183 TxPause : 0 TxMulti : 102 TxUnderRun : 0 Tx64Byte : 26 Tx128Byte : 595 Tx256Byte : 74 Tx512Byte : 52 Tx1024Byte : 87 Tx1518Byte : 1497 TxMaxByte : 199 TxOverSize : 0 TxByte : 2639723 (2.5 MiB) TxCollision : 0 TxAbortCol : 0 TxMultiCol : 0 TxSingleCol : 0 TxExcDefer : 0 TxDefer : 0 TxLateCol : 0 pvid: 0 link: port:0 link:up speed:100baseT full-duplex Port 1: mib: MIB counters RxBroad : 2178 RxPause : 0 RxMulti : 47 RxFcsErr : 0 RxAlignErr : 0 RxRunt : 0 RxFragment : 0 Rx64Byte : 0 Rx128Byte : 411 Rx256Byte : 28 Rx512Byte : 48 Rx1024Byte : 87 Rx1518Byte : 1495 RxMaxByte : 199 RxTooLong : 0 RxGoodByte : 2608724 (2.4 MiB) RxBadByte : 0 RxOverFlow : 0 Filtered : 0 TxBroad : 3 TxPause : 0 TxMulti : 0 TxUnderRun : 0 Tx64Byte : 11 Tx128Byte : 30 Tx256Byte : 0 Tx512Byte : 2 Tx1024Byte : 0 Tx1518Byte : 0 TxMaxByte : 0 TxOverSize : 0 TxByte : 4196 (4.0 KiB) TxCollision : 0 TxAbortCol : 0 TxMultiCol : 0 TxSingleCol : 0 TxExcDefer : 0 TxDefer : 0 TxLateCol : 0 pvid: 0 link: port:1 link:up speed:100baseT full-duplex auto Port 2: mib: No MIB data pvid: 0 link: port:2 link:down Port 3: mib: No MIB data pvid: 0 link: port:3 link:down Port 4: mib: No MIB data pvid: 0 link: port:4 link:down Port 5: mib: MIB counters RxBroad : 5 RxPause : 0 RxMulti : 55 RxFcsErr : 0 RxAlignErr : 0 RxRunt : 0 RxFragment : 0 Rx64Byte : 26 Rx128Byte : 184 Rx256Byte : 46 Rx512Byte : 4 Rx1024Byte : 0 Rx1518Byte : 2 RxMaxByte : 0 RxTooLong : 0 RxGoodByte : 30999 (30.2 KiB) RxBadByte : 0 RxOverFlow : 0 Filtered : 0 TxBroad : 242 TxPause : 0 TxMulti : 0 TxUnderRun : 0 Tx64Byte : 87 Tx128Byte : 105 Tx256Byte : 5 Tx512Byte : 249 Tx1024Byte : 2 Tx1518Byte : 0 TxMaxByte : 0 TxOverSize : 0 TxByte : 104171 (101.7 KiB) TxCollision : 0 TxAbortCol : 0 TxMultiCol : 0 TxSingleCol : 0 TxExcDefer : 0 TxDefer : 0 TxLateCol : 0 pvid: 0 link: port:5 link:up speed:100baseT full-duplex auto > Can you please try to run latest image[1] from development snapshot and check > if that works for you? The ports are working, success. laptop on main LAN port. WAN port connected to home network. root@OpenWrt:/# cat /etc/openwrt_version r8473-8184bdd root@OpenWrt:/# ping www.google.com PING www.google.com (172.217.197.103): 56 data bytes 64 bytes from 172.217.197.103: seq=0 ttl=39 time=91.767 ms ^C --- www.google.com ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max = 91.767/91.767/91.767 ms [ 0.704338] libphy: Fixed MDIO Bus: probed [ 0.723319] switch0: Atheros AR8236 rev. 1 switch registered on ag71xx-mdio.0 [ 0.732103] libphy: ag71xx_mdio: probed [ 1.416503] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd043, driver=Atheros AR8216/AR8236/AR8316] [ 1.428003] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII [ 5.293536] eth0: link up (100Mbps/Full duplex) br-lan Link encap:Ethernet HWaddr 04:18:D6:A7:70:B5 inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::618:d6ff:fea7:70b5/64 Scope:Link inet6 addr: fd9d:6c7a:80b7::1/60 Scope:Global UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:547 errors:0 dropped:0 overruns:0 frame:0 TX packets:465 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:52743 (51.5 KiB) TX bytes:45838 (44.7 KiB) eth0 Link encap:Ethernet HWaddr 04:18:D6:A7:70:B5 inet6 addr: fe80::618:d6ff:fea7:70b5/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:785 errors:0 dropped:0 overruns:0 frame:0 TX packets:672 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:262707 (256.5 KiB) TX bytes:101626 (99.2 KiB) Interrupt:4 eth0.1 Link encap:Ethernet HWaddr 04:18:D6:A7:70:B5 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:547 errors:0 dropped:0 overruns:0 frame:0 TX packets:465 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:52743 (51.5 KiB) TX bytes:45838 (44.7 KiB) eth0.2 Link encap:Ethernet HWaddr 04:18:D6:A7:70:B5 inet addr:172.16.0.49 Bcast:172.16.0.255 Mask:255.255.255.0 inet6 addr: fe80::618:d6ff:fea7:70b5/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:32 errors:0 dropped:0 overruns:0 frame:0 TX packets:158 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:3477 (3.3 KiB) TX bytes:48164 (47.0 KiB) Global attributes: enable_vlan: 1 enable_mirror_rx: 0 enable_mirror_tx: 0 mirror_monitor_port: 0 mirror_source_port: 0 arl_table: address resolution table Port 0: MAC 04:18:d6:a7:70:b5 Port 1: MAC 00:80:92:79:fb:cc Port 1: MAC 68:72:51:0b:8a:07 Port 1: MAC 00:21:55:9a:75:c0 Port 1: MAC 00:00:54:fe:07:cc Port 1: MAC dc:9f:db:54:26:a0 Port 1: MAC 20:e5:2a:09:ef:84 Port 5: MAC 5c:26:0a:05:3c:62 Port 0: mib: MIB counters RxBroad : 137 RxPause : 0 RxMulti : 48 RxFcsErr : 0 RxAlignErr : 0 RxRunt : 0 RxFragment : 0 Rx64Byte : 33 Rx128Byte : 422 Rx256Byte : 72 Rx512Byte : 141 Rx1024Byte : 5 Rx1518Byte : 0 RxMaxByte : 0 RxTooLong : 0 RxGoodByte : 104840 (102.3 KiB) RxBadByte : 0 RxOverFlow : 0 Filtered : 158 TxBroad : 214 TxPause : 0 TxMulti : 117 TxUnderRun : 0 Tx64Byte : 4 Tx128Byte : 563 Tx256Byte : 107 Tx512Byte : 13 Tx1024Byte : 12 Tx1518Byte : 128 TxMaxByte : 15 TxOverSize : 0 TxByte : 291766 (284.9 KiB) TxCollision : 0 TxAbortCol : 0 TxMultiCol : 0 TxSingleCol : 0 TxExcDefer : 0 TxDefer : 0 TxLateCol : 0 pvid: 0 link: port:0 link:up speed:100baseT full-duplex Port 1: mib: MIB counters RxBroad : 23 RxPause : 0 RxMulti : 11 RxFcsErr : 0 RxAlignErr : 0 RxRunt : 0 RxFragment : 0 Rx64Byte : 4 Rx128Byte : 31 Rx256Byte : 3 Rx512Byte : 2 Rx1024Byte : 2 Rx1518Byte : 0 RxMaxByte : 0 RxTooLong : 0 RxGoodByte : 5432 (5.3 KiB) RxBadByte : 0 RxOverFlow : 0 Filtered : 0 TxBroad : 3 TxPause : 0 TxMulti : 1 TxUnderRun : 0 Tx64Byte : 2 Tx128Byte : 3 Tx256Byte : 1 Tx512Byte : 2 Tx1024Byte : 0 Tx1518Byte : 0 TxMaxByte : 0 TxOverSize : 0 TxByte : 1250 (1.2 KiB) TxCollision : 0 TxAbortCol : 0 TxMultiCol : 0 TxSingleCol : 0 TxExcDefer : 0 TxDefer : 0 TxLateCol : 0 pvid: 2 link: port:1 link:up speed:100baseT full-duplex auto Port 2: mib: No MIB data pvid: 0 link: port:2 link:down Port 3: mib: No MIB data pvid: 0 link: port:3 link:down Port 4: mib: No MIB data pvid: 0 link: port:4 link:down Port 5: mib: MIB counters RxBroad : 191 RxPause : 0 RxMulti : 106 RxFcsErr : 0 RxAlignErr : 0 RxRunt : 0 RxFragment : 0 Rx64Byte : 24 Rx128Byte : 517 Rx256Byte : 95 Rx512Byte : 11 Rx1024Byte : 10 Rx1518Byte : 128 RxMaxByte : 15 RxTooLong : 0 RxGoodByte : 283870 (277.2 KiB) RxBadByte : 0 RxOverFlow : 0 Filtered : 0 TxBroad : 4 TxPause : 0 TxMulti : 19 TxUnderRun : 0 Tx64Byte : 31 Tx128Byte : 407 Tx256Byte : 55 Tx512Byte : 9 Tx1024Byte : 5 Tx1518Byte : 0 TxMaxByte : 0 TxOverSize : 0 TxByte : 52610 (51.3 KiB) TxCollision : 0 TxAbortCol : 0 TxMultiCol : 0 TxSingleCol : 0 TxExcDefer : 0 TxDefer : 0 TxLateCol : 0 pvid: 1 link: port:5 link:up speed:100baseT full-duplex auto VLAN 1: vid: 1 ports: 0t 5 VLAN 2: vid: 2 ports: 0t 1 Joe AE6XE _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel