SuSE Support Database
Title: Internet access with modem and `wvdial' (using PPP)

Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch
Internet access with modem and `wvdial' (using PPP)
Applies to
SuSE Linux: Versions 6.0 to 6.1
wvdial
Important:
This article is obsolete from SuSE Linux 6.2 on. PPP/wvdial-configuration has been integrated in YaST
network configuration.
Request:
Your SuSE Linux 6.0/6.1 is successfully installed and now you want to connect to the Internet using a
modem and PPP.
Procedure:
You'll need:
- Access data issued by your ISP (Internet Service Provider)
- wvdial (package `wvdial', series `n')
- PPP (package `ppp', series `n')
- YaST-configured modem
The modem needs to be supported - most modems are, `WinModems' are NOT.
Non-`root'-users need to belong to the groups `uucp' and `dialout' in order to be
permitted to use the modem for dialup-connections (this is a security feature).
How to proceed:
- Login as `normal' user (not as `root') via kdm/xdm or start a X-session with startx
- Start up a xterm or kvt (X-Window terminal emulation) and allow access to
your local X-display (xhost +localhost).
- Change to user `root': su - and set the DISPLAY-variable for `root':
export DISPLAY=:0
- Create a basic configuration file for wvdial: wvdialconf /etc/wvdial.conf
- Create/change the options for `pppd': /etc/ppp/options should contain 2 lines only:
lock
debug
- Start up the `wvdial'-frontend (GUI) using the command wvdial.tcl and enter the
phonenumber, your username and your password.
- Try to connect (button `Test'). Your modem should start to dial and connect. The progress
is logged in a separate window.
- Check wether your attempt to connect was successful. You can use the commands ifconfig and
route for that. Type these commands in another xterm or kvt.
The output should look similar to the following:
ppp0 Link encap:Point-to-Point Protocol
inet addr:10.201.0.1 P-t-P:10.0.0.99 Mask:255.0.0.0
UP POINTOPOINT RUNNING MTU:552 Metric:1
RX packets:357 errors:4 dropped:4 overruns:0 frame:0
TX packets:322 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
Memory:21c0038-21c049c
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
wotan * 255.255.255.255 UH 0 0 0 dummy0
broken.suse.de * 255.255.255.255 UH 0 0 0 ppp0
loopback * 255.0.0.0 U 0 0 4 lo
default broken.suse.de 0.0.0.0 UG 0 0 4 ppp0
This output means that your modem (network-device `ppp0') is configured with the local
IP 10.201.0.1 and the dialup-server of your ISP (broken.suse.de, IP 10.0.0.99) is used
as default-gateway (for all IP packets that are heading to/arrive from the
internet).
- If your attempt to connect was successful, save the settings you've made. If it didn't work,
check the log-window and /var/log/messages for further information.
- Terminate wvdial.tcl by pressing CTRL-C (or click `Cancel' and `Close').
- If your attempt to connect was successful, just type wvdial in a terminal
emulation to reestablish the connection.
Further Hints:
- The wvdial-documentation can be found in /usr/doc/packages/wvdial
- Make sure that you have configured DNS (your ISP's nameserver-IP and domain) in YaST
- If you intend to use wvdial as `normal' user (recommended), make sure
that the user belongs to the groups `uucp' and `dialout' (this is done in YaST).
- Make sure that your machine has a FQDN (Fully Qualified Domain Name),
e.g. `earth.cosmos.all' as described in the manual.

See also:

Keywords: MODEM, WVDIAL, PPP, INTERNET, PROVIDER, DAEMON, DIED, UNEXPECTEDLY

Categories:
PPP

Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch
SDB-daniel_wvdial, Copyright SuSE GmbH, Nuremberg, Germany
- Version: 09. Jun 1999
SuSE GmbH - Last generated: 07. Oct 1999 16:38:05
by maddin
with sdb_gen 1.00.0