Hi, John.

Still nothing. KPPP started PPPD, which now actually does something
(receives!!!):

Oct  9 11:44:08 case pppd[6753]: pppd 2.4.2 started by root, uid 0
Oct  9 11:44:08 case pppd[6753]: using channel 1
Oct  9 11:44:08 case pppd[6753]: Using interface ppp0
Oct  9 11:44:08 case pppd[6753]: Connect: ppp0 <--> /dev/ttySHSF0
Oct  9 11:44:08 case pppd[6753]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic 0x11c8cdec> <pcomp> <accomp>]
Oct  9 11:44:22 case pppd[6753]: rcvd [LCP ConfReq id=0x70 <asyncmap
0xa0000> <auth pap> <magic 0x245986a3> <pcomp> <accomp>]
Oct  9 11:44:22 case pppd[6753]: sent [LCP ConfAck id=0x70 <asyncmap
0xa0000> <auth pap> <magic 0x245986a3> <pcomp> <accomp>]
Oct  9 11:44:22 case pppd[6753]: rcvd [LCP ConfReq id=0x71 <asyncmap
0xa0000> <auth pap> <magic 0x245986a3> <pcomp> <accomp>]
Oct  9 11:44:22 case pppd[6753]: sent [LCP ConfAck id=0x71 <asyncmap
0xa0000> <auth pap> <magic 0x245986a3> <pcomp> <accomp>]
Oct  9 11:44:22 case pppd[6753]: rcvd [LCP ConfReq id=0x72 <asyncmap
0xa0000> <auth pap> <magic 0x245986a3> <pcomp> <accomp>]
Oct  9 11:44:22 case pppd[6753]: sent [LCP ConfAck id=0x72 <asyncmap
0xa0000> <auth pap> <magic 0x245986a3> <pcomp> <accomp>]
Oct  9 11:44:22 case pppd[6753]: rcvd [LCP ConfReq id=0x73 <asyncmap
0xa0000> <auth pap> <magic 0x245986a3> <pcomp> <accomp>]
Oct  9 11:44:22 case pppd[6753]: sent [LCP ConfAck id=0x73 <asyncmap
0xa0000> <auth pap> <magic 0x245986a3> <pcomp> <accomp>]
Oct  9 11:44:22 case pppd[6753]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0>
<magic 0x11c8cdec> <pcomp> <accomp>]
Oct  9 11:44:22 case pppd[6753]: sent [PAP AuthReq id=0x1 user="mylogin"
password=<hidden>]
Oct  9 11:44:22 case pppd[6753]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0>
<magic 0x11c8cdec> <pcomp> <accomp>]
Oct  9 11:44:22 case pppd[6753]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0>
<magic 0x11c8cdec> <pcomp> <accomp>]
Oct  9 11:44:25 case pppd[6753]: sent [PAP AuthReq id=0x2 user="mylogin"
password=<hidden>]
Oct  9 11:44:28 case pppd[6753]: sent [PAP AuthReq id=0x3 user="mylogin"
password=<hidden>]
Oct  9 11:44:31 case pppd[6753]: sent [PAP AuthReq id=0x4 user="mylogin"
password=<hidden>]
Oct  9 11:44:34 case pppd[6753]: sent [PAP AuthReq id=0x5 user="mylogin"
password=<hidden>]
Oct  9 11:44:37 case pppd[6753]: sent [PAP AuthReq id=0x6 user="mylogin"
password=<hidden>]
Oct  9 11:44:38 case pppd[6753]: Terminating on signal 15.
Oct  9 11:44:38 case pppd[6753]: sent [LCP TermReq id=0x2 "User request"]
Oct  9 11:44:41 case pppd[6753]: sent [LCP TermReq id=0x3 "User request"]
Oct  9 11:44:42 case pppd[6753]: Hangup (SIGHUP)
Oct  9 11:44:42 case pppd[6753]: Modem hangup
Oct  9 11:44:42 case pppd[6753]: Connection terminated.
Oct  9 11:44:42 case pppd[6753]: Exit. 

I tried to put your options in /etc/ppp/peers/wvdial, 

-> WvDial: Internet dialer version 1.54.0
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 X3 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT<providerno>
--> Waiting for carrier.
ATDT<providerno>
CONNECT 44000/ARQ
--> Carrier detected.  Waiting for prompt.
``  ` ``  ` `````` ``` `  `  ` `` `` ``` `` `` `   ````` `  `` ``  `` ``` ``
` ``` ````` ````  ` ``  ` `````` ``` `  ` ``` ``````` ` `
--> Don't know what to do!  Starting pppd and hoping for the best.
--> Starting pppd at Sat Oct  9 12:02:47 2004
--> pid of pppd: 7411
--> pppd: using channel 5
--> Using interface ppp0
--> pppd: Connect: ppp0 <--> /dev/ttyS0
--> pppd: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xc7194576> <pcomp>
<accomp>]
(... same line 30 times, cut for mail's sake)
--> pppd: Modem hangup
--> pppd: Connection terminated.
--> Disconnecting at Sat Oct  9 12:04:17 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.

I tried to put Stupid Mode = yes in /etc/wvdial.conf, the only difference is
that it starts PPPD without waiting for the prompt.

Don't give up on me now, John, we are getting somewhere, don't you think :)
And thanks.
Robert
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Rye
Sent: Saturday, October 09, 2004 2:04 AM
To: [EMAIL PROTECTED]
Subject: Re: [newbie] PPPD fails to connect [LCP Config-Requests timeout?]

On Fri, 08 Oct 2004 14:15:06 +0200
Robert Lucencic <[EMAIL PROTECTED]> wrote:

> Hi, all!
> 
> I've installed Mandrake 10.1 Community Edition recently. 
> I'm having problems with my modem connection to the Net. Modem dials 
> and connects, pppd terminates 10-20 secs later, saying
> 
> Oct  6 22:59:32 case pppd[7104]: pppd 2.4.2 started by root, uid 0 Oct  
> 6 22:59:32 case pppd[7104]: using channel 2 Oct  6 22:59:32 case 
> pppd[7104]: Using interface ppp0 Oct  6 22:59:32 case pppd[7104]: 
> Connect: ppp0 <--> /dev/ttyS0 Oct  6 22:59:32 case pppd[7104]: sent 
> [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x185fd023> <pcomp> 
> <accomp>] Oct  6 22:59:59 case last message repeated 9 times Oct  6 
> 23:00:02 case pppd[7104]: LCP: timeout sending Config-Requests Oct  6 
> 23:00:02 case pppd[7104]: Connection terminated.
> Oct  6 23:00:02 case pppd[7104]: Exit.
> 
> My /etc/ppp/options:
> 
> lock
> noauth
> noipdefault
> usepeerdns
> 
> My Pap-secrets and Chap-secrets seem correct:
> 
> # Secrets for authentication using PAP
> # client      server  secret                  IP addresses
> 
> 'mylogin' * 'mojpswd' * 
> mylogin       *       mojpswd
> 
> I've tries both KPPP and wvdial, changed modem from USR 56K external 
> to some Conexant HSFi V.92 PCI softmodem. Everything is the same.
> I have not editied any initial scripts manually, everything was 
> created with Internet wizard from drakconf and KPPP.
> 
> Can anyone help?

Yup, edit your /etc/ppp/options file to reflect the following, your problem
should(tm) 'go away'

The lines in question are those beginning: icp and ipcp.

Take a look at the descriptions in man pppd for more information.

==== cut here ====
lock
debug
noauth
defaultroute
lcp-max-configure 45
ipcp-accept-local
ipcp-accept-remote
idle 600
==== cut here ====

Cheers

John (NZ)



____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to