Everybody wants to use kppp.
If kppp works for you, you do not need to read further.
Wvdial is a simple, commmand line, no GUI, program to launch a modem session,not as fancy as kppp etc..., but much superior for debugging, because it produces complete information on what happens during the attempt/success to establish
a modem communication.
There are two commands and one configuration file associated with wvdial.
- wvdialconf is to be used once for all to configure a
- wvdial is to be used every time you want to use the modem.
- /etc/wvdial.conf is the configuration file automatically
created when you start . You will have to manually adjust
it once for all to set the phone number to be used, the username and the
password allocated by your Internet Services Provider.
- Like standard in Linux, the command man gives all details
that you may need or just like to know, as in
man wvdialconf, man wvdial.conf, man wvdial.
- The command which wvdial will tell
you if it is installed, by showing you where.
- If not installed, look for it in your Linux distribution and install it.
If not on your CD's, ask Google to
find it for you. For an RPM based system, there is
this shorcut (search a
name starting with letter W).
- Become superuser, command su. With Debian systems (which
prefix commands below with sudo rather than becoming root with su.
- Once only, to configure wvdial, type wvdialconf /etc/wvdial.conf
- If wvdialconf does not find modem or reports some other error, your modem installation is not good
even if it seemed Ok. Go back to modem driver installation. Be sure to
slowly and carefully read all the installation instructions.
- Edit file /etc/wvdial.conf
As this must be done as superuser, if you use gedit do not start it
from a desktop icon, but from a command line in a console window.
Replace the dial number, username and password place holders by the values
given by your ISP. Syntax example line:
Phone = 123456789
Lines marked by ; are disabled. wvdial simply ignores them.
If you have a line Stupid Mode = yes, disable it
by inserting a ; at the beginning of the line.
Only if you use the smartlink (slamr),
slmodem or the martian driver, have an active line
Carrier Check = no
- Now just type wvdial and the attempt to connect will start.
- If success, wvdial keeps running without exiting and without writing
anything. Start any communication application, such as surfing.
- If the application does not work, find
- Do not try to run any command from the window where
wvdial is running. Leave that window alone in peace until you
want to close your communication session.
- Use CTRL-C to stop wvdial when you will have finished your work.
- If wvdial fails to establish the communication,
type the following commands:
- If wvdial loops attempting to restart, stop it with CTRL-C
- Send your file wvdial.log to
Author: Jacques Goldberg
Date: 19 March 2005