May 4 18:15:28 game pptpd[1077]: CTRL: Client 192.168.0.16 control connection started
May 4 18:15:28 game pptpd[1077]: CTRL: Starting call (launching pppd, opening GRE)
May 4 18:15:28 game pppd[1078]: proxyarp option is disabled
May 4 18:15:28 game pptpd[1077]: GRE: read(fd=4,buffer=804dc20,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
May 4 18:15:28 game pptpd[1077]: CTRL: PTY read or GRE write failed (pty,gre)=(4,5)
May 4 18:15:28 game pptpd[1077]: CTRL: Client 192.168.0.16 control connection finished
скажите в чем проблема?!
модули ppp_mppe_mppc и ip_gre включены.
во-первых, проверь доступность сервера:
telnet <host> 1723
если сервер пускает, то должен установить соединение и ждать информации, разрыв происходит только после нажатия enter.
Sash Kan добавил в 04.05.2005 18:52
во-вторых зависит от во-первых :) и от того, какой командой запускаешь vpn
интересный способ. откуда pptpd берет информацию, куда подключаться?
попробуй так:
# pptp <ip-сервера>
и информацию из /var/log/messages об этой попытке.
заодно не мешало бы взглянуть на /etc/ppp/options
(netstrike @ Четверг, 05 Мая 2005, 20:32) писал(а):чет я не догоняю, зачем pptpd куда то нужно подключаться, это к нему должны все подключаться, а не он.
судя по содержимому 4-й строки приведенного лога,
начинать надо с pppd
пересмотреть его опции (с чтением man'ов)
заглянуть в его лог. если лог не ведется - включить.
и т.д.
(Sash Kan @ Пятница, 06 Мая 2005, 17:13) писал(а):судя по содержимому 4-й строки приведенного лога,
начинать надо с pppd
пересмотреть его опции (с чтением man'ов)
заглянуть в его лог. если лог не ведется - включить.
и т.д.
debug Enables connection debugging facilities. If this option is given, pppd will log the contents of
all control packets sent or received in a readable form. The packets are logged through syslog
with facility daemon and level debug. This information can be directed to a file by setting up
/etc/syslog.conf appropriately (see syslog.conf(5)).
так что, видимо, дорога в /etc/syslog.conf :)
или (как вариант)
logfile filename
Append log messages to the file filename (as well as sending the log messages to syslog). The
file is opened with the privileges of the user who invoked pppd, in append mode.
May 7 15:47:23 game pptpd[564]: MGR: Manager process started
May 7 15:47:23 game pptpd[564]: MGR: Maximum of 100 connections available
May 7 15:47:23 game pptpd: pptpd запуск succeeded
May 7 15:47:35 game pptpd[572]: MGR: Launching /usr/sbin/pptpctrl to handle client
May 7 15:47:36 game pptpd[572]: CTRL: local address = 10.10.10.1
May 7 15:47:36 game pptpd[572]: CTRL: remote address = 192.168.1.1
May 7 15:47:36 game pptpd[572]: CTRL: pppd options file = /etc/ppp/options.pptpd
May 7 15:47:36 game pptpd[572]: CTRL: Client 192.168.0.84 control connection started
May 7 15:47:36 game pptpd[572]: CTRL: Received PPTP Control Message (type: 1)
May 7 15:47:36 game pptpd[572]: CTRL: Made a START CTRL CONN RPLY packet
May 7 15:47:36 game pptpd[572]: CTRL: I wrote 156 bytes to the client.
May 7 15:47:36 game pptpd[572]: CTRL: Sent packet to client
May 7 15:47:36 game pptpd[572]: CTRL: Received PPTP Control Message (type: 7)
May 7 15:47:36 game pptpd[572]: CTRL: Set parameters to 100000000 maxbps, 64 window size
May 7 15:47:36 game pptpd[572]: CTRL: Made a OUT CALL RPLY packet
May 7 15:47:36 game pptpd[572]: CTRL: Starting call (launching pppd, opening GRE)
May 7 15:47:36 game pptpd[572]: CTRL: pty_fd = 4
May 7 15:47:36 game pptpd[572]: CTRL: tty_fd = 5
May 7 15:47:36 game pptpd[573]: CTRL (PPPD Launcher): program binary = /usr/sbin/pppd
May 7 15:47:36 game pptpd[573]: CTRL (PPPD Launcher): local address = 10.10.10.1
May 7 15:47:36 game pptpd[573]: CTRL (PPPD Launcher): remote address = 192.168.1.1
May 7 15:47:36 game pptpd[572]: CTRL: I wrote 32 bytes to the client.
May 7 15:47:36 game pptpd[572]: CTRL: Sent packet to client
May 7 15:47:36 game pptpd[572]: CTRL: Received PPTP Control Message (type: 15)
May 7 15:47:36 game pptpd[572]: CTRL: Got a SET LINK INFO packet with standard ACCMs
May 7 15:47:36 game pppd[573]: proxyarp option is disabled
May 7 15:47:36 game pptpd[572]: GRE: read(fd=4,buffer=804dc20,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
May 7 15:47:36 game pptpd[572]: CTRL: PTY read or GRE write failed (pty,gre)=(4,5)
May 7 15:47:36 game pptpd[572]: CTRL: Reaping child PPP[573]
May 7 15:47:36 game pptpd[572]: CTRL: Client 192.168.0.84 control connection finished
May 7 15:47:36 game pptpd[572]: CTRL: Exiting now
May 7 15:47:36 game pptpd[564]: MGR: Reaped child 572