SuSE Linux: Version 7.3
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.
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:
Now install the package "smpppd-web" with the following command (as administrator "root"):
Edit the file "/etc/smpppd.conf" with an editor of your choice, e.g. with the following command:
Modify or insert the following options in the configuration files:
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.
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.2The 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 startOpen 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: