$ mkdir ~/src $ cd ~/src $ bzip2 -cd usagi-20010806-linux22.tar.bz2 | tar -xf - $ cd usagi $ make prepare TARGET=linux22 $ cd kernel/linux22 $ make mrproper # rm /usr/src/linux # ln -s `pwd` /usr/src/linuxClick here for xawtv, V4L2
$ cp -p Makefile Makefile.orig $ vi Makefile
before editing | after editing |
---|---|
EXTRAVERSION | EXTRAVERSION = -1 |
$ make menuconfig
menu selections |
---|
Code maturity level options ---> [*] Prompt for development and/or incomplete code/drivers Networking options ---> <*> The IPv6 protocol (EXPERIMENTAL) (NEW) [*] IPv6: sin6_scope_id support (may break binaries) (NEW) [*] IPv6: Loose scope_id (NEW) [*] IPv6: drop packets with fake ipv4-mapped address(es) (NEW) [*] IPv6: allow default route when forwarding is enabled (NEW)Click here for xawtv |
$ make dep $ make bzImage $ make modules # make modules_install # cp -p arch/i386/boot/bzImage /boot/bzImage-2.2.19-1 # cp -p System.map /boot/System.map-2.2.19-1 # cd /boot # rm bzImage System.map # ln -s bzImage-2.2.19-1 bzImage # ln -s System.map-2.2.19-1 System.map # vi /etc/lilo.conf
before editing | after editing |
---|---|
image=/boot/vmlinuz | image=/boot/bzImage |
# lilo # reboot $ cd ~/src/usagi/usagi $ ./configure $ make # make install # vi /etc/ld.so.conf
new line |
---|
/usr/local/v6/lib |
# vi /etc/man.conf
new line |
---|
MANPATH /usr/local/v6/man |
$ cd ~/src $ gzip -cd freenet6-0.7a.tgz | tar -xf - $ cd freenet6-0.7a $ make all target=linux # make install target=linux installdir=/usr/local/tsp # vi /etc/man.conf
new line |
---|
MANPATH /usr/local/tsp/man |
$ netscape http://www.freenet6.net/cgi-bin/new_account.pl # vi /etc/rc.d/init.d/radvd # useradd radvd # mkdir /var/run/radvd # chown radvd.radvd /var/run/radvd # cd /usr/local/tsp/template # cp -p linux.sh linux.sh.orig # vi linux.sh
before editing | after editing |
---|---|
ipconfig=/sbin/ip rtadvd=/usr/sbin/radvd |
iptunnel=/sbin/iptunnel rtadvd=/usr/local/v6/sbin/radvd |
Exec $ipconfig tunnel add $TSP_TUNNEL_INTERFACE mode sit ttl 64 remote $TSP_SERVER_ADDRESS_IPV4 |
Exec $iptunnel add $TSP_TUNNEL_INTERFACE mode sit remote $TSP_SERVER_ADDRESS_IPV4 local any ttl 64 |
/etc/init.d/radvd stop | /etc/rc.d/init.d/radvd stop |
Exec $rtadvd -u radvd -C $rtadvdconfigfile |
Exec $rtadvd -u radvd -C $rtadvdconfigfile -p /var/run/radvd/radvd.pid |
# cd ../bin # cp -p tspc.conf tspc.conf.orig # vi tspc.conf
before editing | after editing |
---|---|
userid=anonymous | userid=Userid |
passwd= | passwd=Password host_type=router prefixlen=48 if_prefix=eth0 |
# ./tspc -f tspc.conf # vi /etc/rc.d/init.d/tspc # ln -s /etc/rc.d/init.d/tspc /etc/rc.d/rc3.d/S64tspcClick here for RTA50i