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 use wvdial, be sure that you’ve established your nameserver configuration, as described in Chapter 10. Then, issue the following commands

route del default
wvdial &

The command generates quite a bit of output, which makes further use of this virtual terminal distracting. The simplest solution is to switch to another virtual terminal, by pressing Alt- n, where n stands ...

Get Learning Debian GNU/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.