Добрый вечер!
Буду рад, если кто-нибудь мне поможет.Очередной раз сталкиваюсь с проблемами.
Поставил pptpd-1.1.4-b4 и ppp-2.4.2-b3.
В логах вот что:
Apr 22 22:41:54 localhost pptpd[15138]: CTRL: Client 192.168.2.222 control connection started
Apr 22 22:41:54 localhost pptpd[15138]: CTRL: Starting call (launching pppd, opening GRE)
Apr 22 22:41:54 localhost pppd[15139]: pppd 2.4.2b3 started by root, uid 0
Apr 22 22:41:54 localhost kernel: divert: not allocating divert_blk for non-ethernet device ppp0
Apr 22 22:41:54 localhost pppd[15139]: Using interface ppp0
Apr 22 22:41:54 localhost pppd[15139]: Connect: ppp0 <--> /dev/pts/1
Apr 22 22:41:54 localhost pptpd[15138]: GRE: read(fd=6,buffer=8055600,len=8260) from network failed: status = -1 error = Protocol not available
Apr 22 22:41:54 localhost pptpd[15138]: CTRL: GRE-tunnel has collapsed (GRE read or PTY write failed (gre,pty)=(6,5))
Apr 22 22:41:54 localhost pptpd[15138]: CTRL: Client 192.168.2.222 control connection finished
Apr 22 22:41:54 localhost pppd[15139]: Terminating on signal 2.
Apr 22 22:41:54 localhost pppd[15139]: Modem hangup
Apr 22 22:41:54 localhost pppd[15139]: Connection terminated.
Apr 22 22:41:54 localhost kernel: divert: no divert_blk to free, ppp0 not ethernet
Apr 22 22:41:54 localhost pppd[15139]: Exit.
Apr 22 22:41:54 localhost /etc/hotplug/net.agent: assuming ppp0 is already up
Apr 22 22:41:54 localhost /etc/hotplug/net.agent: NET unregister event not supportedlsmod говорит вот что:
Module Size Used by Not tainted
ppp_deflate 4128 0 (autoclean)
zlib_deflate 21504 0 (autoclean) [ppp_deflate]
ppp_async 8512 0 (autoclean)
ppp_generic 26796 0 (autoclean) [ppp_deflate ppp_async]
slhc 6420 0 (autoclean) [ppp_generic]ядро - 2.4.20-28.7smp
>Добрый вечер!
>Буду рад, если кто-нибудь мне поможет.
>
>Очередной раз сталкиваюсь с проблемами.
>Поставил pptpd-1.1.4-b4 и ppp-2.4.2-b3.
>В логах вот что:
>Apr 22 22:41:54 localhost pptpd[15138]: CTRL: Client 192.168.2.222 control connection started
>Apr 22 22:41:54 localhost pptpd[15138]: CTRL: Starting call (launching pppd, opening GRE)
>
>Apr 22 22:41:54 localhost pppd[15139]: pppd 2.4.2b3 started by root, uid 0
>
>Apr 22 22:41:54 localhost kernel: divert: not allocating divert_blk for non-ethernet device
>ppp0
>Apr 22 22:41:54 localhost pppd[15139]: Using interface ppp0
>Apr 22 22:41:54 localhost pppd[15139]: Connect: ppp0 <--> /dev/pts/1
>Apr 22 22:41:54 localhost pptpd[15138]: GRE: read(fd=6,buffer=8055600,len=8260) from network failed: status =
>-1 error = Protocol not available
>Apr 22 22:41:54 localhost pptpd[15138]: CTRL: GRE-tunnel has collapsed (GRE read or
>PTY write failed (gre,pty)=(6,5))
>Apr 22 22:41:54 localhost pptpd[15138]: CTRL: Client 192.168.2.222 control connection finished
>Apr 22 22:41:54 localhost pppd[15139]: Terminating on signal 2.
>Apr 22 22:41:54 localhost pppd[15139]: Modem hangup
>Apr 22 22:41:54 localhost pppd[15139]: Connection terminated.
>Apr 22 22:41:54 localhost kernel: divert: no divert_blk to free, ppp0 not
>ethernet
>Apr 22 22:41:54 localhost pppd[15139]: Exit.
>Apr 22 22:41:54 localhost /etc/hotplug/net.agent: assuming ppp0 is already up
>Apr 22 22:41:54 localhost /etc/hotplug/net.agent: NET unregister event not supported
>
>lsmod говорит вот что:
>Module
> Size Used by
> Not tainted
>ppp_deflate
> 4128 0 (autoclean)
>zlib_deflate 21504
> 0 (autoclean) [ppp_deflate]
>ppp_async
> 8512 0 (autoclean)
>ppp_generic
>26796 0 (autoclean) [ppp_deflate ppp_async]
>slhc
> 6420
>0 (autoclean) [ppp_generic]
>
>ядро - 2.4.20-28.7smp
поддержка gre-туннелей в кернеле есть? если есть в виде модуля, то modprobe ip_gre. Если не помогает - смотреть в сторону firewall
>поддержка gre-туннелей в кернеле есть? если есть в виде модуля, то
>modprobe ip_gre. Если не помогает - смотреть в сторону firewallmodprobe ip_gre сделал...
только вот теперь вот такое чудо:
иногда соединяется нормально, иногда - вот такое:
Apr 24 22:00:52 localhost pptpd[9472]: CTRL: Client 192.168.2.222 control connection started
Apr 24 22:00:52 localhost pptpd[9472]: CTRL: Starting call (launching pppd, opening GRE)
Apr 24 22:00:52 localhost kernel: CSLIP: code copyright 1989 Regents of the University of California
Apr 24 22:00:52 localhost kernel: PPP: version 2.3.7 (demand dialling)
Apr 24 22:00:52 localhost kernel: PPP line discipline registered.
Apr 24 22:00:52 localhost kernel: registered device ppp0
Apr 24 22:00:52 localhost pppd[9473]: pppd 2.3.11 started by root, uid 0
Apr 24 22:00:52 localhost pppd[9473]: Using interface ppp0
Apr 24 22:00:52 localhost pppd[9473]: Connect: ppp0 <--> /dev/pts/1
Apr 24 22:01:22 localhost pppd[9473]: LCP: timeout sending Config-Requests
Apr 24 22:01:29 localhost pppd[9473]: Modem hangup
Apr 24 22:01:29 localhost pppd[9473]: Connection terminated.
Apr 24 22:01:29 localhost pppd[9473]: Exit.
Apr 24 22:01:29 localhost pptpd[9472]: CTRL: Client 192.168.2.222 control connection finishedдайте бубен... :)