{"id":504,"date":"2009-11-12T23:36:22","date_gmt":"2009-11-13T03:36:22","guid":{"rendered":"https:\/\/lowtek.ca\/roo\/?p=504"},"modified":"2023-11-24T14:03:45","modified_gmt":"2023-11-24T18:03:45","slug":"speedtouch-516-dsl-metrics","status":"publish","type":"post","link":"https:\/\/lowtek.ca\/roo\/2009\/speedtouch-516-dsl-metrics\/","title":{"rendered":"SpeedTouch 516 DSL metrics"},"content":{"rendered":"<p><a href=\"https:\/\/lowtek.ca\/roo\/wp-content\/uploads\/2009\/11\/network.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-505\" title=\"network\" src=\"https:\/\/lowtek.ca\/roo\/wp-content\/uploads\/2009\/11\/network.jpg\" alt=\"network\" width=\"500\" height=\"300\" \/><\/a><\/p>\n<p>Like many folks my internet connection is connected to a router\/gateway.\u00a0 The router acts as the hub of my internal network providing both access to other machines on my local network as well as the internet.\u00a0 In my case I have a <a href=\"http:\/\/www.speedtouch.ca\/\">SpeedTouch 516 DSL modem<\/a>, plugged into a <a href=\"http:\/\/www.linksysbycisco.com\/US\/en\/products\/WRT54GL\">Linksys WRT54GL<\/a> router\/gateway, and an assortment of PCs plugged into the router.<\/p>\n<p>If you have a single PC, then it makes sense to plug your DSL modem directly into your computer.\u00a0 This has the advantage of making it easy to talk directly to your DSL modem for configuration (usually via a web interface on the modem itself).\u00a0 Some modems provide various statistics about your connection.\u00a0 There is also a tool called <a href=\"http:\/\/translate.google.ca\/translate?u=http%3A%2F%2Fdmt.mhilfe.de%2F&amp;sl=de&amp;tl=en&amp;hl=en&amp;ie=UTF-8\">DMT<\/a> which gives you a nice graphical interface to the data.<\/p>\n<p>Now if your network is at all configured like mine, you can&#8217;t easily talk to the DSL modem since the router is in the way.\u00a0 Assuming you are running the alternate router firmware <a href=\"http:\/\/www.dd-wrt.com\/\">DD-WRT<\/a>, there is a solution that will expose your DSL modem to your network.<\/p>\n<p>You need to gather two bits of information about your DSL modem, and the easiest manner to do this is to plug it directly into a PC via an ethernet cable.\u00a0 The modem should act as a DHCP server and hand out an address to your PC.\u00a0 You want to collect both the IP (cilent) address that your PC was assigned, and the gateway address (the IP of the DSL modem).<\/p>\n<p>In my case I had:<br \/>\n<code>client IP address 192.168.1.64<br \/>\ngateway IP address 192.168.1.254<\/code><\/p>\n<p>Then we telnet to the DD-WRT enabled Linksys box (yup, telnet is always enabled for the local network).\u00a0 You log in using user root (even if you have changed the web interface user name) and the password you use for the web interface.<\/p>\n<p>We are going to temporarily modify the routers configuration with the following two commands:<br \/>\n<code>\/sbin\/ifconfig vlan1:1 192.168.1.64 \\<br \/>\nnetmask 255.255.255.0<\/code><\/p>\n<p><code>\/usr\/sbin\/iptables -I POSTROUTING -t nat -o vlan1 \\<br \/>\n-d 192.168.1.0\/24 -j MASQUERADE<\/code><\/p>\n<p>If you want to make this more permanent, the <a href=\"http:\/\/www.dd-wrt.com\/wiki\/index.php\/Access_To_Modem_Configuration\">DD-WRT wiki has some instructions<\/a> on how to do this along with a few more details as to what we&#8217;re doing in the commands above.\u00a0 Assuming all went well, we can now visit the DSL modem&#8217;s web interface at http:\/\/192.168.1.254 &#8211; do this to validate that you&#8217;ve got things working ok.<\/p>\n<p>Now we go grab a copy of <a href=\"http:\/\/translate.google.ca\/translate?u=http:\/\/dmt.mhilfe.de\/&amp;sl=de&amp;tl=en&amp;hl=en&amp;ie=UTF-8\">DMT<\/a> (this is a windows only program).\u00a0 For the SpeedTouch 516 you want version 7.35.\u00a0 By running this on a windows PC connected to your network, you should get some data out of your DSL modem in a nice graphical form.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/lowtek.ca\/roo\/wp-content\/uploads\/2009\/11\/dmt20091111_2249.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-506\" title=\"dmt20091111_2249\" src=\"https:\/\/lowtek.ca\/roo\/wp-content\/uploads\/2009\/11\/dmt20091111_2249.png\" alt=\"dmt20091111_2249\" width=\"500\" height=\"390\" \/><\/a><\/p>\n<p>So neat-o, we&#8217;ve got some nice data here.\u00a0 What does it mean?\u00a0 A <a href=\"http:\/\/www.dslreports.com\/faq\/6734\">good reference can be found here<\/a> &#8211; let&#8217;s look at my results using that reference.\u00a0 The downstream attenuation of 48.0dB falls into the &#8216;good&#8217; category, a lower value is better and much higher than 50 is not so good.\u00a0 The Signal to Noise Ratio Margin (SNRM) of 10.0dB rates as fair, with this value bigger is better &#8211; a result of 6dB or less would be very bad.\u00a0 The last area I&#8217;ll talk about is the upper right yellow box showing errors &#8211; ideally you want no errors, any\u00a0 increase in CRC errors after your initial connection is established is a problem and usually points to a physical issue somewhere between the modem and the telephone companies equipment.<\/p>\n<p>What if you don&#8217;t like Windows?\u00a0 You&#8217;re in luck &#8211; all of this data can be gathered via telnet.\u00a0 Simply telnet 192.168.1.254 and log into the modem:<\/p>\n<p><code>$telnet 192.168.1.254<br \/>\nTrying 192.168.1.254...<br \/>\nConnected to 192.168.1.254.<br \/>\nEscape character is '^]'.<br \/>\nUsername : Administrator<br \/>\nPassword :<br \/>\n<\/code><\/p>\n<p>{Administrator}=&gt;adsl info<br \/>\nModemstate\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 :\u00a0 up<br \/>\nOperation Mode\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 :\u00a0 G.992.1 Annex A<br \/>\nChannel Mode\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 :\u00a0 fast<br \/>\nNumber of resets\u00a0\u00a0\u00a0\u00a0\u00a0 :\u00a0 1<\/p>\n<p>Vendor\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Local\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Remote<br \/>\nCountry\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 :\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0f\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0f<br \/>\nVendor\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 :\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 TMMB\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ALCB<br \/>\nVendorSpecific\u00a0\u00a0\u00a0\u00a0\u00a0 :\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 3c61\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0000<br \/>\nStandardRevisionNr\u00a0 :\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 00\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 01<\/p>\n<p>Downstream\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Upstream<br \/>\nMargin\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [dB]\u00a0\u00a0\u00a0\u00a0 :\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 10.0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 8.0<br \/>\nAttenuation\u00a0 [dB]\u00a0\u00a0\u00a0\u00a0 :\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 48.0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 29.0<br \/>\nOutputPower\u00a0 [dBm]\u00a0\u00a0\u00a0 :\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 19.5\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 11.5<\/p>\n<p>Intrinsic\/Actual\u00a0 Bandwidth\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 %<br \/>\nUpstream\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 :\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 82<br \/>\nDownstream\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 :\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 78<\/p>\n<p>Available Bandwidth\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Cells\/s\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Kbit\/s<br \/>\nDownstream\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 :\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 11924\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 5056<br \/>\nUpstream\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 :\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 1886\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 800<\/p>\n<p>Transfer statistics<br \/>\nErrors<br \/>\nReceived FEC\u00a0\u00a0\u00a0 :\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0<br \/>\nReceived CRC\u00a0\u00a0\u00a0 :\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 117<br \/>\nReceived HEC\u00a0\u00a0\u00a0 :\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 22<br \/>\nTransmitted FEC :\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0<br \/>\nTransmitted CRC :\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0<br \/>\nTransmitted HEC :\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0<\/p>\n<p>Near end failures since reset<br \/>\nLoss of frame:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 failures<br \/>\nLoss of signal:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 failures<br \/>\nLoss of power:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 failures<br \/>\nErrored seconds:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 47 seconds<br \/>\nNear end failures last 15 minutes<br \/>\nLoss of frame:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 seconds<br \/>\nLoss of signal:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 seconds<br \/>\nLoss of power:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 seconds<br \/>\nErrored seconds:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 seconds<br \/>\nNear end failures current day<br \/>\nErrored seconds:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 47 seconds<br \/>\nNear end failures previous day<br \/>\nErrored seconds:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 seconds<br \/>\n{Administrator}=&gt;<\/p>\n<p>So in my case, I&#8217;ve got CRC errors happening at a low rate indicating there is possibly some physical problem (ie: wiring).\u00a0 This is probably what led to a rash of recent DSL disconnect problems that prompted me to investigate this far in terms of self diagnosing the problem (because who wants to sit on hold with your ISP all day?).<\/p>\n<p>So this is what the phone line connected to my DSL modem looks like:<\/p>\n<p><a href=\"https:\/\/lowtek.ca\/roo\/wp-content\/uploads\/2009\/11\/img_3076.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-509\" title=\"img_3076\" src=\"https:\/\/lowtek.ca\/roo\/wp-content\/uploads\/2009\/11\/img_3076.jpg\" alt=\"img_3076\" width=\"500\" height=\"299\" \/><\/a>Look suspicious?\u00a0 Ok, so I&#8217;ve been meaning to fix that for a while.<\/p>\n<p>I also started searching on potential firmware upgrades, and <a href=\"http:\/\/www.howtounlockvoip.com\/general-discussion-off-topic\/525-speedtouch-516-546-780-tweaking.html\">came across some data<\/a> that indicates that my current 6.1.9.6.0 revision may not be all that stable.\u00a0 I&#8217;ll have to tinker with that soon too.<\/p>\n<p>I need to share one more goof with you.\u00a0 Jenn told me today that her email wasn&#8217;t working.\u00a0 I looked on the server and all appeared to be well, and it turns out it was her Mac acting up &#8211; it couldn&#8217;t see the mail server anymore.\u00a0 I checked with nslookup and the name was resolving fine, but ping to the same machine failed to map the name.\u00a0 Strange, I thought it was specific to the Mac until I later tried my linux box and it failed too&#8230; Huh?\u00a0 Turns out that I had reboot my router last night to clear some of the settings, since the router acts as my local DNS server\/cache it had forgotten the email servers IP address.\u00a0 Renewing the IP address on the email server cause the DNS entry on the router to refresh and all was well again.\u00a0 The lesson?\u00a0 Remember your network topology.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Like many folks my internet connection is connected to a router\/gateway.\u00a0 The router acts as the hub of my internal network providing both access to other machines on my local network as well as the internet.\u00a0 In my case I have a SpeedTouch 516 DSL modem, plugged into a Linksys WRT54GL router\/gateway, and an assortment &hellip; <a href=\"https:\/\/lowtek.ca\/roo\/2009\/speedtouch-516-dsl-metrics\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;SpeedTouch 516 DSL metrics&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-504","post","type-post","status-publish","format-standard","hentry","category-computing"],"_links":{"self":[{"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/posts\/504","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/comments?post=504"}],"version-history":[{"count":12,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/posts\/504\/revisions"}],"predecessor-version":[{"id":2238,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/posts\/504\/revisions\/2238"}],"wp:attachment":[{"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/media?parent=504"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/categories?post=504"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/tags?post=504"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}