Previous Next Table of Contents

2. Installation

DON'T FORGET TO READ THE FREQUENTLY ASKED QUESTIONS!!!!!

2.1 How to obtain Kppp

Kppp is an application for the KDE project http://www.kde.org. Kppp can be found on ftp://ftp.kde.org/pub/kde/, the main ftp site of the KDE project.

2.2 Requirements

In order to successfully compile Kppp, you need the latest versions of libkdecore and libkdeui. All required libraries as well as Kppp itself can be found on ftp://ftp.kde.org/pub/kde/.

2.3 Compilation and installation

DON'T FORGET TO READ THE FREQUENTLY ASKED QUESTIONS!!!!!

I haven't been able to test kppp on anything else but Linux, but you should be able to get pppd to work on a variety of platforms including but not limited to SVR4, Solaris 2, Linux, FreeBSD, NetBSD, SunOS 4, AIX 4, OSF/1 as long as you have pppd installed on those systems.

If wish to compile kppp on a platform different from Linux, please check briefly the first couple of lines of pppstats.cpp and make sure the defines and includes are O.K. Most like however they should be fine. Please inform me of any necessary changes.

Kppp need write permission to /etc/resolv.conf if you want to be able to take advanted of its capability to let you specify the DNS addresses in on it DNS dialog.

Make sure that the pppd's option file which usually resides in /etc/ppp/ exists, but is empty. pppd requires it to exist, but it must be empty otherwise pppd will not take its options from kppp.

In order to compile and install Kppp on your system, type the following in the base directory of the Kppp distribution:

% ./configure
% make
% make install
% chmod +s $(KDE)/bin/kppp

Again: Should you run into problems, please report them to me.

2.4 Preparing Your Linux System for a PPP Connection

READ THE FREQUENTLY ASKED QUESTIONS!!!!!

In order for kppp/pppd to work your kernel must have ppp support compiled in. If this is not the case get yourself the latest version of pppd from any of the popular linux archives and recompile your kernel with ppp support enabled. Don't fret this sounds scarier than it actually is. Don't forget to install pppd afterwards. If unsure whether you have a kernel with ppp support issue dmesg at the command prompt and look for like this:

PPP: version 2.3.0 (demand dialling)
TCP compression code copyright 1989 Regents of the University of California
PPP Dynamic channel allocation code coyright 1995 Caldera, Inc.
PPP line discipline registered

There were changes in the kernel PPP from Linux version 1.2.x to 2.0.x which forced the programming of a new pppd daemon. In most distributions, the pppd daemon can be found in /usr/sbin. For kernel versions 1.2.x, the correct version of the pppd daemon is 2.1; for kernel versions 2.0.x, the correct version is 2.2. or newer. If you don't know what version of the pppd daemon your system has, you can type:

% pppd --version

None of the pppd daemons actually have a --version option, but putting the option in will cause the pppd daemon to error out from a unrecognized option and print out a list of options, which includes the version of the pppd daemon.

2.5 More about ppp/pppd

The following site may be of interest for further information about the ppp protocol and pppd http://www.thoughtport.com:8080/PPP/index.html


Previous Next Table of Contents