Dialup problem in Mint9

tyler-9

Distinguished
May 2, 2010
16
0
18,510
I've been using wvdial with a us robotics external dialup modem in Mint9, and everything worked fine until a few days ago. Now I can't connect--am getting error code 16: "The link was terminated by the modem hanging up"

I'm stuck--haven't made any changes, no new sw installed, nothing. Any tips on how to fix? Any log or config files I should check?

Thanks for help!

 

tyler-9

Distinguished
May 2, 2010
16
0
18,510


----The output in terminal when I try to connect by typing wvdial:---

Connect 49333/ARQ/V90/LAPM/V42BIS
Carrier detected, waiting for prompt.
CVX Access Switch.
Access is restricted to authorized users only.
Login:
-Looks like a login prompt
-sending: guest
Guest
Password:
-Looks like a password prompt.
-Sending: (password)
-Valid commands are:
-Quit: hang up and disconnect
-Help List valid commands
Hmm..a prompt. Sending “ppp”
Ppp
‘ppp’ is not a valid command.
Valid commands are:
Quit: Hang up and disconnect
Help list valid commands
[this recurs 2 more times, then:]
Don’t know3 what to do! Starting pppd and hoping for the best.
Starting pppd at Mon Apr 9 08:09:09 2012-04-09 Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
PAP (Password Authentication Protocol) may be flaky.
Warning: Could not modify /etc/ppp/chap-secrets: Permission denied.
CHAP (Challenge Handshake) may be flaky.
Pid of pppd: 2228
Using interface ppp0
Pppd: [symbols]
Pppd: [symbols]
Pppd: [symbols]
Pppd: [symbols]
Pppd: [symbols]
Disconnecting
The PPP daemon has died: A modem hung up the phone (exit code=16)

------Here's from /var/log/messages file:------
Ppp 2.4.5 started by tyler-9, uid 1000
Using interface ppp0
Connect: ppp0<-->/dev/ttyACMO
LCP: timeout sending config-Requests
Connection terminated
Modem hangup
Exit

AND:
----Also in /var/log, I also checked the messages1 file------
Here’s the message1 output from last week when I *was* connecting as normal:
[I “x’d” out the actual numbers in addresses]

Pppd 2.4.5 started by tyler-9, uid1000
Using interface ppp0
Connect: ppp0>/dev/ttyACMO
Local IP address xx.xx.xx.xxx
Remote IP address xx.xx.xx.x
Primary DNS address xx.xx.xx.xx
Secondary DNS address xx.xx.xxx.xx
CCP: timeout sending Config-Requests

So comparing the above outputs fr/messages vs message1 files: In messages, it says “ppp 2.4.5 started” but in messages1 it’s “pppd 2.4.5”—could this difference explain the problem?

Thanks for help!
 

Mu33rto

Distinguished
Sep 6, 2011
227
0
18,710
Does the user you are using have permission to access the files that need to be read while running wvdial? Cuz I'm seeing two Permission denied in those log files. Instead of trying to fix something thats broken. Backup "/etc/wvdial.conf" file then either reinstall wvdial or see if there is an updated version. Also try running the command as superuser to see if you still get those error msg..

Also is that user in the dialout group?
 

tyler-9

Distinguished
May 2, 2010
16
0
18,510


Yes, the user has permission and is in dialout group. It's been working fine for over 1-yr, and have made no changes. The problem just started for some reason I can't figure out--no new sw installed, no upgrades, etc.

Probably best to reinstall, instead of wasting hours troubleshooting--

Thx for replies--
 
Last time I heard of that one was when a client of ours had moved to a VOIP phone system. Companies frequently forget that people still use dial up connections.

Have you tried a handset in the phone socket your using and dialling the number manually?
 

tyler-9

Distinguished
May 2, 2010
16
0
18,510


I get a standard dial tone when I plug phone into the same jack the modem is plugged into.
 

tyler-9

Distinguished
May 2, 2010
16
0
18,510

I get the usual static screech and audio tones as the receiving modem attempts a handshake.