From: Michael Pozhidaev <msp@altlinux.ru> To: sisyphus@lists.altlinux.org Subject: [sisyphus] Q: Бессмертный pppd для pptp Date: Thu, 09 Oct 2008 12:47:54 +0700 Message-ID: <m3vdw2gvzp.fsf@blard.localdomain> (raw) Привет всем! Использую pppd для работы через VPN. Столкнулся с тем, что через некоторый промежуток времени (всегда разный) pppd мрёт, что очень неудобно. Как можно было бы это побороть, чтобы соединение было бы постоянным и держалось бы сколь угодно долго? peer файл имеет такой вид: ipparam "tomline" debug pty "pptp 213.183.96.254 --nolaunchpppd" connect /bin/true name zzz defaultroute Вот последние сообщения в логе: Oct 9 11:58:51 blard pptp[15675]: anon log[logecho:pptp_ctrl.c:678]: no more Echo Reply/Request packets will be reported. Oct 9 12:01:03 blard clock: Setting hardware clock (localtime): Thu Oct 9 12:01:01 NOVST 2008 succeeded Oct 9 12:22:43 blard pppd[15663]: rcvd [IPCP TermReq id=0x2] Oct 9 12:22:43 blard pppd[15663]: IPCP terminated by peer Oct 9 12:22:43 blard pppd[15663]: Connect time 33.9 minutes. Oct 9 12:22:43 blard pppd[15663]: Sent 122 bytes, received 2042 bytes. Oct 9 12:22:43 blard pppd[15663]: restoring old default route to eth0 [192.168.0.1] Oct 9 12:22:43 blard pppd[15663]: Script /etc/ppp/ip-down started (pid 17913) Oct 9 12:22:43 blard pppd[15663]: sent [IPCP TermAck id=0x2] Oct 9 12:22:43 blard pppd[15663]: rcvd [LCP TermReq id=0x3] Oct 9 12:22:43 blard pppd[15663]: LCP terminated by peer Oct 9 12:22:43 blard pppd[15663]: sent [LCP TermAck id=0x3] Oct 9 12:22:43 blard pptp[15675]: anon log[pptp_read_some:pptp_ctrl.c:543]: read returned zero, peer has closed Oct 9 12:22:43 blard pptp[15675]: anon log[callmgr_main:pptp_callmgr.c:255]: Closing connection (shutdown) Oct 9 12:22:43 blard pptp[15675]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request' Oct 9 12:22:43 blard pptp[15675]: anon log[pptp_read_some:pptp_ctrl.c:543]: read returned zero, peer has closed Oct 9 12:22:43 blard pppd[15663]: Modem hangup Oct 9 12:22:43 blard pppd[15663]: Connection terminated. Oct 9 12:22:43 blard pptp[15675]: anon log[call_callback:pptp_callmgr.c:78]: Closing connection (call state) Oct 9 12:22:43 blard pppd[15663]: Script pptp 213.183.96.254 --nolaunchpppd finished (pid 15665), status = 0x0 Oct 9 12:22:43 blard pppd[15663]: Waiting for 1 child processes... Oct 9 12:22:43 blard pppd[15663]: script /etc/ppp/ip-down, pid 17913 Oct 9 12:22:44 blard pppd[15663]: Script /etc/ppp/ip-down finished (pid 17913), status = 0x1 Oct 9 12:22:44 blard pppd[15663]: Exit. -- С уважением и наилучшими пожеланиями, Михаил Пожидаев. E-mail: msp@altlinux.ru. Томский государственный университет. Факультет информатики. http://www.csd.tsu.ru ALT Linux Team. http://www.altlinux.ru
next reply other threads:[~2008-10-09 5:47 UTC|newest] Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-10-09 5:47 Michael Pozhidaev [this message] 2008-10-09 6:45 ` Michael A. Kangin 2008-10-09 6:49 ` Michael Pozhidaev 2008-10-09 6:59 ` Michael A. Kangin 2008-10-09 7:17 ` Michael Pozhidaev 2008-10-09 7:16 ` Mykola S. Grechukh 2008-10-09 7:40 ` Michael Pozhidaev 2008-10-09 9:45 ` Alexander Volkov 2008-10-09 10:24 ` Vitaly Ostanin 2008-10-09 11:09 ` Michael Pozhidaev 2008-10-09 11:57 ` Vitaly Ostanin 2008-10-19 14:28 ` Michael Shigorin 2008-10-09 10:34 ` Denis Klimov 2008-10-09 11:23 ` Alexander Volkov 2008-10-09 12:45 ` Ivan A. Melnikov 2008-10-09 15:02 ` Andrey Rahmatullin 2008-10-09 14:42 ` Mike Almateia 2008-10-09 17:26 ` Michael Pozhidaev 2008-10-10 5:14 ` Ildar Mulyukov 2008-10-10 19:13 ` Vitaly Ostanin 2008-10-13 15:06 ` Mike Almateia 2008-10-13 18:17 ` Michael Pozhidaev
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=m3vdw2gvzp.fsf@blard.localdomain \ --to=msp@altlinux.ru \ --cc=sisyphus@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git