Use of SMPPPD-WEB

Support knowledgebase (jbartsh_smpppd_web)
Applies to

SuSE Linux: Version 7.3

Situation

A host in your local network is used as an Internet gateway. You want to make it possible to establish/terminate connections from all workstations. This is useful e.g. if you do not have a flatrate.

Procedure

Use YaST to install the Apache HTTP server. The program package is located in the series "n" under "apache". Following the installation of the program package "apache", download the program package "smpppd-web" from the following address:


ftp://ftp.suse.com/pub/suse/i386/7.3/suse/n1/smpppd-web.rpm

Now install the package "smpppd-web" with the following command (as administrator "root"):


rpm -Uhv smpppd-web.rpm

Edit the file "/etc/smpppd.conf" with an editor of your choice, e.g. with the following command:


vi /etc/smpppd.conf

Modify or insert the following options in the configuration files:


open-inet-socket = yes

The parameter "open-inet-socket" must be set to "yes" to enable the Internet connection of the gateway host to be controlled by the clients.


host-range = min max

The parameter "host-range" specifies the LAN clients that are permitted to establish/terminate the connection. In order to grant the LAN hosts with the IP adresses "192.168.0.1" and "192.168.0.2" permission to establish/terminate connections, the entry would look as follows:

host-range = 192.168.0.1 192.168.0.2

The IP addresses are separated by spaces. Replace the above IP addresses with those used in your local network.

If you have set up "dial on demand" for the Internet connection on your gateway host, you can now deactivate this feature.


Now execute the command:

rcsmpppd restart

and then the command:

rcapache start


Open the following URL on the client system:


http://hostname or IP of the gateway/cgi-bin/internet.html


The dialer frontend should appear in the browser. From here you can establish or terminate connections. If you have configured several providers, you can select a suitable provider under "Select Provider".


Please also check the following article:


http://sdb.suse.de/en/sdb/html/thallma_smpppd_start.html
Keywords: SMPPPD DIALER REMOTE

SDB-jbartsh_smpppd_web, Copyright SuSE Linux AG, Nürnberg, Germany - Version: 31. Jan 2002
SuSE Linux AG - Last generated: 31. Jan 2002 by tino (sdb_gen 1.40.0)