Вот скрипт
Код:
#!/bin/bash
#start-vpn
pppd holdoff 1 file /etc/ppp/options.pptp pty "/usr/sbin/pptpvpn.lanport --nolaunchpppd" user 00163
т.е. запускается pptp через pppd.
Вот лог:
Oct 26 19:35:44 cyclon pppd[22892]: pppd 2.4.2 started by root, uid 0
Oct 26 19:35:44 cyclon pppd[22892]: Couldn't get channel number: Input/output error
Oct 26 19:35:47 cyclon last message repeated 531 times
Oct 26 19:35:47 cyclon pppd[22892]: Using interface ppp0
Oct 26 19:35:47 cyclon pppd[22892]: Connect: ppp0 <--> /dev/pts/4
Oct 26 19:36:18 cyclon pppd[22892]: LCP: timeout sending Config-Requests
Oct 26 19:36:18 cyclon pppd[22892]: Connection terminated.
Oct 26 19:36:18 cyclon pppd[22892]: tcflush failed: Input/output error
Oct 26 19:36:18 cyclon pppd[22892]: Couldn't get channel number: Input/output error
Oct 26 19:36:22 cyclon last message repeated 869 times
вот что он пимшет мне в логах,
при этом если запустить эту команду из консоли руками то всё пучком.
Система Джента.
Заранее спасибо!!!