[Comm] /sbin/ifup ppp0 - callback

Yuriy Gomenyuk =?iso-8859-1?q?law_=CE=C1_freemail=2Ecom=2Eua?=
Ср Мар 19 17:59:46 MSK 2003


Люди, неужели никто не может помочь?


Yuriy Gomenyuk пишет:
> Здравствуйте,
> 
> Раньше без проблем работал по callback (выхожу в и-нет по /sbin/ifup ppp0).
> 
> Сейчас переехал на другую АТС. И возникли проблеммы (не знаю почему, то 
> ли от другой АТС, то ли накрутил где что...):
> 
> Звонок от провайдера идёт, но модем не берёт трубку. Причём только в 
> Линуксе. В Окнах всё нормально.
> 
> Пожалуйста, помогите разобраться.
> 
> Вот логи модема:
> 
> 
> Mar 19 11:08:28 localhost ifup-ppp: pppd started for ppp5 on /dev/ttyS0 
> at 115200
> Mar 19 11:08:28 localhost pppd[7937]: pppd 2.4.1 with CBCP (ALT Linux) 
> started by root, uid 0
> Mar 19 11:08:29 localhost chat[7949]: abort on (BUSY)
> Mar 19 11:08:29 localhost chat[7949]: abort on (ERROR)
> Mar 19 11:08:29 localhost chat[7949]: abort on (NO CARRIER)
> Mar 19 11:08:29 localhost chat[7949]: abort on (NO DIALTONE)
> Mar 19 11:08:29 localhost chat[7949]: abort on (Invalid Login)
> Mar 19 11:08:29 localhost chat[7949]: abort on (Login incorrect)
> Mar 19 11:08:29 localhost chat[7949]: send (ATZ^M)
> Mar 19 11:08:29 localhost chat[7949]: expect (OK)
> Mar 19 11:08:30 localhost chat[7949]: ATZ^M^M
> Mar 19 11:08:30 localhost chat[7949]: OK
> Mar 19 11:08:30 localhost chat[7949]:  -- got it
> Mar 19 11:08:30 localhost chat[7949]: send (ATDP7449207^M)
> Mar 19 11:08:30 localhost chat[7949]: expect (CONNECT)
> Mar 19 11:08:30 localhost chat[7949]: ^M
> Mar 19 11:09:07 localhost chat[7949]: ATDP7449207^M^M
> Mar 19 11:09:07 localhost chat[7949]: CONNECT
> Mar 19 11:09:07 localhost chat[7949]:  -- got it
> Mar 19 11:09:07 localhost chat[7949]: send (^M)
> Mar 19 11:09:07 localhost chat[7949]: timeout set to 5 seconds
> Mar 19 11:09:07 localhost chat[7949]: expect (~)
> Mar 19 11:09:07 localhost chat[7949]:  34666/ARQ/V90/LAPM/V42BIS^M
> Mar 19 11:09:10 localhost chat[7949]: ^M
> Mar 19 11:09:10 localhost chat[7949]:
> Mar 19 11:09:11 localhost last message repeated 23 times
> Mar 19 11:09:11 localhost chat[7949]: ^M
> Mar 19 11:09:12 localhost chat[7949]: alarm
> Mar 19 11:09:12 localhost chat[7949]: send (^M)
> Mar 19 11:09:12 localhost chat[7949]: send (^M)
> Mar 19 11:09:12 localhost pppd[7937]: Serial connection established.
> Mar 19 11:09:12 localhost pppd[7937]: Using interface ppp0
> Mar 19 11:09:12 localhost pppd[7937]: Connect: ppp0 <--> /dev/ttyS0
> Mar 19 11:09:17 localhost pppd[7937]: Remote message: Welcome !
> Mar 19 11:09:18 localhost pppd[7937]: Connection terminated.
> Mar 19 11:09:18 localhost pppd[7937]: Callback with 
> </etc/ppp/callback-client 0>
> Mar 19 11:09:18 localhost /etc/hotplug/net.agent: NET unregister event 
> not supported
> Mar 19 11:09:19 localhost chat[7990]: send (d+++dc^M)
> Mar 19 11:09:19 localhost chat[7990]: expect (OK)
> Mar 19 11:09:19 localhost chat[7990]: ^M
> Mar 19 11:09:19 localhost chat[7990]: NO CARRIER^M
> Mar 19 11:09:21 localhost chat[7990]: alarm
> Mar 19 11:09:21 localhost chat[7990]: Failed
> Mar 19 11:09:21 localhost chat[7993]: send (ATZ^M)
> Mar 19 11:09:21 localhost chat[7993]: expect (OK)
> Mar 19 11:09:21 localhost chat[7993]: ATZ^M^M
> Mar 19 11:09:21 localhost chat[7993]: OK
> Mar 19 11:09:21 localhost chat[7993]:  -- got it
> Mar 19 11:09:21 localhost chat[7993]: send (^M)
> Mar 19 11:09:21 localhost chat[7993]: expect (RING)
> Mar 19 11:09:21 localhost chat[7993]: ^M
> Mar 19 11:10:06 localhost chat[7993]: alarm
> Mar 19 11:10:06 localhost chat[7993]: Failed
> Mar 19 11:10:06 localhost pppd[7937]: Callback script failed
> Mar 19 11:10:06 localhost pppd[7937]: Couldn't make tty exclusive: Bad 
> file descriptor
> Mar 19 11:10:06 localhost pppd[7937]: Couldn't set tty to PPP 
> discipline: Bad file descriptor
> Mar 19 11:10:07 localhost pppd[7937]: Exit.
> 
> 
> Понимаю, что модем звонок ловит, но не может запустить скрипт или что 
> ещё, но не знаю почему, и как решить... (а главное - когда то ведь 
> получалось...)
> 
> 


-- 
С уважением,
Юрий Гоменюк.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Powered by Mozilla-mail 1.2.1 under ALT Linux Junior 2.0




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