Chapter 2. Configuring ppp and kautodial-chat

Important: KAutodial only monitors ppp autodial connections. For this package to work properly, you will need to start with a working ppp autodial configuration.

Your configuration may be different. The examples that I will give are based on a configuration for my (Debian) system.

Configuring the ppp plugin

The pppd plugin sends commands to the client when pppd enters particular phase states. The plugin takes two options:

  • connection-name: This names the connection for KAutodial ("Earthlink", "Autodial Connection", etc.) You will see this name in the window title and the tooltip for the docked icon.

  • dcop-command: This tells the plugin the location of dcop and its base options. If this option is not set, the plugin defaults to "dcop --all-users --all-sessions kautodial kautodialIface".

In your ppp options file you will thus need to add/change the following options to something like this:

#Load the KAutodial plugin
plugin /usr/lib/pppd/2.4.2/kautodial.so

#use customized chat program
connect "/usr/sbin/kautodial-chat -e -v -f /etc/chatscripts/provider"

#Name the connection for KAutodial
connection-name "Earthlink"