SuSE GmbH

SuSE Support Database

Title: PPP server for Win95 clients

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

PPP server for Win95 clients

Applicable to
S.u.S.E. version: 4.4
Kernel version: all

Linux as PPP server for Win95 clients

Win95 does not use the usual login procedure for user's identification during the registration on the server, but expects inmediately a PPP remote station. The authentication takes place then on the LCP protocol.

Conditions

In order to perform a Linux server with this functionality, the following conditions must be established:
  1. Kernel must support PPP
  2. The login program must be able to recognize that the caller does not expect a login prompt, but LCP.
  3. The logins must be defined in the PAP secrets file.

Configuring mgetty

Plenty of information for point 1 is given at another place. A programme that fulfills the second criterium is mgetty. Besides, mgetty must have been translated for that with the option -DAUTO_PPP.

From SuSE Linux 4.4 on, the mgetty supplied is suitably configured . For older versions the programme must be re-translated, where it has to be ensured that the parameter -DAUTO_PPP is set in the makefile in the CFLAGS.

Mgetty is entered into /etc/inittab:

d2:23:respawn:/usr/sbin/mgetty -s 38400 /dev/ttyS1
If a Win95 computer tries now to establish a connection, mgetty recognizes the PPP handshake and starts the programme declared in /usr/etc/mgetty+sendfax/login.config under the label /AutoPPP/. From S.u.S.E. Linux 4.4 on this file is located in the directory /etc/mgetty+sendfax. Here the PPP deamon's call takes place:
/AutoPPP/ -     ppp     /usr/sbin/pppd auth -chap +pap

PPP deamon

The PPP deamon is responsible for the further sequence. Login name and password are taken from the file /etc/ppp/pap-secrets. A valid line would be e.g.:
# Login      Remote     Password                
ppp           *         test42                  
The client can register himself as user ppp with the password test42. The client's IP address is fixed in /etc/ppp/options at the pppd's other options. The file could then e.g. look like:
lock :193.141.17.141
If several clients register simultaneously, the address must be given away dynamically. For this purpose, several option files, that have as extension the name of the TTY for which they should be valid, are simply created in /etc/ppp. In each file another IP address is given away.

And with ISDN ?

The method described above is independent of the device used (modem or ISDN terminal emulation on /dev/ttyI?).

There are two procedures for PPP with ISDN: asynchronous PPP and the (usual) synchronous PPP. Usually syncPPP is used with ISDN.

----------

Keywords: PPP, SERVER, PAP, CHAP, WIN95, DOS, MGETTY, HOWTO

----------

Feedback welcome: Send Mail to bb@suse.de (Please give the following subject: SDB-ppp_server)

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

SDB-ppp_server, Copyright SuSE GmbH, Nuremberg, Germany
SuSE GmbH - Last generated: 07. Oct 1999 17:55:12 by maddin with sdb_gen 1.00.0