[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
vsnl isdn thru TA- unsuccessful!
hello again,
As instructed by Atul, I tried this:
/etc/ppp/options - added "asyncmap a0000"
I use "pppd call vsnl" and the script vsnl lies in /etc/ppp/peers/
That script inturn calls chat.
Here is the log file excerpt from /var/log/messages
Jul 3 17:51:36 localhost pppd[604]: pppd 2.3.7 started by root, uid 0
Jul 3 17:51:37 localhost chat[605]: abort on (NO CARRIER)
Jul 3 17:51:37 localhost chat[605]: abort on (NO DIALTONE)
Jul 3 17:51:37 localhost chat[605]: abort on (ERROR)
Jul 3 17:51:37 localhost chat[605]: abort on (NO ANSWER)
Jul 3 17:51:37 localhost chat[605]: abort on (BUSY)
Jul 3 17:51:37 localhost chat[605]: send (at^M)
Jul 3 17:51:38 localhost chat[605]: expect (OK)
Jul 3 17:51:38 localhost chat[605]: at^M^M
Jul 3 17:51:38 localhost chat[605]: OK
Jul 3 17:51:38 localhost chat[605]: -- got it
Jul 3 17:51:38 localhost chat[605]: send (atd172230^M)
Jul 3 17:51:38 localhost pppd[604]: Serial connection established.
Jul 3 17:51:38 localhost pppd[604]: Using interface ppp0
Jul 3 17:51:38 localhost pppd[604]: Connect: ppp0 <--> /dev/ttyS0
Jul 3 17:51:39 localhost pppd[604]: Serial line is looped back.
Jul 3 17:51:39 localhost pppd[604]: Connection terminated.
Jul 3 17:51:39 localhost pppd[604]: Connect time 0.1 minutes.
Jul 3 17:51:40 localhost pppd[604]: Exit.
Here are my pppd scripts:
/etc/ppp/peers/vsnl:
ttyS0 115200 crtscts
connect '/usr/sbin/chat -v -f /etc/ppp/chat-vsnl'
noauth
/etc/ppp/chat-vsnl:
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
ABORT "ERROR"
ABORT "NO ANSWER"
ABORT "BUSY"
"" "at"
OK "atd172230"
Helpful Note: I used minicom and dialed "atd172230" and I saw the
pppd junk spitting out. It doesn't ask for login/password. Where
do i give login/password??
- -gnana
- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
------------------------------