Next Previous Contents

3. Port Defaults - Comm

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.

3.1 Issue

Standard message that is issued on connect.

This string may contain some 'keys' that expands to port number, etc.

3.2 Prompt

Login prompt.

3.3 Term type

Term type for rlogin/telnet sessions.

3.4 Update utmp / Update wtmp

If you want portslave to update the utmp and/or wtmp files just like a regular getty/login, enable these.

3.5 Port type

Port type (passed to Radius for logging).

3.6 Speed

Serial port speed. All ports are set to 8N1.

3.7 Modem init chat

Use this to initialize the modem.

d == delay (1 sec), p == pause (0.1 sec), l == toggle DTR, r == CR, l == LF

3.8 Wait for

Wait for this modem's message to pick the call.

Use this *OR* auto-answer.

3.9 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.

3.10 Auto answer

If you enable this, the system will just wait for the DCD line to get high (you won't get the connection info either).

3.11 Check time

How often to check if the modem is still alive.

Time is in minutes

3.12 Check chat

The chat string for checking if the modem is still alive.

3.13 Flow control

Flow control on this serial port:

Hardware (RTS/CTS), software (CTRL-S, CTRL-Q) or none.

3.14 Use DCD line

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.

3.15 Auto PPP

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)

3.16 PPP options

PPP options - User already authenticated and service type is PPP.

(pppd 2.3.x -- Linux 2.2, or Linux 2.0 patched)


Next Previous Contents