diff options
author | Todd T. Fries <todd@cvs.openbsd.org> | 2000-04-24 04:34:32 +0000 |
---|---|---|
committer | Todd T. Fries <todd@cvs.openbsd.org> | 2000-04-24 04:34:32 +0000 |
commit | bf4c2975e991a9924ac6393f4eb2e749cc1df41b (patch) | |
tree | 687bcb34ef5ff67b9e3f01d83e9bb965a64a87b8 /share/man | |
parent | cfa77a4d4f3efbe517543606b8221c5a20dcc920 (diff) |
add descriptions for ipv6, dhcpd, and others to bring this uptodate
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man8/afterboot.8 | 64 |
1 files changed, 58 insertions, 6 deletions
diff --git a/share/man/man8/afterboot.8 b/share/man/man8/afterboot.8 index 57123f95211..ab657bd5231 100644 --- a/share/man/man8/afterboot.8 +++ b/share/man/man8/afterboot.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: afterboot.8,v 1.42 2000/04/18 17:27:17 kjell Exp $ +.\" $OpenBSD: afterboot.8,v 1.43 2000/04/24 04:34:31 todd Exp $ .Dd October 20, 1997 .Dt AFTERBOOT 8 \!\" Originally created by Marshall M. Midden -- 1997-10-20, m4@umn.edu @@ -144,6 +144,7 @@ an Ethernet interface something like: .Bd -literal -offset indent le0: flags=9863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> inet 192.168.4.52 netmask 0xffffff00 broadcast 192.168.4.255 + inet6 fe80::5ef0:f0f0%le0 prefixlen 64 scopeid 0x1 .Ed .Pp and, a PPP interface something like: @@ -169,14 +170,27 @@ The output will look something like: Routing tables Internet: -Destination Gateway Flags Refs Use Mtu -Interface +Destination Gateway Flags Refs Use Mtu Interface default 192.168.4.254 UGS 0 11098028 - le0 127 127.0.0.1 UGRS 0 0 - lo0 127.0.0.1 127.0.0.1 UH 3 24 - lo0 192.168.4 link#1 UC 0 0 - le0 192.168.4.52 8:0:20:73:b8:4a UHL 1 6707 - le0 192.168.4.254 0:60:3e:99:67:ea UHL 1 0 - le0 + +Internet6: +Destination Gateway Flags Refs Use Mtu Interface +::/96 ::1 UGRS 0 0 32972 lo0 => +::1 ::1 UH 4 0 32972 lo0 +::ffff:0.0.0.0/96 ::1 UGRS 0 0 32972 lo0 +fc80::/10 ::1 UGRS 0 0 32972 lo0 +fe80::/10 ::1 UGRS 0 0 32972 lo0 +fe80::%le0/64 link#1 UC 0 0 1500 le0 +fe80::%lo0/64 fe80::1%lo0 U 0 0 32972 lo0 +ff01::/32 ::1 U 0 0 32972 lo0 +ff02::%le0/32 link#1 UC 0 0 1500 le0 +ff02::%lo0/32 fe80::1%lo0 UC 0 0 32972 lo0 + .Ed .Pp The default gateway address is stored in the @@ -200,6 +214,11 @@ If you wish to route packets between interfaces, add the directive net.inet.ip.forwarding=1 .Ed .Pp +or +.Bd -literal -offset indent +net.inet6.ip6.forward=1 +.Ed +.Pp to .Pa /etc/sysctl.conf , or by compiling a new kernel with the @@ -210,7 +229,7 @@ Packets are not forwarded by default, due to RFC requirements. You can add new .Dq virtual interfaces by adding the required entries to -.Pa /etc/ifaliases . +.Pa /etc/hostname.if . .Ss BIND Name Server (DNS) If you are using the BIND Name Server, check the .Pa /etc/resolv.conf @@ -564,6 +583,24 @@ Please see and .Pa /usr/share/doc/smm/08.sendmailop/op.me for information on generating your own sendmail configuration files. +.Ss DHCP server +If this is a +DHCP +server, edit +.Pa /etc/dhcpd.conf +and +.Pa /etc/dhcpd.interfaces +as needed. +You will have to make sure +.Pa /etc/rc.conf +has: +.Bd -literal -offset indent +dhcpd_flags=-q +.Ed +.Pp +or run +.Xr dhcpd 8 +manually. .Ss BOOTP server If this is a BOOTP @@ -609,6 +646,20 @@ and These scripts have been limited so as to keep the system running without filling up disk space from normal running processes and database updates. (You probably do not need to understand them.) +.Pp +The /altroot filesystem can optionally be used to provide a backup of the +root filesystem on a daily basis. To take advantage of this, you must +have an entry in /etc/fstab with 'xx' for the mount option: +.Bd -literal -offset indent +/dev/wd0j /altroot ffs xx 0 0 +.Ed +.Pp +and you must add a line to root's crontab: +.Bd -literal -offset indent +ROOTBACKUP=1 +.Ed +.Pp +so that the /etc/daily script will make a daily backup of the root filesystem. .Ss Other files in /etc Look at the other files in .Pa /etc @@ -805,8 +856,8 @@ OpenBSD 2.7-beta (GENERIC.rz0) #0: Mon Oct 4 03:57:22 MEST 1999 Enter 'help' for information ukc> .Pp -Additionally, you can permanently save the changes made with UKC during boot -time in the kernel image. +Additionally, you can permanently save the changes made with UKC during +boot time in the kernel image. .Ed .Sh SEE ALSO .Xr chgrp 1 , @@ -843,6 +894,7 @@ time in the kernel image. .Xr chown 8 , .Xr config 8 , .Xr dhcp 8 , +.Xr dhcpd 8 , .Xr domainname 8 , .Xr ext_srvtab 8 , .Xr ifconfig 8 , |