7.1. Upgrading packages definition

I assume you still have the terminal emulation running, as described in Chapter 3, and that USB networking is working, as described in Chapter 6. In order to update the packages definitions, just issue the following command on the iPAQ:

# ipkg update
Downloading http://familiar.handhelds.org/familiar/feeds/unstable/packages/armv
4--14:14:56--  http://familiar.handhelds.org:80/familiar/feeds/unstable/package
s/           => `//tmp/ipkg/Packages'
Connecting to familiar.handhelds.org:80... connected!
HTTP request sent, awaiting response... 200 OK
Length: 212,734 [text/plain]

    0K -> .......... .......... .......... .......... .......... [ 24%]
   50K -> .......... .......... .......... .......... .......... [ 48%]
  100K -> .......... .......... .......... .......... .......... [ 72%]
  150K -> .......... .......... .......... .......... .......... [ 96%]
  200K -> .......                                                [100%]

14:15:00 (59.24 KB/s) - `//tmp/ipkg/Packages' saved [212734/212734]

Done.
Updated list of available packages in /usr/lib/ipkg/lists/familiar-unstable

Then, upgrade the installed packages to their latest version:

# ipkg upgrade
...
    N or O  : keep your currently-installed version
      D     : show the differences between the versions (if diff is installed)
 The default action is to keep your current version.
*** wlan.opts (Y/I/N/O/D) [default=N] ? y
Configuring pcmcia-cs...Done
Package mount (2.11h-1-fam1) installed in root is up to date
Package shellutils (2.0.11-5) installed in root is up to date
Package wvlan-modules-2.4.18-rmk3 (hh12) installed in root is up to date
Package libncurses5 (5.0-6.0potato1) installed in root is up to date
Package tar (1.13.19-1) installed in root is up to date
Package setserial (2.17-20) installed in root is up to date
Package orinoco-modules-2.4.18-rmk3 (hh12) installed in root is up to date

You may have to enter Y a couple of time to accept modifying some existing files.

One of the first useful package to install is the familiar-postint package, that will provide clock synchronization using the ntpdate command:

# ipkg install familiar-postinst
...
Unpacking familiar-postinst...Done.
Configuring familiar-postinst...Done.
# cd
# ./postinst
...
Familiar post-installation completed successfully.