Install opkg files

As Bifferboard is based on openwrt, it's possible to install existing pre-compiled packages onto the bifferboard.

If your bifferboard is connected to the internet you can have opkg both download and install the package, but if your bifferboard is 'offline' you can copy the .ipk package to your memory stick (using your PC), and then install it from there (on your bifferboard). For these examples I'll be using ntpdate (a program to set the time from the internet - bifferboard doesn't have a RTC).

Note: this won't work for kernel-related packages (i.e. anything starting kmod- or ending with _2.6.24.7-rdc-1_i386.ipk) because openwrt uses a kernel, whereas bifferboard uses a kernel. Until an official repository is available, you'll have to compile any kernel modules yourself from bifferboard sources.

Installing from the internet

Edit /etc/opkg.conf and change the URL in the first line to

(if you don't like using vi on the bifferboard, you can always poweroff your bifferboard, plug the usb-stick into your PC, and edit the file that way)

I'm hoping that when the Packages list is complete, there'll be an 'official' bifferboard repository somewhere :-)

(back on the bifferboard) run opkg update (this updates the list of available packages)

then run opkg install ntpdate (this should download and install the ntpdate package)

Installing from the usb-stick

Use these instructions to copy onto your usb-stick (e.g. copy it into the root folder)

Boot up your bifferboard and run opkg install /root/ntpdate_4.2.4p6-2_i386.ipk

Using ntpdate

You just need to type ntpdate ntpserver e.g. I do ntpdate (because I can never remember the name of my ISP's NTP server)

You might want to also set the timezone so that the date command gives you non-UTC times.

Slackware update:

Update the package lists with slapt-get --update then install ntpdate with slapt-get -i ntp then run ntpdate to set the clock to the correct time. If your bifferboard has a permanent internet connection you could put ntpdate into /etc/rc.d/rc.local to have it run at every bootup.