Narrowband (GPRS, 56k dialup) vs. Skype, GTalk, IRC, SSH, Google Chrome, privacy, ksurl

If you ever have to travel to remote ares where you have only a few kilobytes/sec bandwidth, you probably don't want to spend it on software updates (unless that software is a few kilobytes of REBOL script >;P)

Well, I travel every month to Thailand where my wife and daughter is, so for me working through narrowband is a natural, casual and almost everyday experience.

GPRS or POTS dialup is ~5kB/s. It's enough for serious work.  I read and write slower than that for one... and I think most of us do..  2-3kB/s is really painful though, because I "think" faster than that.

Let's see what problems am I facing if I want to use a recent OS and a usual setup on it over narrowband Internet connection:

1st, there is Skype. It has some short, keep-alive like timeout before it drops the connection and starts a reconnection procedure, which is too short for narrowband. The problem with this is the few hundreds kB of traffic a reconnection generates. It takes 20-40seconds to login / reconnect if there is no other traffic. A login request even fails after ~2m30s if there is a constant download via HTTP at the background. Obviously I can hardly type in an SSH session during this and SSH compression just makes it even more sluggish.

I found the GTalk web interface built into the Gmail UI is more robust than Skype, but still is quite heavy for narrowband. The other, more important problem with it is it won't send the messages to your chat window which was typed by the remote side while you were offline. (It sends it as a chat log into the Chat folder though... better than nothing...)

We found IRC the most efficient and trustable solution with my collegues so far, but it will be the topic of another entry.

Sometimes the Gmail interface itself is doing some substantial transfers at the background which saturates the connection, so it's better not to open many of those windows.

Just yesterday my Skype was disconnecting every few minutes. I closed all my applications but the Activity Monitor was still showing 6kB/s constant traffic (it's bigger than the physical bandwidth so between the measurement and the actual transfer there must be some compression...)
I had a look at the processlist and noticed a ksurl process. After a little googling I found a description of it. It is used by the Google Software Updater for seamlessly downloading security patches and probably also for uploading anonymous surfing statistics. I lead a very open life, so I don't mind either of these activities much, but I want control over the time it happens.
Since it was not obvious how to do it, I just disabled this functionality:
sudo /Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/\
Resources/GoogleSoftwareUpdateAgent.app/Contents/Resources/install.py --uninstall
~/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/\
Resources/GoogleSoftwareUpdateAgent.app/Contents/Resources/install.py --uninstall
touch ~/Library/Google/GoogleSoftwareUpdate
sudo chown root ~/Library/Google/GoogleSoftwareUpdate
sudo chmod 644 ~/Library/Google/GoogleSoftwareUpdate
Note: Google Sketchup and Google Earth also installs this Updater and as I saw ksurl is mentioned in connotation with MacFUSE too.
If you don't mind using open source - and usually you shouldn't mind - then use the SRWareIron (for Mac) browser, which is a slight modification of Google's Chromium open source project. It cuts out all the privacy wise debated features from the browser, hence it doesn't have the software updater either. (There are Windows and Linux versions too of course)

1969 views and 2 responses

  • Feb 13 2010, 11:06 AM
    Tamas Herman responded:
    ksurl is still popping up... >(

    What's more I still couldn't connect reliably with SSH. It kept on dropping the connection after "SSH2_MSG_KEXINIT sent" phase. A "sudo ifconfig en2 mtu 576" has amended the problem, BUT I don't know how can I make this setting persistent on Snow Leopard =:/ There are not much TCP settings under the "Advanced..." dialog for a Bluetooth PAN device. Apple's overprotection... it feels like devolution a lil bit.

  • Feb 14 2010, 8:10 AM
    Tamas Herman responded:
    crap... SSH is still unstable, UNLESS I'm running it in verbose mode (-v)...