[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

modem hangs after ppp??



I got my ppp script to connect to my isp, but some how after it runs ppp, 
the modem hangs up. How do I fix this problem?? I want to maintain ppp 
connection for more than a second.. Below are my script files, and the 
/dev/adm/syslog of pppd: 

dialup script
-------------
#!/bin/sh
/usr/sbin/pppd :128.110.124.120 file /root/options connect 
"/usr/sbin/chat -v -f /root/chatfile" /dev/ttyS2 38400 & 

/root/options
-------------
modem
defaultroute
crtscts
xonxoff

/root/chatfile
--------------
"" atdt5815650  CONNECT "" rname:--rname: MY_LOGIN  word: MY_PASSWORD 
ination> ppp ""


/usr/adm/syslog (pppd message)
------------------------------
Aug 22 20:36:02 porkchop chat[325]: Username: -- got it 
Aug 22 20:36:02 porkchop chat[325]: send (MY_LOGIN^M) 
Aug 22 20:36:02 porkchop chat[325]: expect (word:) 
Aug 22 20:36:02 porkchop chat[325]:  MY_LOGIN^M 
Aug 22 20:36:02 porkchop chat[325]: Password: -- got it 
Aug 22 20:36:02 porkchop chat[325]: send (MY_PASSWORD0^M) 
Aug 22 20:36:02 porkchop chat[325]: expect (ination>) 
Aug 22 20:36:03 porkchop chat[325]:  ^M 
Aug 22 20:36:03 porkchop chat[325]: cts4.Enter.Destination> -- got it 
Aug 22 20:36:03 porkchop chat[325]: send (ppp^M) 
Aug 22 20:36:03 porkchop pppd[324]: Serial connection established.
Aug 22 20:36:04 porkchop pppd[324]: Using interface ppp0
Aug 22 20:36:04 porkchop pppd[324]: Connect: ppp0 <--> /dev/ttyS2
Aug 22 20:36:07 porkchop pppd[324]: Hangup (SIGHUP)
Aug 22 20:36:07 porkchop pppd[324]: Modem hangup
Aug 22 20:36:07 porkchop pppd[324]: Connection terminated.
Aug 22 20:36:07 porkchop pppd[324]: Exit.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: