Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] So weired! kppp works but net.ppp0 doesn't !!!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
veezi
Apprentice
Apprentice


Joined: 10 Nov 2003
Posts: 226

PostPosted: Tue Apr 13, 2004 9:17 am    Post subject: [SOLVED] So weired! kppp works but net.ppp0 doesn't !!! Reply with quote

This is really driving me crazy! Happened after update world and new kernel 2.6.5.

External modem, connected to serial port 0. Simple ppp dialup to ISP, nothing special. Was working before.

Here's the log for net.ppp0 connection

Code:

Apr 13 12:03:53 cobra pppd[6871]: pppd 2.4.1 started by root, uid 0
Apr 13 12:04:20 cobra pppd[6871]: Serial connection established.
Apr 13 12:04:20 cobra pppd[6871]: using channel 1
Apr 13 12:04:20 cobra pppd[6871]: Using interface ppp0
Apr 13 12:04:20 cobra pppd[6871]: Connect: ppp0 <--> /dev/tts/0
Apr 13 12:04:21 cobra pppd[6871]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xc69fd1af> <pcomp> <accomp>]
Apr 13 12:04:33 cobra last message repeated 4 times
Apr 13 12:04:35 cobra pppd[6871]: rcvd [LCP ConfReq id=0x2 <asyncmap 0xa0000> <auth pap> <magic 0x53c84c13> <pcomp> <accomp>]
Apr 13 12:04:35 cobra pppd[6871]: sent [LCP ConfAck id=0x2 <asyncmap 0xa0000> <auth pap> <magic 0x53c84c13> <pcomp> <accomp>]
Apr 13 12:04:36 cobra pppd[6871]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xc69fd1af> <pcomp> <accomp>]
Apr 13 12:04:48 cobra last message repeated 4 times
Apr 13 12:04:50 cobra pppd[6871]: rcvd [LCP ConfReq id=0x3 <asyncmap 0xa0000> <auth pap> <magic 0x53c84c13> <pcomp> <accomp>]
Apr 13 12:04:50 cobra pppd[6871]: sent [LCP ConfAck id=0x3 <asyncmap 0xa0000> <auth pap> <magic 0x53c84c13> <pcomp> <accomp>]
Apr 13 12:04:51 cobra pppd[6871]: LCP: timeout sending Config-Requests
Apr 13 12:04:51 cobra pppd[6871]: Connection terminated.
Apr 13 12:04:52 cobra pppd[6871]: Hangup (SIGHUP)
Apr 13 12:04:52 cobra pppd[6871]: Exit.



And, using kppp

Code:

Apr 13 12:06:01 cobra pppd[6907]: pppd 2.4.1 started by root, uid 0
Apr 13 12:06:01 cobra pppd[6907]: using channel 2
Apr 13 12:06:01 cobra pppd[6907]: Using interface ppp0
Apr 13 12:06:01 cobra pppd[6907]: Connect: ppp0 <--> /dev/tts/0
Apr 13 12:06:01 cobra pppd[6907]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xed63bdf2> <pcomp> <accomp>]
Apr 13 12:06:02 cobra pppd[6907]: rcvd [LCP ConfReq id=0x0]
Apr 13 12:06:02 cobra pppd[6907]: sent [LCP ConfAck id=0x0]
Apr 13 12:06:02 cobra pppd[6907]: rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <auth pap> <magic 0x53c9da00> <pcomp> <accomp>]
Apr 13 12:06:02 cobra pppd[6907]: sent [LCP ConfAck id=0x1 <asyncmap 0xa0000> <auth pap> <magic 0x53c9da00> <pcomp> <accomp>]
Apr 13 12:06:02 cobra pppd[6907]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xed63bdf2> <pcomp> <accomp>]
Apr 13 12:06:02 cobra pppd[6907]: cbcp_lowerup
Apr 13 12:06:02 cobra pppd[6907]: want: 2
Apr 13 12:06:02 cobra pppd[6907]: sent [PAP AuthReq id=0x1 user="user" password=<hidden>]
Apr 13 12:06:02 cobra pppd[6907]: rcvd [PAP AuthAck id=0x1 ""]
Apr 13 12:06:02 cobra pppd[6907]: sent [IPCP ConfReq id=0x1 <addr 10.1.1.2> <compress VJ 0f 01> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
Apr 13 12:06:02 cobra pppd[6907]: sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
Apr 13 12:06:02 cobra pppd[6907]: rcvd [IPCP ConfReq id=0x1 <addr 120.12.178.1>]
Apr 13 12:06:02 cobra pppd[6907]: sent [IPCP ConfAck id=0x1 <addr 120.12.178.1>]
Apr 13 12:06:02 cobra pppd[6907]: rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
Apr 13 12:06:02 cobra pppd[6907]: sent [IPCP ConfReq id=0x2 <addr 10.1.1.2> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
Apr 13 12:06:02 cobra pppd[6907]: rcvd [LCP ProtRej id=0x2 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
Apr 13 12:06:02 cobra pppd[6907]: rcvd [IPCP ConfNak id=0x2 <addr 120.12.160.84> <ms-dns1 120.12.160.2> <ms-dns3 120.12.160.3>]
Apr 13 12:06:02 cobra pppd[6907]: sent [IPCP ConfReq id=0x3 <addr 120.12.160.84> <ms-dns1 120.12.160.2> <ms-dns3 120.12.160.3>]
Apr 13 12:06:02 cobra pppd[6907]: rcvd [IPCP ConfAck id=0x3 <addr 120.12.160.84> <ms-dns1 120.12.160.2> <ms-dns3 120.12.160.3>]
Apr 13 12:06:02 cobra pppd[6907]: local  IP address 120.12.160.84
Apr 13 12:06:02 cobra pppd[6907]: remote IP address 120.12.178.1
Apr 13 12:06:02 cobra pppd[6907]: primary   DNS address 120.12.160.2
Apr 13 12:06:02 cobra pppd[6907]: secondary DNS address 120.12.160.3
Apr 13 12:06:02 cobra pppd[6907]: Script /etc/ppp/ip-up started (pid 6924)
Apr 13 12:06:02 cobra pppd[6907]: Script /etc/ppp/ip-up finished (pid 6924), status = 0x200


Help! please ..


Last edited by veezi on Thu May 27, 2004 4:32 pm; edited 1 time in total
Back to top
View user's profile Send private message
davidblewett
Apprentice
Apprentice


Joined: 15 Feb 2004
Posts: 274
Location: Indiana

PostPosted: Wed Apr 14, 2004 4:44 pm    Post subject: Reply with quote

Try adding noccp to /etc/ppp/options.
_________________
No guilt in life, no fear in death
this is the power of Christ in me
From life’s first cry to final breath
Jesus commands my destiny
-- Newsboys, "In Christ Alone", "Adoration: The Worship Album"
Back to top
View user's profile Send private message
veezi
Apprentice
Apprentice


Joined: 10 Nov 2003
Posts: 226

PostPosted: Thu May 27, 2004 4:31 pm    Post subject: Reply with quote

SOLVED! I Had to change the chat-script generated by net.ppp0:

replace the last three lines:
Code:

'CONNECT' ''
'TIMEOUT' '5'
'~--' ''

with:
Code:

'CONNECT' \d\c

I have no idea why! :roll:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum