jornada Stuff 3-Nov-2009 1:56 PM
Edit FancyEdit New New Blog Upload All Recent Home Logout

Installation

http://wiki.netbsd.se/HowtoinstallNetBSDon_hpcarm

setup the card

reformat the cf card: - 100mb fat-32 - rest free using disk utility on the mac

copy over http://ftp.netbsd.org/pub/NetBSD/NetBSD-5.0.1/hpcsh/installation

hpcboot-sh3.exe
netbsd.symbols.gz
netbsd.gz
miniroot/miniroot.fs.gz

format the disk

boot it up on the device

disklabel -i -I wd0
b  swap  d(msdos partition) 64MB    add swap
a  4.2BSD  b  $             add root
P                   to show list
W                   write
y                   yes
Q                   quit

newfs wd0a

mount -o softdep /dev/wd0a /mnt
mount -o -l /dev/wd0d /mnt2

copy over the .TGZ files to the dos partition (if they're not already there)

http://ftp.netbsd.org/pub/NetBSD/NetBSD-5.0.1/hpcsh/binary/sets
ref: http://ftp.netbsd.org/pub/NetBSD/NetBSD-5.0.1/hpcsh/INSTALL.txt

28  base.tgz    73MB    base NetBSD
1   etc.tgz     1MB /etc contents
12  man.tgz     50MB    Man pages for the above
41

38  comp.tgz    126MB   compilers, headers, libraries, man
79          250

4   games.tgz   8MB games and man pages
4   misc.tgz    13MB    /usr/share dictionaries, etc
87          271

3   text.tgz    10MB    text processing tools, man
=90         = 281

5   xserver.tgz 11MB    X11 Server
7   xbase.tgz   19MB    base X11
1   xetc.tgz    1MB configuration files
13  xcomp.tgz   43MB    compiler stuff for X11
31  xfont.tgz   39MB    fonts for X11
=57         = 113MB
=147            = 384MB

tests.tgz

cd /mnt2/files
for f in *TGZ ; do
  tar -zxvpf $f -C /mnt
done

configure

cd /mnt/dev
./MAKEDEV all

cd /mnt
mkdir dos
ln -s dos/netbsd

vi /mnt/etc/fstab
/dev/wd0a /   ffs   rw,noatime,nodevmtime 1 1
/dev/wd0b none swap sw 0 0
/dev/wd0d /dos msdos -l,rw                 0 0


vi /mnt/etc/rc.conf
rc_configured=YES
wscons=YES
defaultroute="1.1.1.1"
hostname=someone.somwhere.co.uk
sshd=YES
rpcbind=YES
nfs_client=YES
lockd=YES
statd=YES
cron=NO
dhclient=YES

boot

save, restart, copy the kern-GENERIC kernel over, boot from that.

kern-GENERIC.tgz

log in as root. no password

create user accounts and passwords

passwd
useradd -m -G wheel joe
passwd joe

Manually configure wireless card

ifconfig wi0 ssid NETWORKNAME nwkey NETWORKKEY
ifconfig wi0 192.168.1.252
ifconfig wi0 up

route -n show
route add default 192.168.1.1

ifconfig wi0 down

third party stuff

ref: http://ftp.netbsd.org/pub/NetBSD/NetBSD-5.0.1/hpcsh/INSTALL.txt

PKG_PATH=ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/hpcsh/5.0.1/All
export PKG_PATH
pkg_add -v tcsh
pkg_add -v bash
pkg_add -v perl