Introduction About Site Map

XML
RSS 2 Feed RSS 2 Feed
Navigation

Main Page | Blog Index

Archive for the ‘Linux’ Category

Remote Access from Different Platforms

Computer shell
CLI anywhere, at any time

ACCESS to particular computers can be crucial, especially while travelling. There are a variety of ways for achieving full remote access, though simple, text-based shell access is supported by even weaker devices and light-weight software.

I recently read about someone who thought of handling Web servers from a Palm Treo, using E-mail, which is supposedly a universal API. I consider E-mail to be the wrong tool for a simple task, even if one uses cron jobs and collects the output via E-mail (similar to a hack I once mentioned. Alternatively, shell access can be obtained in one of the following ways:

  • Cellular telephones: using CUTs
  • Web-based: MindTerm, e.g. from Duke University
  • Windows: PuTTy
  • Windows mobile: I have seen an SSH client in action and it looked quite clean
  • UNIX variants and derivatives: Built-in functionality
  • Palm O/S: pssh, free and apparently based on PuTTy, though it is hard to tell for sure
  • Blackberry: For that, one might have to pay nearly $100. That’s the chance one takes when steering away from Open Source. Palm may not be Open Source-oriented, but its users’ ideaology differs.

100 Dollar Open Source Laptop

Red hat
RedHat Linux

I previously mentioned the $100 laptop initiative and repeatedly referred to cheap computers in general. An article in the Wall Street Journal now claims that the $100 laptop is nearing reality. It will supposedly run Red Hat Linux on AMD processors.

A novel plan to develop a $100 laptop computer for distribution to millions of schoolchildren in developing countries has caught the interest of governments and the attention of computer-industry heavyweights.

Steve Jobs, Apple Computer Inc.’s chief executive, offered to provide free copies of the company’s operating system, OS X, for the machine, according to Seymour Papert, a professor emeritus at MIT who is one of the initiative’s founders. “We declined because it’s not open source,” says Dr. Papert, noting the designers want an operating system that can be tinkered with. An Apple spokesman declined to comment.

Older items on inexpensive hardware:

Microsoft Studies Show BSD/Linux Better

Season of the playful penguins
Season of the playful penguins from Oyonale

Microsoft released a report that is very damaging to the image of their operating system. As Paul Murphy from ZDNet put it, ‘Unix beats Windows’ – says Microsoft!.

What’s noteworthy about it is that Microsoft compared Singularity to FreeBSD and Linux as well as Windows/XP – and almost every result shows Windows losing to the two Unix variants. For example, they show the number of CPU cycles needed to “create and start a process” as 1,032,000 for FreeBSD, 719,000 for Linux, and 5,376,000 for Windows/XP.”

Microsoft are still trying to defend their new operating system called Singularity, but in the process they lead to public confusion and doubt. As we approach the release of Windows Vista (due next year), the Gartner group suggests that Vista should be ignored until 2008.

Companies shouldn’t rush to upgrade to Microsoft Windows Vista, according to analysts at Gartner, who believe most firms could safely hold back until 2008.

The majority of improvements in Vista will be security-related and most of this functionality “is available via third-party products today”, Gartner claimed in a research note published on Friday.

Corporate Move to Open Source

Encouraging news to Open Source advocates have been published today.

Firstly, OpenDocument (a la OpenOffice) attracts further interest, much as in the Massachusetts case, which stirred similar interest elsewhere:

Big guns in the software industry are massing behind OpenDocument as government customers show more interest in open-source alternatives to Microsoft’s desktop software.

Secondly, IBM, Sony and Philips sidle closer to Linux:

Three of the world’s biggest electronics companies — IBM, Sony and Philips — have joined forces with the two largest Linux software distributors to create a company for sharing Linux patents, royalty-free.

Penguin animation
Well, somebody’s happy!

The Enemy is Inside

Bill Gates
Bill Gates arrested in his younger days (photo in public domain)

ROBERT Scoble is a well-known Microsoft evangelist and blogger. He has recently set up a free blog in wordpress.com, which is of course based on Open Source software. I decided to ask him what he was up to. I was highly skeptic as he made this questionable migration of his popular blog and heavily-requested feeds. Earlier this week I sent Scoble an E-mail and got a disappointing reply; both of which I post verbatim below:

Me:

You are of course aware that you run your blog on Linux while evangelizing Windows. Hypocrisy?

Robert:

No.

An evangelist must be credible if he wants to be listened to.

The only way to be credible is to actually use other methodologies and products.

You must have evangelism confused with marketing. The two are not the same.

Rather than being critical of Open Source or PHP/MySQL, he implicitly revealed devious intentions; at least that’s the way I interpreted it. Only a couple of days later Scoble posted an item titled “WordPress Sucks”. He gets paid to say that stuff. He came in to give a critique and when the WordPress community posted follow-ups in defense of WordPress, they simply echoed his unjustifiable rants.

To make matters worse, Scoble opted for a free software package and complained about an extremely powerful feature in WordPress: RSS feeds. Is he complained about WordPress feeds, he could bash his wrath anything (or envy anything for that matter). Owing to that, he loses credibility rather than gain any.

Scoble on WordPress was a ticking bomb from day 1 and it exploded prematurely for all the wrong reasons. Like Matt said, WordPress is the Burger King of feeds. WordPress.com must become more selective when it comes to people it permits access and subscription to. I once mentioned the importance of WordPress invites. They are perhaps insufficient as they only deter splogs and mirrors, not enemies.

KPilot Versus JPilot/GPilot

KPilot

KPilot screenshot
version 4.3 on SuSE 8.2 (not the version reviewed below)

LINUX Palm synchronisation is a scarcely-explored territory to many. I currently own a Tungsten and I have 3 machines, all of which run Linux. In practice, I refuse to use my Palm for much beyond basic PIM, at least on a daily and thus realistic basis. Even MP3 playback capabilities have lost their appeal, so what I require is a rather rudimentary, but nonetheless user-friendly and reliable Palm-PC interaction suite.

Introduction and Disclaimer

I am fortunate to have had an opportunity to put both KPllot and JPilot on GNOME (gnome-pilot or gpilot) to the test. It seems as if they all trace back to a similar codebase, which includes pilot-link at the very core. My experience with the JPilot front-end is limited, so in my short review I will attempt to focus on default KDE and GNOME conduits — particularly the ones that come ‘out of the box’.

Admittedly, I only used GPilot for several weeks before looking into what KPilot (Version 4.5: “Baby”) had to offer, having glanced at it briefly last year. On equally-modern distributions, namely the GNOME-based Ubuntu Warty Warthog and the (largely) KDE-oriented SuSE 9.3 I have been putting Palm synchronisations to the test. Experimentation was a prolonged one and it covered some crash testing (hard-resets with data loss) and in-depth GUI exploration. This came after 3 years of using Palm Desktop under a Windows 98 laptop and a Windows 2000 desktop, I might add. All in all, there was good basis for inter-platform benchmarks, so critique should not have been a narrow-minded one.

Conclusions and Opinions

My first impression is that KPilot is more comprehensive than others, much like the entire desktop environment is resides in. I personally favour KDE although I use GNOME several times a week and almost every day. Overall, my opinion is not likely to have that ‘desktop environment bias’.

KPilot integrates rather well with its underlying/surrounding environment (e.g. mail client and calendaring software) whereas the GNOME equivalent is rather stripped-down and raw. The latter does what I require it to do and it even attempts to synchronise with Evolution (Outlook-type suite), which has been said to be slightly buggy. Nonetheless, it fails quite miserably at matching that ease-of-use of KDE’s equivalent. Firstly, setup in GNOME requires some hand-tweaking, at least in accordance with my own experience. This can end up consuming plenty of time. I also found the wizards in GNOME to be less helpful, more verbose, and more confusing.

Returning to KPilot, the front-end interface is a more natural one to its user. During synchronisation, all files are ordered with a sensible file structure under ./kde/share/apps/kpilot (or equivalents). gpilot, on the other hand, adheres to a flat hierarchy that provides little context, if any. Moreover, KPilot is largely intuitive, highly-customisable and comes with cleaner and apparently more comprehensive documentation.

Lastly, to those with strong sentiments of disagreement, I must clarify that everything was tested under Ubuntu and SuSE. All of the above observations can be attributed to distributions rather than the Palm conduits and packages. Nonetheless I would choose to go with KPilot as I presently do although I used gpilot at the start. It seems as though KPilot is simply more mature.

Your Palm and That Linux Migration

If you dread the day when you must synchronise your Palm with a new Linux box or a fresh installation, have a look at the very self-contained HOWTO.

Cited by: PalmAddict

Cross-Platform Remote Access

Multiple SSH sessions
Dozens of remote sessions occupying a cluster. Terminals shaded on the left monitor (click to enlarge)

WHATEVER operating system we use, the idea of using remote terminals should not be foreign to us. These days, it is rather common to log on to a computer remotely and manage it from afar as if we were actually there.

Inter-Platform Connections

Windows users frequently stick to VNC, which requires a high-bandwidth connection and grabs the entire desktop/workspace metaphorically ‘across the wire’. Nonetheless, there are some smart algorithms (c/f Citrix clients), which only re-draw elements once they change, so speed/bandwidth might not be the utmost concerns.

Linux users, on the other hand, are capable of establishing transparent connections with Windows machines via VNC, for which there are many applications in existence (Remote Desktop or rdesktop among several more variants). Linux also takes a different approach in its most natural method for remote access. Take, for example, SSH connections wherein individual windows get ‘grabbed’ and communicated over the network, only upon demand. Everything else should be managed from the command-line interface (CLI), e.g. bash and xterm. This might be less natural to the majority of users nowadays, especially to those unfamiliar with CLI’s.

Windows connectivity to *nix protocols can be established using the renowned PuTTY. In the case of Telnet or RLogin, applicability might be slightly different, but merely all protocols seem to have been covered. In fact, Windows typically supports telnet at its core (Start » Run... » telnet » ENTER). This establishes a somewhat mutual relationship. Windows users can remotely log in to Linux machine (might need a commercial X-session if not CygWin) and Linux users can connect to Windows hosts. In modern Linux distribution, all necessary toolsets are already pre-installed from what I can gather.

Extreme Use of Remote Access

When carrying out some computer vision experiments, I was at times using over 30 Pentium 4′s. These were used for quite a considerable overnight resource hogs. The communication barrier was merely inexistent; I an fortunate enough to work upon a 100Mbit Ethernet backbone. To give some indication of how fast the connection actually is, I can transfer an entire CD (~650 MB) across campus in less than a minute. That unbelievable speed is at times truly needed. I estimate that I use up bandwidth of over 100 GB per month, mainly due to backup necessities.

As regards extreme use of remote login, this is one of the most exciting experiences, to me at least. Rather than conducting large-scale experiments over the period of one month on a single CPU, they can be distributed, thus completed within a day. Nothing can beat that in terms of productivity. AI is known to be resources-greedy. Our computer vision methodology falls under that branch too. I will soon write about the use of supercomputers to run my experiments, albeit this is still under negotiation.

Traffic Chain

I could no longer resist my geek spirit so I decided to experiment with the idea of SSH chaining. The dependency of one machine upon another is something that intrigues me, so often I log in remotely to one machine, which in turn connects to another.

I decided to set up a larger SSH chain wherein I connect to my own computer via an entire ‘ring’ of machines, using SSH. I wanted to see how this affects speed and responsiveness in applications that ‘travel’. Needless to mention, this also cripples all computers in that ring. This observation has some interesting implications on its own. These intermediatory machines can be perceived as purposeless routers. If one computer in the chain is reset, the whole chain collapses and the connection is lost. It may also take a while to re-build, which to me at least, is amusing.

Cluster Control

On to some more extreme uses of SSH, some time ago I read about use of SSH to control entire computer clusters in parallel. In essence, the user will be sending any given command to an ‘army’ of computers (clients or computational hosts). The tool is not very flexible, but can be valuable under particular circumstances.

Retrieval statistics: 21 queries taking a total of 0.114 seconds • Please report low bandwidth using the feedback form
Original styles created by Ian Main (all acknowledgements) • PHP scripts and styles later modified by Roy Schestowitz • Help yourself to a GPL'd copy
|— Proudly powered by W o r d P r e s s — based on a heavily-hacked version 1.2.1 (Mingus) installation —|