Installation history 2005-06-29: Third bootloader flash and Opie installation Familiar 0.8.2 is out and I installed it, following the 0.8
.2 instructions. As before, I used the serial cable from the beginning; all the software got replaced. Familiar 0.8.2 release notes (wiki) are extremely useful. First I downloaded the latest "unstable" tarball bootopie-h3600.tar to /vc/software/PDA -- the download is fast: tar xf bootopie-h3600.tarThat creates a directory h3600 with these files BootBlaster_1.19.exeSo the bootblaster is same old, but the bootloader is new. As root on spello, I run, minicom -s and get a configuration menu:
I reset the ipaq, holding
down the joypad and switching the reset button, so that
only the bootloader boots. The penguin boot screen
shows up on the ipaq. I then press the Calendar button (labeled "Serial
bootloader") and return to minicom on spello's monitor. Minicom now shows the boot> prompt on the ipaq.
I enter load bootldrand get a prompt to receive via ymodem. Press ctrl-a-s (for send) and select ymodem protocol in minicom, then pick the bootldr-sa- 2.21.12.bin.gz file (use the spacebar). This starts to transfer; it takes a few seconds. If you have transfer difficulties, exit minicom (ctrl-a-x) and restart it -- the commands must be entered cleanly for the transfer to work correctly. You get a "Sending: <file name>" receipt when things are working. File transferred, it says "programming flash..." and returns to the boot prompt -- this worked. You now have a new bootloader. Next, manually reset the unit once more, holding down the joypad and switching the reset button; the penguin boot screen shows up, then press the Calendar button (labeled "Serial bootloader") and return to minicom. This loads the new bootloader you just installed. Get ready to install the new kernel and Opie: load rootPress ctrl-a-s, select ymodem, and then the file opie-image-h3600-20050407124742.rootfs.jffs2. This takes ten to fifteen minutes -- 14MB of compressed software, the Linux kernel and Opie together. I finally get "Bytes Sent:14417920" and "READY: press any key to continue..." The new software is written to flash memory sector by sector.
When it's done, type bootat the boot> prompt and Linux and then Opie loads; see the first bootlog. I can log in as root and give commands as usual, but the ipaq is now ready for ssh so let's switch. Exit minicom. Next, connect using this first ppp
script as root from spello: /usr/sbin/pppd /dev/ttyS0 115200 128.97.221.33:192.168.0.202 nodetach local noauth nocrtscts lock user ppp connect "/usr/sbin/chat -v -t3 ogin--ogin: ppp"This connects to the IP address the iPaq has by default.
Use a different konsole window and verify you can log into the iPaq with ssh 192.168.0.202Create a password for the root user with passwd
Then run these commands from spello:
You can now connect using ppp -- use the script in spello:/root ./ipaq&Then from trevi, add rsa keys of network machines: scp /root/.ssh/authorized_keys ipaq:/home/root/.sshLog in as root and run these commands: ntpdate spello (or ntpdate -b time.handhelds.org)I get "Updated list of available packages in /usr/lib/ipkg/lists/". just upgradeNetbase and a couple of other packages install. Check for the targus stowaway keyboard support: # just list | grep stowNote that you can use just status <package> ==> to see the equivalent of "just show"The kernel modules are in /lib/modules/2.4.19-rmk6-pxa1-hh37/kernel -- modprobe h3600_stowawayworks! Edit the modules to be loaded in /etc/modutils and run update-modules. I did this: In ircomm-tty commented out ircomm-ttyAnd then lots of bluetooth stuff: In l2cap.conf commented out alias bt-proto-0 l2capHowever, the stowaway module doesn't load automatically. Space: # df That sets up the basics. I then installed a patched version of fbvncserver, as the release notes recommends: # wget http://unc.dl.sourceforge.net/sourceforge/fbvncserver/fbvncserver_0.0.7-001_arm.ipkThis is the version from 2005-05-12, more recent than any of the mainstream packages (which have wrong orientation on ipaqs). # just install *ipkWell, maybe I shouldn't have installed the package, as I don't really want to use it right now. 2004-04-05: VNC I installed dasher -- it gets a sigsev. I tried just install -force-overwrite opie-dasher-englishbut it sigsevs and reports not being installed. VNC server on the ipaq: the wiki claims it is built in! Following the instructions on the opie wiki, I issued this on the ipaq: No response. Then kill all qpe processes: ps -aux | grep qpe-- there were none anyway. Then start qpe like this: qpe -qwsThat produced a storm of stuff, starting with this: QVNCServer createdNow, that confirms there's a VNC server built in! Then lots of protests (dupes removed): QGfx buffer unaligned: 4083740bYou should now be able to use a vncviewer on your PC. I issue $ xtightvncviewer ipaqand it works!!!! VNC server supports protocol version 3.3 (viewer 3.3)However, I now see an application I have no interest in -- and I can't really see what it even is (qws?). I do a search on Qt/Embedded VNC server and find Trolltech's own page at http://doc.trolltech.com/3.0/emb-vnc.html. They say to run application -display VNC:0and then a vncviewer -- By default, Qt/Embedded will create a 640 by 480 pixel display. You can change this by setting the environment variable to another size, e.g. QWS_SIZEQWS_SIZE=240x320. The Qt Virtual Framebuffer is an alternative technique. It uses shared memory and thus is much faster and smoother, but it does not operate over a network.Well, that might work on Spello and be just the ticket! So I first reset the display: export QWS_DISPLAY=0:0Then I tried to locate the solitaire game -- first, find the package name on ipkgfind, then issue just files opie-solitaire | moreSeems to be /opt/QtPalmtop/bin/patience. So I issue which patienceand get the same thing. Next, patience -display VNC:0Well -- I get this: QSocket::writeBlock: Socket is not openI try again: patience -qws -display VNC:0So, that seems similar to what I just did. This time I get, QVNCServer createdI try again, export QWS_DISPLAY=VNC:0But no dice: 0 driver cannot connectThis does look moderately promising, however. Interestingly, this works: embeddedkonsole -qwsI get a real console, with icons. But it crashes when I try to use it. After that, I get QServerSocket: failed to bind or listen to the socketSo that's the built-in VNC server -- not very useful. Now, at Qt/Embedded Overview it says, "Most Qt applications can be ported to Qt/Embedded with a simple recompile and screen re-size." This suggests most Qt applications can be ported to i386 with a simple recompile. See also IPAQ and Zaurus Development using QPE -- it contains compiling instructions and this may well be the way to go. See also Qt/Embedded Virtual Framebuffer -- this is a method developers to use their desktop to develop Qt/Embedded applications. qt-embedded-interest is a mailing list where Lorn hangs out. A package that should work on your ipaq 3765 (source): Hard to tell if this will work -- or where it is. You could ask on the maillist, or the maintainer.Package: iPAQ3870_fbvncserver 2004-03-24: Reinstalling Familiar 0.7.2 and Opie 1.0.2 from scratch I got some erratic behavior on the ipaq after the upgrade and
decided to reinstall from scratch; the results are truly excellent.
Logging out now works again, and the teeclub game is snappier; there is
also a contextual menu in the file manager, so I can view pictures,
open apps, and delete files directly. When installing the bootloader I ran into some trouble that
was cured by rebooting lilo. Installing the root package didn't
complete to boot> but this seems not to have mattered -- I guess it
was close enough. I had to reissue the bridge command on spello for the
ipaq to be able to update. I didn't run upgrade, though I probably
could do so safely now -- the problem with the update from 0.7 is that
the bootloader needed to be upgraded. 2004-03-23: Installing games and reinstalling tinylogin After installing some extra games, a snapshot package (!), and
issuing "just upgrade", I may have got some trouble with tinylogin --
Opie wouldn't log out, which is alarming because it needs to log out to
create a serial connection. I finally managed to force a reinstallation
of Opie by issuing:
2004-03-16: Upgrading to Familiar 0.7.2 and Opie 1.0.3 On 16 March 2004, I followed instructions at http://familiar.handhelds.org/familiar/releases/v0.7.2/. I connected to the ipaq as detailed in configuration, then opened vi and modified /etc/ipkg.conf to read src base http://familiar.handhelds.org/releases/v0.7.2/base/armv4lHowever, the installation process (below) changed this so that /etc/ipkg.conf now reads: # ipkg looks in /etc/ipkg for .conf files with feeds in them. I changed and /etc/dpkg/opie.conf to read src opie http://opie.handhelds.org/feed/ipaq/1.0.3After the update (below), I added the file /etc/ipkg/familiar.conf with this line: src base http://familiar.handhelds.org/releases/v0.7.2/base/armv4lOn issuing "just update" I got this:
The packages are downloaded to /tmp and then moved to /usr/lib/ipkg/lists. Next, I issued just upgradeand got lots of stuff along these lines: Downloading http://familiar.handhelds.org/releases/v0.7.2/base/armv4l/kernel-modules_2.4.19-rmk6-pxa1-hh30_ipaqsa.ipkand then this: Package tinylogin wants to install file /bin/addgroupI guess I'll try a force on tinylogin. I also got this one: ERROR: Package opie-keytabs (parent opie-keytabs) is not available from any configured src.In fact, however, the package is available, but may be misnamed: http://opie.handhelds.org/feed/ipaq/1.0.3/opie-keytabs_0.6-_arm.ipkThe teeclub game is in this package: http://opie.handhelds.org/feed/ipaq/1.0.3/opie-solitaire_1.0.3_arm.ipkI then got a hang on this package -- likely my fault for responding too fast: http://familiar.handhelds.org/releases/v0.7.2/base/armv4l/sysvinit_2.85-fam1_arm.ipkI tried to resume, got the same tinylogin and opie-keytabs errors as above, and then this: Package=ipkg-arch, 3 matching providersFinally I get this: Do not forget aliases:Now, the attempt to tidy up. I issued ipkg -h to see options: ipkg version 0.99.105I issued: ipkg install -force-reinstall http://familiar.handhelds.org/releases/v0.7.2/base/armv4l/sysvinit_2.85-fam1_arm.ipkand got lots of errors indicating everything was already installed. I then tried, ipkg install http://opie.handhelds.org/feed/ipaq/1.0.3/opie-keytabs_0.6-_arm.ipkand something just went through -- no errors, no receipt. But issuing just status opie-keytabsshows me that version "0.6-" (there's the hyphen) has in fact been installed. Next, just list | grep ipkg-archI find online that you can issue this to find out "what architecture/machine-types ipkg is configured for" -- essentially this command just reads the contents of the file /etc/ipkg/ipaqarch.conf: ipkg print_architectureFor my 3750, from familiar's perspective functionally identical to 3600, I need ipaqsa. So I issue just install ipkg-arch-ipaqsaI now get a new response to the architecture query: ipkg print_architectureThen I try to get tinylogin installed: just install tinyloginThis time tinylogin claims that tinylogin is already providing the packages, so I imagine I'm fine. Next, task-opie-today. I searched for it using ipkfind (http://ipkgfind.handhelds.org) and found an unstable version at http://opie.handhelds.org/feed/ipaq/unstable/task-opie-today_0.5-20040313_arm.ipk -- then the regular stable version at http://opie.handhelds.org/feed/ipaq/1.0.3/task-opie-today_0.5-_arm.ipk (note the naming error again) and installed it. I told the mailing list at opie@handhelds.org about the two misnamed packages. That should do the trick. Finally, the comment at the end about ppp: Do not forget aliases:I have no idea about /dev/ppp -- you can't just turn that into a symlink. The file /etc/modutils/ppp-modules.conf has this: alias tty-ldisc-3 ppp_asyncSo that handles the second suggestion in the note above. ppp_generic is listed in /etc/modutils/familiar-base.conf with the line alias char-major-108 ppp_genericThat takes care of the third line of the note above. As for char-major-108, /dev/ppp is indeec char major 108 and minor 0 -- but I don't want to ruin the device node by turning it into a symlink. (The advice sounds like it might be coming from someone who is not using update-modules -- /etc/modules shouldn't be edited.) I then commented out these modules in /etc/modutils/bluetooth-modules: #hci_uartand ran update-modules. I also removed the modules from the running kernel with rmmod -- worked fine. Then some new packages: diff (note that diff generates input for patch).Not sure it was a good idea to install alsa -- the sound-modules already install may be using oss (snd-pcm-oss snd-mixer-oss). There is a portmapper -- I wonder if you can mount drives? A gig on your opie? ttf-bitstream-vera -- I think a small version is already installed. There's all kinds of bluetooth and wireless stuff. I now have two sets of modules in /lib/modules: 2.4.19-rmk6-pxa1-hh30Will the more recent one -- hh30 -- automatically be chosen? 2003-07-16: Second bootloader flash and Opie installation Familiar 0.7 is out and I installed it, following the 0.7
instructions. This time I used the serial cable from the beginning; all the software got replaced. First I downloaded the latest tarball to /vc/software/iPaq and untarred it -- the download is slow: Second I reset the unit while holding down the joypad, so that
only the bootloader boots. I then connect to the unit using minicom --
this time I had no problems, as all the correct settings were retained
from last time. At the boot> prompt (on Spello's screen, but really
on the iPaq) I entered "load bootldr" and got a prompt to receive via
ymodem. Press ctrl-A-z-s and select ymodem protocol in minicom, then
pick the bootldr-sa- 2.20.4.bin.gz file. This starts to transfer; it
takes a couple of minutes. This is the most crucial step, as you're replacing the ability
to boot itself. If you don't get error messages, type "reset" at the
boot> prompt. If you do get errors, don't disconnect the unit --
just leave it connected and powered and seek help on irc! Third, I had some trouble preventing it from booting Linux and
Opie -- you have to hold the joypad while you reset. The minicom
connection just stays. Again from the boot> prompt type "load root"
and again press ctrl-A-z-s and select ymodem protocol in minicom, then
pick the jffs2 file -- that's the Linux kernel and Opie together. It
takes ten to fifteen minutes to download over the minicom connection.
Once it's done, you'll see all kinds of registers rewritten -- scary
stuff, but it works fine. When it's done, type "boot" and the boot>
prompt and Linux and then Opie loads. You may not need the following: I logged in and started sshd
-- it was likely already running. You may have to reboot; then leave
the iPaq at the Opie login screen, serial cable all the time connected. Fourth, quit minicom and send this first ppp connection
script: /usr/sbin/pppd /dev/ttyS0 115200 192.168.0.1:192.168.0.202
nodetach local noauth nocrtscts lock user ppp connect "/usr/sbin/chat
-v -t3 ogin--ogin: ppp". I put it in zppp. This connects to the IP
address the iPaq has by default. Fifth, use a different konsole window to log in to the iPaq with ssh 192.168.0.202. Then run these commands from spello: scp /vc/systems/ucla/ipaq/hosts 192.168.0.202:/etcThis gives you the basic configuration files. Now disconnect your ppp connection and establish this second one instead: /usr/sbin/pppd /dev/ttyS0 115200 128.97.184.94:128.97.184.92 nodetach local noauth nocrtscts lock user ppp connect "/usr/sbin/chat -v -t3 ogin--ogin: ppp" The iPaq is now on the network, so change the password. Log in by name and run these commands: ntpdate spelloNote that the default Opie feed is now 0.99pre; there was nothing to upgrade, so that's what I'm running I take it. There are a couple of other things you could do: just install stowaway-modules opie-sh-stowawayctrlI didn't, this first evening -- last time the stowaway couldn't be made to work, and the MS fonts didn't show up. Note that you can use just status <package> ==> to see the equivalent of "just show"I don't see a way of listing all installed packages, except by looking at the cache... Summary: This looks like a pretty robust upgrade procedure. It's very easy to keep copies of the main files on spello and just copy them over after a reinstallation. What isn't quite there yet is getting the calendar files from korganizer and kaddressbook across. Remember you have rsync if you need it. It looks like this release is a better one, with a number of bugs fixed; you could probably just start using it. Still, I'm OK with just having learned how to do the whole thing -- how to install a complete replacement bootloader and OS. It shouldn't take you more than half an hour next time. 2003-06-09: First bootloader flash The new Familiar 0.7 is released in an advanced release candidate state. I used the 0.7 instructions to pick up the bootloader tarball from somewhere (not sure where now), placed it in /fuma/Software/PDA/Linux, and untarred it -- and don't gunzip the bootldr! I then booted into WinXP and moved the following files into the default directory, in this case My device \ My documents::
Click on Start on the iPaq and select File Explorer; click on BootBlaster -- it runs! I followed the instruction:
Now, that was the first part. You have now flashed your iPaq -- using ActiveSync over USB. I reset the unit and --- tada! -- the bootloader works! Lots of options -- when I just leave it alone it boots back into WinCE. So the first mission is accomplished. Note that you can also reflash the bootloader from the bootloader prompt:
"press the center button while you press reset, this will put you in the
bootloader prompt. then reflash the rom." I've not tested this. 2003-07-03: Continued installation -- no serial console I'm now looking at the installation instructions for the Familiar 0.7
release, Installing
Familiar 0.7 with a serial line. I've got a "hotsync cable" serial
line hooked up to the iPaq and to Spello, currently running Linux. I verify
that the terminal program minicom is installed (version 2.1-2), along
with the lrzsz package, which provides "an external y-modem program".
Spello's dmesg shows: Serial driver version 5.05c (2001-07-08)I then turn to minicom. First I run "man minicom" and find there's a setup flag, -s. I run minicom -s and get a configuration menu.
I
plug the power into the iPaq -- I was depleted -- and reset it, holding
down the joypad and pushing the reset button. It boots fine to the ARM
Bootloader, and I press the Calendar button for the "Serial Bootloader
Console" -- the text flashes inverse. I don't know what I'm looking for
-- shouldn't I be seeing a boot prompt on the iPaq? Of course not, but
I only find that out later...
2003-07-04: Continued installation -- serial console success There's a
boot> prompt -- on spello, of course, not on the iPaq -- and typing "help" gives me oodles of text. I continue
with the instructions:
First I download this file: http://familiar.handhelds.org/familiar/releases/v0.7/install/bootopie-v0.7-rc3-h3600.tarI put it in /vc/software/iPaq and untar it. I get these files: bootopie-v0.7-rc3-h3600.jffs2The bootldr and BootBlaster I no longer need. I'll now copy the *jffs2 file to the iPaq! I paste this into minicom's console: load root-- which gives me this: partition root is a jffs2 partition:I initiate the file transfer from minicom: With minicom, use the key sequence: ctrl-A-z-s Then select xmodem and the name of the file to send. Transfer->Send File to activate the Send File dialog. With this dialog, select the name of the file to send, choose the Xmodem protocol, and then Send.I do this, and get Sending: bootopie-v0.7-rc3-h3600.jffs2. It works fine; the transfer is slow by current standards, taking several minutes to get the 11,534KB across. Yeah! I'm booting Linux! Opie, too -- this new system seems to be a lot simpler than what came before. I'm glad minicom is working -- I don't know what the initial problem was, other than that I didn't stick with /dev/ttyS0 all the time. The new boot image loaded fine, erasing the old flash and
writing itself in. I typed "boot" and booted into Linux -- into Opie!
The date reset window wouldn't load, but everything else was working. 2003-07-04: Establishing a USB connection -- failure I used this Wiki how to establish a USB networking connection -- you can't quite trust it, so see the notes below. To communicate with the iPaq over a USB cable -- such as the
cradle it comes with -- you need to activate usbnet functionality in
the kernel. Specifically, you need the usbnet.o module, which my 2.5.69
kernel had not selected. For details, see USB Host-to-Host Networking on GNU/Linux.
I reconfigure the kernel and select "Host-to-host networking for cables
and smart devices" with an M. The help screen says this (abbreviated): CONFIG_USB_USBNET:Under Networking | Networking options, I found "802.1d Ethernet Bridging": CONFIG_BRIDGE:Reading the testimonials, I discover there's a Debian package called "bridge-utils" -- turns out I have it installed already. It's the origin of the following files: /etc/network/if-pre-up.d/bridgeIn addition, there's a man page and quite a bit of documentation. Back under USB, you need the "Embedded ARM Linux links (iPaq, ...)". This has the following help menu: CONFIG_USB_ARMLINUX: Note that for the Zaurus, you need the "Sharp Zaurus (stock
ROMs)" (tell Tord), and for Palms you need "USB Serial Converter
support" (tell Derek). I selected these: CONFIG_USB_USBNET (m = usbnet) In addition, I need some advanced networking features, namely
iptables and masquerading. Under Networking support | Networking
options, I needed these: CONFIG_PACKET (m = af_packet) -- already presentThen, further down under IP: Netfilter Configuration, I added these: CONFIG_IP_NF_CONNTRACK (m = ip_conntrack) -- required for masq/NATThat's all -- I defined the lot of them in netfilter as modules, to avoid having to recompile, but these five are all I need. I then recompiled and rebooted. While compiling, I discovered there's a Debian package called iptables that was installed already. On reboot, I found this:
That seems to me all quite nice. Turning to the iPaq, I continued with the Wiki instructions how to establish a USB networking connection.
I may be simplest to do it while you're still on the minicom, but I did
it in konsole on the ipaq directly. Here's what you do on the ipaq: modprobe usb-ethThis actually works! The sa1100usb_core.o module loads, along with the usb-eth.o module. So I have what it takes on the ipaq. I do an lsmod and see lots of modules I don't need. I should unload them once I have a connection. Next, I'm supposed to set up an ethernet connection, configuring the iPaq like this: ifconfig usbf up 1.1.1.1 netmask 255.255.255.0Note that the ifconfig will work only when the iPaq is in the cradle and connected to the laptop -- so that's a good sign! I then create an /etc/resolv.conf file with two nameservers. I then try this: modprobe uhciSmooth -- no response on either one. I remove it from the cradle and put it back in. Back on the laptop, I do this: ifconfig usb0 1.1.1.2 netmask 255.255.255.0All of these went through without comments (once I had the right modules). I optimistically tried to issue a ping on the ipaq, which promptly froze. However, a reset just takes me back to where I was -- even the changed files were retained. I play around with it -- even manage to set the time, so I'm all set. On Sigillo, I get this: #iptables -LSo this is the quick and dirty -- accept forward from all. More suggestions -- there's really no straightforward set of instructions anywhere -- this is really rather chaotic. On this first attempt, I'm unable to establish a network connection using the USB cradle. 2003-07-05 Establishing a PPP connection -- success Here's the line that made the logon work -- the first IP address is what gets assigned to the host, and the second is the iPaq's as given in /etc/network/interfaces: /usr/sbin/pppd /dev/ttyS0 115200 192.168.0.1:192.168.0.202 nodetach local noauth nocrtscts lock user ppp connect "/usr/sbin/chat -v -t3 ogin--ogin: ppp"I got this in response: Serial connection established.Not sure about the proxy ARP, we'll leave that for later. I issued this earlier, on spello: echo 1 > /proc/sys/net/ipv4/ip_forwardI should finally have network connection on the ipaq. Now, what this serial connection is is simply a PPP link from Spello to the iPaq. I should now log into the ipaq with ssh! I can do that from Sigillo. Wow, it works -- I'm on. I can now treat the iPaq as a networked machine, off of Spello. I added it's IP address to Spello's host. I can run remote-x from it, among other things. I move back to sigillo and can now control a networked ipaq from there -- as it were, from home base. Takes me a second to get used to how this stuff works. I could give Derek access to it. We could create an x-window session that runs the ipaq on the projector -- see details. Lots of fun stuff -- but first I need to get the basics working. 2003-07-05 Connecting to the Internet The Familiar post-install instructions says I should run these: ntpdate -b time.handhelds.orgI try the first: root@spello:~# ssh ipaqSo it's not finding the Internet -- there may be a nameserver problem. Then I tried to update the time from Spello itself, which happens to be a time server too: ~ # ntpdate -b 192.168.0.1It worked. I'm now at least on time, and can clearly connect. Problem: do I have an editor? There's a problem with the network connection still -- though I use etherape and see that the iPaq is in fact sending requests to the nameservers. However, there is no result -- lookup fails. This was also the problem with the USB connection, though here I may be a bit better off -- I'm referred to an IP Masquerading Howto. There I then learn that if you have a spare IP address on the network (which I do), I can use that! So I will assign a new IP to the iPaq: 128.97.184.92 steen8.sscnet.ucla.edu ipaqI'll give this a try -- disconnect the current connection, change the IP number, and reconnect. -- Well, that worked -- I now have a connection where the ipaq is on a recognized IP address. /usr/sbin/pppd /dev/ttyS0 115200 192.168.0.1:128.97.184.92 nodetach local noauth nocrtscts lock user ppp connect "/usr/sbin/chat -v -t3 ogin--ogin: ppp"And I'm pinging! I'm finally on the Internet. That took a while. So after all that I discover I don't really need any of the masquerading stuff, because I have a spare IP number!! # uname -aPing speeds, incidentally, are worth monitoring -- 2003-07-05 Configuring the system I return to the tasks awaiting from the post-install instructions: ntpdate -b time.handhelds.orgThe timeserver works -- and I check against spello to verify that we're keeping time accurate to less than one-tenth of a second. I run ipkg update and get Downloading http://familiar.handhelds.org/releases/v0.7/base/armv4l/PackagesOn upgrading, I get familiar-base_5.0-37_arm.ipkPerhaps unwisely, I say yes to replacing all the scripts and configuration files -- lots of them, including /etc/modules (moved to /etc/modules.ipkgold) and /etc/modules.conf (to /etc/modules.conf.ipkgold). I've not really used the system yet, apart from the network interface. Those were the only updates. I then try: ipkg install sshand get ssh_3.6p1-2_armv4l.ipk. It's not very verbose. Still, I can now ssh to cyberspace.ucla.edu -- I'm sitting on sigillo, recall, while ipaq is hooked up to spello via a serial cable, and I'm controlling the ipaq through sigillo's keyboard and screen to ssh to cyberspace. So now I'm controlling cyberspace through the ipaq, remotely from sigillo, through an ssh connection to spello, where the ipaq is in fact physically connected -- as if that mattered at this point. Next, what do I want? No new opie packages? Setting the time didn't work, but then I've done that with ntpdate. I could move a timezone file over? Not sure that's set correctly on spello? I do these: ipkg --helpThe "ipkg list" command is supposed to "List available packages and descriptions," but lists only opie-sh-hostlist and opie-today-todolistplugin. Later, when I log in again, I get the whole list -- see package list. I issue "ipkg install nano" and get these: libncurses5_5.3.20021109-2_arm.ipk (libncurses5 - Shared libraries for terminal handling, later removed, since I got the problems below)Not too bad. But when I issue "nano interfaces" I get "Error opening terminal: xterm." I try "ipkg install xterm", but it's not available. I then found that "echo $TERM" gives "xterm" and try setting export TERM=vt100When I now type "nano" I get "Error opening terminal: vt100", so it's clearly just looking for a valid terminal. I try leaving a blank in $TERM but get "Error opening terminal: unknown." I look around a bit, find the QTopia project, try installing bash: bash_2.05b-5_arm.ipk (also later removed -- depends on libncurses5)I type bash and get the bash prompt. Now, when I start a ping session, Ctrl-C doesn't work; I can't stop it. Actually, that's not the fault of bash -- I log in with another terminal and kill it. Don't know what happened to my ctrl-c there. Not sure I need bash -- all I want is a terminal editor! So it suddenly dawns on me -- vi is installed! I make a version of /etc/hosts.ipaq and move it to the ipaq; I now have direct access to everything. I don't suppose I can mount drives :-) I check my mail from the ipaq -- no problem. So I have vi for editing; I can probably live with that. I create a symlink from ipkg to just and issue some "just remove" -- bash, nano, libncurses5. Back to where we were, but wiser. I get the vi Editor pocket reference out and learn ZZ is to save and exit -- I knew i was to edit. I'll be ok. I issue "ssh-keygen -t rsa" and create RSA keys on ipaq, then copy the key manually to spello, and use ssh-copy-id -i ~/.ssh/id_rsa.pub ipaq to copy spello's key over. Note that ipaq's name is currently familiar. I issue this: just list rsyncIf there's rsync, there might be a way of synchronizing contacts and dates. I leave it for now. I feel like trying the USB connection again. After changing /etc/network/interfaces to one of my usual machines, and plugging it back into the usb cradle, I'm now seeing something new in Network Settings -- instead of disconnected, I now see an up-chevron and (usbf) 128.97.184.92 -- that looks promising. However, when I try to ping, I still get a frozen ipaq. Everything just freezes. I'm still getting activity if I remove and reseat it: Jul 5 18:23:18 sigillo kernel: usb0: register usbnet at usb-00:0b.0-1, Linux DeviceSo the usbnet is sort of working. I leave it for a while to see if it unlocks itself eventually. Now, what I could do is this. Figure out which files are used for contacts, and just keep a separate list on sigillo or spello that is rsync'ed every so often. The USB is just a pain at the moment, but things may improve down the line. Stowaway keyboard -- failure /etc # just list | grep stowawayThis looks promising. I now know that I can get hold of files on the ipaq, so I can also type into it. Let's get those. I get all three. I do a modprobe h3600_stowaway, which inserts smoothly. However, I appear to have stuff from two kernels -- the module inserted to /lib/modules/2.4.19-rmk6-pxa1-hh13, while the stowaway-h3600 package appears to assume /lib/modules/2.4.3-rmk1-np2/. This package provides /usr/bin/stowd; it looks to me like I shouldn't be using it and decide to remove it. In the /root directory I discover a postinst script; it points to another that downloads MS fonts. I ran it and got all the fonts -- I might now remove "ttf-bitstream-vera - Vera fonts. http://gnome.org/fonts/" -- no, it's not installed. 2003-08-05 Opie 1.0, RSA, and KOrganizer On 5 August I upgraded to the just-released Opie 1.0, which appears to be working well. I found the KOrganizer ipkg and installed it and the alarm daemon -- so I have korganizer on the ipaq! It's just amazing how poorly documented this stuff is, and how hard it is to get the information -- the program has been available for the ipaq for a year or more already. I installed it by just downloading it to /vc , copying it to ipaq with scp *ipk ipaq:/var/tmpand installing it with ipkg install korganizer_1.0.8_arm.ipkI also set up RSA keys with this command: ssh-keygen -t rsaand exchanged keys with sigillo and spello -- I had to do it manually from the ipaq, but used ssh-copy-id from sigillo and spello. I then ran ./postinst to get the MS fonts -- andale32 (a monospaced font) and verdan32. Not sure how to get opie to use them. The default name for the korganizer calendar is ~/Applications/korganizer/mycalendar.ics -- I copy the Calendar.ics file on sigillo to this default file name; it only takes up 3% of available memory. To synchronize the calendar and the addressbook, use these scripts. I should have the calendar in place now! The rest I'll do later. Korganizer is 7 hours off, since ipaq is on UTC and sigillo is on Pacific time. |
|
|
|
|||||
Maintained by Francis F. Steen, Communication Studies, University of California Los Angeles |