Пытаюсь настроить модем на подключение к удаленному серверу (используется callback). В виндах все работает нормально, а в Linux (Ubuntu 5.10) не работает :(
Модем соединяется с сервером, происходит инициализация соединения, а затем модем отключается. Вот содержимое syslog:
Mar 5 17:06:33 localhost pppd[8196]: pppd 2.4.3 started by root, uid 0
Mar 5 17:06:34 localhost chat[8197]: timeout set to 60 seconds
Mar 5 17:06:34 localhost chat[8197]: abort on (ERROR)
Mar 5 17:06:34 localhost chat[8197]: abort on (BUSY)
Mar 5 17:06:34 localhost chat[8197]: abort on (VOICE)
Mar 5 17:06:34 localhost chat[8197]: abort on (NO CARRIER)
Mar 5 17:06:34 localhost chat[8197]: abort on (NO DIALTONE)
Mar 5 17:06:34 localhost chat[8197]: abort on (NO DIAL TONE)
Mar 5 17:06:34 localhost chat[8197]: abort on (NO ANSWER)
Mar 5 17:06:34 localhost chat[8197]: send (ATZ^M)
Mar 5 17:06:34 localhost chat[8197]: send (AT&FH0L1^M)
Mar 5 17:06:35 localhost chat[8197]: expect (OK)
Mar 5 17:06:35 localhost chat[8197]: ATZ^M^M^M
Mar 5 17:06:35 localhost chat[8197]: OK
Mar 5 17:06:35 localhost chat[8197]: -- got it
Mar 5 17:06:35 localhost chat[8197]: send (ATDTНомер^M)
Mar 5 17:06:35 localhost chat[8197]: timeout set to 75 seconds
Mar 5 17:06:35 localhost chat[8197]: expect (CONNECT)
Mar 5 17:06:35 localhost chat[8197]: ^M
Mar 5 17:06:35 localhost chat[8197]: ^M
Mar 5 17:06:35 localhost chat[8197]: OK^M
Mar 5 17:07:00 localhost chat[8197]: ATDTНомер^M
Mar 5 17:07:00 localhost chat[8197]: CONNECT
Mar 5 17:07:00 localhost chat[8197]: -- got it
Mar 5 17:07:00 localhost pppd[8196]: Serial connection established.
Mar 5 17:07:00 localhost pppd[8196]: Using interface ppp0
Mar 5 17:07:00 localhost pppd[8196]: Connect: ppp0 <--> /dev/ttyS0
Mar 5 17:07:04 localhost pppd[8196]: Unknown MS-CHAP authentication failure: E=691 R=0
Mar 5 17:07:04 localhost pppd[8196]: Connection terminated.
Mar 5 17:07:05 localhost pppd[8196]: Hangup (SIGHUP)
Протокол проверки пароля CHAP и MS-CHAP, может в этом проблема?