Sep 24 19:09:10 toster kernel: CSLIP: code copyright 1989 Regents of the University of California
Sep 24 19:09:10 toster kernel: PPP generic driver version 2.4.2
Sep 24 19:09:10 toster pppd[1096]: pppd 2.4.1 started by root, uid 0 Sep 24 19:09:11 toster chat[1097]: abort on (\nBUSY\r)
Sep 24 19:09:11 toster chat[1097]: send (ATDT912^M)
Sep 24 19:09:11 toster chat[1097]: expect (CONNECT)
Sep 24 19:09:11 toster chat[1097]: ATDT912^M^M Sep 24 19:09:11 toster chat[1097]: CONNECT
Sep 24 19:09:11 toster chat[1097]: -- got it
Sep 24 19:09:11 toster chat[1097]: send (^M)
Sep 24 19:09:11 toster chat[1097]: expect (ogin:)
Sep 24 19:09:11 toster chat[1097]: 115200/PPP 128K/NONE^M
пошол какойто мусор
Sep 24 19:09:13 toster chat[1097]: ~^?}#@!}!-} }4}!}$}%t}"}&} } } } }%}&}%jY}+f}8~^?}#@!}!.} }4}!}$}%t}"}&} } } } }%}
Sep 24 19:09:15 toster chat[1097]: &}%jY}+,%~^?}#@!}!/} }4}!}$}%t}"}&} } } } }%}&}%jY}+e6~^?}#@!}!0} }4}!}$}%t}"}&} }
Sep 24 19:09:17 toster chat[1097]: } } }%}&}%jY}+,}0~^?}#@!}!1} }4}!}$}%t}"}&} } } } }%}&}%jY}+e^C~^?}#@!}!2} }4}!}$}
Sep 24 19:10:41 toster chat[1097]: alarm
Sep 24 19:10:41 toster chat[1097]: Failed Sep 24 19:10:41 toster pppd[1096]: Connect script failed Sep 24 19:10:42 toster pppd[1096]: Exit.
ppp-on---мои фаилы
#!/bin/sh
TELEPHONE=9955556
ACCOUNT=можно написать все что захочешь
PASSWORD=тоже самое
LOCAL_IP=0.0.0.0-тут я пишу локал ип адрес
REMOTE_IP=0.0.0.0 а тут удаленный
NETMASK=255.255.255.0
export TELEPHONE ACCOUNT PASSWORD
DIALER_SCRIPT=/etc/ppp/ppp-on-dialer
exec /usr/sbin/pppd debug lock modem crtscts /dev/ttyS2 115200 \
asyncmap 20A0000 escape FF kdebug 0 $LOCAL_IP:$REMOTE_IP \
noipdefault netmask $NETMASK defaultroute connect $DIALER_SCRIPT
ppp-on-dialer
#!/bin/sh
#
# This is part 2 of the ppp-on script. It will perform
the connection
# protocol for the desired connection.
#
exec chat -v \
ABORT '\nBUSY\r' \
"" ATDT$TELEPHONE \
CONNECT '' \
ogin:--ogin: $ACCOUNT \
assword: $PASSWORD
дальше там два файла это pap-secrets и chap-secrets в них все одинаково
"####" * "####"
потом файл options:
lock и все.
Народ плиз подскажите!!!