69 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 and (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 . 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”:

$ sudo 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.



Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0