wifinigel / wiperf_poller

Polling engine for the wiperf utility
Other
3 stars 5 forks source link

IPv6 Default Route issue #23

Open lealog opened 3 years ago

lealog commented 3 years ago

Using the latest V3 version, I'm having the following error when IPv6 is enabled. I'm having am IPv6 default route issue. Please check below the log:

2021-03-26 19:35:21,500 - Probe_Log - INFO - 2021-03-26 19:35:21,500 - Probe_Log - INFO - 2021-03-26 19:35:21,500 - Probe_Log - INFO - Starting logging... 2021-03-26 19:35:21,500 - Probe_Log - INFO - 2021-03-26 19:35:21,513 - Probe_Log - INFO - (Note: logging set to debug level.) 2021-03-26 19:35:21,514 - Probe_Log - INFO - Checking optional OS commands are available. 2021-03-26 19:35:21,514 - Probe_Log - INFO - Checking required OS commands are available. 2021-03-26 19:35:21,514 - Probe_Log - INFO - Required OS commands checked OK. 2021-03-26 19:35:21,514 - Probe_Log - DEBUG - #### Initialized WirelessAdapter instance... #### 2021-03-26 19:35:21,515 - Probe_Log - INFO - Getting adapter IPv4 info: wlan0 2021-03-26 19:35:21,526 - Probe_Log - DEBUG - Interface config info: 3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 inet 192.168.1.165/24 brd 192.168.1.255 scope global dynamic wlan0 valid_lft 3404sec preferred_lft 3404sec

2021-03-26 19:35:21,528 - Probe_Log - DEBUG - IP Address = 192.168.1.165 2021-03-26 19:35:21,528 - Probe_Log - INFO - Getting adapter IPv6 info: wlan0 2021-03-26 19:35:21,540 - Probe_Log - DEBUG - Interface config info: inet6 2001xxxxxxxxxxxxxxxxxxxxx:2006/64 scope global dynamic mngtmpaddr

2021-03-26 19:35:21,541 - Probe_Log - DEBUG - IP Address = 2001xxxxxxxxxxxxxxxxxxxxx:2006 2021-03-26 19:35:21,542 - Probe_Log - INFO - Watchdog count = 0 2021-03-26 19:35:21,543 - Probe_Log - INFO - No lock file found. Creating lock file. 2021-03-26 19:35:21,543 - Probe_Log - INFO - Checking if we use remote cfg file... 2021-03-26 19:35:21,543 - Probe_Log - INFO - No remote cfg file confgured...using current local ini file. 2021-03-26 19:35:21,544 - Probe_Log - DEBUG - #### Initialized WirelessAdapter instance... #### 2021-03-26 19:35:22,545 - Probe_Log - INFO - Checking wireless connection available. 2021-03-26 19:35:22,545 - Probe_Log - DEBUG - Getting wireless adapter info... 2021-03-26 19:35:22,558 - Probe_Log - DEBUG - Wireless interface config info: wlan0 IEEE 802.11 ESSID:"rede_wifiinternal:D" Mode:Managed Frequency:2.412 GHz Access Point: 00:E0:FC:00:01:74 Bit Rate=72.2 Mb/s Tx-Power=31 dBm Retry short limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management:off Link Quality=70/70 Signal level=-27 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:6 Invalid misc:0 Missed beacon:0

2021-03-26 19:35:22,559 - Probe_Log - DEBUG - ssid = rede_wifiinternal:D 2021-03-26 19:35:22,560 - Probe_Log - DEBUG - bssid = 00:E0:FC:00:01:74 2021-03-26 19:35:22,561 - Probe_Log - DEBUG - freq = 2.412 2021-03-26 19:35:22,562 - Probe_Log - DEBUG - tx_bit_rate = 72.2 2021-03-26 19:35:22,562 - Probe_Log - DEBUG - signal_level = -27 2021-03-26 19:35:22,563 - Probe_Log - DEBUG - tx_retries = 6 2021-03-26 19:35:22,574 - Probe_Log - DEBUG - Wireless interface config info (iw dev wlanX info): Interface wlan0 ifindex 3 wdev 0x1 addr dc:a6:32:5b:20:06 ssid rede_wifiinternal:D type managed wiphy 0 channel 1 (2412 MHz), width: 20 MHz, center1: 2412 MHz txpower 31.00 dBm

2021-03-26 19:35:22,577 - Probe_Log - DEBUG - channel_width = 20 2021-03-26 19:35:22,578 - Probe_Log - DEBUG - center_freq = 2412 2021-03-26 19:35:22,603 - Probe_Log - DEBUG - Wireless interface config info (iw dev wlanX link): Connected to 00:e0:fc:00:01:74 (on wlan0) SSID: rede_wifiinternal:D freq: 2412 RX: 1353022846 bytes (1124127 packets) TX: 1044313599 bytes (939827 packets) signal: -27 dBm rx bitrate: 72.2 MBit/s tx bitrate: 72.2 MBit/s

    bss flags:      short-preamble short-slot-time
    dtim period:    1
    beacon int:     100

2021-03-26 19:35:22,630 - Probe_Log - DEBUG - Wireless interface config info (iw dev wlanX station dump): Station 00:e0:fc:00:01:74 (on wlan0) inactive time: 0 ms rx bytes: 1353023060 rx packets: 1124129 tx bytes: 1044314003 tx packets: 939829 tx failed: 6 signal: -27 [-27] dBm tx bitrate: 72.2 MBit/s rx bitrate: 72.2 MBit/s authorized: yes authenticated: yes associated: yes WMM/WME: yes TDLS peer: yes DTIM period: 1 beacon interval:100 short preamble: yes short slot time:yes connected time: 2181 seconds

2021-03-26 19:35:22,633 - Probe_Log - DEBUG - rx_bit_rate = 72.2 2021-03-26 19:35:22,636 - Probe_Log - DEBUG - Results list: ['rede_wifiinternal:D', '00:E0:FC:00:01:74', 2.412, 72.2, -27.0, 6, 1] 2021-03-26 19:35:22,636 - Probe_Log - INFO - Checking we're connected to the wireless network 2021-03-26 19:35:22,637 - Probe_Log - INFO - ~~~~~~~~~~~~~~~~~~~~~~~ 2021-03-26 19:35:22,637 - Probe_Log - INFO - Network testing connection IPV4 tests (wlan0) 2021-03-26 19:35:22,638 - Probe_Log - INFO - ~~~~~~~~~~~~~~~~~~~~~~~ 2021-03-26 19:35:22,638 - Probe_Log - INFO - Checking we have an IPv4 address (wlan0) 2021-03-26 19:35:22,639 - Probe_Log - INFO - Getting adapter IPv4 info: wlan0 2021-03-26 19:35:22,664 - Probe_Log - DEBUG - Interface config info: 3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 inet 192.168.1.165/24 brd 192.168.1.255 scope global dynamic wlan0 valid_lft 3403sec preferred_lft 3403sec

2021-03-26 19:35:22,665 - Probe_Log - DEBUG - IP Address = 192.168.1.165 2021-03-26 19:35:22,666 - Probe_Log - INFO - Checking we can do a DNS (ipv4)lookup to ipv4.google.com 2021-03-26 19:35:22,667 - Probe_Log - DEBUG - Pinging host: ipv4.google.com (count=1) 2021-03-26 19:35:22,717 - Probe_Log - DEBUG - Ping command output: 2021-03-26 19:35:22,718 - Probe_Log - DEBUG - ['PING ipv4.l.google.com (142.250.184.14) 56(84) bytes of data.', '', '--- ipv4.l.google.com ping statistics ---', '1 packets transmitted, 1 received, 0% packet loss, time 0ms', 'rtt min/avg/max/mdev = 22.900/22.900/22.900/0.000 ms'] 2021-03-26 19:35:22,721 - Probe_Log - DEBUG - Packets transmitted: 1 2021-03-26 19:35:22,721 - Probe_Log - DEBUG - Packets received: 1 2021-03-26 19:35:22,721 - Probe_Log - DEBUG - Packet loss(%): 0 2021-03-26 19:35:22,722 - Probe_Log - DEBUG - Test duration (mS): 0 2021-03-26 19:35:22,723 - Probe_Log - DEBUG - rtt_min : 22.900 2021-03-26 19:35:22,723 - Probe_Log - DEBUG - rtt_avg : 22.900 2021-03-26 19:35:22,724 - Probe_Log - DEBUG - rtt_max : 22.900 2021-03-26 19:35:22,724 - Probe_Log - DEBUG - rtt_mdev : 0.000 2021-03-26 19:35:22,724 - Probe_Log - INFO - ping_host: ipv4.google.com, pkts_tx: 1, pkts_rx: 1, pkt_loss: 0, rtt_avg: 22.900 2021-03-26 19:35:22,732 - Probe_Log - INFO - DNS hostname lookup : ipv4.google.com / Result: 142.250.184.14 2021-03-26 19:35:22,749 - Probe_Log - INFO - Checked interface route to : 142.250.184.14. Result: 142.250.184.14 via 192.168.1.1 dev wlan0 src 192.168.1.165 uid 0 2021-03-26 19:35:22,750 - Probe_Log - INFO - Correct interface (wlan0) being used for ipv4 tests. 2021-03-26 19:35:22,750 - Probe_Log - INFO - Getting adapter IPv4 info: wlan0 2021-03-26 19:35:22,766 - Probe_Log - DEBUG - Interface config info: 3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 inet 192.168.1.165/24 brd 192.168.1.255 scope global dynamic wlan0 valid_lft 3403sec preferred_lft 3403sec

2021-03-26 19:35:22,767 - Probe_Log - DEBUG - IP Address = 192.168.1.165 2021-03-26 19:35:22,768 - Probe_Log - INFO - [Check Interface Routes (IPv4)] Checking if we need to remove any interface routes... 2021-03-26 19:35:22,788 - Probe_Log - INFO - [Check Interface Routes (IPv4)] Checked interface route to : 192.168.1.165. Result: ['192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.165 '] 2021-03-26 19:35:22,789 - Probe_Log - INFO - [Check Interface Routes (IPv4)] Checks/operations complete. 2021-03-26 19:35:22,789 - Probe_Log - INFO - ~~~~~~~~~~~~~~~~~~~~~~~ 2021-03-26 19:35:22,790 - Probe_Log - INFO - Network testing connection IPV6 tests (wlan0) 2021-03-26 19:35:22,790 - Probe_Log - INFO - ~~~~~~~~~~~~~~~~~~~~~~~ 2021-03-26 19:35:22,790 - Probe_Log - INFO - Checking if we have an IPv6 address (wlan0) 2021-03-26 19:35:22,791 - Probe_Log - INFO - Getting adapter IPv6 info: wlan0 2021-03-26 19:35:22,813 - Probe_Log - DEBUG - Interface config info: inet6 2001xxxxxxxxxxxxxxxxxxxxx:2006/64 scope global dynamic mngtmpaddr

2021-03-26 19:35:22,814 - Probe_Log - DEBUG - IP Address = 2001xxxxxxxxxxxxxxxxxxxxx:2006 2021-03-26 19:35:22,815 - Probe_Log - INFO - Checking we can do an ipv6 DNS lookup to ipv6.google.com 2021-03-26 19:35:22,815 - Probe_Log - DEBUG - Pinging host: ipv6.google.com (count=1) 2021-03-26 19:35:22,916 - Probe_Log - DEBUG - Ping command output: 2021-03-26 19:35:22,917 - Probe_Log - DEBUG - ['PING ipv6.google.com(mad01s24-in-x0e.1e100.net (2a00:1450:4003:805::200e)) 56 data bytes', '', '--- ipv6.google.com ping statistics ---', '1 packets transmitted, 1 received, 0% packet loss, time 0ms', 'rtt min/avg/max/mdev = 18.552/18.552/18.552/0.000 ms'] 2021-03-26 19:35:22,918 - Probe_Log - DEBUG - Packets transmitted: 1 2021-03-26 19:35:22,918 - Probe_Log - DEBUG - Packets received: 1 2021-03-26 19:35:22,918 - Probe_Log - DEBUG - Packet loss(%): 0 2021-03-26 19:35:22,919 - Probe_Log - DEBUG - Test duration (mS): 0 2021-03-26 19:35:22,919 - Probe_Log - DEBUG - rtt_min : 18.552 2021-03-26 19:35:22,919 - Probe_Log - DEBUG - rtt_avg : 18.552 2021-03-26 19:35:22,920 - Probe_Log - DEBUG - rtt_max : 18.552 2021-03-26 19:35:22,920 - Probe_Log - DEBUG - rtt_mdev : 0.000 2021-03-26 19:35:22,920 - Probe_Log - INFO - ping_host: ipv6.google.com, pkts_tx: 1, pkts_rx: 1, pkt_loss: 0, rtt_avg: 18.552 2021-03-26 19:35:22,927 - Probe_Log - INFO - DNS hostname lookup : ipv6.google.com / Result: 2a00:1450:4003:805::200e 2021-03-26 19:35:22,948 - Probe_Log - INFO - Checked interface route to : 2a00:1450:4003:805::200e. Result: 2a00:1450:4003:805::200e from :: via fe80::1 dev eth0 proto ra src 200XXXXXXXXXXXXXXXXXfe5b:2005 metric 1024 hoplimit 64 pref medium 2021-03-26 19:35:22,949 - Probe_Log - WARNING - We are not using the interface required to perform our ipv6 tests due to a routing issue in this unit - attempt route addition to fix issue 2021-03-26 19:35:22,955 - Probe_Log - INFO - DNS hostname lookup : ipv6.google.com / Result: 2a00:1450:4003:805::200e 2021-03-26 19:35:22,976 - Probe_Log - INFO - Checked interface route to : 2a00:1450:4003:805::200e. Result: default via fe80::1 dev eth0 proto ra metric 1024 expires 278sec hoplimit 64 pref medium 2021-03-26 19:35:22,977 - Probe_Log - INFO - [Default Route Injection (IPv6)] Checking probe mode: 'wireless' 2021-03-26 19:35:22,994 - Probe_Log - INFO - [Default Route Injection (IPv6)] Adding new route: default dev wlan0 metric 1 2021-03-26 19:35:23,010 - Probe_Log - INFO - [Default Route Injection (IPv6)] Re-adding deleted route with new metric: default via fe80::1 dev eth0 proto ra metric 1024 expires 278sec hoplimit 64 pref medium metric 1024 2021-03-26 19:35:23,026 - Probe_Log - INFO - [Default Route Injection (IPv6)] Deleting route: default via fe80::1 dev eth0 proto ra metric 1024 expires 278sec hoplimit 64 pref medium 2021-03-26 19:35:23,027 - Probe_Log - INFO - [Default Route Injection (IPv6)] Route injection complete 2021-03-26 19:35:23,027 - Probe_Log - INFO - Bouncing interface wlan0 2021-03-26 19:35:23,028 - Probe_Log - WARNING - Taking interface down... 2021-03-26 19:35:35,037 - Probe_Log - WARNING - Bringing interface up... 2021-03-26 19:35:42,377 - Probe_Log - INFO - Interface bounce completed OK. 2021-03-26 19:35:42,377 - Probe_Log - INFO - Checking if ipv6 route injection worked... 2021-03-26 19:35:42,389 - Probe_Log - INFO - Checked interface route to : 2a00:1450:4003:805::200e. Result: 2a00:1450:4003:805::200e from :: via fe80::1 dev eth0 proto ra src 200XXXXXXXXXXXXXXXXXfe5b:2005 metric 1024 hoplimit 64 pref medium 2021-03-26 19:35:42,390 - Probe_Log - WARNING - We still have an ipv6 routing issue. Will have to exit as testing over correct interface not possible 2021-03-26 19:35:42,390 - Probe_Log - WARNING - Suggest making static routing additions or adding an additional metric to the interface causing the issue. 2021-03-26 19:35:42,391 - Probe_Log - INFO - removing lock file

ifconfig eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.1.72 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 fe80::dea6:32ff:fe5b:2005 prefixlen 64 scopeid 0x20 inet6 200XXXXXXXXXXXXXXXXXfe5b:2005 prefixlen 64 scopeid 0x0 ether dc:a6:32:5b:20:05 txqueuelen 1000 (Ethernet) RX packets 327067 bytes 46810321 (44.6 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 277238 bytes 32056849 (30.5 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10 loop txqueuelen 1000 (Local Loopback) RX packets 121153 bytes 21897303 (20.8 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 121153 bytes 21897303 (20.8 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.1.165 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 fe80::dea6:32ff:fe5b:2006 prefixlen 64 scopeid 0x20 inet6 2001xxxxxxxxxxxxxxxxxxxxx:2006 prefixlen 64 scopeid 0x0 ether dc:a6:32:5b:20:06 txqueuelen 1000 (Ethernet) RX packets 44368621 bytes 3938338669 (3.6 GiB) RX errors 0 dropped 1 overruns 0 frame 0 TX packets 47275174 bytes 3257545409 (3.0 GiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

ztukutsbw2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 2800 inet 192.168.192.194 netmask 255.255.255.0 broadcast 192.168.192.255 inet6 fe80::e894:c8ff:fe6b:e680 prefixlen 64 scopeid 0x20 ether ea:94:c8:6b:e6:80 txqueuelen 1000 (Ethernet) RX packets 30375 bytes 3889745 (3.7 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 37388 bytes 5212852 (4.9 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

From the wiperf_run.py, I got the following error:

/home/pi# /usr/bin/python3 /usr/share/wiperf/wiperf_run.py Error: argument "278sec" is wrong: "expires" value is invalid

Error: argument "278sec" is wrong: "expires" value is invalid

IPv6 route:

ip -6 route ::1 dev lo proto kernel metric 256 pref medium 200xxxxxxxxxxx00::/64 dev eth0 proto kernel metric 256 expires 86389sec pref medium 200xxxxxxxxxxx00::/64 dev wlan0 proto kernel metric 256 expires 86389sec pref medium fe80::/64 dev ztukutsbw2 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev wlan0 proto kernel metric 256 pref medium default via fe80::1 dev eth0 proto ra metric 1024 expires 289sec hoplimit 64 pref medium default via fe80::1 dev wlan0 proto ra metric 1024 expires 289sec hoplimit 64 pref medium

route -6 -n Kernel IPv6 routing table Destination Next Hop Flag Met Ref Use If ::1/128 :: U 256 2 0 lo 200xxxxxxxxxxx00::/64 :: UAe 256 5 0 eth0 200xxxxxxxxxxx00::/64 :: UAe 256 1 0 wlan0 fe80::/64 :: U 256 1 0 ztukutsbw2 fe80::/64 :: U 256 1 0 eth0 fe80::/64 :: U 256 1 0 wlan0 ::/0 fe80::1 UGDAe 1024 5 0 eth0 ::/0 fe80::1 UGDAe 1024 5 0 wlan0 ::1/128 :: Un 0 7 0 lo 200XXXXXXXXXXXXXXXXXfe5b:2005/128 :: Un 0 7 0 eth0 2001xxxxxxxxxxxxxxxxxxxxx:2006/128 :: Un 0 6 0 wlan0 fe80::dea6:32ff:fe5b:2005/128 :: Un 0 5 0 eth0 fe80::dea6:32ff:fe5b:2006/128 :: Un 0 6 0 wlan0 fe80::e894:c8ff:fe6b:e680/128 :: Un 0 2 0 ztukutsbw2 ff00::/8 :: U 256 6 0 ztukutsbw2 ff00::/8 :: U 256 5 0 eth0 ff00::/8 :: U 256 5 0 wlan0 ::/0 :: !n -1 1 0 lo

lealog commented 3 years ago

Tested with RPI4 and wlanpi. Same problem.

wifinigel commented 3 years ago

Issue found in file cd /usr/local/lib/python3.7/dist-packages/wiperf_poller/helpers/route_ipv6.py

Fixed file pushed to dev repo.

Down load new file as follows (SSH to RPi):

cd /usr/local/lib/python3.7/dist-packages/wiperf_poller/helpers/
# download fixed file
sudo curl https://raw.githubusercontent.com/wifinigel/wiperf_poller/dev/wiperf_poller/helpers/route_ipv6.py --output route_ipv6.py

Retest and verify if default route issue now fixed. Thanks!

lealog commented 3 years ago

Tested on RPI4 - NOK

root@raspberrypiredewifi:/home/pi# /usr/bin/python3 /usr/share/wiperf/wiperf_run.py Error: argument "86397sec" is wrong: "expires" value is invalid

2021-03-26 23:57:56,700 - Probe_Log - INFO - ~~~~~~~~~~~~~~~~~~~~~~~ 2021-03-26 23:57:56,701 - Probe_Log - INFO - Network testing connection IPV6 tests (wlan0) 2021-03-26 23:57:56,701 - Probe_Log - INFO - ~~~~~~~~~~~~~~~~~~~~~~~ 2021-03-26 23:57:56,701 - Probe_Log - INFO - Checking if we have an IPv6 address (wlan0) 2021-03-26 23:57:56,702 - Probe_Log - INFO - Getting adapter IPv6 info: wlan0 2021-03-26 23:57:56,718 - Probe_Log - DEBUG - Interface config info: inet6 2001xxxxxxxxxxxxxxxxxxxxx:2006/64 scope global dynamic mngtmpaddr

2021-03-26 23:57:56,719 - Probe_Log - DEBUG - IP Address = 2001xxxxxxxxxxxxxxxxxxxxx:2006 2021-03-26 23:57:56,720 - Probe_Log - INFO - Checking we can do an ipv6 DNS lookup to ipv6.google.com 2021-03-26 23:57:56,720 - Probe_Log - DEBUG - Pinging host: ipv6.google.com (count=1) 2021-03-26 23:57:56,855 - Probe_Log - DEBUG - Ping command output: 2021-03-26 23:57:56,856 - Probe_Log - DEBUG - ['PING ipv6.google.com(mad41s14-in-x0e.1e100.net (2a00:1450:4003:80f::200e)) 56 data bytes', '', '--- ipv6.google.com ping statistics ---', '1 packets transmitted, 1 received, 0% packet loss, time 0ms', 'rtt min/avg/max/mdev = 47.561/47.561/47.561/0.000 ms'] 2021-03-26 23:57:56,857 - Probe_Log - DEBUG - Packets transmitted: 1 2021-03-26 23:57:56,858 - Probe_Log - DEBUG - Packets received: 1 2021-03-26 23:57:56,858 - Probe_Log - DEBUG - Packet loss(%): 0 2021-03-26 23:57:56,858 - Probe_Log - DEBUG - Test duration (mS): 0 2021-03-26 23:57:56,859 - Probe_Log - DEBUG - rtt_min : 47.561 2021-03-26 23:57:56,859 - Probe_Log - DEBUG - rtt_avg : 47.561 2021-03-26 23:57:56,860 - Probe_Log - DEBUG - rtt_max : 47.561 2021-03-26 23:57:56,860 - Probe_Log - DEBUG - rtt_mdev : 0.000 2021-03-26 23:57:56,861 - Probe_Log - INFO - ping_host: ipv6.google.com, pkts_tx: 1, pkts_rx: 1, pkt_loss: 0, rtt_avg: 47.561 2021-03-26 23:57:56,866 - Probe_Log - INFO - DNS hostname lookup : ipv6.google.com / Result: 2a00:1450:4003:80f::200e 2021-03-26 23:57:56,887 - Probe_Log - INFO - Checked interface route to : 2a00:1450:4003:80f::200e. Result: 2a00:1450:4003:80f::200e from :: via fe80::1 dev wlan0 proto ra src 2001xxxxxxxxxxxxxxxxxxxxx:2006 metric 1024 hoplimit 64 pref medium 2021-03-26 23:57:56,888 - Probe_Log - INFO - Correct interface being used for ipv6 tests. 2021-03-26 23:57:56,888 - Probe_Log - INFO - Getting adapter IPv6 info: wlan0 2021-03-26 23:57:56,910 - Probe_Log - DEBUG - Interface config info: inet6 2001xxxxxxxxxxxxxxxxxxxxx:2006/64 scope global dynamic mngtmpaddr

2021-03-26 23:57:56,911 - Probe_Log - DEBUG - IP Address = 2001xxxxxxxxxxxxxxxxxxxxx:2006 2021-03-26 23:57:56,912 - Probe_Log - INFO - [Check Interface Routes (IPv6)] Checking if we need to remove any interface routes... 2021-03-26 23:57:56,933 - Probe_Log - INFO - [Check Interface Routes (IPv6)] Checked interface route to : 2001xxxxxxxxxxxxxxxxxxxxx:2006. Result: ['200xxxxxxxxcf00::/64 dev wlan0 proto kernel metric 256 expires 86397sec pref medium', '2001:818:e909:cf00::/64 dev eth0 proto kernel metric 256 expires 86397sec pref medium'] 2021-03-26 23:57:56,953 - Probe_Log - INFO - [Check Interface Routes (IPv6)] Deleting route: 2001:818:e909:cf00::/64 dev eth0 proto kernel metric 256 expires 86397sec pref medium 2021-03-26 23:57:56,954 - Probe_Log - INFO - [Check Interface Routes (IPv6)] Checks/operations complete. 2021-03-26 23:57:56,955 - Probe_Log - INFO - ~~~~~~~~~~~~~~~~~~~~~~~ 2021-03-26 23:57:56,956 - Probe_Log - INFO - Reporting/mgt server connectivty checks. 2021-03-26 23:57:56,956 - Probe_Log - INFO - ~~~~~~~~~~~~~~~~~~~~~~~

lealog commented 3 years ago

Tested on wlanpi - NOK

root@wlanpi:/home/wlanpi# /usr/bin/python3 /usr/share/wiperf/wiperf_run.py Error: argument "296sec" is wrong: "expires" value is invalid

Error: argument "296sec" is wrong: "expires" value is invalid

2021-03-27 00:00:18,441 - Probe_Log - INFO - ~~~~~~~~~~~~~~~~~~~~~~~ 2021-03-27 00:00:18,443 - Probe_Log - INFO - Network testing connection IPV6 tests (wlan0) 2021-03-27 00:00:18,444 - Probe_Log - INFO - ~~~~~~~~~~~~~~~~~~~~~~~ 2021-03-27 00:00:18,445 - Probe_Log - INFO - Checking if we have an IPv6 address (wlan0) 2021-03-27 00:00:18,446 - Probe_Log - INFO - Getting adapter IPv6 info: wlan0 2021-03-27 00:00:18,472 - Probe_Log - DEBUG - Interface config info: inet6 200xxxxxxxxxxxxxxxxxxxxxxxe00:237d/64 scope global dynamic mngtmpaddr

2021-03-27 00:00:18,474 - Probe_Log - DEBUG - IP Address = 200xxxxxxxxxxxxxxxxxxxxxxxe00:237d 2021-03-27 00:00:18,475 - Probe_Log - INFO - Checking we can do an ipv6 DNS lookup to ipv6.google.com 2021-03-27 00:00:18,476 - Probe_Log - DEBUG - Pinging host: ipv6.google.com (count=1) 2021-03-27 00:00:18,604 - Probe_Log - DEBUG - Ping command output: 2021-03-27 00:00:18,605 - Probe_Log - DEBUG - ['PING ipv6.google.com(mad07s09-in-x0e.1e100.net (2a00:1450:4003:802::200e)) 56 data bytes', '', '--- ipv6.google.com ping statistics ---', '1 packets transmitted, 1 received, 0% packet loss, time 0ms', 'rtt min/avg/max/mdev = 21.931/21.931/21.931/0.000 ms'] 2021-03-27 00:00:18,606 - Probe_Log - DEBUG - Packets transmitted: 1 2021-03-27 00:00:18,607 - Probe_Log - DEBUG - Packets received: 1 2021-03-27 00:00:18,609 - Probe_Log - DEBUG - Packet loss(%): 0 2021-03-27 00:00:18,610 - Probe_Log - DEBUG - Test duration (mS): 0 2021-03-27 00:00:18,612 - Probe_Log - DEBUG - rtt_min : 21.931 2021-03-27 00:00:18,613 - Probe_Log - DEBUG - rtt_avg : 21.931 2021-03-27 00:00:18,614 - Probe_Log - DEBUG - rtt_max : 21.931 2021-03-27 00:00:18,615 - Probe_Log - DEBUG - rtt_mdev : 0.000 2021-03-27 00:00:18,617 - Probe_Log - INFO - ping_host: ipv6.google.com, pkts_tx: 1, pkts_rx: 1, pkt_loss: 0, rtt_avg: 21.931 2021-03-27 00:00:18,623 - Probe_Log - INFO - DNS hostname lookup : ipv6.google.com / Result: 2a00:1450:4003:802::200e 2021-03-27 00:00:18,649 - Probe_Log - INFO - Checked interface route to : 2a00:1450:4003:802::200e. Result: 2a00:1450:4003:802::200e from :: via fe80::1 dev eth0 proto ra src 200xxxxxxxxxxxxxxxxxxxxx8c:7ec4 metric 1024 hoplimit 64 pref medium 2021-03-27 00:00:18,650 - Probe_Log - WARNING - We are not using the interface required to perform our ipv6 tests due to a routing issue in this unit - attempt route addition to fix issue 2021-03-27 00:00:18,658 - Probe_Log - INFO - DNS hostname lookup : ipv6.google.com / Result: 2a00:1450:4003:802::200e 2021-03-27 00:00:18,683 - Probe_Log - INFO - Checked interface route to : 2a00:1450:4003:802::200e. Result: default via fe80::1 dev eth0 proto ra metric 1024 expires 296sec hoplimit 64 pref medium 2021-03-27 00:00:18,685 - Probe_Log - INFO - [Default Route Injection (IPv6)] Checking probe mode: 'wireless' 2021-03-27 00:00:18,710 - Probe_Log - INFO - [Default Route Injection (IPv6)] Deleting route: default via fe80::1 dev eth0 proto ra metric 1024 expires 296sec hoplimit 64 pref medium 2021-03-27 00:00:18,735 - Probe_Log - INFO - [Default Route Injection (IPv6)] Re-adding deleted route with new metric: default via fe80::1 dev eth0 proto ra metric 1024 expires 296sec hoplimit 64 pref medium metric 1024 2021-03-27 00:00:18,760 - Probe_Log - INFO - [Default Route Injection (IPv6)] Adding new route: default dev wlan0 metric 1 2021-03-27 00:00:18,761 - Probe_Log - INFO - [Default Route Injection (IPv6)] Route injection complete 2021-03-27 00:00:18,762 - Probe_Log - INFO - Bouncing interface wlan0 2021-03-27 00:00:18,764 - Probe_Log - WARNING - Taking interface down... 2021-03-27 00:00:31,650 - Probe_Log - WARNING - Bringing interface up... 2021-03-27 00:00:43,163 - Probe_Log - INFO - Interface bounce completed OK. 2021-03-27 00:00:43,165 - Probe_Log - INFO - Checking if ipv6 route injection worked... 2021-03-27 00:00:43,191 - Probe_Log - INFO - Checked interface route to : 2a00:1450:4003:802::200e. Result: 2a00:1450:4003:802::200e from :: via fe80::1 dev eth0 proto ra src 200xxxxxxxxxxxxxxxxxxxxx8c:7ec4 metric 1024 hoplimit 64 pref medium 2021-03-27 00:00:43,192 - Probe_Log - WARNING - We still have an ipv6 routing issue. Will have to exit as testing over correct interface not possible 2021-03-27 00:00:43,193 - Probe_Log - WARNING - Suggest making static routing additions or adding an additional metric to the interface causing the issue. 2021-03-27 00:00:43,194 - Probe_Log - INFO - removing lock file

wifinigel commented 3 years ago

Another issue found in file cd /usr/local/lib/python3.7/dist-packages/wiperf_poller/helpers/route_ipv6.py. This is due to dhcp adding "expires" info to routes (which I cannot simulate in my env, as using static addresses). Cleaned up route entries prior to attempting to delete duplicates of local interface routes

Fixed file pushed to dev repo.

Down load new file as follows (SSH to RPi):

cd /usr/local/lib/python3.7/dist-packages/wiperf_poller/helpers/
# download fixed file
sudo curl https://raw.githubusercontent.com/wifinigel/wiperf_poller/dev/wiperf_poller/helpers/route_ipv6.py --output route_ipv6.py

Please add new file as detailed above, reboot & re-test on RPi.

wifinigel commented 3 years ago

Similar issue found in file cd /usr/local/lib/python3.7/dist-packages/wiperf_poller/helpers/route_ipv6.py when trying to remove default route. This is due to dhcp adding "expires" info to routes (which I cannot simulate in my env, as using static addresses). Cleaned up default route entry prior to attempting to delete.

Fixed file pushed to dev repo.

Down load new file as follows (SSH to RPi):

cd /usr/local/lib/python3.7/dist-packages/wiperf_poller/helpers/
# download fixed file
sudo curl https://raw.githubusercontent.com/wifinigel/wiperf_poller/dev/wiperf_poller/helpers/route_ipv6.py --output route_ipv6.py

Please add new file as detailed above, reboot & re-test on WLAN Pi.

Thanks for all the testing !!! :)

lealog commented 3 years ago

WLANPI Retest - NOK

root@wlanpi:/home/wlanpi# /usr/bin/python3 /usr/share/wiperf/wiperf_run.py RTNETLINK answers: File exists

2021-03-27 14:32:50,744 - Probe_Log - INFO - ~~~~~~~~~~~~~~~~~~~~~~~ 2021-03-27 14:32:50,745 - Probe_Log - INFO - Network testing connection IPV6 tests (wlan0) 2021-03-27 14:32:50,746 - Probe_Log - INFO - ~~~~~~~~~~~~~~~~~~~~~~~ 2021-03-27 14:32:50,746 - Probe_Log - INFO - Checking if we have an IPv6 address (wlan0) 2021-03-27 14:32:50,747 - Probe_Log - INFO - Getting adapter IPv6 info: wlan0 2021-03-27 14:32:50,771 - Probe_Log - DEBUG - Interface config info: inet6 200xxxxxxxxxxxxxxxxxxxxxxxe00:237d/64 scope global dynamic mngtmpaddr

2021-03-27 14:32:50,772 - Probe_Log - DEBUG - IP Address = 200xxxxxxxxxxxxxxxxxxxxxxxe00:237d 2021-03-27 14:32:50,773 - Probe_Log - INFO - Checking we can do an ipv6 DNS lookup to ipv6.google.com 2021-03-27 14:32:50,774 - Probe_Log - DEBUG - Pinging host: ipv6.google.com (count=1) 2021-03-27 14:32:50,868 - Probe_Log - DEBUG - Ping command output: 2021-03-27 14:32:50,869 - Probe_Log - DEBUG - ['PING ipv6.google.com(mad41s10-in-x0e.1e100.net (2a00:1450:4003:808::200e)) 56 data bytes', '', '--- ipv6.google.com ping statistics ---', '1 packets transmitted, 1 received, 0% packet loss, time 0ms', 'rtt min/avg/max/mdev = 11.342/11.342/11.342/0.000 ms'] 2021-03-27 14:32:50,870 - Probe_Log - DEBUG - Packets transmitted: 1 2021-03-27 14:32:50,871 - Probe_Log - DEBUG - Packets received: 1 2021-03-27 14:32:50,872 - Probe_Log - DEBUG - Packet loss(%): 0 2021-03-27 14:32:50,873 - Probe_Log - DEBUG - Test duration (mS): 0 2021-03-27 14:32:50,874 - Probe_Log - DEBUG - rtt_min : 11.342 2021-03-27 14:32:50,875 - Probe_Log - DEBUG - rtt_avg : 11.342 2021-03-27 14:32:50,875 - Probe_Log - DEBUG - rtt_max : 11.342 2021-03-27 14:32:50,876 - Probe_Log - DEBUG - rtt_mdev : 0.000 2021-03-27 14:32:50,877 - Probe_Log - INFO - ping_host: ipv6.google.com, pkts_tx: 1, pkts_rx: 1, pkt_loss: 0, rtt_avg: 11.342 2021-03-27 14:32:50,884 - Probe_Log - INFO - DNS hostname lookup : ipv6.google.com / Result: 2a00:1450:4003:808::200e 2021-03-27 14:32:50,908 - Probe_Log - INFO - Checked interface route to : 2a00:1450:4003:808::200e. Result: 2a00:1450:4003:808::200e from :: via fe80::1 dev eth0 proto ra src 200xxxxxxxxxxxxxxxxxxxxx8c:7ec4 metric 1024 hoplimit 64 pref medium 2021-03-27 14:32:50,909 - Probe_Log - WARNING - We are not using the interface required to perform our ipv6 tests due to a routing issue in this unit - attempt route addition to fix issue 2021-03-27 14:32:50,916 - Probe_Log - INFO - DNS hostname lookup : ipv6.google.com / Result: 2a00:1450:4003:808::200e 2021-03-27 14:32:50,939 - Probe_Log - INFO - Checked interface route to : 2a00:1450:4003:808::200e. Result: default via fe80::1 dev eth0 proto ra metric 1024 expires 296sec hoplimit 64 pref medium 2021-03-27 14:32:50,941 - Probe_Log - INFO - [Default Route Injection (IPv6)] Checking probe mode: 'wireless' 2021-03-27 14:32:50,963 - Probe_Log - INFO - [Default Route Injection (IPv6)] Deleting route: default via fe80::1 dev eth0 proto ra metric 1024 2021-03-27 14:32:50,987 - Probe_Log - INFO - [Default Route Injection (IPv6)] Re-adding deleted route with new metric: default via fe80::1 dev eth0 proto ra metric 1024 metric 1024 2021-03-27 14:32:51,010 - Probe_Log - INFO - [Default Route Injection (IPv6)] Adding new route: default dev wlan0 metric 1 2021-03-27 14:32:51,011 - Probe_Log - INFO - [Default Route Injection (IPv6)] Route injection complete 2021-03-27 14:32:51,012 - Probe_Log - INFO - Bouncing interface wlan0 2021-03-27 14:32:51,013 - Probe_Log - WARNING - Taking interface down... 2021-03-27 14:33:03,712 - Probe_Log - WARNING - Bringing interface up... 2021-03-27 14:33:22,126 - Probe_Log - INFO - Interface bounce completed OK. 2021-03-27 14:33:22,127 - Probe_Log - INFO - Checking if ipv6 route injection worked... 2021-03-27 14:33:22,150 - Probe_Log - INFO - Checked interface route to : 2a00:1450:4003:808::200e. Result: 2a00:1450:4003:808::200e from :: via fe80::1 dev eth0 proto ra src 200xxxxxxxxxxxxxxxxxxxxx8c:7ec4 metric 1024 hoplimit 64 pref medium 2021-03-27 14:33:22,152 - Probe_Log - WARNING - We still have an ipv6 routing issue. Will have to exit as testing over correct interface not possible 2021-03-27 14:33:22,153 - Probe_Log - WARNING - Suggest making static routing additions or adding an additional metric to the interface causing the issue. 2021-03-27 14:33:22,154 - Probe_Log - INFO - removing lock file

root@wlanpi:/home/wlanpi# ip -6 route ::1 dev lo proto kernel metric 256 pref medium 200xxxxxxxxcf00::/64 dev eth0 proto kernel metric 256 expires 86369sec pref medium 200xxxxxxxxcf00::/64 dev wlan0 proto kernel metric 256 expires 86369sec pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev ztukutsbw2 proto kernel metric 256 pref medium fe80::/64 dev wlan0 proto kernel metric 256 pref medium default via fe80::1 dev eth0 proto ra metric 1024 expires 269sec hoplimit 64 pref medium default via fe80::1 dev wlan0 proto ra metric 1024 expires 269sec hoplimit 64 pref medium root@wlanpi:/home/wlanpi# root@wlanpi:/home/wlanpi# root@wlanpi:/home/wlanpi# ifconfig eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.1.102 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 200xxxxxxxxxxxxxxxxxxxxx8c:7ec4 prefixlen 64 scopeid 0x0 inet6 fe80::1:c2ff:fe8c:7ec4 prefixlen 64 scopeid 0x20 ether 02:01:c2:8c:7e:c4 txqueuelen 1000 (Ethernet) RX packets 2619 bytes 405454 (395.9 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 2286 bytes 346647 (338.5 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 34

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10 loop txqueuelen 1000 (Local Loopback) RX packets 60 bytes 9410 (9.1 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 60 bytes 9410 (9.1 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

usb0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 inet 169.254.42.1 netmask 255.255.255.224 broadcast 169.254.42.31 ether d2:48:98:e8:34:91 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.1.181 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 200xxxxxxxxxxxxxxxxxxxxxxxe00:237d prefixlen 64 scopeid 0x0 inet6 fe80::8e88:2dff:fe00:237d prefixlen 64 scopeid 0x20 ether 8c:88:2d:00:23:7d txqueuelen 1000 (Ethernet) RX packets 2098 bytes 234110 (228.6 KiB) RX errors 0 dropped 3 overruns 0 frame 0 TX packets 1467 bytes 322228 (314.6 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

ztukutsbw2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 2800 inet 192.168.192.84 netmask 255.255.255.0 broadcast 192.168.192.255 inet6 fe80::44d3:3eff:fe20:10f4 prefixlen 64 scopeid 0x20 ether ea:2c:6b:9d:ed:44 txqueuelen 1000 (Ethernet) RX packets 3 bytes 832 (832.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 12 bytes 936 (936.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

root@wlanpi:/home/wlanpi#

lealog commented 3 years ago

RPI4 Retest - NOK

root@raspberrypiredewifi:/home/pi# /usr/bin/python3 /usr/share/wiperf/wiperf_run.py RTNETLINK answers: File exists

2021-03-27 14:41:24,205 - Probe_Log - INFO - ~~~~~~~~~~~~~~~~~~~~~~~ 2021-03-27 14:41:24,205 - Probe_Log - INFO - Network testing connection IPV6 tests (wlan0) 2021-03-27 14:41:24,206 - Probe_Log - INFO - ~~~~~~~~~~~~~~~~~~~~~~~ 2021-03-27 14:41:24,206 - Probe_Log - INFO - Checking if we have an IPv6 address (wlan0) 2021-03-27 14:41:24,206 - Probe_Log - INFO - Getting adapter IPv6 info: wlan0 2021-03-27 14:41:24,218 - Probe_Log - DEBUG - Interface config info: inet6 2001xxxxxxxxxxxxxxxxxxxxx:2006/64 scope global dynamic mngtmpaddr

2021-03-27 14:41:24,219 - Probe_Log - DEBUG - IP Address = 2001xxxxxxxxxxxxxxxxxxxxx:2006 2021-03-27 14:41:24,219 - Probe_Log - INFO - Checking we can do an ipv6 DNS lookup to ipv6.google.com 2021-03-27 14:41:24,219 - Probe_Log - DEBUG - Pinging host: ipv6.google.com (count=1) 2021-03-27 14:41:24,317 - Probe_Log - DEBUG - Ping command output: 2021-03-27 14:41:24,317 - Probe_Log - DEBUG - ['PING ipv6.google.com(mad41s04-in-x0e.1e100.net (2a00:1450:4003:800::200e)) 56 data bytes', '', '--- ipv6.google.com ping statistics ---', '1 packets transmitted, 1 received, 0% packet loss, time 0ms', 'rtt min/avg/max/mdev = 19.892/19.892/19.892/0.000 ms'] 2021-03-27 14:41:24,318 - Probe_Log - DEBUG - Packets transmitted: 1 2021-03-27 14:41:24,318 - Probe_Log - DEBUG - Packets received: 1 2021-03-27 14:41:24,318 - Probe_Log - DEBUG - Packet loss(%): 0 2021-03-27 14:41:24,318 - Probe_Log - DEBUG - Test duration (mS): 0 2021-03-27 14:41:24,319 - Probe_Log - DEBUG - rtt_min : 19.892 2021-03-27 14:41:24,319 - Probe_Log - DEBUG - rtt_avg : 19.892 2021-03-27 14:41:24,319 - Probe_Log - DEBUG - rtt_max : 19.892 2021-03-27 14:41:24,319 - Probe_Log - DEBUG - rtt_mdev : 0.000 2021-03-27 14:41:24,320 - Probe_Log - INFO - ping_host: ipv6.google.com, pkts_tx: 1, pkts_rx: 1, pkt_loss: 0, rtt_avg: 19.892 2021-03-27 14:41:24,324 - Probe_Log - INFO - DNS hostname lookup : ipv6.google.com / Result: 2a00:1450:4003:800::200e 2021-03-27 14:41:24,335 - Probe_Log - INFO - Checked interface route to : 2a00:1450:4003:800::200e. Result: 2a00:1450:4003:800::200e from :: via fe80::1 dev eth0 proto ra src 200XXXXXXXXXXXXXXXXXfe5b:2005 metric 1024 hoplimit 64 pref medium 2021-03-27 14:41:24,336 - Probe_Log - WARNING - We are not using the interface required to perform our ipv6 tests due to a routing issue in this unit - attempt route addition to fix issue 2021-03-27 14:41:24,341 - Probe_Log - INFO - DNS hostname lookup : ipv6.google.com / Result: 2a00:1450:4003:800::200e 2021-03-27 14:41:24,352 - Probe_Log - INFO - Checked interface route to : 2a00:1450:4003:800::200e. Result: default via fe80::1 dev eth0 proto ra metric 1024 expires 294sec hoplimit 64 pref medium 2021-03-27 14:41:24,353 - Probe_Log - INFO - [Default Route Injection (IPv6)] Checking probe mode: 'wireless' 2021-03-27 14:41:24,364 - Probe_Log - INFO - [Default Route Injection (IPv6)] Deleting route: default via fe80::1 dev eth0 proto ra metric 1024 2021-03-27 14:41:24,375 - Probe_Log - INFO - [Default Route Injection (IPv6)] Re-adding deleted route with new metric: default via fe80::1 dev eth0 proto ra metric 1024 metric 1024 2021-03-27 14:41:24,388 - Probe_Log - INFO - [Default Route Injection (IPv6)] Adding new route: default dev wlan0 metric 1 2021-03-27 14:41:24,388 - Probe_Log - INFO - [Default Route Injection (IPv6)] Route injection complete 2021-03-27 14:41:24,389 - Probe_Log - INFO - Bouncing interface wlan0 2021-03-27 14:41:24,389 - Probe_Log - WARNING - Taking interface down... 2021-03-27 14:41:36,390 - Probe_Log - WARNING - Bringing interface up... 2021-03-27 14:41:46,960 - Probe_Log - INFO - Interface bounce completed OK. 2021-03-27 14:41:46,961 - Probe_Log - INFO - Checking if ipv6 route injection worked... 2021-03-27 14:41:46,972 - Probe_Log - INFO - Checked interface route to : 2a00:1450:4003:800::200e. Result: 2a00:1450:4003:800::200e from :: via fe80::1 dev eth0 proto ra src 200XXXXXXXXXXXXXXXXXfe5b:2005 metric 1024 hoplimit 64 pref medium 2021-03-27 14:41:46,973 - Probe_Log - WARNING - We still have an ipv6 routing issue. Will have to exit as testing over correct interface not possible 2021-03-27 14:41:46,973 - Probe_Log - WARNING - Suggest making static routing additions or adding an additional metric to the interface causing the issue. 2021-03-27 14:41:46,974 - Probe_Log - INFO - removing lock file

root@raspberrypiredewifi:/home/pi# ip -6 route ::1 dev lo proto kernel metric 256 pref medium 200xxxxxxxxcf00::/64 dev eth0 proto kernel metric 256 expires 86349sec pref medium 200xxxxxxxxcf00::/64 dev wlan0 proto kernel metric 256 expires 86349sec pref medium fe80::/64 dev ztukutsbw2 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev wlan0 proto kernel metric 256 pref medium default via fe80::1 dev eth0 proto ra metric 1024 expires 249sec hoplimit 64 pref medium default via fe80::1 dev wlan0 proto ra metric 1024 expires 249sec hoplimit 64 pref medium

root@raspberrypiredewifi:/home/pi# ifconfig eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.1.72 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 fe80::dea6:32ff:fe5b:2005 prefixlen 64 scopeid 0x20 inet6 200XXXXXXXXXXXXXXXXXfe5b:2005 prefixlen 64 scopeid 0x0 ether dc:a6:32:5b:20:05 txqueuelen 1000 (Ethernet) RX packets 4601 bytes 841272 (821.5 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 3860 bytes 617369 (602.8 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10 loop txqueuelen 1000 (Local Loopback) RX packets 1056 bytes 196434 (191.8 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 1056 bytes 196434 (191.8 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.1.165 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 fe80::dea6:32ff:fe5b:2006 prefixlen 64 scopeid 0x20 inet6 2001xxxxxxxxxxxxxxxxxxxxx:2006 prefixlen 64 scopeid 0x0 ether dc:a6:32:5b:20:06 txqueuelen 1000 (Ethernet) RX packets 1829 bytes 241208 (235.5 KiB) RX errors 0 dropped 2 overruns 0 frame 0 TX packets 2650 bytes 415127 (405.3 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

ztukutsbw2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 2800 inet 192.168.192.194 netmask 255.255.255.0 broadcast 192.168.192.255 inet6 fe80::e894:c8ff:fe6b:e680 prefixlen 64 scopeid 0x20 ether ea:94:c8:6b:e6:80 txqueuelen 1000 (Ethernet) RX packets 20 bytes 5279 (5.1 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 36 bytes 4759 (4.6 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wifinigel commented 3 years ago

I'm not sure how this can be fixed. The route reported as the default route is via a link local route (fe80::/64), which I don't understand. On my probe with static IPv6 addresses, the default route is via one of the local interfaces, which makes more sense to me.

root@probe7:/home/pi# ip -6 route
::1 dev lo proto kernel metric 256 pref medium
2001:1:1:1::/64 dev wlan0 proto kernel metric 256 pref medium
fd83:48a:632:ff8b:db99:9300::/88 dev ztqu3hldpj proto kernel metric 256 pref medium
fe80::/64 dev eth0 proto kernel metric 256 pref medium
fe80::/64 dev ztqu3hldpj proto kernel metric 256 pref medium
fe80::/64 dev wlan0 proto kernel metric 256 pref medium
default via 2001:1:1:1:1::1 dev eth0 metric 1024 onlink pref medium 

root@probe7:/home/pi# ifconfig 
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.33  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::ba27:ebff:fe87:7e17  prefixlen 64  scopeid 0x20<link>
        inet6 2001:1:1:1:1::33  prefixlen 64  scopeid 0x0<global>
        ether b8:27:eb:87:7e:17  txqueuelen 1000  (Ethernet)
        RX packets 207305  bytes 25385376 (24.2 MiB)
        RX errors 0  dropped 1  overruns 0  frame 0
        TX packets 104290  bytes 14258979 (13.5 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 131533  bytes 29167471 (27.8 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 131533  bytes 29167471 (27.8 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.34  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 2001:1:1:1:1::34  prefixlen 64  scopeid 0x0<global>
        inet6 fe80::ba27:ebff:fed2:2b42  prefixlen 64  scopeid 0x20<link>
        ether b8:27:eb:d2:2b:42  txqueuelen 1000  (Ethernet)
        RX packets 22721  bytes 3190726 (3.0 MiB)
        RX errors 0  dropped 3  overruns 0  frame 0
        TX packets 65029  bytes 5130048 (4.8 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ztqu3hldpj: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 2800
        inet 10.147.17.1  netmask 255.255.255.0  broadcast 10.147.17.255
        inet6 fe80::1898:31ff:fe6e:b0ea  prefixlen 64  scopeid 0x20<link>
        inet6 fd83:48a:632:ff8b:db99:930a:20b7:1ac2  prefixlen 88  scopeid 0x0<global>
        ether da:81:df:85:1c:48  txqueuelen 1000  (Ethernet)
        RX packets 1174  bytes 501054 (489.3 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 37  bytes 4104 (4.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

I do not know how to fix this routing table entry on your probe:

2021-03-27 14:41:24,352 - Probe_Log - INFO - Checked interface route to : 2a00:1450:4003:800::200e. Result: default via fe80::1 dev eth0 proto ra metric 1024 expires 294sec hoplimit 64 pref medium
default via fe80::1 dev eth0 proto ra metric 1024 expires 249sec hoplimit 64 pref medium
default via fe80::1 dev wlan0 proto ra metric 1024 expires 249sec hoplimit 64 pref medium

Why would IP routing use a link local entry to get to the Internet rather than a physical interface network address?

Hmmmm....I'm not sure my knowledge if IPv6 routing is good enough to figure this out. Any feedback wlecome.

wifinigel commented 3 years ago

Looking at the routing table in your probe, assuming that the default routes are valid, is it possible to delete the eth0 default route? For instance, if this is the table (from your earlier output):

root@wlanpi:/home/wlanpi# ip -6 route
::1 dev lo proto kernel metric 256 pref medium
200xxxxxxxxcf00::/64 dev eth0 proto kernel metric 256 expires 86369sec pref medium
200xxxxxxxxcf00::/64 dev wlan0 proto kernel metric 256 expires 86369sec pref medium
fe80::/64 dev eth0 proto kernel metric 256 pref medium
fe80::/64 dev ztukutsbw2 proto kernel metric 256 pref medium
fe80::/64 dev wlan0 proto kernel metric 256 pref medium
default via fe80::1 dev eth0 proto ra metric 1024 expires 269sec hoplimit 64 pref medium
default via fe80::1 dev wlan0 proto ra metric 1024 expires 269sec hoplimit 64 pref medium

If it possble to manually delete the eth0 route with:

ip -6 route del default via fe80::1 dev eth0 proto ra metric 1024 

?

lealog commented 3 years ago

Hi Nigel. Yes, I can delete the eth0 route.

root@wlanpi:/home/wlanpi# ifconfig eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.1.102 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 200xxxxxxxxxxxxxxxxxxxxx8c:7ec4 prefixlen 64 scopeid 0x0 inet6 fe80::1:c2ff:fe8c:7ec4 prefixlen 64 scopeid 0x20 ether 02:01:c2:8c:7e:c4 txqueuelen 1000 (Ethernet) RX packets 2078 bytes 360202 (351.7 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 2646 bytes 320820 (313.3 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 34

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10 loop txqueuelen 1000 (Local Loopback) RX packets 921 bytes 173289 (169.2 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 921 bytes 173289 (169.2 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

usb0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 inet 169.254.42.1 netmask 255.255.255.224 broadcast 169.254.42.31 ether aa:98:5b:30:b2:dc txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.1.183 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 fe80::8e88:2dff:fe00:237d prefixlen 64 scopeid 0x20 inet6 200xxxxxxxxxxxxxxxxxxxxxxxe00:237d prefixlen 64 scopeid 0x0 ether 8c:88:2d:00:23:7d txqueuelen 1000 (Ethernet) RX packets 4594 bytes 745311 (727.8 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 3184 bytes 543542 (530.8 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

ztukutsbw2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 2800 inet 192.168.192.84 netmask 255.255.255.0 broadcast 192.168.192.255 inet6 fe80::d8b3:21ff:fe03:12a7 prefixlen 64 scopeid 0x20 ether ea:2c:6b:9d:ed:44 txqueuelen 1000 (Ethernet) RX packets 13 bytes 3802 (3.7 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 12 bytes 936 (936.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

root@wlanpi:/home/wlanpi# ip -6 route ::1 dev lo proto kernel metric 256 pref medium 200xxxxxxxxxf00::/64 dev eth0 proto kernel metric 256 expires 86367sec pref medium 200xxxxxxxxxf00::/64 dev wlan0 proto kernel metric 256 expires 86367sec pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev wlan0 proto kernel metric 256 pref medium fe80::/64 dev ztukutsbw2 proto kernel metric 256 pref medium default via fe80::1 dev eth0 proto ra metric 1024 expires 267sec hoplimit 64 pref medium default via fe80::1 dev wlan0 proto ra metric 1024 expires 267sec hoplimit 64 pref medium

root@wlanpi:/home/wlanpi# ip route get to 2a00:1450:4003:802::200e 2a00:1450:4003:802::200e from :: via fe80::1 dev eth0 proto ra src 200xxxxxxxxxxxxxxxxxxxxx8c:7ec4 metric 1024 hoplimit 64 pref medium

root@wlanpi:/home/wlanpi# ip -6 route del default via fe80::1 dev eth0 proto ra metric 1024

root@wlanpi:/home/wlanpi# ip -6 route ::1 dev lo proto kernel metric 256 pref medium 2001:818:e909:cf00::/64 dev eth0 proto kernel metric 256 expires 86383sec pref medium 2001:818:e909:cf00::/64 dev wlan0 proto kernel metric 256 expires 86383sec pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev wlan0 proto kernel metric 256 pref medium fe80::/64 dev ztukutsbw2 proto kernel metric 256 pref medium default via fe80::1 dev wlan0 proto ra metric 1024 expires 283sec hoplimit 64 pref medium

root@wlanpi:/home/wlanpi# ip route get to 2a00:1450:4003:802::200e 2a00:1450:4003:802::200e from :: via fe80::1 dev wlan0 proto ra src 200xxxxxxxxxxxxxxxxxxxxxxxxxxxx:237d metric 1024 hoplimit 64 pref medium

As you can see, after deleting the route, I'm able to use the right interface (wlan0) for testing.

wifinigel commented 3 years ago

Thanks! I will code a fix tomorrow.

wifinigel commented 3 years ago

Rather than simply deleting the default route associated with eth0, the following fix has been applied:

  1. Get list of routes to IPv6 destination
  2. Delete each "default" route in turn
  3. If the deleted default route is via the testing interface (wlan0), re-add it with a metric of 1
  4. If the deleted default route is not via the testing interface (e.g. it is via eth0), re-add it with a metric of 1023

This logic is more complex but will make no assumptions about the probe environment in terms of available interfaces, which may change in the future or if an interface becomes unavailable.

Fixed file pushed to dev repo. Please download new file as follows (SSH to RPi):

cd /usr/local/lib/python3.7/dist-packages/wiperf_poller/helpers/
# download fixed file
sudo curl https://raw.githubusercontent.com/wifinigel/wiperf_poller/dev/wiperf_poller/helpers/route_ipv6.py --output route_ipv6.py

Please add new file as detailed above, reboot & re-test on WLAN Pi.

lealog commented 3 years ago

Retest WLANPI - NOK

2021-03-28 15:10:14,245 - Probe_Log - INFO - ~~~~~~~~~~~~~~~~~~~~~~~ 2021-03-28 15:10:14,246 - Probe_Log - INFO - Network testing connection IPV6 tests (wlan0) 2021-03-28 15:10:14,247 - Probe_Log - INFO - ~~~~~~~~~~~~~~~~~~~~~~~ 2021-03-28 15:10:14,248 - Probe_Log - INFO - Checking if we have an IPv6 address (wlan0) 2021-03-28 15:10:14,249 - Probe_Log - INFO - Getting adapter IPv6 info: wlan0 2021-03-28 15:10:14,273 - Probe_Log - DEBUG - Interface config info: inet6 200xxxxxxxxxxxxxxxxxxxxxxxe00:237d/64 scope global dynamic mngtmpaddr

2021-03-28 15:10:14,275 - Probe_Log - DEBUG - IP Address = 200xxxxxxxxxxxxxxxxxxxxxxxe00:237d 2021-03-28 15:10:14,276 - Probe_Log - INFO - Checking we can do an ipv6 DNS lookup to ipv6.google.com 2021-03-28 15:10:14,277 - Probe_Log - DEBUG - Pinging host: ipv6.google.com (count=1) 2021-03-28 15:10:14,419 - Probe_Log - DEBUG - Ping command output: 2021-03-28 15:10:14,421 - Probe_Log - DEBUG - ['PING ipv6.google.com(mad07s23-in-x0e.1e100.net (2a00:1450:4003:80c::200e)) 56 data bytes', '', '--- ipv6.google.com ping statistics ---', '1 packets transmitted, 1 received, 0% packet loss, time 0ms', 'rtt min/avg/max/mdev = 19.834/19.834/19.834/0.000 ms'] 2021-03-28 15:10:14,422 - Probe_Log - DEBUG - Packets transmitted: 1 2021-03-28 15:10:14,423 - Probe_Log - DEBUG - Packets received: 1 2021-03-28 15:10:14,424 - Probe_Log - DEBUG - Packet loss(%): 0 2021-03-28 15:10:14,425 - Probe_Log - DEBUG - Test duration (mS): 0 2021-03-28 15:10:14,426 - Probe_Log - DEBUG - rtt_min : 19.834 2021-03-28 15:10:14,427 - Probe_Log - DEBUG - rtt_avg : 19.834 2021-03-28 15:10:14,428 - Probe_Log - DEBUG - rtt_max : 19.834 2021-03-28 15:10:14,429 - Probe_Log - DEBUG - rtt_mdev : 0.000 2021-03-28 15:10:14,430 - Probe_Log - INFO - ping_host: ipv6.google.com, pkts_tx: 1, pkts_rx: 1, pkt_loss: 0, rtt_avg: 19.834 2021-03-28 15:10:14,436 - Probe_Log - INFO - DNS hostname lookup : ipv6.google.com / Result: 2a00:1450:4003:80c::200e 2021-03-28 15:10:14,459 - Probe_Log - INFO - Checked interface route to : 2a00:1450:4003:80c::200e. Result: 2a00:1450:4003:80c::200e from :: via fe80::1 dev eth0 proto ra src 200xxxxxxxxxxxxxxxxxxxxx8c:7ec4 metric 1024 hoplimit 64 pref medium 2021-03-28 15:10:14,460 - Probe_Log - WARNING - We are not using the interface required to perform our ipv6 tests due to a routing issue in this unit - attempt route addition to fix issue 2021-03-28 15:10:14,467 - Probe_Log - INFO - DNS hostname lookup : ipv6.google.com / Result: 2a00:1450:4003:80c::200e 2021-03-28 15:10:14,490 - Probe_Log - INFO - Checked interface routes to : 2a00:1450:4003:80c::200e. Result: default via fe80::1 dev eth0 proto ra metric 1024 expires 298sec hoplimit 64 pref medium default via fe80::1 dev wlan0 proto ra metric 1024 expires 298sec hoplimit 64 pref medium 2021-03-28 15:10:14,491 - Probe_Log - INFO - [Default Route Injection (IPv6)] Checking if we can fix default routing to use correct test interface... 2021-03-28 15:10:14,492 - Probe_Log - INFO - [Default Route Injection (IPv6)] Checking probe mode: 'wireless' 2021-03-28 15:10:14,493 - Probe_Log - INFO - [Default Route Injection (IPv6)] Testing interface: 'wlan0' 2021-03-28 15:10:14,494 - Probe_Log - INFO - [Default Route Injection (IPv6)] Checking routes... 2021-03-28 15:10:14,495 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: d 2021-03-28 15:10:14,497 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: e 2021-03-28 15:10:14,498 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: f 2021-03-28 15:10:14,499 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: a 2021-03-28 15:10:14,500 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: u 2021-03-28 15:10:14,501 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: l 2021-03-28 15:10:14,502 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: t 2021-03-28 15:10:14,503 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 2021-03-28 15:10:14,504 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: v 2021-03-28 15:10:14,506 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: i 2021-03-28 15:10:14,507 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: a 2021-03-28 15:10:14,508 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 2021-03-28 15:10:14,509 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: f 2021-03-28 15:10:14,510 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: e 2021-03-28 15:10:14,511 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 8 2021-03-28 15:10:14,512 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 0 2021-03-28 15:10:14,514 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: : 2021-03-28 15:10:14,515 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: : 2021-03-28 15:10:14,516 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 1 2021-03-28 15:10:14,517 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 2021-03-28 15:10:14,519 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: d 2021-03-28 15:10:14,520 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: e 2021-03-28 15:10:14,521 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: v 2021-03-28 15:10:14,522 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 2021-03-28 15:10:14,523 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: e 2021-03-28 15:10:14,525 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: t 2021-03-28 15:10:14,526 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: h 2021-03-28 15:10:14,527 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 0 2021-03-28 15:10:14,528 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 2021-03-28 15:10:14,530 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: p 2021-03-28 15:10:14,531 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: r 2021-03-28 15:10:14,532 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: o 2021-03-28 15:10:14,533 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: t 2021-03-28 15:10:14,534 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: o 2021-03-28 15:10:14,535 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 2021-03-28 15:10:14,536 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: r 2021-03-28 15:10:14,537 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: a 2021-03-28 15:10:14,538 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 2021-03-28 15:10:14,540 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: m 2021-03-28 15:10:14,541 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: e 2021-03-28 15:10:14,542 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: t 2021-03-28 15:10:14,543 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: r 2021-03-28 15:10:14,544 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: i 2021-03-28 15:10:14,545 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: c 2021-03-28 15:10:14,546 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 2021-03-28 15:10:14,548 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 1 2021-03-28 15:10:14,549 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 0 2021-03-28 15:10:14,551 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 2 2021-03-28 15:10:14,552 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 4 2021-03-28 15:10:14,553 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 2021-03-28 15:10:14,554 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: e 2021-03-28 15:10:14,555 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: x 2021-03-28 15:10:14,556 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: p 2021-03-28 15:10:14,557 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: i 2021-03-28 15:10:14,559 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: r 2021-03-28 15:10:14,560 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: e 2021-03-28 15:10:14,561 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: s 2021-03-28 15:10:14,562 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 2021-03-28 15:10:14,563 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 2 2021-03-28 15:10:14,564 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 9 2021-03-28 15:10:14,565 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 8 2021-03-28 15:10:14,566 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: s 2021-03-28 15:10:14,567 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: e 2021-03-28 15:10:14,569 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: c 2021-03-28 15:10:14,570 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 2021-03-28 15:10:14,571 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: h 2021-03-28 15:10:14,572 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: o 2021-03-28 15:10:14,573 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: p 2021-03-28 15:10:14,575 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: l 2021-03-28 15:10:14,576 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: i 2021-03-28 15:10:14,577 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: m 2021-03-28 15:10:14,578 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: i 2021-03-28 15:10:14,579 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: t 2021-03-28 15:10:14,581 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 2021-03-28 15:10:14,582 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 6 2021-03-28 15:10:14,583 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 4 2021-03-28 15:10:14,584 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 2021-03-28 15:10:14,585 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: p 2021-03-28 15:10:14,587 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: r 2021-03-28 15:10:14,588 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: e 2021-03-28 15:10:14,589 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: f 2021-03-28 15:10:14,590 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 2021-03-28 15:10:14,591 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: m 2021-03-28 15:10:14,592 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: e 2021-03-28 15:10:14,593 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: d 2021-03-28 15:10:14,595 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: i 2021-03-28 15:10:14,596 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: u 2021-03-28 15:10:14,597 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: m 2021-03-28 15:10:14,598 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route:

2021-03-28 15:10:14,599 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: d 2021-03-28 15:10:14,600 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: e 2021-03-28 15:10:14,602 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: f 2021-03-28 15:10:14,603 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: a 2021-03-28 15:10:14,605 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: u 2021-03-28 15:10:14,607 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: l 2021-03-28 15:10:14,608 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: t 2021-03-28 15:10:14,611 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 2021-03-28 15:10:14,613 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: v 2021-03-28 15:10:14,615 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: i 2021-03-28 15:10:14,616 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: a 2021-03-28 15:10:14,617 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 2021-03-28 15:10:14,619 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: f 2021-03-28 15:10:14,621 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: e 2021-03-28 15:10:14,622 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 8 2021-03-28 15:10:14,623 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 0 2021-03-28 15:10:14,625 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: : 2021-03-28 15:10:14,626 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: : 2021-03-28 15:10:14,627 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 1 2021-03-28 15:10:14,628 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 2021-03-28 15:10:14,630 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: d 2021-03-28 15:10:14,631 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: e 2021-03-28 15:10:14,633 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: v 2021-03-28 15:10:14,634 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 2021-03-28 15:10:14,635 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: w 2021-03-28 15:10:14,637 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: l 2021-03-28 15:10:14,639 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: a 2021-03-28 15:10:14,640 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: n 2021-03-28 15:10:14,642 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 0 2021-03-28 15:10:14,643 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 2021-03-28 15:10:14,644 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: p 2021-03-28 15:10:14,645 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: r 2021-03-28 15:10:14,646 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: o 2021-03-28 15:10:14,647 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: t 2021-03-28 15:10:14,649 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: o 2021-03-28 15:10:14,650 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 2021-03-28 15:10:14,651 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: r 2021-03-28 15:10:14,652 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: a 2021-03-28 15:10:14,653 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 2021-03-28 15:10:14,654 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: m 2021-03-28 15:10:14,656 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: e 2021-03-28 15:10:14,657 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: t 2021-03-28 15:10:14,658 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: r 2021-03-28 15:10:14,659 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: i 2021-03-28 15:10:14,660 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: c 2021-03-28 15:10:14,661 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 2021-03-28 15:10:14,663 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 1 2021-03-28 15:10:14,664 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 0 2021-03-28 15:10:14,665 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 2 2021-03-28 15:10:14,666 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 4 2021-03-28 15:10:14,667 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 2021-03-28 15:10:14,668 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: e 2021-03-28 15:10:14,669 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: x 2021-03-28 15:10:14,671 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: p 2021-03-28 15:10:14,672 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: i 2021-03-28 15:10:14,673 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: r 2021-03-28 15:10:14,675 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: e 2021-03-28 15:10:14,676 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: s 2021-03-28 15:10:14,677 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 2021-03-28 15:10:14,678 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 2 2021-03-28 15:10:14,679 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 9 2021-03-28 15:10:14,681 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 8 2021-03-28 15:10:14,682 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: s 2021-03-28 15:10:14,683 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: e 2021-03-28 15:10:14,684 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: c 2021-03-28 15:10:14,685 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 2021-03-28 15:10:14,686 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: h 2021-03-28 15:10:14,688 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: o 2021-03-28 15:10:14,689 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: p 2021-03-28 15:10:14,690 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: l 2021-03-28 15:10:14,691 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: i 2021-03-28 15:10:14,693 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: m 2021-03-28 15:10:14,694 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: i 2021-03-28 15:10:14,695 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: t 2021-03-28 15:10:14,696 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 2021-03-28 15:10:14,698 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 6 2021-03-28 15:10:14,699 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 4 2021-03-28 15:10:14,700 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 2021-03-28 15:10:14,701 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: p 2021-03-28 15:10:14,702 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: r 2021-03-28 15:10:14,703 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: e 2021-03-28 15:10:14,704 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: f 2021-03-28 15:10:14,705 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 2021-03-28 15:10:14,707 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: m 2021-03-28 15:10:14,708 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: e 2021-03-28 15:10:14,709 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: d 2021-03-28 15:10:14,710 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: i 2021-03-28 15:10:14,711 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: u 2021-03-28 15:10:14,712 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: m 2021-03-28 15:10:14,714 - Probe_Log - INFO - [Default Route Injection (IPv6)] Route injection complete 2021-03-28 15:10:14,715 - Probe_Log - ERROR - Routing issue (ipv6) - exiting. 2021-03-28 15:10:14,716 - Probe_Log - INFO - removing lock file

wifinigel commented 3 years ago

Looks like a data type error....let me fix it. Will impact both platform types.

wifinigel commented 3 years ago

route_ipv6.py file had a type: used "strip" function, where should have used "split" to create a list.

Apologies.

Please re-test with new file pushed to dev branch of repo (as per previous notes).

Sorry Oscar. I tested code, on CLI, but made typo in the code when applying the fix - my bad.

lealog commented 3 years ago

No problem :)

I'm here to help.

Retest WLANPI - NOK

root@wlanpi:/home/wlanpi# /usr/bin/python3 /usr/share/wiperf/wiperf_run.py RTNETLINK answers: File exists root@wlanpi:/home/wlanpi#

2021-03-28 20:17:05,804 - Probe_Log - INFO - ~~~~~~~~~~~~~~~~~~~~~~~ 2021-03-28 20:17:05,805 - Probe_Log - INFO - Network testing connection IPV6 tests (wlan0) 2021-03-28 20:17:05,806 - Probe_Log - INFO - ~~~~~~~~~~~~~~~~~~~~~~~ 2021-03-28 20:17:05,808 - Probe_Log - INFO - Checking if we have an IPv6 address (wlan0) 2021-03-28 20:17:05,809 - Probe_Log - INFO - Getting adapter IPv6 info: wlan0 2021-03-28 20:17:05,835 - Probe_Log - DEBUG - Interface config info: inet6 200xxxxxxxxxxxxxxxxxxxxxxxe00:237d/64 scope global dynamic mngtmpaddr

2021-03-28 20:17:05,836 - Probe_Log - DEBUG - IP Address = 200xxxxxxxxxxxxxxxxxxxxxxxe00:237d 2021-03-28 20:17:05,837 - Probe_Log - INFO - Checking we can do an ipv6 DNS lookup to ipv6.google.com 2021-03-28 20:17:05,838 - Probe_Log - DEBUG - Pinging host: ipv6.google.com (count=1) 2021-03-28 20:17:05,963 - Probe_Log - DEBUG - Ping command output: 2021-03-28 20:17:05,964 - Probe_Log - DEBUG - ['PING ipv6.google.com(mad41s14-in-x0e.1e100.net (2a00:1450:4003:80f::200e)) 56 data bytes', '', '--- ipv6.google.com ping statistics ---', '1 packets transmitted, 1 received, 0% packet loss, time 0ms', 'rtt min/avg/max/mdev = 20.218/20.218/20.218/0.000 ms'] 2021-03-28 20:17:05,966 - Probe_Log - DEBUG - Packets transmitted: 1 2021-03-28 20:17:05,967 - Probe_Log - DEBUG - Packets received: 1 2021-03-28 20:17:05,967 - Probe_Log - DEBUG - Packet loss(%): 0 2021-03-28 20:17:05,968 - Probe_Log - DEBUG - Test duration (mS): 0 2021-03-28 20:17:05,969 - Probe_Log - DEBUG - rtt_min : 20.218 2021-03-28 20:17:05,970 - Probe_Log - DEBUG - rtt_avg : 20.218 2021-03-28 20:17:05,971 - Probe_Log - DEBUG - rtt_max : 20.218 2021-03-28 20:17:05,973 - Probe_Log - DEBUG - rtt_mdev : 0.000 2021-03-28 20:17:05,974 - Probe_Log - INFO - ping_host: ipv6.google.com, pkts_tx: 1, pkts_rx: 1, pkt_loss: 0, rtt_avg: 20.218 2021-03-28 20:17:05,980 - Probe_Log - INFO - DNS hostname lookup : ipv6.google.com / Result: 2a00:1450:4003:80f::200e 2021-03-28 20:17:06,004 - Probe_Log - INFO - Checked interface route to : 2a00:1450:4003:80f::200e. Result: 2a00:1450:4003:80f::200e from :: via fe80::1 dev eth0 proto ra src 200xxxxxxxxcf00::/64 metric 1024 hoplimit 64 pref medium 2021-03-28 20:17:06,006 - Probe_Log - WARNING - We are not using the interface required to perform our ipv6 tests due to a routing issue in this unit - attempt route addition to fix issue 2021-03-28 20:17:06,013 - Probe_Log - INFO - DNS hostname lookup : ipv6.google.com / Result: 2a00:1450:4003:80f::200e 2021-03-28 20:17:06,037 - Probe_Log - INFO - Checked interface routes to : 2a00:1450:4003:80f::200e. Result: ['default via fe80::1 dev eth0 proto ra metric 1024 expires 293sec hoplimit 64 pref medium', 'default via fe80::1 dev wlan0 proto ra metric 1024 expires 293sec hoplimit 64 pref medium', ''] 2021-03-28 20:17:06,038 - Probe_Log - INFO - [Default Route Injection (IPv6)] Checking if we can fix default routing to use correct test interface... 2021-03-28 20:17:06,039 - Probe_Log - INFO - [Default Route Injection (IPv6)] Checking probe mode: 'wireless' 2021-03-28 20:17:06,040 - Probe_Log - INFO - [Default Route Injection (IPv6)] Testing interface: 'wlan0' 2021-03-28 20:17:06,042 - Probe_Log - INFO - [Default Route Injection (IPv6)] Checking routes... 2021-03-28 20:17:06,065 - Probe_Log - INFO - [Default Route Injection (IPv6)] Deleting route: default via fe80::1 dev eth0 proto ra metric 1024 2021-03-28 20:17:06,090 - Probe_Log - INFO - [Default Route Injection (IPv6)] Re-adding deleted route with modified metric: default via fe80::1 dev eth0 proto ra metric 1024 2021-03-28 20:17:06,114 - Probe_Log - INFO - [Default Route Injection (IPv6)] Deleting route: default via fe80::1 dev wlan0 proto ra metric 1024 2021-03-28 20:17:06,138 - Probe_Log - INFO - [Default Route Injection (IPv6)] Re-adding deleted route with modified metric: default via fe80::1 dev wlan0 proto ra metric 1 2021-03-28 20:17:06,139 - Probe_Log - ERROR - [Default Route Injection (IPv6)] Route is not a "default" route entry...unable to update this route: 2021-03-28 20:17:06,141 - Probe_Log - INFO - [Default Route Injection (IPv6)] Route injection complete 2021-03-28 20:17:06,142 - Probe_Log - INFO - Bouncing interface wlan0 2021-03-28 20:17:06,143 - Probe_Log - WARNING - Taking interface down... 2021-03-28 20:17:18,857 - Probe_Log - WARNING - Bringing interface up... 2021-03-28 20:17:40,265 - Probe_Log - INFO - Interface bounce completed OK. 2021-03-28 20:17:40,266 - Probe_Log - INFO - Checking if ipv6 route injection worked... 2021-03-28 20:17:40,290 - Probe_Log - INFO - Checked interface route to : 2a00:1450:4003:80f::200e. Result: 2a00:1450:4003:80f::200e from :: via fe80::1 dev eth0 proto ra src 200xxxxxxxxcf00::/64 metric 1024 hoplimit 64 pref medium 2021-03-28 20:17:40,291 - Probe_Log - WARNING - We still have an ipv6 routing issue. Will have to exit as testing over correct interface not possible 2021-03-28 20:17:40,292 - Probe_Log - WARNING - Suggest making static routing additions or adding an additional metric to the interface causing the issue. 2021-03-28 20:17:40,294 - Probe_Log - INFO - removing lock file

wifinigel commented 3 years ago

Reason for failure not clear - updated route_ipv6.py to provide more output of routing tables to see where issue lies. Please download modified file again (pushed to dev branch again) and capture log output to show additional logging.