Sharp Zaurus Tips and Tricks
How to get udhcpc to send your hostname

The "ifup" command refuses for some reason to call udhcpc with the configured hostname.

The result is, that in some setups with dyndns the DNS can not be updated.
I have yet to find out why the setting in /etc/network/interfaces is ignored but i
can offer a work-around:

  • Move /usr/sbin/udhcpc to /usr/sbin/udhcpc.old [cd /usr/sbin;mv udhcpc udhcpc.old]
  • Copy the following script to /usr/sbin/udhcpc

    #!/bin/sh
    
    #get current hostname
    hname="$(cat /etc/hostname)"
    
    #set a default
    test -z "$hname" && hname="zaurus"
    
    #launch udhcpc
    /bin/busybox udhcpc -h "$hname" $*
    
                                                    
  • Thats it!


How to get Opera working on OZ

Important: This will only work with OZ 3.1rc1 and not with rc2!

You will need to rip Opera and a library from the SHARP-Rom.
Instructions on how to do that without reflashing can be found
here (you need a Linux-PC to do that!).

If you don't have a Linux-PC you will have to reflash your Zaurus to use the SHARP-Rom.

  • Download operacreator and install it on your Zaurus. It will create an Opera ipkg for you. Copy the ipkg to your Desktop.
  • Locate libqte.so.2.3.2 on your Zaurus and copy it to your Desktop or a SD/CF-Card.
    It must be ~ 3.4MB in size!
  • Now reflash OpenZaurus and copy the Opera ipkg to /root and the lib to /root/compat
  • Install Opera
  • Copy this script to /opt/QtPalmtop/bin/ (needs bash installed!)
  • Edit /opt/QtPalmtop/apps/$MENU_NAME/opera.desktop and replace "Exec = opera" with "Exec = opera.sh"
  • Restart Opie
  • Now run Opera and have fun :)


Note: I have learned the trick with preloading the lib from a post at a Zaurus forum which was dealing with HancomWord. So all credit goes to the original author.
Wednesday, 30-Jun-2004 11:28:27 CEST

Valid HTML 4.0!
Powered by Linux, © Matthias Hentges 2004
Webmaster

Valid CSS!