[Samba] ppp connection only every second time

Dénes Koch denes.koch at web.de
Sat Jan 15 12:18:12 GMT 2005


hello everyone,

i am setting up my computer and want to establish internet connection over ADSL. For this i have to use pptp.
The annoying thing is, that doing 'pptp 10.0.0.138' i get a connection only every second time.
Perhaps it is a problem, that i cannot stop pptp but killing it, and therefore pppd has to clean up?
i am using pppd 2.4.3 and pptp 1.5.0
Thanks in advance

/etc/ppp/options
name	"***"
noauth
noipdefault
defaultroute
lcp-echo-failure 10
lcp-echo-interval 10

Here are the logs:
/var/log/daemon/notice:
Jan 15 13:28:33 waltz pppd[685]: Using interface ppp0
Jan 15 13:28:36 waltz pppd[685]: CHAP authentication succeeded
Jan 15 13:28:44 waltz pppd[685]: Hangup (SIGHUP)
Jan 15 13:28:44 waltz pppd[685]: Connect time 0.2 minutes.
Jan 15 13:28:44 waltz pppd[685]: Sent 40 bytes, received 48 bytes.
Jan 15 13:28:45 waltz pppd[685]: Exit.
Jan 15 13:30:21 waltz pppd[707]: Using interface ppp0
Jan 15 13:30:23 waltz pppd[707]: LCP terminated by peer
Jan 15 13:30:26 waltz pppd[707]: Using interface ppp0
Jan 15 13:30:27 waltz pppd[707]: Exit.
Jan 15 13:59:12 waltz pppd[724]: Using interface ppp0
Jan 15 13:59:15 waltz pppd[724]: CHAP authentication succeeded
Jan 15 14:00:32 waltz pppd[724]: Hangup (SIGHUP)
Jan 15 14:00:32 waltz pppd[724]: Connect time 1.3 minutes.
Jan 15 14:00:32 waltz pppd[724]: Sent 320 bytes, received 380 bytes.
Jan 15 14:00:33 waltz pppd[724]: Exit.
Jan 15 14:00:47 waltz pppd[752]: Using interface ppp0
Jan 15 14:00:49 waltz pppd[752]: LCP terminated by peer
Jan 15 14:00:52 waltz pppd[752]: Using interface ppp0
Jan 15 14:00:53 waltz pppd[752]: Exit.

/var/log/messages:
Jan 15 13:59:11 waltz pptp[720]: anon log[main:pptp.c:243]: The synchronous pptp option is NOT activated 
Jan 15 13:59:11 waltz pptp[723]: anon log[ctrlp_rep:pptp_ctrl.c:243]: Sent control packet type is 1 'Start-Control-Connection-Request' 
Jan 15 13:59:11 waltz pptp[723]: anon log[ctrlp_disp:pptp_ctrl.c:721]: Received Start Control Connection Reply
Jan 15 13:59:11 waltz pptp[723]: anon log[ctrlp_disp:pptp_ctrl.c:755]: Client connection established.
Jan 15 13:59:12 waltz pptp[723]: anon log[ctrlp_rep:pptp_ctrl.c:243]: Sent control packet type is 7 'Outgoing-Call-Request' 
Jan 15 13:59:12 waltz pptp[723]: anon log[ctrlp_disp:pptp_ctrl.c:841]: Received Outgoing Call Reply.
Jan 15 13:59:12 waltz pptp[723]: anon log[ctrlp_disp:pptp_ctrl.c:880]: Outgoing call established (call ID 0, peer's call ID 0). 
Jan 15 13:59:12 waltz pppd[724]: pppd 2.4.3 started by root, uid 0
Jan 15 13:59:12 waltz pppd[724]: Using interface ppp0
Jan 15 13:59:12 waltz pppd[724]: Connect: ppp0 <--> /dev/pts/0
Jan 15 13:59:15 waltz pppd[724]: CHAP authentication succeeded
Jan 15 13:59:16 waltz pppd[724]: local  IP address 62.47.35.100
Jan 15 13:59:16 waltz pppd[724]: remote IP address 62.47.63.254
Jan 15 14:00:12 waltz pptp[723]: anon log[ctrlp_rep:pptp_ctrl.c:243]: Sent control packet type is 5 'Echo-Request' 
Jan 15 14:00:12 waltz pptp[723]: anon log[logecho:pptp_ctrl.c:659]: Echo Reply received.
Jan 15 14:00:32 waltz pptp[723]: anon log[callmgr_main:pptp_callmgr.c:249]: Closing connection
Jan 15 14:00:32 waltz pptp[723]: anon log[ctrlp_rep:pptp_ctrl.c:243]: Sent control packet type is 12 'Call-Clear-Request' 
Jan 15 14:00:32 waltz pptp[723]: anon log[ctrlp_disp:pptp_ctrl.c:912]: Call disconnect notification received (call id 0)
Jan 15 14:00:32 waltz pptp[723]: anon log[ctrlp_error:pptp_ctrl.c:195]: Result code is 4 '(your) Request'. Error code is 0, Cause code is 0
Jan 15 14:00:32 waltz pptp[723]: anon log[call_callback:pptp_callmgr.c:77]: Closing connection
Jan 15 14:00:32 waltz pppd[724]: Hangup (SIGHUP)
Jan 15 14:00:32 waltz pppd[724]: Modem hangup
Jan 15 14:00:32 waltz pppd[724]: Connect time 1.3 minutes.
Jan 15 14:00:32 waltz pppd[724]: Sent 320 bytes, received 380 bytes.
Jan 15 14:00:32 waltz pppd[724]: Connection terminated.
Jan 15 14:00:33 waltz pppd[724]: Exit.
Jan 15 14:00:34 waltz pptp[723]: anon log[pptp_conn_close:pptp_ctrl.c:425]: Closing PPTP connection
Jan 15 14:00:34 waltz pptp[723]: anon log[ctrlp_rep:pptp_ctrl.c:243]: Sent control packet type is 3 'Stop-Control-Connection-Request' 
Jan 15 14:00:34 waltz pptp[723]: anon log[ctrlp_disp:pptp_ctrl.c:770]: Received Stop Control Connection Request.
Jan 15 14:00:34 waltz pptp[723]: anon log[ctrlp_rep:pptp_ctrl.c:243]: Sent control packet type is 4 'Stop-Control-Connection-Reply' 
Jan 15 14:00:46 waltz pptp[748]: anon log[main:pptp.c:243]: The synchronous pptp option is NOT activated 
Jan 15 14:00:46 waltz pptp[751]: anon log[ctrlp_rep:pptp_ctrl.c:243]: Sent control packet type is 1 'Start-Control-Connection-Request' 
Jan 15 14:00:46 waltz pptp[751]: anon log[ctrlp_disp:pptp_ctrl.c:721]: Received Start Control Connection Reply
Jan 15 14:00:46 waltz pptp[751]: anon log[ctrlp_disp:pptp_ctrl.c:755]: Client connection established.
Jan 15 14:00:47 waltz pptp[751]: anon log[ctrlp_rep:pptp_ctrl.c:243]: Sent control packet type is 7 'Outgoing-Call-Request' 
Jan 15 14:00:47 waltz pptp[751]: anon log[ctrlp_disp:pptp_ctrl.c:841]: Received Outgoing Call Reply.
Jan 15 14:00:47 waltz pptp[751]: anon log[ctrlp_disp:pptp_ctrl.c:880]: Outgoing call established (call ID 0, peer's call ID 0). 
Jan 15 14:00:47 waltz pppd[752]: pppd 2.4.3 started by root, uid 0
Jan 15 14:00:47 waltz pppd[752]: Using interface ppp0
Jan 15 14:00:47 waltz pppd[752]: Connect: ppp0 <--> /dev/pts/0
Jan 15 14:00:49 waltz pppd[752]: LCP terminated by peer
Jan 15 14:00:52 waltz pppd[752]: Connection terminated.
Jan 15 14:00:52 waltz pppd[752]: Using interface ppp0
Jan 15 14:00:52 waltz pppd[752]: Connect: ppp0 <--> /dev/pts/0
Jan 15 14:00:52 waltz pppd[752]: tcflush failed: Bad file descriptor
Jan 15 14:00:53 waltz pppd[752]: tcsetattr: Invalid argument (line 1001)
Jan 15 14:00:53 waltz pppd[752]: Exit.
Jan 15 14:00:53 waltz pptp[754]: anon warn[decaps_hdlc:pptp_gre.c:197]: short read (-1): Input/output error
Jan 15 14:00:53 waltz pptp[754]: anon warn[decaps_hdlc:pptp_gre.c:209]: pppd may have shutdown, see pppd log
Jan 15 14:00:53 waltz pptp[751]: anon log[callmgr_main:pptp_callmgr.c:228]: Closing connection
Jan 15 14:00:53 waltz pptp[751]: anon log[ctrlp_rep:pptp_ctrl.c:243]: Sent control packet type is 12 'Call-Clear-Request' 
Jan 15 14:00:53 waltz pptp[751]: anon log[ctrlp_disp:pptp_ctrl.c:912]: Call disconnect notification received (call id 0)
Jan 15 14:00:53 waltz pptp[751]: anon log[ctrlp_error:pptp_ctrl.c:195]: Result code is 4 '(your) Request'. Error code is 0, Cause code is 0
Jan 15 14:00:53 waltz pptp[751]: anon log[call_callback:pptp_callmgr.c:77]: Closing connection
Jan 15 14:00:53 waltz pptp[751]: anon log[pptp_conn_close:pptp_ctrl.c:425]: Closing PPTP connection
Jan 15 14:00:53 waltz pptp[751]: anon log[ctrlp_rep:pptp_ctrl.c:243]: Sent control packet type is 3 'Stop-Control-Connection-Request' 
Jan 15 14:00:53 waltz pptp[751]: anon log[ctrlp_disp:pptp_ctrl.c:770]: Received Stop Control Connection Request.
Jan 15 14:00:53 waltz pptp[751]: anon log[ctrlp_rep:pptp_ctrl.c:243]: Sent control packet type is 4 'Stop-Control-Connection-Reply' 
Jan 15 14:10:22 waltz kernel: eth0: Autonegotiation advertising 0x5e1  partner 0x00.
Jan 15 14:10:22 waltz kernel: eth0: link down.
Jan 15 14:37:57 waltz pptp[777]: anon log[usage:pptp.c:91]: pptp called with wrong arguments, program not started.
Jan 15 14:38:15 waltz pppd[778]: unrecognized option '-v'
Jan 15 15:09:11 waltz kernel: eth0: Autonegotiation advertising 0x5e1  partner 0x00.
Jan 15 15:09:11 waltz kernel: eth0: link up.
Jan 15 15:09:12 waltz kernel: eth0: Autonegotiation advertising 0x5e1  partner 0x21.
Jan 15 15:09:12 waltz kernel: eth0: Setting half-duplex based on negotiated link capability.

__________________________________________________________
Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min.
weltweit telefonieren! http://freephone.web.de/?mc=021201



More information about the samba mailing list