Using wvdial

ISPs use a variety of dialogs to make a PPP connection. Often the most difficult part of configuring your computer to make a PPP connection is specifying dialog options consistent with those required by your ISP, which may not be especially helpful in explaining the necessary options to you.

For example, most ISPs use one of three PPP login procedures: PAP (Password Authentication Protocol), CHAP (Challenge-Handshake Authentication Protocol), or ordinary user/password authentication. PAP is currently the most popular of the three procedures. If you ask the tech support person at your ISP what login procedure your ISP uses, the tech support person may have no idea what you’re talking about, because most users run Microsoft Windows, and Windows Dial-Up Networking handles the login procedure transparently.

The wvdial program transparently establishes a PPP connection in much the same way as Windows Dial-Up Networking. It understands a variety of possible dialogs used by ISPs. In most cases, it will analyze data sent by your ISP and respond with the proper data in the format required by the ISP.

To install wvdial, follow the instructions given in Appendix C. Then, issue the following command:

/usr/local/bin/wvdialconf /etc/wvdial.conf

This command analyzes your system and creates a template configuration file, /etc/wvdial.conf. You must edit this file to specify the userid and password your ISP expects. The contents of the template file will look something ...

Get Learning Red Hat Linux now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.