11.1.3 The Easy Way: wvdial

The simplest way to get PPP running is with the wvdial program. It

makes some reasonable guesses and tries to set things up for you. If

it works, you’re in luck. If it guesses wrong, you’ll have to do

things manually.

Be sure you have the following packages installed:

◼ ppp

◼ ppp-pam

◼ wvdial

When you install the wvdial package, you may be given the

opportunity to configure it. Otherwise, to set up wvdial, follow

these simple steps:

Log in as root, using su (as described in an earlier chapter).

touch /etc/wvdial.conf

touch will create the following file if the file doesn’t exist; the

configuration program requires an existing file.

wvdialconf /etc/wvdial.conf

This means you’re creating a configuration file, /etc/wvdial.conf.

Answer any questions that appear on the screen. wvdialconf will also

scan for your modem and tell you which serial port it’s on; you may

want to make a note of this for future reference.

Debian GNU/Linux : Guide to Installation and Usage · 第 140 / 193 题