Goodbye Streamyx, hello DiGi EDGE

November 2nd, 2008

We popped into Port Dickson to buy a DiGi EDGE adapter in preparation for going all DiGi EDGE in a couple of weeks’ time. The local DiGi centre sold us a no-name USB EDGE adapter for RM399. That seems expensive to me, but I’m so fed up with Internet Access problems, I have even considered moving elsewhere in Malaysia to get more reliable access - MetroFon in KL, or its companion in Penang looked promising, but if I’m to move to solve telecomms problems, we may as well quit the country altogether.

EDGE is nominally five times slower than the 1Mbit/s Streamyx connection that we had, although we only ever enjoyed that transfer speed (180kB/s) from TM Net’s Speedometer and from the Xubuntu mirror in Brazil (WTF?), even the mirrors in Taiwan and Australia never maxed out our connection. On the other hand, loading pages from Google and BBC would frequently take two to three minutes over Streamyx, and we suffered frequent complete disconnections. Every time we were disconnected, we connected to the Internet using our old mobile phones via DiGi GPRS. And it always just worked, even if it was slow.

One of the things that really tipped us over the edge (!) in favour of DiGi was calling their support line to check the local access speed. The DiGi rep (I think his name was Azizi) told us the average speed we’d get from the local EDGE network, not its nominal bandwidth! The figure he gave us was an extremely conservative 8-9kB/s. I’ve been reliably getting 18-20kB/s from many sites since going to EDGE, so I’m delighted with the service. Getting an honest and informative response from a telecomms company is refreshing in the extreme, and DiGi (or maybe just Azizi!) is to be commended for their approach.

Back to the adapter. The DiGi centre staff told us it was locally made, but lsusb reports:

0471:1201 Philips Arima Bluetooth Device

So they obviously haven’t finished the product yet! There’s a bit more info from the -v switch:

iManufacturer           1 Wisue Technology
iProduct                2 EDGE Modem

And on plugging it into the Slackware box we use as our home server, it appears as /dev/ttyACM0 (a cable modem?). This all looked very promising, until we failed several times to connect to the EDGE network. We finally tracked down the problem to a ‘magic incantation’. We’re using pppd to establish a network connection, and had “ATD*99#” as our dialling string. Changing this to “ATD*99***1#” (don’t you hate magic incantations?) was all we needed to do to get reliable, fast-enough Internet access. The server is connected via the USB adapter to DiGi’s network, and runs the squid web cache. Our PCs all access the web via the server’s squid proxy, so we save some bandwidth on commonly-visited pages.

Of course, downloading Ubuntu packages is going to take a lot longer than it does over Streamyx (once you’ve found the magic country on the other side of the world that gives 100x faster downloads than local ones!). You can see the difference on some web pages - you can see large images gradually loading over a few seconds. But what our DiGi EDGE connection has yet to do is load half a webpage, and then nothing for a minute or two before loading the rest of the page, as commonly happened with Streamyx. Page for page, we’re getting much better response from DiGi’s ’slower’ network than we did from Streamyx’s ‘faster’ one.


Share and Enjoy:
  • Digg
  • del.icio.us
  • Fark
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • E-mail this story to a friend!
  • Facebook
  • Furl
  • Mixx
  • Print this article!
  • Sphinn

Ubuntu Intrepid Ibex

November 2nd, 2008

I broke the cardinal rule and updated to software that was only 1 day old. It seems I’ve been reasonably lucky and very little went wrong. I thought I’d better write some notes on what did go wrong just in case it happens to someone else and they lose a day trying to work out how to put them right.

ATI Big Desktop reversed

This would have been quite amusing if it had been the only problem. There isn’t much space on my workbench, so I put a 1280×1024 LCD panel behind and above my laptop’s 1280×800 panel, and extend my desktop up from the laptop. When the Ubuntu distribution upgrade had finished, the desktop was the wrong way round. I had to mouse up from the big panel to get to the bottom of the laptop panel. I tried editing xorg.conf and running aticonfig, and reverting to the pre-upgrade xorg.conf, but nothing seemed to fix the problem. In the end, I installed the ATI control panel with:

apt-get install fglrx-control

and that allowed me to set the correct desktop layout.

Distribution Upgrade didn’t use proxy

I’m not complaining about this one. We’ve just terminated our ADSL contract because it’s so unreliable, so we’ve only got ADSL until the notice period expires. If you’re a Streamyx user, I will soon no longer be sharing your pain.

On our home network we’ve got Streamyx ADSL on an ADSL router and a DiGi EDGE adapter on a server connected by ethernet to the same router. The server runs a squid web proxy to try to reduce the load on the nominally much slower EDGE adapter. We configure synaptic to use the web proxy for updates. It works a treat for updating Ubuntu on our PCs in the house, but the dist-upgrade didn’t seem to use the proxy settings in synaptic / update-manager at all. I’ll have to think of some other way of updating the other PCs in the house, I don’t want to repeat the 1GB+ download over EDGE!

File reporting .jar files (Java archive) as application/zip

Now this one really was annoying. I have a few Java projects that are bundled up as Java archives. I can just double-click on the .jar file in my file browser (ROX), and they would usually be launched with java -jar. After the 8.10 upgrade, the ‘file’ utility was reporting them as application/zip, so double-click was launching file-roller! I tried all sorts, even renaming all associated files and copying older versions from a PC at home running Hardy which reported the files’ type correctly. Nothing.

I’m embarrassed to say I don’t know which of the last two solutions I tried actually solved the problem. After trying to destroy any chached mime types by removing ~/.local and running the ‘update-mime’ utility, the problem went away. My Java archives are now correctly identified by file. If you have the same (or similar) problem, I’d appreciate a comment to say which one solved the problem for you.

General impressions of Intrepid Ibex

Apart from the problems above, things seem to be running very smoothly. I’m interested to see how Network Manager has changed - it has never really given me the impression of being ‘finished’ in the past. As I look at it now, I see it says my laptop is disconnected from any network. The wireless kill switch seems to be working as I’d expect: too bad I rarely move my laptop away from the wired network on my desk!


Share and Enjoy:
  • Digg
  • del.icio.us
  • Fark
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • E-mail this story to a friend!
  • Facebook
  • Furl
  • Mixx
  • Print this article!
  • Sphinn

No more home hosting

October 30th, 2008

Apparently we just need to give a few day’s notice to our local TM Point to terminate our Streamyx service. We’ve had it more than 2 years, and upgraded to 1Mbit/s last year. I was hosting a few sites of my own, just little ideas I wanted to work on, using Dynamic DNS from ZoneEdit. My wife hosted her online shop from a server in our home office too, using Custom DNS from DynDNS.com - the best company I have ever dealt with on the Internet.

I have never phoned a service provider as often as I have phoned TM Net. I think I’ve even phoned them more often than I have the local pizza delivery service, so we’re talking a lot of phone calls! Because we host some of our own sites from home, we have a very stable network. It has stayed in one layout for nearly two years, since we moved into this house. There were a few months at at the start of 2008 when nothing really serious seemed to be wrong with Streamyx. The occasional slow-spell is bearable. Other than that, the whole period has been characterised by more or less show-stopping faults. Some days, even the phone was dead!

I don’t want to flog a dead horse, I’ve written about this elsewhere, so suffice to say, it was so unbearably bad, we’re cancelling it and going to DiGi’s EDGE network. That means no more home-hosting, as the Malaysian cellular networks don’t support Dynamic DNS. I’ll have to find something else to while away the months! My wife’s shop has gone to Exabytes, so the Custom DNS is redundant. The Dynamic DNS from ZoneEdit has a handy feature for redirecting URLs, so this page will appear instead of:

  • poditronic.com
  • spider.my
  • aircarfuel.com
  • sendto.my
  • send2.my
  • isono.my

…until I get round to making something amazing to host on one of those domains, or unless someone thinks they can do it quicker, and would like to take a domain off my hands!


Share and Enjoy:
  • Digg
  • del.icio.us
  • Fark
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • E-mail this story to a friend!
  • Facebook
  • Furl
  • Mixx
  • Print this article!
  • Sphinn

Streamyx SMTP AUTH mail proxy

October 22nd, 2008

I thought I’d better write a quick up date to the previous article I wrote, since it gets a lot of hits. The information is a bit outdated in the old article, and our problems have moved on since. I changed our sendmail config at lolyco.com some time ago, in response to an exchange of emails with the TM Net mail admins (who are in my experience the most responsive staff at TM). TM have updated their online instructions too. The two most important lines to update are in config.mc:

define(`SMART_HOST',`[smtp-proxy.tm.net.my]‘)dnl

and in auth/client-info (or whatever it’s called on your system):

AuthInfo:smtp-proxy.tm.net.my "U:username" "P:password" "M:LOGIN"

This seems to have reduced the number of mails we get returned by yahoo and AOL due to smtp.streamyx.com being blacklisted as a spam relay, but is not without its own ‘quirks’.

Since using the new server, we still see a few problems in our logs:

AUTH=client, available mechanisms do not fulfill requirements
stat=Deferred: Temporary AUTH failure

… which is not so bad, as the problem seems to ‘go away’ after a while and mail is eventually delivered.

The ‘domain does not resolve’ problem was a bit of a disaster when it happened several times back in August, when we got this message a few times:

Domain of sender address <notmyname@notmydomain.com> does not resolve. Please register your domain.

We haven’t seen that one lately, but an email to help@tm.net.my at the time seemed to get it speedily fixed.

I hope that’s useful. What else has changed at TM? I see they’ve changed the wording of their Terms and Conditions from “best effort” to “best endeavours”. Glad to see their lawyers are earning their wages - they must have felt ‘effort’ implied something measurable.


Share and Enjoy:
  • Digg
  • del.icio.us
  • Fark
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • E-mail this story to a friend!
  • Facebook
  • Furl
  • Mixx
  • Print this article!
  • Sphinn

Cannot execute /bin/bash: Permission denied

October 21st, 2008

Just a quick note, just in case someone else sees this message. I got this error this morning when I logged in as a non-root user on a Slackware server I’d upgraded yesterday. In an act of blind faith, I used ’slackpkg upgrade-all’, and then the fun began.

Incidentally, if you’re in Malaysia, and you’re downloading Slackware packages at the 8kB/s which seems to be all TM Net / Streamyx can manage with their “best effort” basis from nearby countries, download from Brazil - I get a reliable 180kB/s on a 1Mbit/s connection. Yes, that’s right folks. TM Net give you 5% of your rated download from any country in smuggling distance, but can max out your connection from the other side of the world! Answers on a postcard, please.

Back to the problem. I tried some fairly obvious fixes to do with checking permissions on directories and executables, none seemed to work. Then I searched online and found http://linuxgazette.net/issue52/okopnik.html where the same problem was traced to the permissions on /lib/ld-linux.so.2, or rather, the permissions on the file it links to. On my system, changing the permissions to 755 on /lib/ld-2.7.so didn’t allow me to login as a non-root user, but did give me errors like:

error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory

Much easier to track down! It seems slackpkg had installed several libraries in /lib with insufficient permissions, all with the version string “2.7″ in them. All these libraries seem to depend on /lib/ld-linux, according to ldd.

I’d wish you ‘Have fun!’, but my eyes are still throbbing from staring at this error for so long.


Share and Enjoy:
  • Digg
  • del.icio.us
  • Fark
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • E-mail this story to a friend!
  • Facebook
  • Furl
  • Mixx
  • Print this article!
  • Sphinn