The Device tab

The kppp Handbook
Prev | Chapter 5. Global kppp settings | Next

# 5.2. The Device tab

The Device tab

Here you can select and configure your modem.

Modem Device

  Choose the device appropriate for your hardware.

  `/dev/ttys0`

    DOS or Windows® users will know this as COM1, while COM2 is `/dev/ttys1` and so on. These devices are the ones normally used on Linux® systems.

  `/dev/cua0`

    The first serial line (COM1). COM2 is usually `/dev/cua1` and so on. These devices are commonly used on BSD systems, namely FreeBSD, NetBSD and OpenBSD. Older Linux® systems may also have these, although on Linux® they were renamed some time ago to `/dev/ttyS`x``.

  `/dev/ttyI0`

    On Linux® these belong to internal ISDN cards. These devices emulate a common Hayes compatible modem. `/dev/ttyI0` is for the first, `/dev/ttyI1` is 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 the real device that it is pointing to instead.

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 login script, play with this parameter.

Connection Speed

  Choose from the list of connection speeds supported by your serial port. Note that the serial port supports much higher speeds than your modem in most cases. You should probably start with the highest number available, and only reduce it if you have connection problems.

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` for pppd if you want kppp to lock the modem, since the pppd option `lock` will induce pppd to try to lock the modem device. Since kppp will have already locked the device, pppd will fail, and kppp will display the error pppd died unexpectedly.

Modem Timeout

  This is the time in seconds that kppp will wait for the CONNECT response from your modem. A setting of about 30 seconds should be sufficient for most purposes.

Prev | Home | Next
Global kppp settings | Up | The Modem tab