ALT Linux Community general discussions
 help / color / mirror / Atom feed
* Re: [Comm] VPN - замучился !!! (Alexei V. Mezin)
@ 2008-02-23 17:07 Александр В. Макаров
  2008-02-23 17:29 ` Alexei V. Mezin
  2008-02-23 18:08 ` [Comm] VPN - замучился !!! (Alexei V. Mezin) Sergey Vlasov
  0 siblings, 2 replies; 6+ messages in thread
From: Александр В. Макаров @ 2008-02-23 17:07 UTC (permalink / raw)
  To: community

Alexei V. Mezin пишет:

>  И я еще раз прошу показать вывод команды tail -50 /var/log/messages
>  сразу после комманд ifdown ppp20;ifup ppp20

tail -50 /var/log/messages

Feb 23 19:58:14 makarov90 kernel: QEMU Accelerator Module version 1.3.0, Copyrig
ht (c) 2005-2007 Fabrice Bellard
Feb 23 19:58:14 makarov90 kernel: KQEMU installed, max_locked_mem=778080kB.
Feb 23 19:58:14 makarov90 kqemu: Loading QEMU accelerator module (kqemu): succee
ded
Feb 23 19:58:15 makarov90 configd: alterator startup succeeded
Feb 23 19:58:16 makarov90 httpd2.prefork: httpd2.prefork: Could not reliably det
ermine the server's fully qualified domain name, using 127.0.0.1 for ServerName
Feb 23 19:58:16 makarov90 xinetd[4396]: 4396 {init_services} no services. Exitin
g...
Feb 23 19:58:16 makarov90 httpd-alterator: httpd2.prefork startup succeeded
Feb 23 19:58:17 makarov90 lircd-0.8.1[5114]: lircd(userspace) ready
Feb 23 19:58:17 makarov90 lircd: lircd startup succeeded
Feb 23 19:58:17 makarov90 lircd-0.8.1[5114]: accepted new client on /dev/lircd
Feb 23 19:58:17 makarov90 lircd-0.8.1[5114]: could not get file information for
/dev/lirc
Feb 23 19:58:17 makarov90 lircd-0.8.1[5114]: default_init(): No such file or dir
ectory
Feb 23 19:58:17 makarov90 lircd-0.8.1[5114]: caught signal
Feb 23 19:58:17 makarov90 lircd: lircmd startup succeeded
Feb 23 19:58:17 makarov90 wine: WINE: Registering binary handler for Windows pro
gram:
Feb 23 19:58:17 makarov90 wine: ^[[73G[
Feb 23 19:58:17 makarov90 rc: Starting wine: succeeded
Feb 23 19:58:44 makarov90 pptp[2266]: anon log[logecho:pptp_ctrl.c:676]: Echo Re
ply received.
Feb 23 19:59:44 makarov90 pptp[2266]: anon log[logecho:pptp_ctrl.c:676]: Echo Re
ply received.
Feb 23 20:00:29 makarov90 pppd[2279]: Terminating on signal 15
Feb 23 20:00:29 makarov90 pppd[2279]: Connect time 2.7 minutes.
Feb 23 20:00:29 makarov90 pppd[2279]: Sent 847 bytes, received 279 bytes.
Feb 23 20:00:29 makarov90 pppd[2279]: restoring old default route to eth0 [192.1
68.33.1]
Feb 23 20:00:29 makarov90 pppd[2279]: Connection terminated.
Feb 23 20:00:29 makarov90 pptp[2256]: anon warn[decaps_hdlc:pptp_gre.c:197]: sho
rt read (-1): Input/output error
Feb 23 20:00:29 makarov90 pptp[2256]: anon warn[decaps_hdlc:pptp_gre.c:209]: ppp
d may have shutdown, see pppd log
Feb 23 20:00:29 makarov90 pptp[2266]: anon log[callmgr_main:pptp_callmgr.c:231]:
 Closing connection (unhandled)
Feb 23 20:00:29 makarov90 pptp[2266]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent
control packet type is 12 'Call-Clear-Request'
Feb 23 20:00:29 makarov90 pptp[2266]: anon log[call_callback:pptp_callmgr.c:78]:
 Closing connection (call state)
Feb 23 20:00:29 makarov90 pppd[2279]: Script /etc/ppp/ip-down finished (pid 5462
), status = 0x1
Feb 23 20:00:34 makarov90 pppd[2279]: Exit.
Feb 23 20:00:41 makarov90 pppd[5564]: pppd 2.4.4 started by root, uid 0
Feb 23 20:00:41 makarov90 pptp[5565]: anon log[main:pptp.c:267]: The synchronous
 pptp option is NOT activated
Feb 23 20:00:41 makarov90 pppd[5564]: Using interface ppp20
Feb 23 20:00:41 makarov90 pppd[5564]: Connect: ppp20 <--> /dev/pts/0
Feb 23 20:00:41 makarov90 pptp[5569]: anon
log[ctrlp_rep:pptp_ctrl.c:251]: Sent

                                                  control packet type
is 1 'Start-Control-Connection-Request'
Feb 23 20:00:41 makarov90 pptp[5569]: anon
log[ctrlp_disp:pptp_ctrl.c:738]: Rece

                                                  ived Start Control
Connection Reply
Feb 23 20:00:41 makarov90 pptp[5569]: anon
log[ctrlp_disp:pptp_ctrl.c:772]: Clie

                                                  nt connection
established.
Feb 23 20:00:42 makarov90 pptp[5569]: anon
log[ctrlp_rep:pptp_ctrl.c:251]: Sent

                                                  control packet type
is 7 'Outgoing-Call-Request'
Feb 23 20:00:42 makarov90 pptp[5569]: anon
log[ctrlp_disp:pptp_ctrl.c:857]: Rece

                                                  ived Outgoing Call
Reply.
Feb 23 20:00:42 makarov90 pptp[5569]: anon
log[ctrlp_disp:pptp_ctrl.c:896]: Outg

                                                  oing call
established (call ID 0, peer's call ID 62976).
Feb 23 20:00:45 makarov90 pppd[5564]: EAP: Identity prompt "Name"
Feb 23 20:00:45 makarov90 pppd[5564]: EAP: Identity prompt "Name"
Feb 23 20:00:45 makarov90 pppd[5564]: EAP authentication succeeded
Feb 23 20:00:45 makarov90 pppd[5564]: Deflate (15) compression enabled
Feb 23 20:00:45 makarov90 pppd[5564]: replacing old default route to
eth0 [192.1

                        68.33.1]
Feb 23 20:00:45 makarov90 pppd[5564]: local  IP address 10.168.33.95
Feb 23 20:00:45 makarov90 pppd[5564]: remote IP address 10.168.0.5
Feb 23 20:00:45 makarov90 pppd[5570]: Script /etc/ppp/ip-up finished
(pid 5571),

                         status = 0x0
Feb 23 20:00:48 makarov90 pppd[5570]: Deflate (15) compression enabled

-- 
С Уважением, Александр Макаров!
5234378@gmail.com

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

* Re: [Comm] VPN - замучился !!! (Alexei V. Mezin)
  2008-02-23 17:07 [Comm] VPN - замучился !!! (Alexei V. Mezin) Александр В. Макаров
@ 2008-02-23 17:29 ` Alexei V. Mezin
  2008-02-23 17:57   ` Vyatcheslav Perevalov
  2008-02-23 18:08 ` [Comm] VPN - замучился !!! (Alexei V. Mezin) Sergey Vlasov
  1 sibling, 1 reply; 6+ messages in thread
From: Alexei V. Mezin @ 2008-02-23 17:29 UTC (permalink / raw)
  To: ALT Linux Community general discussions

Александр В. Макаров пишет:

> Feb 23 20:00:45 makarov90 pppd[5564]: replacing old default route to
> eth0 [192.1
> 
>                         68.33.1]
> Feb 23 20:00:45 makarov90 pppd[5564]: local  IP address 10.168.33.95
> Feb 23 20:00:45 makarov90 pppd[5564]: remote IP address 10.168.0.5

Согласно логам все работает. Выставьте параметр ONBOOT в значение no для 
ppp20, перезагрузите компьютер, и покажите вывод команд ifconfig и route 
-n, затем сделайте ifup ppp20 и снова покажите route -n.


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

* Re: [Comm] VPN - замучился !!! (Alexei V. Mezin)
  2008-02-23 17:29 ` Alexei V. Mezin
@ 2008-02-23 17:57   ` Vyatcheslav Perevalov
  2008-02-23 18:36     ` Alexei V. Mezin
  2008-02-23 19:38     ` [Comm] а штатно настроить этот VPN не пробовали? Michael Shigorin
  0 siblings, 2 replies; 6+ messages in thread
From: Vyatcheslav Perevalov @ 2008-02-23 17:57 UTC (permalink / raw)
  To: alex783, ALT Linux Community general discussions

В сообщении от 23 февраля 2008 Alexei V. Mezin написал(a):
> > Feb 23 20:00:45 makarov90 pppd[5564]: replacing old default route to
> > eth0 [192.1
> >
> >                         68.33.1]
> > Feb 23 20:00:45 makarov90 pppd[5564]: local  IP address 10.168.33.95
> > Feb 23 20:00:45 makarov90 pppd[5564]: remote IP address 10.168.0.5
>
> Согласно логам все работает. Выставьте параметр ONBOOT в значение no для
> ppp20, перезагрузите компьютер, и покажите вывод команд ifconfig и route
> -n, затем сделайте ifup ppp20 и снова покажите route -n.


Меня смутила вот эта строка:
Feb 23 20:00:45 makarov90 pppd[5564]: replacing old default route to eth0
[192.168.33.1]


-- 
Всего хорошего
		/vip

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

* Re: [Comm] VPN - замучился !!! (Alexei V. Mezin)
  2008-02-23 17:07 [Comm] VPN - замучился !!! (Alexei V. Mezin) Александр В. Макаров
  2008-02-23 17:29 ` Alexei V. Mezin
@ 2008-02-23 18:08 ` Sergey Vlasov
  1 sibling, 0 replies; 6+ messages in thread
From: Sergey Vlasov @ 2008-02-23 18:08 UTC (permalink / raw)
  To: community

[-- Attachment #1: Type: text/plain, Size: 268 bytes --]

On Sat, Feb 23, 2008 at 08:07:55PM +0300, Александр В. Макаров wrote:
> Feb 23 20:00:48 makarov90 pppd[5570]: Deflate (15) compression enabled

Попробуйте добавить в опции pppd (в файл pppoptions) параметр
nodeflate - возможно, сжатие обрабатывается некорректно.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [Comm] VPN - замучился !!! (Alexei V. Mezin)
  2008-02-23 17:57   ` Vyatcheslav Perevalov
@ 2008-02-23 18:36     ` Alexei V. Mezin
  2008-02-23 19:38     ` [Comm] а штатно настроить этот VPN не пробовали? Michael Shigorin
  1 sibling, 0 replies; 6+ messages in thread
From: Alexei V. Mezin @ 2008-02-23 18:36 UTC (permalink / raw)
  To: ALT Linux Community general discussions

Vyatcheslav Perevalov пишет:

 > Меня смутила вот эта строка:
 > Feb 23 20:00:45 makarov90 pppd[5564]: replacing old default route to eth0
 > [192.168.33.1]
 >
 >
Это как раз правильно, ибо при установке VPN именно через новый канал и 
должен пойти маршрут по умолчанию (в интернет). А после разрыва 
соединения должен восстановиться старый маршрут по умолчанию. И в логах 
как раз это отображено. Однако, в ранее приведенном выводе route шлюз 
установлен неверно :(


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

* [Comm] а штатно настроить этот VPN не пробовали?
  2008-02-23 17:57   ` Vyatcheslav Perevalov
  2008-02-23 18:36     ` Alexei V. Mezin
@ 2008-02-23 19:38     ` Michael Shigorin
  1 sibling, 0 replies; 6+ messages in thread
From: Michael Shigorin @ 2008-02-23 19:38 UTC (permalink / raw)
  To: ALT Linux Community general discussions

On Sat, Feb 23, 2008 at 11:57:42PM +0600, Vyatcheslav Perevalov wrote:
> > Согласно логам все работает. Выставьте параметр ONBOOT в
> > значение no для ppp20, перезагрузите компьютер, и покажите
> > вывод команд ifconfig и route -n, затем сделайте ifup ppp20 и
> > снова покажите route -n.
> Меня смутила вот эта строка:
> Feb 23 20:00:45 makarov90 pppd[5564]: replacing old default
> route to eth0 [192.168.33.1]

Здесь грабли бывают из описанных здесь:
http://wiki.sisyphus.ru/admin/etcnet#vpn

Это, кстати, учтено в alterator-net-pptp 0.5.2.
Именно его и советую применять для настройки PPTP.

Повторюсь:
http://faq.altlinux.ru/index.php?action=single&nf=1&qid=950

Все нужные пакеты доступны в 4.0/branch.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


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

end of thread, other threads:[~2008-02-23 19:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-23 17:07 [Comm] VPN - замучился !!! (Alexei V. Mezin) Александр В. Макаров
2008-02-23 17:29 ` Alexei V. Mezin
2008-02-23 17:57   ` Vyatcheslav Perevalov
2008-02-23 18:36     ` Alexei V. Mezin
2008-02-23 19:38     ` [Comm] а штатно настроить этот VPN не пробовали? Michael Shigorin
2008-02-23 18:08 ` [Comm] VPN - замучился !!! (Alexei V. Mezin) Sergey Vlasov

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