What's new

spdMerlin spdMerlin - Automated speedtests with graphs

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Great stuff! Just what the doctor ordered.

Thanks a lot!
sneak peek :)
2b12874187.png

Sent from my SM-T805 using Tapatalk
 
interesting. fixed in develop now. good find
Hey Jack,

After this fixed, I run another speedtest with vpn5 off and the errors disappeared.
However, as soon as I turned vpn5 on and run a test, it's throwing me those errors on vpn5 test
 

Attachments

  • Screenshot_20200719-092643448.png
    Screenshot_20200719-092643448.png
    147.6 KB · Views: 116
No worries. The errors are harmless, it's how the db tables are given the new columns (if they weren't created with it). I've suppressed them now
If everything is good, just hide them under the carpet :p:p

Thanks Jack.
 
Which VPN provider? Another user had issues until they allowed non-standard SSL traffic in their VPN providers portal, or something to that effect?

I've enabled VPNC1 in v3.6.1 but getting this error:
Code:
spdMerlin: Starting speedtest using auto-selected server for VPNC1 interface

[2020-07-20 09:50:54.593] [error] Configuration - Couldn't connect to server (Network is unreachable)
[2020-07-20 09:50:54.593] [error] Configuration - Cannot retrieve configuration document (0)
[2020-07-20 09:50:54.593] [error] ConfigurationError - Could not retrieve or read configuration (Configuration)
[2020-07-20 09:50:54.594] [error] ConfigurationError - Could not retrieve or read configuration (Configuration)
[error] Configuration - Could not retrieve or read configuration (ConfigurationError)
Error: near line 2: near ",": syntax error

I'm using AirVPN through stunnel if that has any bearing on the issue?
VPNC1 is up and passing traffic:
Code:
tun11     Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet addr:10.14.65.102  P-t-P:10.14.65.102  Mask:255.255.255.0
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:262845 errors:0 dropped:0 overruns:0 frame:0
          TX packets:129892 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:289996881 (276.5 MiB)  TX bytes:40707310 (38.8 MiB)

any ideas what to check/try?
 
I've enabled VPNC1 in v3.6.1 but getting this error:
Code:
spdMerlin: Starting speedtest using auto-selected server for VPNC1 interface

[2020-07-20 09:50:54.593] [error] Configuration - Couldn't connect to server (Network is unreachable)
[2020-07-20 09:50:54.593] [error] Configuration - Cannot retrieve configuration document (0)
[2020-07-20 09:50:54.593] [error] ConfigurationError - Could not retrieve or read configuration (Configuration)
[2020-07-20 09:50:54.594] [error] ConfigurationError - Could not retrieve or read configuration (Configuration)
[error] Configuration - Could not retrieve or read configuration (ConfigurationError)
Error: near line 2: near ",": syntax error

I'm using AirVPN through stunnel if that has any bearing on the issue?
VPNC1 is up and passing traffic:
Code:
tun11     Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 
          inet addr:10.14.65.102  P-t-P:10.14.65.102  Mask:255.255.255.0
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:262845 errors:0 dropped:0 overruns:0 frame:0
          TX packets:129892 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:289996881 (276.5 MiB)  TX bytes:40707310 (38.8 MiB)

any ideas what to check/try?
i seem to recall an issue with airvpn previously, do they have any configuration their side to restrict types of traffic?
 
i seem to recall an issue with airvpn previously, do they have any configuration their side to restrict types of traffic?

not that I'm aware of, they say "Every protocol is welcome" https://airvpn.org/
I can run the speedtests in a browser on a client machine going through VPNC1
 
Any feature requests for v4? May as well get them in now while I'm working on it :)
maybe integrating optional AutoBW functionality?
my 600/15 line varies between 600-300/18-3 during the week :)
my solution was having spdmerlin scheduled runs disabled. and having autoBw generating spdmerlin runs on a schedule (and still getting the spdmerlin graphs)...
a spdmerlin integrated solution, might look at the previous runs and if there is a speed change trend, adjust qos up or down
 
Last edited:
maybe integrating optional AutoBW functionality?
my 600/15 line varies between 300-600/18-3 during the week :)
my solution was having spdmerlin scheduled runs disabled. and having autoBw generating spdmerlin runs on a schedule (and still getting the spdmerlin graphs)...
I'd need @squidbilly 's blessings before I can do that :)
 
Are you able to ping via the tunnel on the router?
Code:
ping -I tun11 8.8.8.8

nope, but do I see the reply on tun11
Code:
# ping -I tun11 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
^C
--- 8.8.8.8 ping statistics ---
36 packets transmitted, 0 packets received, 100% packet loss

# tcpdump -nni tun11 icmp and host 8.8.8.8
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on tun11, link-type RAW (Raw IP), capture size 262144 bytes
19:22:28.903341 IP 10.14.65.102 > 8.8.8.8: ICMP echo request, id 64355, seq 121, length 64
19:22:28.927279 IP 8.8.8.8 > 10.14.65.102: ICMP echo reply, id 64355, seq 121, length 64

I also see ICMP protocol 1 port xxxxx unreachable on eth0:
Code:
# tcpdump -nni eth0 icmp and host 8.8.8.8
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
19:21:52.432908 IP 10.14.65.102 > 8.8.8.8: ICMP 10.14.65.102 protocol 1 port 43047 unreachable, length 92
19:21:53.452070 IP 10.14.65.102 > 8.8.8.8: ICMP 10.14.65.102 protocol 1 port 15510 unreachable, length 92
19:21:54.462006 IP 10.14.65.102 > 8.8.8.8: ICMP 10.14.65.102 protocol 1 port 56619 unreachable, length 92
19:21:55.485632 IP 10.14.65.102 > 8.8.8.8: ICMP 10.14.65.102 protocol 1 port 27802 unreachable, length 92
19:21:56.503573 IP 10.14.65.102 > 8.8.8.8: ICMP 10.14.65.102 protocol 1 port 65032 unreachable, length 92
19:21:57.531021 IP 10.14.65.102 > 8.8.8.8: ICMP 10.14.65.102 protocol 1 port 36215 unreachable, length 92
^C
 
Any feature requests for v4? May as well get them in now while I'm working on it :)
Any chance you can add a command line option to generate the CSV file? I might be monitoring a remote site/router for WAN performance/latency. Ideally I can write a script that will email me the CSV file daily (assuming you add this command ;-)
 
Any chance you can add a command line option to generate the CSV file? I might be monitoring a remote site/router for WAN performance/latency. Ideally I can write a script that will email me the CSV file daily (assuming you add this command ;-)
That might already be there with generatecsv
 
so would spdmerlin run X times on a schedule, and take that average, or once as it does now and average the previous runs?
good question! not sure.
i only have my own example (line conditions change hourly during workhours but are stable outside workhours).
i think we'd need more use cases to figure it out.
or it could be configurable?
maybe:
- specify frequency to run spdMerlin: every 30, 60, 120, etc minutes
- specify if and how many recent results to average when checking for qos speeds
- specify how large of difference (%) needed, to trigger a qos speed correction (to avoid constant changes with minor differences)
- specify if each spd run should be single or double (wan)
 
Last edited:
Similar threads

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top