modem HANGUP
Здравствуйте!
В Mandrake10 при выполнении
exec pppd debug lock modem crtscts /dev/ttyS0 115200 \
asyncmap 20A0000 escape FF kdebug 0 0.0.0.0:0.0.0.0 \
noipdefault netmask 255.255.255.0 defaultroute \
user test connect 'chat -v -f /home/k34/Documents/ppp1.chat'
модем вешает трубку:
(...)
May 3 17:01:13 localhost pppd[4719]: local IP address 192.168.2.243
May 3 17:01:13 localhost pppd[4719]: remote IP address 80.237.86.1
May 3 17:01:13 localhost pppd[4719]: primary DNS address 80.237.86.2
May 3 17:01:13 localhost pppd[4719]: secondary DNS address 80.237.86.3
May 3 17:01:13 localhost pppd[4719]: Script /etc/ppp/ip-up started (pid 4743)
May 3 17:01:13 localhost pppd[4719]: Script /etc/ppp/ip-up finished (pid 4743),
status = 0x0
May 3 17:01:20 localhost pppd[4719]: Hangup (SIGHUP)
May 3 17:01:20 localhost pppd[4719]: Modem hangup
May 3 17:01:20 localhost pppd[4719]: Script /etc/ppp/ip-down started (pid 4771)
(...)
при подключении ч-з KPPP все нормально. Вместо "Hangup (SIGHUP)":
(...)
May 3 16:12:54 localhost pppd[4047]: Terminating on signal 15.
(...)
Вот скрипт "ppp1.chat":
TIMEOUT 5
ABORT "BUSY"
ABORT "NO ANSWER"
ABORT "RINGING RINGING"
"" "\rAT"
"OK-+++\c-OK" "ATH0"
TIMEOUT 60
"OK" "ATDP411109"
"CONNECT" ""
"name" "test"
"sword" "mera"