Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

PPP: Networking Over Modems


For Debian use pppconfig to configure your network connections. This tool will request the appropriate information and knows about chat scripts and PAP connections. It will ask you to name the connection you want to configure, with a default name of provider. It will then generate the appropriate configuration scripts in [ppp]/etc/chatscripts/provider and [ppp]/etc/ppp/peers/provider (the provider in these paths is replaced with the name you supply pppconfig).

The plog command will show you the ppp log which is in [plog]/var/log/ppp.log. To watch the plog file issue the command plog -f as root or else as a user in the group adm.

The pppconfig command allows you to configure your modem connections. Essentially it is a front end to the various scripts in /etc/ppp. My PCMCIA modem is loaded at /dev/ttyS1. Newer versions of ppconfig check the serial ports for modems for you. Usually, /dev/ttyS0 corresponds to COM1 under MS/Windows and /dev/ttyS1 corresponds to COM2.

To allow users other than root to connect through the modem (using the pon and poff pair of commands) add the users to the Unix group "dip":



# adduser kayon dip

Then, next time user kayon logs on he will be in group dip in addition to the other groups he was already in. He will then be able to initiate and terminate a dial up session. However, user kayon does not have access to the log file through the plog command--only root does, presumably for security reasons, since unless you inhibit it, passwords can be displayed there.

Further information on PPP is available from


Subsections

Copyright © 1995-2006 [email protected]

 
 
  Published under the terms fo the GNU General Public License Design by Interspire