{"id":297,"date":"2009-04-15T22:24:43","date_gmt":"2009-04-15T14:24:43","guid":{"rendered":"http:\/\/blog.lolyco.com\/sean\/?p=297"},"modified":"2009-04-28T16:58:00","modified_gmt":"2009-04-28T08:58:00","slug":"a-problem-on-digi-edge-at-last","status":"publish","type":"post","link":"https:\/\/blog.lolyco.com\/sean\/2009\/04\/15\/a-problem-on-digi-edge-at-last\/","title":{"rendered":"A problem on DiGi EDGE at last!"},"content":{"rendered":"<p>Just a quick note so I don&#8217;t forget all this stuff. I used DiGi OCS and D&#8217;Chat today to ask why I couldn&#8217;t access www.w3.org from my DiGi USB EDGE adapter. See the ping output below:<\/p>\n<p><small>root@box0045:\/home\/sean# ping www.w3.org<br \/>\nPING www.w3.org (128.30.52.166) 56(84) bytes of data.<br \/>\nFrom crusher.w3.org (128.30.52.166) icmp_seq=1 Dest Unreachable, Bad Code: 10<br \/>\nFrom crusher.w3.org (128.30.52.166) icmp_seq=2 Dest Unreachable, Bad Code: 10<br \/>\nFrom crusher.w3.org (128.30.52.166) icmp_seq=3 Dest Unreachable, Bad Code: 10<br \/>\nFrom crusher.w3.org (128.30.52.166) icmp_seq=4 Dest Unreachable, Bad Code: 10<br \/>\nFrom crusher.w3.org (128.30.52.166) icmp_seq=5 Dest Unreachable, Bad Code: 10<br \/>\n^C<br \/>\n&#8212; www.w3.org ping statistics &#8212;<br \/>\n5 packets transmitted, 0 received, +5 errors, 100% packet loss, time 4021ms<br \/>\n, pipe 2<\/small><\/p>\n<p>Pinging some sites is as reliable as ever, but I also get problems when I ping wikipedia:<\/p>\n<p><small>root@box0045:\/home\/sean# ping en.wikipedia.org<br \/>\nPING rr.pmtpa.wikimedia.org (208.80.152.2) 56(84) bytes of data.<br \/>\n^C<br \/>\n&#8212; rr.pmtpa.wikimedia.org ping statistics &#8212;<br \/>\n9 packets transmitted, 0 received, 100% packet loss, time 8046ms<\/small><\/p>\n<p>And when I ping www.tm.com.my:<\/p>\n<p><small>root@box0045:\/home\/sean# ping www.tm.com.my<br \/>\nPING www.tm.com.my (202.71.108.103) 56(84) bytes of data.<br \/>\n64 bytes from 202.71.108.103: icmp_seq=1 ttl=115 time=884 ms<br \/>\n64 bytes from 202.71.108.103: icmp_seq=1 ttl=115 time=900 ms (DUP!)<br \/>\n64 bytes from 202.71.108.103: icmp_seq=2 ttl=115 time=662 ms<br \/>\n64 bytes from 202.71.108.103: icmp_seq=2 ttl=115 time=678 ms (DUP!)<br \/>\n64 bytes from 202.71.108.103: icmp_seq=3 ttl=115 time=214 ms<br \/>\n64 bytes from 202.71.108.103: icmp_seq=3 ttl=115 time=413 ms (DUP!)<br \/>\n64 bytes from 202.71.108.103: icmp_seq=4 ttl=115 time=370 ms<br \/>\n64 bytes from 202.71.108.103: icmp_seq=4 ttl=115 time=391 ms (DUP!)<br \/>\n^C<br \/>\n&#8212; www.tm.com.my ping statistics &#8212;<br \/>\n4 packets transmitted, 4 received, +4 duplicates, 0% packet loss, time 3010ms<br \/>\nrtt min\/avg\/max\/mdev = 214.117\/564.192\/900.255\/237.384 ms<\/small><\/p>\n<p>A ping to bbcnews.com (for example) is as good as ever. Ping is not a reliable friend on DiGi&#8217;s network &#8211; I think they must have many network features clamped down for security and reliability, so I&#8217;m not convinced these commands would work reliably any other time. What I would expect though, is to be able to browse a web page at one of these sites. I get No Route To Host for w3.org:<\/p>\n<p><small>root@box0045:\/home\/sean# curl -s -v www.w3.org<br \/>\n* About to connect() to www.w3.org port 80 (#0)<br \/>\n*\u00a0\u00a0 Trying 128.30.52.52&#8230; No route to host<br \/>\n*\u00a0\u00a0 Trying 128.30.52.51&#8230; No route to host<br \/>\n*\u00a0\u00a0 Trying 128.30.52.38&#8230; ^C<\/small><\/p>\n<p>And SocketTimeout for wikipedia:<\/p>\n<p><small>root@box0045:\/home\/sean# curl -s -v en.wikipedia.org<br \/>\n* About to connect() to en.wikipedia.org port 80 (#0)<br \/>\n*\u00a0\u00a0 Trying 208.80.152.2&#8230; Connection timed out<br \/>\n* couldn&#8217;t connect to host<br \/>\n* Closing connection #0<\/small><\/p>\n<p>And for www.daemon.be:<\/p>\n<p><small>root@box0045:\/home\/sean# curl -s -v www.daemon.be<br \/>\n* About to connect() to www.daemon.be port 80 (#0)<br \/>\n*   Trying 78.47.186.210&#8230; Connection timed out<br \/>\n* couldn&#8217;t connect to host<br \/>\n* Closing connection #0<\/small><\/p>\n<p>I forget the exact wording, but the nice person at DiGi tells me they&#8217;ll get a &#8216;data specialist&#8217; (I think) to call me today or tomorrow. It&#8217;s 10pm now, so I guess tomorrow&#8230;<\/p>\n<p>The funny thing is&#8230; when I called earlier, I could browse www.w3.org from my old Siemens MC60 using DiGi&#8217;s GPRS and a &#8216;digiwap&#8217; APN, but it also failed from my wife&#8217;s posh smartphone using DiGi EDGE and &#8216;diginet&#8217; APN. The DiGi D&#8217;Chat agent asked me what APN I was using for the USB adapter, and I couldn&#8217;t tell them! It&#8217;s not set anywhere in my pppd config files. I remember seeing how to discover it with an extended AT command, but it wasn&#8217;t until I got off the chat thing that I hunted it down:<\/p>\n<p><code>at+cgdcont?<br \/>\n+CGDCONT: 1,\"IP\",\"diginet\",\"0.0.0.0\",0,0<br \/>\n+CGDCONT: 3,\"IP\",\"\",\"0.0.0.0\",0,0<\/code><\/p>\n<p>OK<\/p>\n<p>So my USB adapter is using the diginet APN, because I send the dial string &#8220;atd*99***1#&#8221; &#8211; I think!<\/p>\n<p>I just tried plugging that USB EDGE adapter into my laptop and could fetch the robots.txt for en.wikipedia.org and www.dameon.be, but still the same problem with www.w3.org! With the USB EDGE adapter back in the server it is usually attached to, I still get the problem with www.w3.org, but can fetch the robots.txt from en.wikipedia.org and from www.daemon.be &#8230;?<\/p>\n<p>Time to stop fiddling with this, for all I know there&#8217;s a guy in a DiGi uniform up my local radio mast, tongue sticking out of the corner of his mouth, plugging and unplugging a cable.<\/p>\n<p><span style=\"color: #ff0000;\">Update 28th April 2009 &#8211; Paka (see comment) reminds me this problem still exists. Here are today&#8217;s output from various utilites:<\/span><\/p>\n<p><strong>First ifconfig ppp0, just to prove we&#8217;re on DiGi&#8217;s network:<\/strong><\/p>\n<blockquote><p>root@box0045:\/home\/sean# ifconfig ppp0<br \/>\nppp0\u00a0\u00a0\u00a0\u00a0\u00a0 Link encap:Point-to-Point Protocol<br \/>\ninet addr:10.32.64.240\u00a0 P-t-P:192.200.1.21\u00a0 Mask:255.255.255.255<br \/>\nUP POINTOPOINT RUNNING NOARP MULTICAST\u00a0 MTU:1500\u00a0 Metric:1<br \/>\nRX packets:123 errors:0 dropped:0 overruns:0 frame:0<br \/>\nTX packets:153 errors:0 dropped:0 overruns:0 carrier:0<br \/>\ncollisions:0 txqueuelen:3<br \/>\nRX bytes:42772 (41.7 KiB)\u00a0 TX bytes:17530 (17.1 KiB)<\/p><\/blockquote>\n<p><strong>Lynx, a text-based browser (there&#8217;s no GUI on this machine):<\/strong><\/p>\n<blockquote><p>sean@box0045:~$ lynx http:\/\/www.w3.org<\/p>\n<p>Looking up www.w3.org<br \/>\nMaking HTTP connection to www.w3.org<br \/>\nAlert!: Unable to connect to remote host.<\/p>\n<p>lynx: Can&#8217;t access startfile http:\/\/www.w3.org\/<\/p><\/blockquote>\n<p><strong>ping (I suspect DiGi have made some changes to ICMP on their network recently, ping usually says &#8220;100% packet loss&#8221;):<\/strong><\/p>\n<blockquote><p>sean@box0045:~$ ping www.w3.org<br \/>\nPING www.w3.org (128.30.52.53) 56(84) bytes of data.<br \/>\nFrom 210.48.192.158 icmp_seq=2 Packet filtered<br \/>\nFrom 210.48.192.158 icmp_seq=9 Packet filtered<br \/>\nFrom 210.48.192.158 icmp_seq=10 Packet filtered<br \/>\nFrom 210.48.192.158 icmp_seq=11 Packet filtered<br \/>\nFrom 210.48.192.158 icmp_seq=12 Packet filtered<br \/>\nFrom 210.48.192.158 icmp_seq=13 Packet filtered<br \/>\n^C<br \/>\n&#8212; www.w3.org ping statistics &#8212;<br \/>\n15 packets transmitted, 0 received, +6 errors, 100% packet loss, time 14023ms<\/p><\/blockquote>\n<p><strong>and curl (&#8220;see URL&#8221;, a swiss-army knife of a utility, I use it usually to check headers from hosts):<\/strong><\/p>\n<blockquote><p>sean@box0045:~$ curl -s -v http:\/\/www.w3.org\/<br \/>\n* About to connect() to www.w3.org port 80 (#0)<br \/>\n*\u00a0\u00a0 Trying 128.30.52.54&#8230; No route to host<br \/>\n*\u00a0\u00a0 Trying 128.30.52.166&#8230; No route to host<br \/>\n*\u00a0\u00a0 Trying 128.30.52.168&#8230; No route to host<br \/>\n*\u00a0\u00a0 Trying 128.30.52.170&#8230; No route to host<br \/>\n*\u00a0\u00a0 Trying 128.30.52.38&#8230; No route to host<br \/>\n*\u00a0\u00a0 Trying 128.30.52.51&#8230; No route to host<br \/>\n*\u00a0\u00a0 Trying 128.30.52.52&#8230; No route to host<br \/>\n*\u00a0\u00a0 Trying 128.30.52.53&#8230; No route to host<br \/>\n* couldn&#8217;t connect to host<br \/>\n* Closing connection #0<\/p><\/blockquote>\n<p><strong>But anything else seems to work just fine:<\/strong><\/p>\n<blockquote><p>sean@box0045:~$ curl &#8211;head www.digi.com.my<br \/>\nHTTP\/1.1 200 OK<br \/>\nDate: Tue, 28 Apr 2009 08:44:43 GMT<br \/>\nServer: Apache-Coyote\/1.1<br \/>\nContent-Type: text\/html;charset=ISO-8859-1<br \/>\nSet-Cookie: JSESSIONID=C58F88B5A8B39C5C5CF05C9C39B25EBF; Path=\/<br \/>\nConnection: close<\/p><\/blockquote>\n<p>Time for D&#8217;Chat!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Just a quick note so I don&#8217;t forget all this stuff. I used DiGi OCS and D&#8217;Chat today to ask why I couldn&#8217;t access www.w3.org from my DiGi USB EDGE adapter. See the ping output below: root@box0045:\/home\/sean# ping www.w3.org PING www.w3.org (128.30.52.166) 56(84) bytes of data. From crusher.w3.org (128.30.52.166) icmp_seq=1 Dest Unreachable, Bad Code: 10 [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[107,42,19,34],"class_list":["post-297","post","type-post","status-publish","format-standard","hentry","category-broken","tag-broken","tag-digi","tag-malaysia","tag-network"],"_links":{"self":[{"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/posts\/297","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/comments?post=297"}],"version-history":[{"count":6,"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/posts\/297\/revisions"}],"predecessor-version":[{"id":301,"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/posts\/297\/revisions\/301"}],"wp:attachment":[{"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/media?parent=297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/categories?post=297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/tags?post=297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}