ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Опять VPN
@ 2006-01-15 17:54 Терешков Евгений
  2006-01-16  4:13 ` Evgenii Terechkov
  2006-01-17 12:04 ` ABATAPA
  0 siblings, 2 replies; 5+ messages in thread
From: Терешков Евгений @ 2006-01-15 17:54 UTC (permalink / raw)
  To: ALT Linux Community


Не успел ещё разобраться, как правильно поднимать vpn (никто в рассылке ещё
не ответил), как опять трабл возник. Выяснилось, что не поднимается
pptp-vpn через pptp-vpn.

Дело такое: был у меня инет по момеду и vpn до одной машины
(/e/s/n/ifcfg-pptp0 и файлик в /e/p/peers, пусть будет [1] ). Это
соединение было прописано в /e/s/pptp и поднималось командой "servive
pptptunnel start". Нормально работало.

Сейчас подключился к местному ethernet-провайдеру (пусть будет [2]) и в
инет хожу через pptp-соединение с его машиной (тоже файлы
/e/s/n/ifcfg-pptp1 и в peers). Прописал в /e/s/pptp и соединение
поднимается при загрузке. Работает достаточно стабильно.

Но надо vpn [1] поднимать иногда тоже. Пытался сделать это так:
1)
#ifup pptp0

Не получается, интерфейс не поднимается и оно ругается на что-то
непонятное в логе (ifup вообще-то завершается с нулевым кодом возврата):

======================================================================
Jan 16 00:21:14 evg pppd[14426]: pppd 2.4.2 started by root, uid 0
Jan 16 00:21:14 evg pptp[14427]: anon log[main:pptp.c:243]: The synchronous pptp option is NOT activated
Jan 16 00:21:14 evg pppd[14426]: Serial connection established.
Jan 16 00:21:14 evg pptp[14430]: anon log[ctrlp_rep:pptp_ctrl.c:243]: Sent control packet type is 1 'Start-Control-Connection-Request'
Jan 16 00:21:14 evg pppd[14426]: using channel 3
Jan 16 00:21:14 evg pppd[14426]: Using interface ppp1
Jan 16 00:21:14 evg pppd[14426]: Connect: ppp1 <--> /dev/pts/2
Jan 16 00:21:14 evg pptp[14430]: anon log[ctrlp_disp:pptp_ctrl.c:721]: Received Start Control Connection Reply
Jan 16 00:21:14 evg pptp[14430]: anon log[ctrlp_disp:pptp_ctrl.c:755]: Client connection established.
Jan 16 00:21:15 evg pptp[14430]: anon log[ctrlp_rep:pptp_ctrl.c:243]: Sent control packet type is 7 'Outgoing-Call-Request'
Jan 16 00:21:15 evg pptp[14430]: anon log[ctrlp_disp:pptp_ctrl.c:841]: Received Outgoing Call Reply.
Jan 16 00:21:15 evg pptp[14430]: anon log[ctrlp_disp:pptp_ctrl.c:845]: PPTP_OUT_CALL_RPLY received for non-existant call: peer call ID (us)  56635 call ID (them) 0.
Jan 16 00:21:15 evg pppd[14426]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xf4193b8b> <pcomp> <accomp>]
Jan 16 00:21:18 evg pppd[14426]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xf4193b8b> <pcomp> <accomp>]
Jan 16 00:21:21 evg pppd[14426]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xf4193b8b> <pcomp> <accomp>]
Jan 16 00:21:24 evg pppd[14426]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xf4193b8b> <pcomp> <accomp>]
Jan 16 00:21:27 evg pppd[14426]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xf4193b8b> <pcomp> <accomp>]
Jan 16 00:21:30 evg pppd[14426]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xf4193b8b> <pcomp> <accomp>]
Jan 16 00:21:33 evg pppd[14426]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xf4193b8b> <pcomp> <accomp>]
Jan 16 00:21:36 evg pppd[14426]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xf4193b8b> <pcomp> <accomp>]
Jan 16 00:21:39 evg pppd[14426]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xf4193b8b> <pcomp> <accomp>]
Jan 16 00:21:42 evg pppd[14426]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xf4193b8b> <pcomp> <accomp>]
Jan 16 00:21:45 evg pppd[14426]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xf4193b8b> <pcomp> <accomp>]
Jan 16 00:21:48 evg pppd[14426]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xf4193b8b> <pcomp> <accomp>]
Jan 16 00:21:51 evg pppd[14426]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xf4193b8b> <pcomp> <accomp>]
Jan 16 00:21:54 evg pppd[14426]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xf4193b8b> <pcomp> <accomp>]
Jan 16 00:21:57 evg pppd[14426]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xf4193b8b> <pcomp> <accomp>]
Jan 16 00:22:00 evg pppd[14426]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xf4193b8b> <pcomp> <accomp>]
Jan 16 00:22:03 evg pppd[14426]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xf4193b8b> <pcomp> <accomp>]
Jan 16 00:22:06 evg pppd[14426]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xf4193b8b> <pcomp> <accomp>]
Jan 16 00:22:09 evg pppd[14426]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xf4193b8b> <pcomp> <accomp>]
Jan 16 00:22:12 evg pppd[14426]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xf4193b8b> <pcomp> <accomp>]
Jan 16 00:22:15 evg pptp[14430]: anon log[ctrlp_rep:pptp_ctrl.c:243]: Sent control packet type is 5 'Echo-Request'
Jan 16 00:22:15 evg pptp[14430]: anon log[ctrlp_rep:pptp_ctrl.c:243]: Sent control packet type is 12 'Call-Clear-Request'
Jan 16 00:22:15 evg pptp[14430]: anon log[logecho:pptp_ctrl.c:659]: Echo Reply received.
Jan 16 00:22:15 evg pppd[14426]: LCP: timeout sending Config-Requests
Jan 16 00:22:15 evg pppd[14426]: Connection terminated.
Jan 16 00:22:15 evg pptp[14430]: anon log[ctrlp_disp:pptp_ctrl.c:912]: Call disconnect notification received (call id 0)
Jan 16 00:22:15 evg pptp[14430]: anon log[ctrlp_error:pptp_ctrl.c:195]: Result code is 4 '(your) Request'. Error code is 0, Cause code is 0
Jan 16 00:22:15 evg pptp[14430]: anon log[call_callback:pptp_callmgr.c:77]: Closing connection
Jan 16 00:22:15 evg pppd[14426]: disconnect script failed
Jan 16 00:22:15 evg pppd[14426]: Waiting for 1 child processes...
Jan 16 00:22:15 evg pppd[14426]:   script /usr/sbin/pptp 80.91.199.26 --nolaunchpppd , pid 14427
Jan 16 00:22:15 evg pppd[14426]: Child process /usr/sbin/pptp 80.91.199.26 --nolaunchpppd  (pid 14427) terminated with signal 15
Jan 16 00:22:15 evg pppd[14426]: Exit.
Jan 16 00:22:15 evg ifup-pptp: PPTP tunnel to 80.91.199.26 startup for pptp0 failed
Jan 16 00:22:17 evg pptp[14430]: anon log[pptp_conn_close:pptp_ctrl.c:425]: Closing PPTP connection
Jan 16 00:22:17 evg pptp[14430]: anon log[ctrlp_rep:pptp_ctrl.c:243]: Sent control packet type is 3 'Stop-Control-Connection-Request'
Jan 16 00:22:17 evg pptp[14430]: anon log[pptp_read_some:pptp_ctrl.c:534]: read error: Connection reset by peer
======================================================================

2)
#pppd call vpn_1

pppd ругается на консоль: "pppd: pty option precludes specifying device
name", завершается с кодом 2 и в лог то же, что и в случае с ifup пишет.


Кто нидудь делал такое? Это возможно? Или я что-то не так делаю?



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-01-18 10:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-15 17:54 [Comm] Опять VPN Терешков Евгений
2006-01-16  4:13 ` Evgenii Terechkov
2006-01-17 12:04 ` ABATAPA
2006-01-17 12:17   ` Evgenii Terechkov
2006-01-18 10:30     ` ABATAPA

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git