I've created twice a fresh raspbian image for my RPI, I followed step by step the deployment doc, but I'm failing in the last step in the probe config, and I'm getting the same exact warning route error under cat /var/log/wiperf_agent.log
2020-12-22 20:40:01,738 - Probe_Log - INFO -
2020-12-22 20:40:01,739 - Probe_Log - INFO - Starting logging...
2020-12-22 20:40:01,739 - Probe_Log - INFO -
2020-12-22 20:40:01,744 - Probe_Log - INFO - Checking if we use remote cfg file...
2020-12-22 20:40:01,745 - Probe_Log - INFO - No remote cfg file confgured...using current local ini file.
2020-12-22 20:40:01,745 - Probe_Log - INFO - No lock file found. Creating lock file.
2020-12-22 20:40:01,745 - Probe_Log - INFO - ########## Network connection checks ##########
2020-12-22 20:40:02,747 - Probe_Log - INFO - Checking wireless connection is good...(layer 1 &2)
2020-12-22 20:40:02,747 - Probe_Log - INFO - Checking wireless connection available.
2020-12-22 20:40:02,819 - Probe_Log - INFO - Checking we're connected to the network (layer3)
2020-12-22 20:40:02,820 - Probe_Log - INFO - Checking we have an IP address.
2020-12-22 20:40:02,845 - Probe_Log - INFO - Checking we can do a DNS lookup to google.com
2020-12-22 20:40:02,926 - Probe_Log - INFO - ping_host: google.com, pkts_tx: 1, pkts_rx: 1, pkt_loss: 0, rtt_avg: 22.324
2020-12-22 20:40:02,962 - Probe_Log - INFO - Checked interface route to : 172.217.1.46. Result: 172.217.1.46 via 192.168.50.1 dev wlan0 src 192.168.50.81 uid 0
2020-12-22 20:40:02,963 - Probe_Log - INFO - Checking we can get to the management platform...
2020-12-22 20:40:02,965 - Probe_Log - INFO - DNS hostname lookup : . Result: 0.0.0.0
2020-12-22 20:40:02,965 - Probe_Log - INFO - Checking we will send mgt traffic over configured interface 'wlan0' mode.
2020-12-22 20:40:02,983 - Probe_Log - INFO - Checked interface route to : 0.0.0.0. Result: local 0.0.0.0 dev lo src 127.0.0.1 uid 0
2020-12-22 20:40:02,984 - Probe_Log - INFO - Mgt interface will be routed over wrong interface: local 0.0.0.0 dev lo src 127.0.0.1 uid 0
2020-12-22 20:40:02,985 - Probe_Log - WARNING - We are not using the interface required for mgt traffic due to a routing issue in this unit - attempt route addition to fix issue
2020-12-22 20:40:02,985 - Probe_Log - INFO - [Route Injection] Attempting static route insertion to fix routing issue (note this may not take effect until the next test cycle)
2020-12-22 20:40:03,002 - Probe_Log - INFO - [Route Injection] Adding new mgt traffic route: dev wlan0
2020-12-22 20:40:03,003 - Probe_Log - INFO - [Route Injection] Route injection (mgt)complete
2020-12-22 20:40:03,003 - Probe_Log - INFO - Checking if route injection worked...
2020-12-22 20:40:03,004 - Probe_Log - INFO - DNS hostname lookup : . Result: 0.0.0.0
2020-12-22 20:40:03,004 - Probe_Log - INFO - Checking we will send mgt traffic over configured interface 'wlan0' mode.
2020-12-22 20:40:03,022 - Probe_Log - INFO - Checked interface route to : 0.0.0.0. Result: local 0.0.0.0 dev lo src 127.0.0.1 uid 0
2020-12-22 20:40:03,023 - Probe_Log - INFO - Mgt interface will be routed over wrong interface: local 0.0.0.0 dev lo src 127.0.0.1 uid 0
2020-12-22 20:40:03,024 - Probe_Log - WARNING - We still have a routing issue. Will have to exit as mgt traffic over correct interface not possible
2020-12-22 20:40:03,024 - Probe_Log - WARNING - Suggest making static routing additions or adding an additional metric to the interface causing the issue.
2020-12-22 20:40:03,025 - Probe_Log - INFO - removing lock file
(It's looks like the mgt interface will be route using the loopback int)
My routing table as follow:
default via 192.168.50.1 dev wlan0
192.168.50.0/24 dev wlan0 proto kernel scope link src 192.168.50.81
192.168.50.0/24 dev eth0 proto kernel scope link src 192.168.50.80
My ip conf:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether dc:a6:32:1e:61:30 brd ff:ff:ff:ff:ff:ff
inet 192.168.50.80/24 brd 192.168.50.255 scope global dynamic eth0
valid_lft 85060sec preferred_lft 85060sec
inet6 fe80::dea6:32ff:fe1e:6130/64 scope link
valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether dc:a6:32:1e:61:31 brd ff:ff:ff:ff:ff:ff
inet 192.168.50.81/24 brd 192.168.50.255 scope global dynamic wlan0
valid_lft 85056sec preferred_lft 85056sec
inet6 fe80::dea6:32ff:fe1e:6131/64 scope link
valid_lft forever preferred_lft forever
Under ./config.ini (It's the same result using mgt_if: wlan0 or mgt_if: eth0)
My current conf:
; ====================================================================
; General settings - any changes to this section should only be
; made when in classic mode (not while in wiperf mode) on the WLAN Pi
; ====================================================================
[General]
; global test mode: 'wireless' or 'ethernet'
;
; wireless mode:
; - test traffic runs over wireless interface
; - management traffic (i.e. result data) sent over interface specified in mgt_if parameter
; ethernet mode:
; - test traffic runs over ethernet interface
; - management traffic (i.e. result data) sent over interface specified in mgt_if parameter
;
probe_mode: wireless
; ------------- ethernet mode parameters ------------
; eth interface name - set this as per the output of an ifconfig command (usually eth0)
eth_if: eth0
; ---------------------------------------------------
; ------------- wireless mode parameters ------------
; wlan interface name - set this as per the output of an iwconfig command (usually wlan0)
wlan_if: wlan0
; ---------------------------------------------------
; -------------mgt interface parameters ------------
; interface name over which mgt traffic is sent (i.e. how we get to our management
; server) - options: wlan0, eth0, ztxxxxxx (ZeroTier), lo (local instance of Influx)
mgt_if: wlan0
; ---------------------------------------------------
; --------- Common Mgt Platform Params -------
; set the data exporter type - current options: splunk, influxdb, influxdb2
exporter_type: influxdb
; --------------------------------------------
Nigel, what should I check? I've tried creating new default route pointing all the traffic to the ethernet or wlan without luck! Also, I tried only using the internal wlan NIC without luck.
Thanks in advance, and please let me know if you need another detail.
Hi Nigel, I hope you are doing well.
I've created twice a fresh raspbian image for my RPI, I followed step by step the deployment doc, but I'm failing in the last step in the probe config, and I'm getting the same exact warning route error under
cat /var/log/wiperf_agent.log
2020-12-22 20:40:01,738 - Probe_Log - INFO - 2020-12-22 20:40:01,739 - Probe_Log - INFO - Starting logging... 2020-12-22 20:40:01,739 - Probe_Log - INFO - 2020-12-22 20:40:01,744 - Probe_Log - INFO - Checking if we use remote cfg file... 2020-12-22 20:40:01,745 - Probe_Log - INFO - No remote cfg file confgured...using current local ini file. 2020-12-22 20:40:01,745 - Probe_Log - INFO - No lock file found. Creating lock file. 2020-12-22 20:40:01,745 - Probe_Log - INFO - ########## Network connection checks ########## 2020-12-22 20:40:02,747 - Probe_Log - INFO - Checking wireless connection is good...(layer 1 &2) 2020-12-22 20:40:02,747 - Probe_Log - INFO - Checking wireless connection available. 2020-12-22 20:40:02,819 - Probe_Log - INFO - Checking we're connected to the network (layer3) 2020-12-22 20:40:02,820 - Probe_Log - INFO - Checking we have an IP address. 2020-12-22 20:40:02,845 - Probe_Log - INFO - Checking we can do a DNS lookup to google.com 2020-12-22 20:40:02,926 - Probe_Log - INFO - ping_host: google.com, pkts_tx: 1, pkts_rx: 1, pkt_loss: 0, rtt_avg: 22.324 2020-12-22 20:40:02,962 - Probe_Log - INFO - Checked interface route to : 172.217.1.46. Result: 172.217.1.46 via 192.168.50.1 dev wlan0 src 192.168.50.81 uid 0 2020-12-22 20:40:02,963 - Probe_Log - INFO - Checking we can get to the management platform... 2020-12-22 20:40:02,965 - Probe_Log - INFO - DNS hostname lookup : . Result: 0.0.0.0 2020-12-22 20:40:02,965 - Probe_Log - INFO - Checking we will send mgt traffic over configured interface 'wlan0' mode. 2020-12-22 20:40:02,983 - Probe_Log - INFO - Checked interface route to : 0.0.0.0. Result: local 0.0.0.0 dev lo src 127.0.0.1 uid 0 2020-12-22 20:40:02,984 - Probe_Log - INFO - Mgt interface will be routed over wrong interface: local 0.0.0.0 dev lo src 127.0.0.1 uid 0 2020-12-22 20:40:02,985 - Probe_Log - WARNING - We are not using the interface required for mgt traffic due to a routing issue in this unit - attempt route addition to fix issue 2020-12-22 20:40:02,985 - Probe_Log - INFO - [Route Injection] Attempting static route insertion to fix routing issue (note this may not take effect until the next test cycle) 2020-12-22 20:40:03,002 - Probe_Log - INFO - [Route Injection] Adding new mgt traffic route: dev wlan0 2020-12-22 20:40:03,003 - Probe_Log - INFO - [Route Injection] Route injection (mgt)complete 2020-12-22 20:40:03,003 - Probe_Log - INFO - Checking if route injection worked... 2020-12-22 20:40:03,004 - Probe_Log - INFO - DNS hostname lookup : . Result: 0.0.0.0 2020-12-22 20:40:03,004 - Probe_Log - INFO - Checking we will send mgt traffic over configured interface 'wlan0' mode. 2020-12-22 20:40:03,022 - Probe_Log - INFO - Checked interface route to : 0.0.0.0. Result: local 0.0.0.0 dev lo src 127.0.0.1 uid 0 2020-12-22 20:40:03,023 - Probe_Log - INFO - Mgt interface will be routed over wrong interface: local 0.0.0.0 dev lo src 127.0.0.1 uid 0 2020-12-22 20:40:03,024 - Probe_Log - WARNING - We still have a routing issue. Will have to exit as mgt traffic over correct interface not possible 2020-12-22 20:40:03,024 - Probe_Log - WARNING - Suggest making static routing additions or adding an additional metric to the interface causing the issue. 2020-12-22 20:40:03,025 - Probe_Log - INFO - removing lock file
(It's looks like the mgt interface will be route using the loopback int)
My routing table as follow:
default via 192.168.50.1 dev wlan0 192.168.50.0/24 dev wlan0 proto kernel scope link src 192.168.50.81 192.168.50.0/24 dev eth0 proto kernel scope link src 192.168.50.80
My ip conf:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether dc:a6:32:1e:61:30 brd ff:ff:ff:ff:ff:ff inet 192.168.50.80/24 brd 192.168.50.255 scope global dynamic eth0 valid_lft 85060sec preferred_lft 85060sec inet6 fe80::dea6:32ff:fe1e:6130/64 scope link valid_lft forever preferred_lft forever 3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether dc:a6:32:1e:61:31 brd ff:ff:ff:ff:ff:ff inet 192.168.50.81/24 brd 192.168.50.255 scope global dynamic wlan0 valid_lft 85056sec preferred_lft 85056sec inet6 fe80::dea6:32ff:fe1e:6131/64 scope link valid_lft forever preferred_lft forever
Under ./config.ini (It's the same result using mgt_if: wlan0 or mgt_if: eth0)
My current conf:
; ==================================================================== ; General settings - any changes to this section should only be ; made when in classic mode (not while in wiperf mode) on the WLAN Pi ; ==================================================================== [General] ; global test mode: 'wireless' or 'ethernet' ; ; wireless mode: ; - test traffic runs over wireless interface ; - management traffic (i.e. result data) sent over interface specified in mgt_if parameter ; ethernet mode: ; - test traffic runs over ethernet interface ; - management traffic (i.e. result data) sent over interface specified in mgt_if parameter ; probe_mode: wireless
; ------------- ethernet mode parameters ------------ ; eth interface name - set this as per the output of an ifconfig command (usually eth0) eth_if: eth0 ; ---------------------------------------------------
; ------------- wireless mode parameters ------------ ; wlan interface name - set this as per the output of an iwconfig command (usually wlan0) wlan_if: wlan0 ; ---------------------------------------------------
; -------------mgt interface parameters ------------ ; interface name over which mgt traffic is sent (i.e. how we get to our management ; server) - options: wlan0, eth0, ztxxxxxx (ZeroTier), lo (local instance of Influx) mgt_if: wlan0 ; ---------------------------------------------------
; --------- Common Mgt Platform Params ------- ; set the data exporter type - current options: splunk, influxdb, influxdb2 exporter_type: influxdb ; --------------------------------------------
Nigel, what should I check? I've tried creating new default route pointing all the traffic to the ethernet or wlan without luck! Also, I tried only using the internal wlan NIC without luck.
Thanks in advance, and please let me know if you need another detail.
P.D I love this project!