LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-12-2009, 03:58 AM   #1
seagreen
Member
 
Registered: Jun 2004
Distribution: Suse 8.2
Posts: 42

Rep: Reputation: 15
dial-up connection dies in suse 11.0


Hi,
I am trying to get a US Robotics 56K Fax modem to work on Suse 11.0 but I keep getting the following message:

- ppp daemon died unexpectedly. error status = 19.

Now I know that error code 19 has to do with failed authentication:

Here is the debug file for kppp:
ATZ
OK
ATM1L1
OK
ATDT0860008484
CONNECT 36000/ARQ/V90/LAPM/V42BIS

...then it dies.

and the wvdial.conf file

[Dialer Defaults]
Modem = /dev/modem
Baud = 57600
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
Init3 =
Area Code =
Phone = 0
Username = ***********
Password = ***********
Ask Password = 0
Dial Command = ATDT
Stupid Mode = 1
Compuserve = 0
Force Address =
Idle Seconds = 300
DialMessage1 =
DialMessage2 =
ISDN = 0
Auto DNS = 1

I am normally on a LAN with a FritzBox FonATA router which I disabled with ifconfig eth0 down in root before attempting to dial the USR modem.

Could it be a permissions problem? Any helpful suggestions would be appreciated.
TIA
 
Old 10-12-2009, 01:36 PM   #2
HaroldWho
Member
 
Registered: Nov 2006
Location: southeastern PA
Distribution: Slackware
Posts: 130

Rep: Reputation: 23
dial-up connection dies in suse 11.0

You might try adding these lines to the ppp options file:

Code:
cp-echo-interval 30
lcp-echo-failure 4
lcp-max-configure 60
lcp-restart 2
 
Old 10-12-2009, 04:11 PM   #3
seagreen
Member
 
Registered: Jun 2004
Distribution: Suse 8.2
Posts: 42

Original Poster
Rep: Reputation: 15
I tried your suggestion but now get exit status = 2
You have posted an invalid option to pppd
 
Old 10-13-2009, 01:08 PM   #4
HaroldWho
Member
 
Registered: Nov 2006
Location: southeastern PA
Distribution: Slackware
Posts: 130

Rep: Reputation: 23
Quote:
Originally Posted by HaroldWho View Post
You might try adding these lines to the ppp options file:

Code:
cp-echo-interval 30
lcp-echo-failure 4
lcp-max-configure 60
lcp-restart 2
MyBad! The first line should read:
Code:
lcp-echo-interval 30
Sorry.
 
Old 10-18-2009, 02:06 AM   #5
seagreen
Member
 
Registered: Jun 2004
Distribution: Suse 8.2
Posts: 42

Original Poster
Rep: Reputation: 15
I've tried but it still won't work.
I'm posting the complete Kinternet log if tha will help.
pppd[0]: Plugin passwordfd.so loaded.
pppd[0]: --> WvDial: Internet dialer version 1.60
pppd[0]: --> Initializing modem.
pppd[0]: --> Sending: ATZ
pppd[0]: ATZ
pppd[0]: OK
pppd[0]: --> Sending: AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
pppd[0]: AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
pppd[0]: OK
pppd[0]: --> Sending: ATM1
pppd[0]: ATM1
pppd[0]: OK
pppd[0]: --> Modem initialized.
pppd[0]: --> Sending: ATDT0860008484
pppd[0]: --> Waiting for carrier.
pppd[0]: ATDT0860008484
pppd[0]: CONNECT 40000/ARQ/V90/LAPM/V42BIS
pppd[0]: --> Carrier detected. Waiting for prompt.
pppd[0]: Login:
pppd[0]: --> Looks like a login prompt.
pppd[0]: --> Sending: fti/94tacz4
pppd[0]: fti/94tacz4
pppd[0]: Password:
pppd[0]: --> Looks like a password prompt.
pppd[0]: --> Sending: (password)
pppd[0]: ** Bad Password
pppd[0]: Login:
pppd[0]: --> Looks like a login prompt.
pppd[0]: --> Sending: fti/94tacz4
pppd[0]: fti/94tacz4
pppd[0]: Password:
pppd[0]: --> Looks like a password prompt.
pppd[0]: --> Sending: (password)
pppd[0]: ** Bad Password
pppd[0]: Login:
pppd[0]: --> Looks like a login prompt.
pppd[0]: --> Sending: fti/94tacz4
pppd[0]: fti/94tacz4
pppd[0]: Password:
pppd[0]: --> Don't know what to do! Starting pppd and hoping for the best.
pppd[0]: Serial connection established.
pppd[0]: using channel 1
pppd[0]: Renamed interface ppp0 to modem0
pppd[0]: Using interface modem0
Status is: connecting
pppd[0]: Connect: modem0 <--> /dev/ttyS0
pppd[0]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x7382962f> <pcomp> <accomp>]
pppd[0]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x7382962f> <pcomp> <accomp>]
pppd[0]: rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <auth chap MD5> <pcomp> <accomp>]
pppd[0]: sent [LCP ConfAck id=0x1 <asyncmap 0xa0000> <auth chap MD5> <pcomp> <accomp>]
pppd[0]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x7382962f> <pcomp> <accomp>]
pppd[0]: sent [LCP EchoReq id=0x0 magic=0x7382962f]
pppd[0]: rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <auth chap MD5> <pcomp> <accomp>]
pppd[0]: sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0xfed2482b> <pcomp> <accomp>]
pppd[0]: sent [LCP ConfAck id=0x1 <asyncmap 0xa0000> <auth chap MD5> <pcomp> <accomp>]
pppd[0]: rcvd [CHAP Challenge id=0x1 <da0965f0da76f1116c9376a6577fd409>, name = "nsnic115"]
pppd[0]: Discarded non-LCP packet when LCP not open
pppd[0]: rcvd [LCP EchoRep id=0x0 magic=0x0]
pppd[0]: rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <auth chap MD5> <pcomp> <accomp>]
pppd[0]: sent [LCP ConfAck id=0x1 <asyncmap 0xa0000> <auth chap MD5> <pcomp> <accomp>]
pppd[0]: rcvd [LCP ConfAck id=0x2 <asyncmap 0x0> <magic 0xfed2482b> <pcomp> <accomp>]
pppd[0]: sent [LCP EchoReq id=0x0 magic=0xfed2482b]
pppd[0]: rcvd [CHAP Challenge id=0x1 <bd29a9f65fb7661841661a5ed927ac2f>, name = "nsnic115"]
pppd[0]: sent [CHAP Response id=0x1 <0f77e994e69468f6a4ac6f0a03badcb1>, name = "fti/94tacz4"]
pppd[0]: rcvd [LCP EchoRep id=0x0 magic=0x0]
pppd[0]: rcvd [CHAP Failure id=0x1 "\000"]
pppd[0]: CHAP authentication failed:
pppd[0]: CHAP authentication failed
Authentication error. Maybe bad account or password.
pppd[0]: sent [LCP TermReq id=0x3 "Failed to authenticate ourselves to peer"]
pppd[0]: sent [LCP TermReq id=0x4 "Failed to authenticate ourselves to peer"]
pppd[0]: Hangup (SIGHUP)
pppd[0]: Modem hangup
pppd[0]: Connection terminated.
Status is: disconnected
pppd[0] died: A modem hung up the phone (exit code 16)
 
Old 10-18-2009, 08:51 AM   #6
HaroldWho
Member
 
Registered: Nov 2006
Location: southeastern PA
Distribution: Slackware
Posts: 130

Rep: Reputation: 23
Quote:
pppd[0]: CHAP authentication failed:
pppd[0]: CHAP authentication failed
Authentication error. Maybe bad account or password.
There's the problem. Something wrong in the /etc/ppp/chap-secrets file.

Permissions maybe? Should be rw for root only.

Format of a line should be:
Code:
client  server  secret  IP addresses
I've never used chap, so I have no first hand insights, but Google ought to help.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to start a dial-up network connection on open suse 10.2 runnin on a laptop venom.unleashed Linux - Networking 1 05-27-2007 06:12 PM
how to start a dial-up network connection on open suse 10.2 venom.unleashed SUSE / openSUSE 1 05-14-2007 06:51 AM
need help with dial-up connection in SuSE 10 kmargaris Linux - Networking 1 12-28-2005 02:14 AM
ISDN connection dies phil81 Debian 0 01-05-2005 03:57 AM
isp dial up connection suse 9.1 Troglodyte Linux - Software 1 10-30-2004 03:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration