Quantcast
Channel: Start.ca forum - dslreports.com
Viewing all articles
Browse latest Browse all 2288

One hour phone time, One week down time, full price.

$
0
0
just to report broken internet is not cool. 20 minutes waiting for someone to pick up. 40 minutes of testing. Start needs a web page that has scripts that can speed up the data collection. Next time the network degrades I'll try emailing the output of this script (for Linux, should also work in WSL on windows) bash#!/bin/bash ## start_ca_data.sh# DIR="test_start_ca_$(date -Iminutes)"mkdir "$DIR" if curl -s http://192.168.100.1 | grep docsis_stats.cgi > /dev/null ; then curl -s "http://192.168.100.1/cgi-bin/docsis_stats.cgi" > "$DIR/modem_status.html" & curl -s "http://192.168.100.1/cgi-bin/connection.cgi" > "$DIR/modem_diagnostics.html" & curl -s "http://192.168.100.1/cgi-bin/event_logs.cgi" > "$DIR/modem_log.html" &else curl -s "http://192.168.100.1/Diagnostics.asp" > "$DIR/modem_diagnostics.html" & curl -s "http://192.168.100.1/EventLog.asp" > "$DIR/modem_log.html" &fiWIP="$(curl -s --connect-timeout 1 http://192.168.0.1/ | grep "WAN IPv4" | perl -pe 's/<\/span.*//g;s/.*>//g')"DIRECT=trueif [ "$WIP" != "" ] ; then DIRECT=false ping -c 100 "$WIP" > "$DIR/ping_modem.txt" & WIP="$(ip route | head -n 1 | perl -pe 's/.*via //g;s/ .*//g')" ping -c 100 "$WIP" > "$DIR/ping_router.txt" &else WIP="$(ip route | head -n 1 | perl -pe 's/.*via //g;s/ .*//g')" ping -c 100 "$WIP" > "$DIR/ping_modem.txt" &fiping -c 1 8.8.8.8 > /dev/nullONLINE=$?STATUS="offline"if [ "$ONLINE" == "0" ] ; then STATUS="expereancing packet loss" if [ ! -f dslrcli-linux-amd64 ] ; then # login required for direct DL so use a mirror not # https://www.dslreports.com/forum/speedtestbinary wget -q "https://github.com/sivel/speedtest-cli/files/4304130/dslrcli-linux-amd64.zip" unzip -q dslrcli-linux-amd64.zip chmod 0777 dslrcli-linux-amd64 fi if [ ! -f speedtest.py ] ; then wget -q "https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py" chmod 0777 speedtest.py fi #for X in 127.0.0.1 162.250.196.40 172.217.0.227 17.253.97.208 91.189.91.44; do for X in localhost start.ca google.ca developer.apple.com ubuntu.com; do ping -c 100 "$X" > "$DIR/ping_$X.txt" & traceroute "$X" > "$DIR/traceroute_$X.txt" & done echo -n "Waiting for pings..." wait echo -ne "\nWaiting for speed tests..." ./dslrcli-linux-amd64 > "$DIR/dslreports_com.txt" ./speedtest.py > "$DIR/speedtest_net.txt" # mirrors https://www.archlinux.org/mirrors/leaseweb.net/ timeout 30s curl http://mirror.sfo12.us.leaseweb.net/speedtest/100mb.bin >/dev/null 2> "$DIR/leaseweb_net.txt"fiwaitzip -r "$DIR".zip "$DIR"echo -en "\nDear support@start.ca,\n I am $STATUS. I have reset my modem, and attached is data"if [ "$DIRECT" == "true" ] ; then echo -n " (while directly connected to the modem)"fiecho "." P.S. Trying to send data not as an attachment can result in <calls-support@start.ca> (expanded from <support@start.ca>): Command died with status 255: "/usr/local/mail/calls.pl" lol someone should up their perl foo.

Viewing all articles
Browse latest Browse all 2288

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>