David L. Martin on Mon, 19 Apr 1999 22:24:58 -0400 (EDT)


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

Re: newbie chatscript help


On Mon, 19 Apr 1999, Michael Whitman wrote:
> I have managed to make a ppp connection with this single line command.
> 
> pppd /dev/modem 115 connect 'chat -v "" ATDT16109540300 CONNECT ""
> name: username word: passwd tion: ppp 'crtscts defaultroute debug
> -detach &
> 
> Now I want to make a chatscript to do this for me
> 
> ABORT 'NO CARRIER'
> ABORT 'BUSY'
> ABORT 'NO DIALTONE'
> ABORT 'WAITING"
> "" ATDT16109540300
> CONNECT ""
> name: username
> pass: passwd
> tion: ppp
> 
> To execute the chatscript I type in:
> pppd /dev/modem 115200 connect 'chat -f /etc/ppp/chatscript

Try: 
pppd /dev/modem 115200 connect "/usr/sbin/chat -f /etc/ppp/chatscript"

> 
> Now the computer just hangs and never makes the modem do anything.
> What am I doing wrong? (probably a couple things)
> 
> Thanks 
> -Mike
> 
> --
> To unsubscribe, send a message with the word 'unsubscribe' in the subject
> or body of your message to plug-request@lists.nothinbut.net
> 
> 

-- 

David L. Martin        <dlmarti@njcc.com>
R&D Software Engineer  http://pluto.njcc.com/~dlmarti
PGP: 16 C0 C0 AB 4E A2 2C 89  FF 8B 07 CF C0 72 3D 89

It's no surprise that things are so screwed up: everyone that knows 
how to run a government is either driving taxicabs or cutting hair. 
-- George Burns
 

--
To unsubscribe, send a message with the word 'unsubscribe' in the subject
or body of your message to plug-request@lists.nothinbut.net