]> git.pld-linux.org Git - projects/rc-scripts.git/blame - doc/sysconfig.txt
- more clear explanation of HOSTNAME and NISDOMAIN
[projects/rc-scripts.git] / doc / sysconfig.txt
CommitLineData
660a1a51 1$Id: sysconfig.txt,v 1.8 2002/06/18 22:06:19 klakier Exp $
7742e157
AF
2
3Files in /etc/sysconfig
4=======================
5
6/etc/sysconfig/clock:
7
8 deprecated values from earlier releases:
9
10 CLOCKMODE=GMT indicates that the clock is set to UTC
11 CLOCKMODE=ARC on alpha only indicates the ARC console's
12 42-year time offset is in effect
13
14 currently correct values:
15
16 UTC=true indicates that the clock is set to UTC; anything
17 else indicates that it is set to local time
18 ARC=true on alpha only indicates the ARC console's
19 42-year time offset is in effect; otherwise the normal
20 Unix epoch is assumed
21
22
23/etc/sysconfig/keyboard:
24
25 KEYTABLE=<keytable file>
26 for example: KEYTABLE="/usr/lib/kbd/keytables/us.map"
27
28/etc/sysconfig/mouse:
29
30 MOUSETYPE=microsoft|mouseman|mousesystems|ps/2|msbm|logibm|atibm|
31 logitech|mmseries|mmhittab
32 XEMU3=yes|no (emulate three buttons with two buttons whenever
33 necessary, most notably in X)
34
35 In addition, /dev/mouse points to the mouse device.
36
37/etc/sysconfig/network:
38
39 NETWORKING=yes|no
de1fc6ce
JR
40 IPV4_NETWORKING=yes|no
41 IPV6_NETWORKING=yes|no
660a1a51 42 HOSTNAME=<whatever hostname you want, e.g. "pldmachine">
7742e157
AF
43 Note: for compatibility with some old software people might
44 install (like trn), the /etc/HOSTNAME file should contain the
45 same value as here.
660a1a51 46 NISDOMAIN=<domain name / nis domain name, e.g. "mydomain.org">
7742e157
AF
47 FORWARD_IPV4=yes|no (The current Red Hat Linux installation
48 sets this to no by default for RFC compliance, but if
49 FORWARD_IPV4 is not set at all, forwarding is *enabled*
50 for compatibility with the configuration files used on
51 Red Hat Linux versions 4.2 and earlier.)
12de71be 52 IGNORE_ICMP_BCAST_IPV4=yes|no (Please note that if you accept ICMP echo
53 requests with a broadcast/multicast destination address your network
54 may be used as an exploder for denial of service packet flooding attacks
55 to other hosts.
56 SPOOFING_IPV4=yes|no (anti spoofing protection)
7742e157
AF
57 GATEWAY=<gateway IP>
58 GATEWAYDEV=<gateway device> (e.g. eth0)
7742e157
AF
59 IPX=yes|no
60 IPXAUTOPRIMARY=on|off (note, that MUST be on|off, not yes|no)
61 IPXAUTOFRAME=on|off (again, not yes|no)
62 IPXINTERNALNETNUM=<netnum>
63 IPXINTERNALNODENUM=<nodenum>
64
65 All the IPX stuff is optional, and should default to off.
66
bd69a65a
AM
67/etc/sysconfig/static-nat
68
69 Configuration file for static Network Address Translation (NAT).
70 Contains lines of the form:
71
72 <address> via <addressreal>
73
74 NAT will translate address <address> to <addressreal>.
75
7742e157
AF
76/etc/sysconfig/static-routes:
77
78 Contains lines of the form:
79
bd69a65a 80 <device> to [type] <network>/<prefix> via <gateway>
7742e157
AF
81
82 <device> may be a device name to have the route brought up and
83 down with the device, or "any" to have the correct devices calculated
bd69a65a
AM
84 at run time. [type] is optional. RH style isn't supported !
85
86 Also you can set few options after "<gateway>":
87 tos <tos>
88 metric <number>
89 table <table>
90 src <address>
91 realm <realmid>
92 mtu <mtu> or mtu lock <mtu>
93 window <number>
94 rtt <number>
95 nexthop <nexthop>
96 scope <scope>
97 protocol <rtproto>
98 onlink
99 equalize
100 For more informations see iproute2 documentation .
7742e157
AF
101
102/etc/sysconfig/routed:
103
104 SILENT=yes|no
105 EXPORT_GATEWAY=yes|no
106
107/etc/sysconfig/pcmcia:
108
109 PCMCIA=yes|no
110 PCIC=i82365|tcic
111 PCIC_OPTS=<socket driver (i82365 or tcic) timing parameters>
112 CORE_OPTS=<pcmcia_core options>
113 CARDMGR_OPTS=<cardmgr options>
114
115/etc/sysconfig/amd:
116
117 ADIR=/.automount (normally never changed)
118 MOUNTPTS='/net /etc/amd.conf' (standard automount stuff)
119 AMDOPTS= (extra options for AMD)
120
121/etc/sysconfig/tape:
122
123 DEV=/dev/nst0
124 Tape device. Use the non-rewinding one for these scripts.
125
126 For SCSI tapes this is /dev/nst#, where # is the number of the
127 tape drive you want to use. If you only have one then use
128 nst0.
129
130 For IDE tapes you use /dev/ht#, where # is the number of the tape
131 drive you want to use (usually ht0).
132
133 For floppy tape drives use /dev/ftape.
134
135 ADMIN=root
136 Person to mail to if the backup fails for any reason
137
138 SLEEP=5
139 Time to sleep between tape operations. Some drives need a bit
140 more than others, but 5 seems to work for 8mm, 4mm, and DLT
141
142 BLOCKSIZE=32768
143 This worked fine for 8mm, then 4mm, and now DLT. An optimal
144 setting is probably however much data your drive writes at one
145 time.
146
147 SHORTDATE=$(date +%y:%m:%d:%H:%M)
148 A short date string, used in backup log filenames.
149
150 DAY=$(date +log-%y:%m:%d)
151 This is used for the log file directory.
152
153 DATE=$(date)
154 Regular date string, used in log files.
155
156 LOGROOT=/var/log/backup
157 Root of the logging directory
158
159 LIST=$LOGROOT/incremental-list
160 This is the file name the incremental backup will use to store
161 the incremental list. It will be $LIST-{some number}.
162
163 DOTCOUNT=$LOGROOT/.count
164 For counting as you go to know which incremental list to use
165
166 COUNTER=$LOGROOT/counter-file
167 For rewinding when done...might not use.
168
169 BACKUPTAB=/etc/backuptab
170 The file in which we keep our list of backup(s) we want to make.
171
12de71be 172/etc/sysconfig/sendmail:
173 DAEMON=yes|no
174 yes implies -bd
175 QUEUE=1h
176 given to sendmail as -q$QUEUE
177 -q option is not given to sendmail if /etc/sysconfig/sendmail
178 exists and QUEUE is empty or undefined.
7742e157 179
7742e157
AF
180/etc/sysconfig/i18n
181
182 LANG= can be any two letter ISO language code
12de71be 183 LC_ALL= is the setting of the localedata configuration (eg fr_CA)
7742e157
AF
184 LINGUAS= can be a : separated list of language codes
185 SYSTERM= use to set default TERM environment variable
186
187 The above three variables are used in rc.sysinit.
188
12de71be 189 SYSFONT= any font that is legal when used as
190 /usr/sbin/setfont $SYSFONT ...
191 (See kbd package for sysfont command)
192
193 UNIMAP= any unicode font that is legal fodder for
194 /usr/sbin/setfont $SYSFONT-u $UNIMAP
7742e157
AF
195
196 The above is used by the /sbin/setsysfont command (which is run
197 by rc.sysinit at boot time).
This page took 0.080714 seconds and 4 git commands to generate.