{"id":7422,"date":"2010-12-18T07:35:03","date_gmt":"2010-12-18T07:35:03","guid":{"rendered":"http:\/\/localhost:8105\/?p=7422"},"modified":"2021-12-05T20:12:05","modified_gmt":"2021-12-05T20:12:05","slug":"preparing-for-when-unifi-streamyx-maxis-and-digi-all-go-down-at-the-same-time","status":"publish","type":"post","link":"https:\/\/blog.shahada.abubakar.net\/?p=7422","title":{"rendered":"Preparing for when UniFi\/Streamyx, Maxis and Digi all go down at the same time &#8230;"},"content":{"rendered":"<p><img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/blog.shahada.abubakar.net\/wp-content\/uploads\/2010\/12\/37-1.jpg\" \/><\/p>\n<p>You never realise how dependent you are on an internet connection until you find yourself &#8220;offline&#8221; one day. So far, whenever Streamyx\/UniFi goes down (and this has been quite rare unless something gets hit by lightining), I still have my Maxis mobile to fall back on, and failing that there&#8217;s a Digi SIM card I use for testing equipment with.<\/p>\n<p>But what if they all fail at simultaneously? How do you live without an internet connection?<\/p>\n<p>The answer is I can&#8217;t &#8230; so just to be safe, I installed a satellite-based internet connection to my house.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/blog.shahada.abubakar.net\/wp-content\/uploads\/2010\/12\/37-3.jpg\" \/><\/p>\n<p>Woo ha ha &#8230; just kidding only lah. Satellite connections cost a bomb, this one is borrowed from a project to test, as we couldn&#8217;t get a signal from our office window. Eventually, it&#8217;s to go sit on a ship somewhere in Indonesia. I&#8217;m not even sure how we got it into the country, but I&#8217;m doing a &#8220;don&#8217;t ask, don&#8217;t tell&#8221; right now (well not really, as you are reading about it).<\/p>\n<p>It uses the Inmarsat <a href=\"http:\/\/www.satsig.net\/ssazelm.htm\">BGAN<\/a> satellite network, with the asia pacific <a href=\"http:\/\/www.inmarsat.com\/Support\/Coverage\/I-4_satellite_regions.aspx?language=EN&amp;textonly=False\">bird<\/a> (yeah, must talk like I know these things) at 145 \u00c2\u00b0E. The equipment we are using, <a href=\"http:\/\/www.thrane.com\/Maritime\/Products\/Satellite%20Communication\/SAILOR%20FleetBroadband\/SAILOR%20150%20FleetBroadband.aspx\u00ef\u00bb\u00bf\">Thrane and Thrane&#8217;s Sailor 150<\/a>, has an antenna designed to work on a moving and swaying ship. Here&#8217;s the communication&#8217;s box:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.shahada.abubakar.net\/wp-content\/uploads\/2010\/12\/37-4.jpg\" \/><\/p>\n<p>And it comes with the mother-of-all-power-supplies:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.shahada.abubakar.net\/wp-content\/uploads\/2010\/12\/37-5.jpg\" \/><\/p>\n<p>There&#8217;s also this warning on the back of the antenna to stay at least 0.6 meters away from it:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.shahada.abubakar.net\/wp-content\/uploads\/2010\/12\/37-6.jpg\" \/><\/p>\n<p>I did some calculation (actually a <a href=\"http:\/\/www.satsig.net\/ssazelm.htm\">website<\/a> did it for me) which indicated that the satellite would be at 93 \u00c2\u00b0E from true north, and about 39\u00c2\u00b0 up from the horizon. That puts it &#8230; on the other side of my rear neighbour&#8217;s roof. I gave it a try anyway, and got a &#8220;full bar&#8221; signal.<\/p>\n<p>The system comes with a SIM card and a handset for making satellite calls, but given the cost and the fact that we&#8217;re not using that, I didn&#8217;t connect that up. I believe it runs SIP VOIP with a 4kbps codec, as the handset has an ethernet port on it.<\/p>\n<p>I set it up to autostart the data connection, so all that was needed is to get your equipment on the LAN and wait for it acquire a signal, and you&#8217;re all set:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.shahada.abubakar.net\/wp-content\/uploads\/2010\/12\/37-2.jpg\" \/><\/p>\n<pre>===\nroot@nb-shahada:~# ifconfig eth0 192.168.0.10 up; route add default gw 192.168.0.1\nroot@nb-shahada:~# ftp 202.90.198.71\nConnected to 202.90.198.71.\n220 (vsFTPd 2.0.5)\nName (202.90.198.71:shahada): testftp\n331 Please specify the password.\nPassword:\n230 Login successful.\nRemote system type is UNIX.\nUsing binary mode to transfer files.\nftp&gt; binary\nh200 Switching to Binary mode.\nftp&gt; hash\nHash mark printing on (1024 bytes\/hash mark).\nftp&gt; prompt\nInteractive mode off.\nftp&gt; passive\nPassive mode on.\nftp&gt; put \/home\/shahada\/file2.txt\nlocal: \/home\/shahada\/file2.txt remote: \/home\/shahada\/file2.txt\n227 Entering Passive Mode (202,90,198,71,51,221)\nftp: connect: Connection timed out\nftp&gt; passive\nPassive mode off.\nftp&gt; dir\n200 PORT command successful. Consider using PASV.\n150 Here comes the directory listing.\ndrwxr-xr-x \u00a0 \u00a02 ftp \u00a0 \u00a0 \u00a0ftp \u00a0 \u00a0 \u00a0 \u00a0 \u00a04096 Dec 16 07:30 testuser\n226 Directory send OK.\nftp&gt; cd testuser\n250 Directory successfully changed.\nftp&gt; put file2.txt\nlocal: file2.txt remote: file2.txt\n200 PORT command successful. Consider using PASV.\n150 Ok to send data.\n#\n226 File receive OK.\n20 bytes sent in 0.00 secs (139.5 kB\/s)\nftp&gt; passive\nPassive mode on.\nftp&gt; put file1.txt\nlocal: file1.txt remote: file1.txt\n227 Entering Passive Mode (202,90,198,71,187,45)\nftp: connect: Connection timed out\nftp&gt; bye\n221 Goodbye.\n===<\/pre>\n<p>I had a problem with a &#8220;passive&#8221; FTP connection, but the regular &#8220;active&#8221; worked fine. Which is strange, as usually it&#8217;s the other way around. Could be due to some packet filtering. To save costs, we got the satellite provider to block all IP and hosts ports except the ones we need for our traffic. This is in case the guys on the ship get bored and fire up YouTube &#8230; *grin*<\/p>\n<div><\/div>\n<p><i>This post was originally published as a Facebook Note at 2010-12-18 15:35:03 +0800.<\/i><\/p>\n","protected":false},"excerpt":{"rendered":"<p>You never realise how dependent you are on an internet connection until you find yourself &#8220;offline&#8221; one day. So far, whenever Streamyx\/UniFi goes down (and this has been quite rare unless something gets hit&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":7633,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[117,124],"tags":[],"class_list":["post-7422","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-internet","category-life"],"_links":{"self":[{"href":"https:\/\/blog.shahada.abubakar.net\/index.php?rest_route=\/wp\/v2\/posts\/7422","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.shahada.abubakar.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.shahada.abubakar.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.shahada.abubakar.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.shahada.abubakar.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7422"}],"version-history":[{"count":2,"href":"https:\/\/blog.shahada.abubakar.net\/index.php?rest_route=\/wp\/v2\/posts\/7422\/revisions"}],"predecessor-version":[{"id":8144,"href":"https:\/\/blog.shahada.abubakar.net\/index.php?rest_route=\/wp\/v2\/posts\/7422\/revisions\/8144"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.shahada.abubakar.net\/index.php?rest_route=\/wp\/v2\/media\/7633"}],"wp:attachment":[{"href":"https:\/\/blog.shahada.abubakar.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7422"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.shahada.abubakar.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7422"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.shahada.abubakar.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7422"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}