Applications for the Sharp Zaurus
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.
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.
|Designing Electronics with Linux||May 22, 2013|
|Dynamic DNS—an Object Lesson in Problem Solving||May 21, 2013|
|Using Salt Stack and Vagrant for Drupal Development||May 20, 2013|
|Making Linux and Android Get Along (It's Not as Hard as It Sounds)||May 16, 2013|
|Drupal Is a Framework: Why Everyone Needs to Understand This||May 15, 2013|
|Home, My Backup Data Center||May 13, 2013|
- Linux Systems Administrator
- New Products
- Senior Perl Developer
- Technical Support Rep
- UX Designer
- Designing Electronics with Linux
- Dynamic DNS—an Object Lesson in Problem Solving
- Using Salt Stack and Vagrant for Drupal Development
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- Favorite (and easily brute-forced) pw's
35 min 24 sec ago
- Have you tried Boxen? It's a
6 hours 27 min ago
- seo services in india
10 hours 58 min ago
- For KDE install kio-mtp
10 hours 59 min ago
- Evernote is much more...
12 hours 59 min ago
- Reply to comment | Linux Journal
21 hours 45 min ago
- Dynamic DNS
22 hours 19 min ago
- Reply to comment | Linux Journal
23 hours 17 min ago
- Reply to comment | Linux Journal
1 day 7 min ago
- Not free anymore
1 day 4 hours ago
Enter to Win an Adafruit Pi Cobbler Breakout Kit for Raspberry Pi
It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Pi Cobbler Breakout Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- 5-21-13, Prototyping Pi Plate Kit: Philip Kirby
- Next winner announced on 5-27-13!
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?