Here are defined the defaults for each port defined in Portslave.
The defaults' settings are the ones which will be used for each port defined in Portslave, unless the port has its own definition for a specified item, so it would be used instead the default value.
Here you may configure the communications aspects of the port, such as serial port configuration, modem-related settings, etc.
Standard message that is issued on connect.
This string may contain some 'keys' that expands to port number, etc.
Login prompt.
Term type for rlogin/telnet sessions.
If you want portslave to update the utmp and/or wtmp files just like a regular getty/login, enable these.
Port type (passed to Radius for logging).
Serial port speed. All ports are set to 8N1.
Use this to initialize the modem.
d == delay (1 sec), p == pause (0.1 sec), l == toggle DTR, r == CR, l == LF
Wait for this modem's message to pick the call.
Use this *OR* auto-answer.
Chat string to get the modem to connect after waitfor.
The @ sign matches (.*)[\r\n] in regexp code, the match is logged to Radius as Connection-Info.
If you enable this, the system will just wait for the DCD line to get high (you won't get the connection info either).
How often to check if the modem is still alive.
Time is in minutes
The chat string for checking if the modem is still alive.
Flow control on this serial port:
Hardware (RTS/CTS), software (CTRL-S, CTRL-Q) or none.
Use the DCD line or not (this sets CLOCAL if on).
This means that the session will get hung up if the modem hangs up.
PPP options - used if we autodetect a PPP session.
Note that we set mru and mtu both to the MTU setting.
(pppd 2.3.x -- Linux 2.2, or Linux 2.0 patched)
PPP options - User already authenticated and service type is PPP.
(pppd 2.3.x -- Linux 2.2, or Linux 2.0 patched)