|
|
ru.linux- RU.LINUX --------------------------------------------------------------------- From : Andrey Vorobets 2:5020/400 29 May 2003 15:55:07 To : Yury Trembach Subject : Re: callback ms cbcp help -------------------------------------------------------------------------------- Yury Trembach <yt@sns.net.ua> wrote YT> А опция callback <phone> где? Добавил свой обратный номер телефона (здесь немного поменял :-) Все остальное как и было - может кто приведет рабочий вариант - логины и пароли в конфигах можно поменять :-) А то как-то уже надоело экспериментировать - в данном случае дозваниваемся - с той стороны кричат alarm - как результат script failed и все - ни ждем обратного звонка ничего. Можно и на мыло а не в эху - мыло a.vorobets@nti-group.com.ua /etc/ppp/peers/mtu-inform -detach callback 4444444 lock crtscts noauth defaultroute usepeerdns debug persist pap-timeout 30 user cvst connect '/usr/sbin/chat -v -f/etc/ppp/script-mtu' /dev/ttyS0 115200 tail -f /var/log/messages May 29 14:34:18 linux_andrey pppd[3001]: pppd 2.4.1 started by andrey, uid 0 May 29 14:34:19 linux_andrey chat[3002]: timeout set to 5 seconds May 29 14:34:19 linux_andrey chat[3002]: send (AT&F^M) May 29 14:34:19 linux_andrey chat[3002]: expect (OK) May 29 14:34:19 linux_andrey chat[3002]: AT&F^M^M May 29 14:34:19 linux_andrey chat[3002]: OK May 29 14:34:19 linux_andrey chat[3002]: -- got it May 29 14:34:19 linux_andrey chat[3002]: send (ATDP2311812^M) May 29 14:34:19 linux_andrey chat[3002]: abort on (BUSY) May 29 14:34:19 linux_andrey chat[3002]: abort on (NO ANSWER) May 29 14:34:19 linux_andrey chat[3002]: abort on (NO DIALTONE) May 29 14:34:19 linux_andrey chat[3002]: abort on (ERROR) May 29 14:34:19 linux_andrey chat[3002]: timeout set to 45 seconds May 29 14:34:19 linux_andrey chat[3002]: expect (CONNECT) May 29 14:34:19 linux_andrey chat[3002]: ^M May 29 14:34:32 linux_andrey chat[3002]: ATDP2311812^M^M May 29 14:34:32 linux_andrey chat[3002]: RINGING^M May 29 14:34:51 linux_andrey chat[3002]: ^M May 29 14:34:51 linux_andrey chat[3002]: CONNECT May 29 14:34:51 linux_andrey chat[3002]: -- got it May 29 14:34:51 linux_andrey chat[3002]: send (^M) May 29 14:34:51 linux_andrey chat[3002]: timeout set to 15 seconds May 29 14:34:51 linux_andrey chat[3002]: expect (ogin:) May 29 14:34:51 linux_andrey chat[3002]: 115200/V34b 33600/V42b^M May 29 14:35:06 linux_andrey chat[3002]: alarm May 29 14:35:06 linux_andrey chat[3002]: Failed May 29 14:35:06 linux_andrey pppd[3001]: Connect script failed С уважением Андрей Воробец a.vorobets@nti-group.com.ua -- Отправлено через сервер Форумы@mail.ru - http://talk.mail.ru --- ifmail v.2.15dev5 * Origin: NTI (2:5020/400) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.linux/6488f2c24044.html, оценка из 5, голосов 10
|