Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
config:nix [2011/10/25 21:55] – [sbbs.ini] more details on [UNIX] section settings. digitalman | config:nix [2023/02/12 20:17] (current) – [PidFile] Update the default value and description. digital man | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== UNIX ====== | ====== UNIX ====== | ||
- | ===== sbbs.ini | + | Configuration of '' |
- | Unix Sysops will particularly want to pay attention to the '' | + | ===== User/Group ===== |
+ | If you are **not** | ||
==== User ==== | ==== User ==== | ||
Line 14: | Line 15: | ||
If you do not want to run Synchronet (and all external programs/ | If you do not want to run Synchronet (and all external programs/ | ||
- | root (the Unix // | + | root (the Unix // |
+ | |||
+ | Example: | ||
User=sbbsuser | User=sbbsuser | ||
Group=sbbsgroup | Group=sbbsgroup | ||
+ | | ||
+ | NOTE: the '' | ||
| | ||
Also, the Synchronet file | Also, the Synchronet file | ||
Line 25: | Line 30: | ||
# chown -R sbbsuser: | # chown -R sbbsuser: | ||
+ | |||
+ | If you do this, then be sure to run any Synchronet utilities (e.g. [[util: | ||
| | ||
+ | # su -c / | ||
+ | |||
+ | ===== Logging ===== | ||
==== LogFacility ==== | ==== LogFacility ==== | ||
Line 37: | Line 47: | ||
LogFacility=3 | LogFacility=3 | ||
- | Then, in ''/ | + | Then, in ''/ |
local3.* | local3.* | ||
Line 52: | Line 62: | ||
Then send a HUP to syslogd like so: | Then send a HUP to syslogd like so: | ||
# killall -HUP syslogd | # killall -HUP syslogd | ||
+ | | ||
+ | Or it might be necessary to: | ||
+ | # service syslogd restart | ||
| | ||
You could then monitor the Synchronet daemon log output with: | You could then monitor the Synchronet daemon log output with: | ||
Line 92: | Line 105: | ||
This is the value passed as the '' | This is the value passed as the '' | ||
+ | |||
+ | ===== Process Control ===== | ||
==== PidFile ==== | ==== PidFile ==== | ||
- | Default: '' | + | Default: '' |
- | This key contains the path of the file which will contain the program identify | + | This key contains the path of the file which will contain the process identifier |
# service sbbs status | # service sbbs status | ||
Line 103: | Line 118: | ||
PID(s): 6270 | PID(s): 6270 | ||
- | If you change the value of this key, you may also need to change/ | + | If you change the value of this key, you may also need to modify |
==== umask ==== | ==== umask ==== | ||
Line 111: | Line 126: | ||
Sets '' | Sets '' | ||
- | Note: If the value begins with a '' | + | Note: If the value begins with a '' |
Run '' | Run '' | ||
Line 119: | Line 134: | ||
Default: '' | Default: '' | ||
- | When set to '' | + | When set to '' |
- | ===== Terminal Capabilities ===== | + | |
- | + | ||
- | As you may have noticed by now, most telnet clients designed for use with | + | |
- | ANSI BBSes do not display full-screen Unix programs correctly. Included with | + | |
- | Synchronet is a pair of terminal capability definition files that enable you | + | |
- | to run native full-screen Unix programs and have the output displayed correctly | + | |
- | in a standard ANSI-BBS terminal. | + | |
- | located in your Synchronet install directory. | + | |
- | other, and it won't hurt to install both. You will need to be logged in as | + | |
- | root to install the files. | + | |
- | + | ||
- | ==== Installing the terminfo file ==== | + | |
- | + | ||
- | 1) Get the Synchronet ANSI-BBS terminfo file from | + | |
- | [[http:// | + | |
- | + | ||
- | 2) Enter the command: | + | |
- | # tic terminfo | + | |
- | + | ||
- | ==== Installing the termcap file ==== | + | |
- | + | ||
- | 1) Get the Synchronet ANSI-BBS termcap file from | + | |
- | [[http:// | + | |
- | + | ||
- | 2) Enter the command: | + | |
- | # cat termcap >> / | + | |
- | + | ||
- | 3) **FreeBSD Only** run the command: | + | |
- | # cap_mkdb -f / | + | |
- | + | ||
- | Once the terminal capability files are installed, edit the '' | + | |
- | value in the '' | + | |
- | ExternalTermANSI=ansi-bbs | + | |
- | + | ||
- | Note: The default value of the '' | + | |
- | + | ||
- | Note: Once again, many Linux distros do not have a termcap. | + | |
- | You do NOT need to install the termcap-compat package. | + | |
- | isn't installed, it means nothing uses it. Only if there is a | + | |
- | termcap do you need to add the '' | + | |
- | + | ||
- | ===== Running Synchronet Automatically During Boot-up ===== | + | |
- | + | ||
- | If you want Synchronet to start automatically whenever your system boots, | + | |
- | you will need to set that up using the system rc scripts. | + | |
- | + | ||
- | ==== Linux ==== | + | |
- | + | ||
- | 1) Get the Synchronet service run script (init file) from | + | |
- | [[http:// | + | |
- | + | ||
- | 2) Copy the run script ('' | + | |
- | + | ||
- | 3) Add the Synchronet system service: | + | |
- | # chkconfig --add sbbs | + | |
- | + | ||
- | 4) Start the Synchronet system service: | + | |
- | # / | + | |
- | + | ||
- | ==== FreeBSD ==== | + | |
- | + | ||
- | 1) Get the Synchronet service run script (init file) from [[http:// | + | |
- | + | ||
- | 2) Copy the run script (sbbs) into your ''/ | + | |
- | + | ||
- | 3) Set up the sbbs settings: | + | |
- | In one of ''/ | + | |
- | line: | + | |
- | | + | |
- | + | ||
- | 4) In one of the files from step three, add appropriate lines from the following (Defaults are shown here): | + | |
- | + | ||
- | | + | |
- | | + | |
- | | + | |
- | # The rest of the sbbs_*dir derive | + | |
- | # from this be default | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | # not root, you cannot bind low ports | + | |
- | | + | |
- | + | ||
- | 5) Start the Synchronet system service (FreeBSD 5.x+): | + | |
- | # / | + | |
- | (FreeBSD 4.x and lower): | + | |
- | # / | + | |
- | + | ||
- | ===== A note on SysOp paging ===== | + | |
- | + | ||
- | For most systems, the BBS must either have write access to the sound card via | + | |
- | /dev/dsp, or run as root to page the SysOp. | + | |
- | method which requires one of the following: | + | |
- | + | ||
- | ==== On FreeBSD 4.x ==== | + | |
- | + | ||
- | A custom kernel with the following option in the config | + | |
- | pseudo-device speaker | + | |
- | + | ||
- | ==== On FreeBSD 5.x and higher ==== | + | |
- | + | ||
- | One of: | + | |
- | - A custom kernel with the following option in the config device speaker | + | |
- | - The speaker module loaded by either: | + | |
- | - Running '' | + | |
- | - The line '' | + | |
- | + | ||
- | ''/ | + | |
===== See Also ===== | ===== See Also ===== | ||
* [[: | * [[: | ||
+ | * [[: | ||
+ | |||
+ | {{tag> |