[Comm] настройка VPN через eth0

Ilya Kirov =?iso-8859-1?q?xinu_=CE=C1_pochtamt=2Eru?=
Чт Окт 17 20:03:08 MSD 2002


16 Октябрь 2002 10:21, Anton V. Boyarshinov написал:

> >
> > [user на linux peers]# cat /etc/ppp/peers__default
> > #
> > # PPTP Tunnel configuration for tunnel vasia
> > # Server IP: 10.0.175.1
> > # Route: 10.0.175.1
>
> Скорее всего вот тут. Поставьте правильный route. После подъёма

хм, это меня и пугает... что сюда поставить? какого вида адрес должен быть?

блин, эти 10.0.175.* меня совсем с толку сбили

> ppp0 у вас появляется ещё один IP адрес и route должен указывать

это понятно, алгоритм я понял, но ppp0 если и появляется (по ifconfig), то 
вида:

ppp0      Link encap:Point-to-Point Protocol
          POINTOPOINT NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

и всё

> на тот remote IP adress, который появляется в логах при
> соединении.
>
> Кстати, если бы вы привели логи, то ответить было бы проще и не
> пришлось бы гадать. Но, тем не менее, скорее всего проблема
> именно в этом.

ага, не пойму, что хочет /etc/hotplug/net.agent...
(ведь не поднят же ppp0!)
cat /var/log/messages

Oct 17 19:55:21 linux pptp[5881]: 
log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:580]: Client connection 
established.
Oct 17 19:55:22 linux pptp[5881]: 
log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:707]: Outgoing call established 
(call ID 0, peer's call ID 0).
Oct 17 19:55:22 linux pppd[5882]: pppd 2.4.1 with CBCP (ALT Linux) started by 
root, uid 0
Oct 17 19:55:22 linux pppd[5882]: Using interface ppp0
Oct 17 19:55:22 linux pppd[5882]: Connect: ppp0 <--> /dev/pts/5
Oct 17 19:55:22 linux /etc/hotplug/net.agent: assuming ppp0 is already up
Oct 17 19:55:52 linux pppd[5882]: LCP: timeout sending Config-Requests
Oct 17 19:55:52 linux pppd[5882]: Connection terminated.
Oct 17 19:55:52 linux /etc/hotplug/net.agent: NET unregister event not 
supported
Oct 17 19:55:53 linux pppd[5882]: Exit.
Oct 17 19:55:53 linux pptp[5879]: log[decaps_hdlc:pptp_gre.c:129]: short read 
(4294967295): Input/output error
Oct 17 19:55:53 linux pptp[5881]: log[callmgr_main:pptp_callmgr.c:245]: 
Closing connection
Oct 17 19:55:53 linux pptp[5881]: log[pptp_conn_close:pptp_ctrl.c:307]: 
Closing PPTP connection
Oct 17 19:55:55 linux pptp[5881]: log[call_callback:pptp_callmgr.c:88]: 
Closing connection
Oct 17 19:56:33 linux pam_tcb[1592]: su: Session closed for root
Oct 17 19:56:41 linux pam_tcb[1944]: su: Session closed for root



-- 
Ilya Kirov
xinu на pochtamt.ru



Подробная информация о списке рассылки community