Applications for the Sharp Zaurus

Pull up a Zaurus and make yourself comfortable.
Internet Applications

Now that you can walk around with the Zaurus in the palm of your hand, while being connected to the Internet, there are some applications you need to install.

First is tkcjabber, a commercial, closed-source application from www.thekompany.com that is worth every cent. Basically, it will turn your 802.11b Zaurus into an instant messenger that is always on if you run it in the background. Using ICQ, AIM, MSN, YM and IRC will now be just like using a cell phone.

When you receive a message, the Zaurus “incoming message” LED blinks, and a cell phone-like sound is played. Then you can chat in a window.

There are only two drawbacks. First, the interface is icon-only. The first time you use it will be the worst: no tooltips, no text, no nothing. Fortunately, the user interface is very intuitive, and you will not be lost for long, except for the contacts. I have yet to find how to add contacts by ICQ number or nickname.

The second big problem is AIM connectivity. With the tkcjabber test version I used, I got disconnected from AIM every minute for the famous “unauthorized software access” reason—a very strange reason, considering Jabber got a license to use AIM. These bugs are very minor and did not interfere with the daily use of this great application. It is a recommended purchase. In fact, like Opera, it should come bundled with the Zaurus because you will always run it if you do instant messaging.

Zic is a free application that only does IRC. We can only hope it will compete with tkcjabber soon because competition would increase the quality of both products.

Now what about sniffing wireless traffic? There is an excellent application running on the Zaurus to sniff 802.11b traffic. If you are using a prism2-based wireless card, like the Linksys WCF11, you should not have any problem installing and using it.

Go to kismetwireless.net and download the binary archive for the Zaurus. Uncompress it with tar zxvf. It will give you the ipkg file you can install with ipkg install. If you installed zlib before as suggested, you are ready to run it. However, there is one fault: you cannot sniff traffic and use the wireless connection at the same time.

Therefore, you should use the following script to start Kismet. Store the script (see Listing 1) in /usr/local/bin/sniff.

Listing 1. Script to Start Kismet

Now try to do a ping to the Zaurus from your computer, and launch this script. You will see that it will not only find your access point but also the channel being used, and then capture the traffic. As suggested on the Kismet web site, you should use ethereal to process the dump file. The next versions of Kismet will let you plug in a GPS on the audio port of the Zaurus (to read the wireless network position) and may decrypt WEP.

Now that you can sniff traffic, scanning the machines on the wireless is the next logical step. This is where Nmap comes in. Get it from prdownloads.sourceforge.net/zaurus/zutilsnmap-extra.zip, and port scan the machines on the wireless network using nmap IPaddress.

You can get OpenSSH for the Zaurus from the Sharp web site.

It is not a standard ipkg file but a .tar.gz archive with an install script within. To install OpenSSH, type

tar zxvf openssh*.tar.gz
cd openssh
./install.sh m

This will install OpenSSH in the main memory. If you have an SDRAM card, replace ./install.sh m with install.sh s. Do not install OpenSSH on the CompactFlash port, since the wireless card will use it, and you will not be able to use OpenSSH and the network connection at the same time.

Note: you cannot untar the archive and install it. The /root directory is the home directory for the root user on many UNIX platforms and the Zaurus. However, it is mounted read-only at boot time, while many applications, including OpenSSH, expect to write to this directory. The Zaurus actually uses /home/root as the root home directory, but through some .profile hack. You need to fix that directly in /etc/passwd where /root is mentioned.

Editing /etc/passwd by setting /home/root as the home directory instead of /root solves the problem. This should be considered one of the many bugs that Sharp needs to fix by default.

If you have not installed an editor, or if you do not know how to use one, type the following command to fix /etc/password:

sed -e ':/root:/home/root:' /etc/passwd > /tmp/passwd
cp -p /etc/passwd /etc/passwd.BAK
mv /tmp/passwd /etc

Once this is done, you can complete the installation. Now that you have OpenSSH installed, not only can you administer a remote machine, but you can also remotely log in on the Zaurus with SSH. Type killall -HUP inetd to restart the inetd dæmon and allow for incoming SSH connections.

An FTP dæmon running on the nonstandard port 4242 completes the SSH. You can use it to get the files you handle with an SSH connection. But did you know there is no root password on the Zaurus by default? This means you are walking around with an open FTP server in your pocket, accessible with 802.11b. You may run passwd to set up a root password, but it does nothing to the FTP server, as if it was not using /etc/password. At least, the latest version of the ROM makes the FTP server open only on the USB network interface.

Anyway, a mobile FTP server would be great if only you could put a password on it. Now, what about an HTTP server to complete it? Get boa from sourceforge.net, and you can tell your friends you are walking with your internet server and that they can open an SSH version to administer it if they want—just make sure not to mention the FTP dæmon.

If they do not have SSH, or if they would prefer a graphical remote administration, what about using VNC? Grab a VNC server for the Zaurus from opensource.lineo.com/fbvncserver (opensource.lineo.com/fbvncserver/zaurus-fbvncserver_0.1.1_arm.ipk currently) and install it. Then somewhere on your network, start a VNC client; the Zaurus display is exported as if it was running X.

After you are done, you really deserve some time off. So, go get the demo version of zradio, a radio streamer. For only $10, you can use it to listen to on-line radio stations from your Zaurus. If you do not like the earphones, you may try the speaker hack from www.zymurgy.net/zaurus.html. Maybe the next version of this hack will include a microphone, which would let you use your Zaurus as a memo with the default “Recorder” application.

I hope you had some fun and found a lot of ideas for possible uses of the Zaurus with this software review.

Guylhem Aznar is the coordinator of the LDP and documentation coordinator for the GNU Project. Being a medical student in real life, he enjoys playing with his Zaurus.

email: g@7un.org

______________________

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Zaurus SL 5500

baptista's picture

I liked very much everything that you wrote in this article, but what about of ROM v.3.13?,I woul like to know if it functions. How to install the openssh and where I meet the xcopilot.
Another thing I´m interested is in how to make a backup copy, via rsync with the Kurumin, that is a brazilian version of Linux, very similar to Ubuntu. The Kurumin don´t detect the USB port.
Thans a lot for your help
baptista

White Paper
Linux Management with Red Hat Satellite: Measuring Business Impact and ROI

Linux has become a key foundation for supporting today's rapidly growing IT environments. Linux is being used to deploy business applications and databases, trading on its reputation as a low-cost operating environment. For many IT organizations, Linux is a mainstay for deploying Web servers and has evolved from handling basic file, print, and utility workloads to running mission-critical applications and databases, physically, virtually, and in the cloud. As Linux grows in importance in terms of value to the business, managing Linux environments to high standards of service quality — availability, security, and performance — becomes an essential requirement for business success.

Learn More

Sponsored by Red Hat

White Paper
Private PaaS for the Agile Enterprise

If you already use virtualized infrastructure, you are well on your way to leveraging the power of the cloud. Virtualization offers the promise of limitless resources, but how do you manage that scalability when your DevOps team doesn’t scale? In today’s hypercompetitive markets, fast results can make a difference between leading the pack vs. obsolescence. Organizations need more benefits from cloud computing than just raw resources. They need agility, flexibility, convenience, ROI, and control.

Stackato private Platform-as-a-Service technology from ActiveState extends your private cloud infrastructure by creating a private PaaS to provide on-demand availability, flexibility, control, and ultimately, faster time-to-market for your enterprise.

Learn More

Sponsored by ActiveState