The kppp Handbook
Prev | Chapter 3. Setting up kppp | Next

# 3.2. Device

Modem Device

  Select the device appropriate for your hardware. Here are some examples:

  - /dev/ttyS0 - DOS or Windows users will know this as COM1, COM2 is /dev/ttyS1 and so on. These devices are mostly used on Linux systems.

  - /dev/cua0 - the first serial line (COM1). COM2 would be /dev/cua1 and so on. These devices are mostly used on BSD systems, namely FreeBSD, NetBSD and OpenBSD.

  - /dev/ttyI0 - under Linux, these belong to internal ISDN cards. These devices emulate a common Hayes compatible modem. /dev/ttyI0 is for the first, /dev/ttyI1 for the second ISDN card and so on. These devices are only available in the Linux version

  - /dev/modem - many Linux distributions make a symbolic link from the real modem device to /dev/modem. You should avoid using this one. Use /dev/ttySx (x is a digit) instead of.

Flow Control

  Select from Hardware (CRTSCTS), Software (XON/XOFF) and no flow control. The recommended setting is Hardware flow control.

Line Termination

  Choose the correct ``Enter'' character sequence for your modem. Most modems will use ``CR/LF''. However some modems need a different setting. If you experience trouble while running a script: Play with this parameter.

Connection Speed

  Choose from the list of connections speeds supported by your serial port.

Use Lock File

  Activate this option if you want kppp to create a lockfile. Under Linux the directory for such a file will be `/var/lock`. Programs such as mgetty depend on the existence of such lock files and kppp will not work with mgetty if the lock file is not set. Make sure that you don't use the option "lock" to pppd if you want kppp to lock the modem, since the pppd option "lock" will induce pppd to try to lock the modemdevice. However since kppp already locked the device pppd will fail and kppp will display "pppd died unexpectedly".

Modem Timeout

  This is the time in seconds that kppp waits for the ``CONNECT'' response from your modem after dialing into another modem (typically a modem of your IPS's modem pool). I recommend a setting of about 30 seconds.

Prev | Home | Next
Setting up kppp | Up | Modem