How to install FreeBSD 2.2.8+PAO+KAME
Mr. Fukuhara(ichiro at ichiro.org) has created very neat install floppy
for FreeBSD 2.2.8+PAO+KAME.
So you can install FreeBSD 2.2.8+PAO+KAME with almost the same way of
Generic FreeBSD. Also, if you use ftp install method, you can install
using IPv6!
Note that this document considers almost nothing if it is the same with
Generic FreeBSD install. The target of this document is people who has
experience with Generic FreeBSD install. Also, target machine will be
basically NotePC because of PAO+KAME, and there is a router machine
for target machine.
Contents
Preparation
- Target PC to install:-)
The main target will be NotePC because of PAO+KAME, but of course
you can use Desktop machine:-)
- Media to install
If you can use ftp install, it is the best way
PAO+KAME part can only install via ftp:-)
- Installation floppy
You can get floppy image from anonymous ftp site below
General flow of installation
On this install floppy, first install generic part and then install
PAO+KAME specific part. So, general flow of installation will be as follows.
- boot from install floppy
- generic part of OS installation
- PAO+KAME part installation
- configuration within installer
- boot from installed OS
- configuration which cannot do within installer
- (Optional)kernel rebuild
Installation procedure
Minor Configuration
Thats all for the besic configuration. The rests are the minor configuration
to keep you happy.
- Configuration of IPv4:-)
If you use IPv4 for the installation, there will be a configration used
for installation, but if you use IPv6, it will be configured to use
dhcp for IPv4. If you don't prefer it, edit /etc/rc.conf and use fixed
IPv4 address.
- Configuration of command search path
Commands/files related to IPv6 is installed in /usr/local/v6 tree(except
for source files). Most of these commands are IPv4/IPv6 dualstack.
So, if you can connect via IPv6 use IPv6, and can only connect via IPv4
use IPv4 instead. So you don't have to switch through /usr/bin/telnet
and /usr/local/v6/bin/telnet. So, if you edit PATH Environment variable
as /usr/local/v6/bin or /usr/local/v6/sbin before /usr/bin or /usr/sbin,
you can use dualstack binary without your notice.
- Configuration of manpath.config
As above, man files of KAME is installed in /usr/local/v6/man tree.
So you want to edit /etc/manpath.config to read KAME man files with man
command.
- Configuration of rtsol
This installer is aimed to be IPv6 ready after the installer, so it is
configured to perform rtsol(the way to get global IPv6 address from
representative router) to multiple network device. But, this is somewhat
nasty way, so you may change to perform rtsol on one specific network
device. To do this, edit line below of /usr/local/v6/etc/rc.net6
iface="ed0 ep0 fe0 sn0"
to like
iface="ep0"
to specify only one network device.
other userland(KAME ports)
There are some basic userland like telnet/ftp in KAME distributions, but
there is no other applications. But, there is a ports on KAME like FreeBSD's
ports system, and there are many(almost all) IPv6 ready applications in
it. Like FreeBSD ports, you can make at the directory
/usr/src/kame/freebsd2/ports below and you can use them.
When you need help...
Sorry, there is no ML supporting this installer. About KAME project,
you can go to KAME project and
this page will be helpful.
Appendix:In case you want to use local ftp server
You may want to use your local ftp server as the install server when
you are far from registered ftp server or unreachable. This section
describes how to set up ftp server and what to specify URL for it.
- Configuration for generic part
This is done as general FreeBSD installation. Select a directory as you
like, and create '2.2.8-RELEASE' directory in it and copy needed files
for installation. Or mount Walnut Creek CDROM on your sever and create
symbolic link named '2.2.8-RELEASE' to the CDROM. You can specify URL like
"ftp://[hostname of ftp server]/[directory where 2.2.8-RELESE resides]"
- Configuration for PAO+KAME part
Select a directory as above, and create snap directory in it. Copy contents
from
ftp://ftp.itjit.ad.jp/pub/IPv6/installer/FreeBSD-IPv6/snap/.
The same contents can get from these sites listed below.
You can specify URL like
"ftp://[hostname of ftp server]/[directory where snap resides]"
You can use local ftp server as configured above.
$Date: 1999/11/01 17:47:46 $
yugawa at itv6.org