pls try to "man pppd", which includes example also.
of course, it places the following scripts under /etc/pppB
Assume modem is connected to COM1

/etc/ppp/isp
------------
/dev/ttyS0 38400 crtscts
connect '/usr/sbin/chat -v -f /etc/ppp/chat-isp'

/etc/ppp/chat-isp
-----------------
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
ABORT "ERROR"
ABORT "NO ANSWER"
ABORT "BUSY"
ABORT "Username/Password Incorrect"
"" "at"
OK "at&d0&c1"
OK "atdt99999999"       # isp dail up tel #.
"ogin:" "^UusernameB"           # login name    
"word:" "\qpassword"    # password

then, issue
/usr/sbin/pppd call isp

tail -f /var/log/messages

On Fri, 18 Aug 2000, Shanmuga Raj wrote:

> Hi,
> I am using RH Dialer utility to connect to my ISP. It works fine. However, I
> want to connect to the ISP by using a script from the command prompt. I
> tried with "dip", however, I am not getting it right. I wannt to dial to the
> ISP, authenticate using my username and password, and start the pppd. Could
> anyone give me a standard "script" that can be used for this task.
> 
> Thanks for any help.
> 
> Regards
> Raj
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 

-- 
#####################################################################
# Andrew H.P. So, Software Developer                                #
# First Ecommerce Limited, http://www.firstecom.com                 #
# 8/F, Henley Building, 5 Queen's Road Central, Hong Kong           #
# [EMAIL PROTECTED], Tel:(852)2289-9542 Fax:(852)2801-5939    #
#####################################################################



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to