SDB:Connecting Zaurus SL5500 to SUSE LINUX 9.1/9.2

Şuraya atla: kullan, ara


Version: 9.1 - 9.2

Concern

Connection of a SHARP Zaurus SL5500G handheld with a SUSE LINUX 9.1 or 9.2 system by way of Ethernet over USB.

Procedure

Zaurus connection:

  • Connect the cradle to the PC.
  • Switch on the Zaurus and place it in the cradle.

The system should now detect the Zaurus automatically. Check it with the command
tail -f /var/log/messages. The output should be similar to:

Oct 9 13:53:12 tux kernel: usb 2-1: Product: SL-5500
Oct 9 13:53:12 tux kernel: usb 2-1: Manufacturer: Sharp
Oct 9 13:53:12 tux kernel: usb 2-1: SerialNumber: ************
Oct 9 13:53:12 tux kernel: usb0: register usbnet at usb-0000:00:10.1-1,Sharp Zaurus SL-5x00
Oct 9 13:53:12 tux /etc/hotplug/usb.agent[13134]: need a device for this command

Note that the network device usb0 is used in this case (line 4). The name of the device may be different in other circumstances.

Network configuration:

Start a console and log in as root user with the command su. Enter the following commands:

 cd /etc/sysconfig/network
 # (if the device displayed in /var/log/messages was not usb0 but a
 # different device, use it instead of usb0 (e.g. ifcfg-usb1)
 touch ifcfg-usb0
 echo \# usb0 config for Zaurus > ifcfg-usb0
 echo IPADDR=\'192.168.129.200\' >> ifcfg-usb0
 echo NETMASK=\'255.255.255.0\' >> ifcfg-usb0
 echo NETWORK=\'192.168.129.0\' >> ifcfg-usb0
 echo BROADCAST=\'192.168.129.255\' >> ifcfg-usb0
 echo STARTMODE=\'hotplug\' >> ifcfg-usb0
 echo 192.168.129.201 zaurus >> /etc/hosts
 

SuSEfirewall2 configuration:

The configuration of SuSEfirewall2 must be adjusted so that the handheld can be reached. Edit the file /etc/sysconfig/SuSEfirewall2 with an editor of your choice (e.g. pico). Enter your USB device in the line FW_DEV_INT. If an entry is already available, append the new device to the available entry separated by a blank. The entry should be similar to:

FW_DEV_INT="usb0"

Save the file and restart SuSEfirewall2 with:

rcSuSEfirewall2 restart

Internet setup on the Zaurus:

Enter the following values in the Zaurus' network settings:

IP address: 192.168.129.201
Netmask:  255.255.255.0
Standard gateway: 192.168.129.200

If you are already connected to the Internet with your PC, ask for the name servers with the command cat /etc/resolv.conf and enter them in your Zaurus, too.

Sync with Qtopia Desktop:

Download the QTopia Desktop from the Trolltech page:

wget --passive-ftp
ftp://ftp.trolltech.com/qtopia/desktop/SuSE8.2/qtopia-desktop-1.7.0-1su82.i386.rpm

Note: This version also works with SUSE 9.1/9.2. The software rights for Qtopia Desktop are retained by Trolltech.

Install the package with:

rpm -Uhv qtopia-desktop-1.7.0-1su82.i386.rpm

After the installation, Qtopia Desktop will be available in the directory /opt/Qtopia/. You can create a link to Qtopia Desktop on KDE by clicking with the right mouse button on the desktop and selecting "Create new / Link to application". Enter e.g. Qtopia Desktop as name. Select the tab "Application" and enter /opt/Qtopia/bin/qtopiadesktop as command.

Many thanks to Jens Köke for this article! <keyword>zaurus,SL5500,SL5500G,sharp,pda,usb,handheld</keyword>