






wget
Overview:
The Intimate distibution is a Debian Arm based distrobution for use with the Familiar distribution providing a full linux environment for use with Micro Drives (or in our case, over NFS). This instructions below are for installing Intimate for use over NFS, so you will need an NFS server. This also assumes you have Familiar installed using my custom jffs2 images (or at leaset have pivot_root installed and a properly modified /linuxrc.intimate).
NFS Setup:
This is quick and dirty. For more details on NFS, see: http://www.linuxdoc.org/HOWTO/NFS-HOWTO/index.html
- Create /intimate directory (or whever you want to put the Intimate TARball) for remote mounting.
- Setup /etc/exports file. Replace the 172.16.4.0/24 network with you own addresses:
Linux:
nfsserver:~# cat /etc/exports
/intimate 172.16.4.0/255.255.255.0(rw,no_root_squash)
FreeBSD (see http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/nfs.html:
nfsserver:~# cat /etc/exports
/intimate -maproot=0 -network 172.16.4 -mask 255.255.255.0
- Start/Restart NFS Server:
Linux:
nfsserver:~# /etc/init.d/nfs restartOR
nfsserver:~# /usr/sbin/exportfs -r -v
FreeBSD: (restart)
nfsserver:~# portmap
nfsserver:~# nfsd -u -t -n 4
nfsserver:~# mountd -r
FreeBSD: (start)
nfsserver:~# kill -HUP `head -1 /var/run/mountd.pid`
Setup Intimate:
You need to setup the Intimate files on a server that can provide NFS:
- Download http://intimate.handhelds.org/intimate20010622.tgz and untar to /intimate:
nfsserver:~# cd /intimate
nfsserver:~# tar zxf /pathtofile/intimate20010622.tgz
- Apply my modifications (m5dsum) to the base setup. This allows for you to use the hostname, resolver settings, time settings and ssh key files off the iPAQ (so multiple peoble can use the NFS mount - you need to be careful about /var write access):
nfsserver:~# cd /intimate
nfsserver:~# rm -f etc/hostname
nfsserver:~# rm -f etc/resolv.conf
nfsserver:~# rm -f etc/localtime
nfsserver:~# wget http://www.prism.gatech.edu/~gt6131b/sshf2001/intimate/fix-intimate.tar.gz
nfsserver:~# wget http://www.prism.gatech.edu/~gt6131b/sshf2001/intimate/fix-intimate.tar.gz.md5sum
nfsserver:~# md5sum -vc fix-intimate.tar.gz.md5sum
nfsserver:~# tar zxf fix-intimate.tar.gz
nfsserver:~# rm -f fix-intimate.tar.gz
nfsserver:~# rm -f fix-intimate.tar.gz.md5sum
The fix-intimate.tar.gz file contains missing files that Intimate wants to boot X properly, a modified /etc/fstab file to prevent allow for /boot mounting of /dev/mdtblock3, and links to /boot/... so you can use thie files on the handheld (see above).
Setup Familiar:
Setup /etc/fstab to mount NFS server:
# cat /etc/fstab
#
/dev/mtdblock3 / jffs2 defaults 0 0
ramfs /mnt/ramfs ramfs defaults 0 0
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0622 0 0
gargamel.buserror.org:/export/ipaq/nfs/intimate /mnt/nfs nfs nolock,rsize=8192,wsize=8192 0 0
Adjust linuxargs param:
# ipaqbb --set linuxargs="noinitrd devfs=mount root=/dev/mtdblock/3 \
init=/linuxrc.intimate console=ttySA0" --verbose
OR
boot> set linuxargs "noinitrd devfs=mount root=/dev/mtdblock/3 init=/linuxrc.intimate console=ttySA0"
boot> params save
Update Intimate:
Once the Intimate files are on the NFS server and Familiar is ready to go, boot into Intimate and follow the steps below to update the insulation:
- Now you might want to install some other apps:
# apt-get install vim patch cvs
On the CVS setup menu, remove everything from the path and DO NOT setup the pserver. Also, once vim is install, you need to update the alternatives:
# update-alternatives --auto vi
- Finally, you need to update the apt-get listings and update the whole system:
# apt-get update
# apt-get upgrade
Back to HOW-TO's
Links to this Page
- HOWTO Listing last edited on 19 July 2001 at 1:14 pm by chicago.cc.gatech.edu
- iPAQ Security Project Milestones last edited on 1 July 2001 at 11:18 pm by singularity.buserror.org
- CS3210 Project Milestones last edited on 5 August 2001 at 1:53 pm by dsl027-162-180.atl1.dsl.speakeasy.net
- #1 last edited on 31 January 2008 at 12:39 pm by 69-94-209-171.biltmorecomm.com