chiark / gitweb /
Issue ADD and KXSTART notifications in the right order!
[tripe] / README
1 TRIPE
2
3 Installation notes
4
5         Standard GNU Autoconf fare.
6
7                 ./configure
8                 make
9                 make install
10
11         I've now added a startup script, `tripe-init'.  The Makefile
12         doesn't install it anywhere, but if you want to use it in your
13         boot sequence:
14
15           * If you use a SysV-like init, drop `tripe-init' in as
16             `/etc/init.d/tripe' (or wherever -- Tru64 users and similar
17             will want `/sbin/init.d/tripe'; RedHat users want
18             `/etc/rc.d/init.d/tripe' for some bizarre reason), and put
19             in symlinks to make it run, just after your networking
20             starts up.
21
22             On my Debian box, I used
23
24               update-rc.d tripe defaults 15 85
25
26             to set up the links.
27
28           * If you use a BSD-like init, put `tripe-init' in /usr/sbin,
29             and run
30
31               /usr/sbin/tripe-init start
32
33             from the init script at some appropriate time.
34
35         Automake is a bit crap and won't have set the execute bit on
36         `tripe-init', so you'll need to do that.  Sorry.
37
38         Also, it's a good idea to copy `tripe.conf' into
39         `/etc/tripe.conf'.  Then fill in the options that you want.
40
41         Finally, populate the directory `/var/lib/tripe/peers' with
42         scripts to set up peers.  This kind of thing is all that's
43         needed:
44
45                 #! /bin/sh
46
47                 set -e
48                 tripectl add PEER PEER-ADDR 22003
49                 ifname=`tripectl ifname PEER`
50                 ifconfig $ifname LOCAL pointopoint REMOTE mtu 1429
51                 route add -net RNET netmask RMASK gw REMOTE