Subject: setting up a (kern)ppp client.
To: None <netbsd-help@NetBSD.ORG>
From: BALA <BKUMARES.IN.ORACLE.COM.ofcmail@in.oracle.com>
List: tech-net
Date: 03/12/1997 19:07:00
 
 
I'm trying to configure my netbsd machine as a PPP client. 
 
This is how my "/etc/ppp/options"  file look: 
 
/dev/tty00  9600 
crtscts   #ensble hardware flow control 
 
modem     # modem control line 
 
connect "/usr/bin/chat -f /etc/ppp/login.chat.script" 
 
passive     #  wait for LCP packets 
 
domain <domain name> # put Your domain name here. 
 
<my ip>:<server ip> # Put the IP of remote PPP host here 
                # it will be used to route packets via PPP link 
                # if you didn't specified the noipdefault option 
                # change this line to <local ip>:<remote ip> 
 
defaultroute    # put this if you want that PPP server will be your 
                # default router 
 
 
my  /etc/ppp/login.chat.script file looks like this: 
 
ABORT BUSY ABORT 'NO CARRIER' '' ATZ OK ATDT513 CONNECT '' TIMEOUT 10 
ogin:-\\r-ogin: ppp TIMEOUT 10 sword: my_PPP 
 
 
I have a 19.2kbps modem connected to com0. 
 
when I start pppd ( by typing just pppd) nothing seem to happen (not even 
dialing up) 
My kernel is with ppp0 and ppp1 configured.  
With "cu" I'm able to dial and establish connection. 
 
I have tried running "chat -f /etc/ppp/login.chat.script" from the shell 
prompt. 
I see "ATZ" echoed to the terminal, and then it times out. 
 
 
				Any help, is most welcome. 
 
 
 
Thanks in Advance. 
 
Bala. 
 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Balemurughan Kumaresan.			e-mail : bkumares@in.oracle.com 
Oracle Software India Ltd,          	Voice Mail : +91(80) 225-1590      
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
	Do Your Duty ! Don't bother about the Result ! 
				- BagvathGeeta. 
*****************************************************************************

	What ever I send is my opinion and not ORACLE's 
*****************************************************************************