Pptp Client Automatically Disconnected After Some Time

Home » CentOS » Pptp Client Automatically Disconnected After Some Time
CentOS 4 Comments

Hi,

I configured pptp client and it connected successfully. but after sometimes it automatically got disconnected.

/var/log/messages :

Jul 15 15:29:19 ahc151l pppd[4725]: pppd 2.4.5 started by root, uid 0
Jul 15 15:29:19 ahc151l pppd[4725]: Using interface ppp0
Jul 15 15:29:19 ahc151l pppd[4725]: Connect: ppp0 <--> /dev/pts/2
Jul 15 15:29:19 ahc151l NetworkManager[852]: (ppp0): new Generic device (driver: ‘unknown’ ifindex: 19)
Jul 15 15:29:19 ahc151l NetworkManager[852]: (ppp0): exported as
/org/freedesktop/NetworkManager/Devices/18
Jul 15 15:29:19 ahc151l pptp[4727]: anon log[main:pptp.c:333]: The synchronous pptp option is NOT activated Jul 15 15:29:19 ahc151l pptp[4736]: anon log[ctrlp_rep:pptp_ctrl.c:254]:
Sent control packet type is 1 ‘Start-Control-Connection-Request’
Jul 15 15:29:19 ahc151l pptp[4736]: anon log[ctrlp_disp:pptp_ctrl.c:754]:
Received Start Control Connection Reply Jul 15 15:29:19 ahc151l pptp[4736]: anon log[ctrlp_disp:pptp_ctrl.c:788]:
Client connection established. Jul 15 15:29:20 ahc151l pptp[4736]: anon log[ctrlp_rep:pptp_ctrl.c:254]:
Sent control packet type is 7 ‘Outgoing-Call-Request’
Jul 15 15:29:20 ahc151l pptp[4736]: anon log[ctrlp_disp:pptp_ctrl.c:873]:
Received Outgoing Call Reply. Jul 15 15:29:20 ahc151l pptp[4736]: anon log[ctrlp_disp:pptp_ctrl.c:912]:
Outgoing call established (call ID 0, peer’s call ID 50663). Jul 15 15:29:20 ahc151l pptp[4736]: anon log[ctrlp_disp:pptp_ctrl.c:976]:
PPTP_SET_LINK_INFO received from peer_callid 38835
Jul 15 15:29:20 ahc151l pptp[4736]: anon log[ctrlp_disp:pptp_ctrl.c:979]:
send_accm is 00000000, recv_accm is FFFFFFFF
Jul 15 15:29:20 ahc151l pptp[4736]: anon warn[ctrlp_disp:pptp_ctrl.c:982]:
Non-zero Async Control Character Maps are not supported!
Jul 15 15:29:20 ahc151l pppd[4725]: Warning – secret file
/etc/ppp/chap-secrets has world and/or group access Jul 15 15:29:20 ahc151l pppd[4725]: CHAP authentication succeeded Jul 15 15:29:20 ahc151l pppd[4725]: MPPE 128-bit stateless compression enabled Jul 15 15:29:22 ahc151l pppd[4725]: local IP address 192.168.9.106
Jul 15 15:29:22 ahc151l pppd[4725]: remote IP address 192.168.9.100

Jul 15 15:30:01 ahc151l systemd: Starting Session 38 of user root.

Jul 15 15:30:01 ahc151l systemd: Started Session 38 of user root.

Jul 15 15:30:19 ahc151l pptp[4736]: anon log[logecho:pptp_ctrl.c:692]: Echo Request received. Jul 15 15:30:19 ahc151l pptp[4736]: anon log[ctrlp_rep:pptp_ctrl.c:254]:
Sent control packet type is 6 ‘Echo-Reply’
Jul 15 15:30:39 ahc151l gnome-session: (gnome-shell:2148): St-CRITICAL **:
st_label_set_text: assertion `text != NULL’ failed Jul 15 15:31:19 ahc151l pptp[4736]: anon log[logecho:pptp_ctrl.c:692]: Echo Request received. Jul 15 15:31:19 ahc151l pptp[4736]: anon log[ctrlp_rep:pptp_ctrl.c:254]:
Sent control packet type is 6 ‘Echo-Reply’
Jul 15 15:32:19 ahc151l pptp[4736]: anon log[logecho:pptp_ctrl.c:692]: Echo Request received. Jul 15 15:32:19 ahc151l pptp[4736]: anon log[ctrlp_rep:pptp_ctrl.c:254]:
Sent control packet type is 6 ‘Echo-Reply’
Jul 15 15:32:19 ahc151l pptp[4736]: anon log[logecho:pptp_ctrl.c:692]: Echo Reply received. Jul 15 15:33:19 ahc151l pptp[4736]: anon log[logecho:pptp_ctrl.c:692]: Echo Reply received. Jul 15 15:34:19 ahc151l pptp[4736]: anon log[logecho:pptp_ctrl.c:692]: Echo Reply received. Jul 15 15:34:24 ahc151l pptp[4727]: anon log[decaps_gre:pptp_gre.c:427]:
buffering packet 311 (expecting 310, lost or reordered)
Jul 15 15:34:38 ahc151l gnome-session: (gnome-shell:2148): St-CRITICAL **:
st_label_set_text: assertion `text != NULL’ failed Jul 15 15:35:19 ahc151l pptp[4736]: anon log[logecho:pptp_ctrl.c:692]: Echo Reply received. Jul 15 15:36:19 ahc151l pptp[4736]: anon log[logecho:pptp_ctrl.c:692]: Echo Reply received. Jul 15 15:37:19 ahc151l pptp[4736]: anon log[logecho:pptp_ctrl.c:692]: Echo Reply received. Jul 15 15:38:20 ahc151l pptp[4736]: anon log[logecho:pptp_ctrl.c:692]: Echo Reply received. Jul 15 15:38:20 ahc151l pptp[4736]: anon log[logecho:pptp_ctrl.c:694]: no more Echo Reply/Request packets will be reported. Jul 15 15:38:38 ahc151l gnome-session: (gnome-shell:2148): St-CRITICAL **:
st_label_set_text: assertion `text != NULL’ failed Jul 15 15:40:01 ahc151l systemd: Starting Session 39 of user root. Jul 15 15:40:01 ahc151l systemd: Started Session 39 of user root. Jul 15 15:42:38 ahc151l gnome-session: (gnome-shell:2148): St-CRITICAL **:
st_label_set_text: assertion `text != NULL’ failed Jul 15 15:44:21 ahc151l gnome-session: (process:5993): GLib-CRITICAL **:
g_slice_set_config: assertion `sys_page_size == 0′ failed Jul 15 15:50:01 ahc151l systemd: Starting Session 40 of user root. Jul 15 15:50:01 ahc151l systemd: Started Session 40 of user root. Jul 15 15:50:37 ahc151l gnome-session: NOTE: child process received
`Goodbye’, closing down

what could be wrong.? I can see some other gnome-session null failed messages and sytemd session 40 of user root.

Is there any other issues?

I just installed CentOS 7 64 bit

Regards Ben

4 thoughts on - Pptp Client Automatically Disconnected After Some Time

  • Hi,

    i tried with CentOS 6.5, but got same issue and same log in
    /var/log/messages. Connection happening successfully but after some time, it hang up and not working.

    Please suggest me to resolve this weird problem.

    Regards Ben

  • keep-alive “icp-echo-*” at pptp-client end ?

    means i need to add this option on my client pc in /etc/ppp/options.pptp ?

    Thx

  • 2014-07-18 4:05 GMT+03:00 Benjamin Fernandis :

    Read the docs. Options might be like lcp-echo-interval VALUE and lcp-echo-failure VALUE

    pptp protocol is unsafe, you should avoid using it..