Yozo Nitta writes:
> CU want to run TA command as soon as port is surely opened
> and know the way to describe with chat script.
That sounds like a "connect" script, as described in pppd(1M).
> You told me we need detailed description about what they're going to do,
> but could you give us example with chat script?
There's a detailed example that comes with the system -- look in
/etc/ppp/myisp-chat.tmpl. All of the ".tmpl" (template) files are
example configurations that may be helpful.
Here's a typical command-line invocation, using "connect:"
pppd cua/b 38400 connect "chat '' 'AT&F' OK ATDT1-800-555-1212" \
noauth defaultroute user myname updetach debug
That 'chat' script will run right after pppd opens the serial port
(/dev/cua/b in this example) and sets the bit rate (38.4Kbps here).
The chat script I've specified sends "AT&F" (initializes most modems
and modem-like devices, including TAs), and then dials 1-800-555-1212,
which is just an example number. (Don't use it; at least in the US
it's a toll-free information number.)
Using TAs is very much like using modems, though they do have their
quirks. A standard TA will use modem-like Hayes "AT" commands to
control the dialing sequence (which actually takes place using Q.931
over the D channel), and then will convert async PPP into sync PPP on
the B channel when the call is up.
You may well have to configure special parameters to get your TA to
work right. That comes with the territory. They're sometimes odd
beasts. The TA's user manual and the web are your best bets here --
you almost certainly need a well-tested initialization string.
(Typically, those can be found in the Windows ".INI" files that come
with most TAs. The device usually doesn't work automatically without
it, and it's the fact that vendors cater to Windows users that makes
it look "easy" to use there.)
I apologize for not being able to supply a clearer example, but you
still haven't provided much in the way of detail about what the
customer is doing or what he needs.
--
James Carlson, Solaris Networking <[EMAIL PROTECTED]>
Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
_______________________________________________
networking-discuss mailing list
[email protected]