Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Sep 1997 15:06:40 -0400 (EDT)
From:      "Adrian T. Filipi-Martin" <atf3r@cs.virginia.edu>
To:        Mike <tdlord@elite.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: the signature
Message-ID:  <Pine.SUN.3.90.970901150211.5932C-100000@stretch.cs.Virginia.edu>
In-Reply-To: <2.2.32.19970901064026.0068f3bc@elite.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 31 Aug 1997, Mike wrote:

> 2. I'm not sre how do go about making a chat script
> can u give me an example?

	Here's what I use to dial-up and connect.  I had to su to cat it 
because it is read protected for the obvious reaons.  Replace the stuff 
in {}'s with your site specific values.

> : adrian@lorax; su root -c "cat /etc/ppp/chat"
> Password:
> ABORT "NO CARRIER" ABORT BUSY 
> "" ATZ OK ATM3S11=50DT{MY_NUMBER}
> CONNECT "" login: {MY_USERID} Password: \q{MY_PASSWORD}
> bash$ "exec /usr/sbin/pppd"
> : adrian@lorax; 

This file is used by pppd with the following entry in my options file:

> connect "/usr/bin/chat -v -f /etc/ppp/chat"

hope this helps,

	Adrian
--
adrian@virginia.edu        ---->>>>| If I were stranded on a desert island, and
System Administrator         --->>>| I could only have one OS for my computer,
Neurosurgical Visualzation Lab -->>| it would be FreeBSD.  Think about it.....
http://www.nvl.virginia.edu/     ->|      http://www.freebsd.org/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.90.970901150211.5932C-100000>