Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello. I have a problem with wvdial. When I run it it connects only at 10 seconds and then pppd terminated with exit code 16 (Modem Hangup). What can I do to solve this problem?
--> WvDial: Internet dialer version 1.53
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT1386000
--> Waiting for carrier.
ATDT1386000
CONNECT 49333/ARQ/V90/LAPM/V42BIS
--> Carrier detected. Waiting for prompt.
User Access Verification
Username:
--> Looks like a login prompt.
--> Sending: simanyay
simanyay
Password:
--> Looks like a password prompt.
--> Sending: (password)
Username:
--> Looks like a login prompt.
--> Sending: simanyay
simanyay
Password:
--> Looks like a password prompt.
--> Sending: (password)
Username:
--> Looks like a login prompt.
--> Sending: simanyay
simanyay
Password:
--> Don't know what to do! Starting pppd and hoping for the best.
--> Starting pppd at Thu Jun 24 13:28:16 2004
--> pid of pppd: 643
--> Disconnecting at Thu Jun 24 13:28:51 2004
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
--> Auto Reconnect will be attempted in 5 seconds
Your ISP is disconnecting. Probably because the login is failing. Try minicom with the same username and password to see if you can login to your ISP. man minicom if you haven't used it before.
---------------------/etc/chatscripts/free------------------
ABORT BUSY
ABORT "NO CARRIER"
ABORT VOICE
ABORT "NO DIAL TONE"
"" ATZ
OK ATM0L0DT0860922000
NNECT ""
---------------------/etc/ppp/peers/paris-ppp------------------
#!/bin/sh
# You usually need this if there is no PAP authentication
noauth
# The chatscript (be sure to edit that file too)
connect "/usr/sbin/chat -v -f /etc/chatscripts/free"
# Routing
defaultroute
modem
# Default Modem (you better replace this with /dev/ttySx!)
/dev/modem
# Speed
115200
ipcp-accept-remote
ipcp-accept-local
# Keep Modem up even if connexion fails
# persist
idle 180
# demand
remotename proxad
debug
user <Votre_Login>
---------------------/etc/resolv.conf------------------
#/etc/resolv.conf
domain free.fr
search free.fr
nameserver 212.27.32.5
nameserver 213.228.0.168
#If you use CHAP authentication
---------------------/etc/ppp/chap-secrets------------------
# Secrets for authentication using CHAP
# client server secret IP addresses
<Votre_Login> proxad <Votre_Password>
#If you use PAP authentication
---------------------/etc/ppp/pap-secrets------------------
# Secrets for authentication using PAP
# client server secret IP addresses
<Votre_Login> proxad <Votre_Password>
For specific informations, see the PPP howto ... that's chapter 18 for chat specific info
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.