*BSD News Article 61123


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!netnews.upenn.edu!dsinc!spool.mu.edu!howland.reston.ans.net!ix.netcom.com!netcom.com!kientzle
From: kientzle@netcom.com
Subject: Re: The Internet Adaptor (TIA) and PPP
Message-ID: <kientzleDM5y07.91y@netcom.com>
Organization: NETCOM On-line Communication Services (408 261-4700 guest)
References: <4etbsk$2lv@lyra.csx.cam.ac.uk>
Date: Fri, 2 Feb 1996 19:26:31 GMT
Lines: 66
Sender: kientzle@netcom5.netcom.com

Yes, in fact I'm using TIA with user PPP right this second. <grin>
The first trick, of course, is to make sure you're using TIA 2.0,
since earlier TIA's didn't support PPP at all.  After that, here are
my ppp config files:

====/etc/ppp/ppp.conf==================================================
default:
 set device /dev/modem
 set speed 57600
 disable lqr
 deny lqr
 set debug off
 set ifaddr 0 192.0.2.2
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 15 \"\" ATZ OK-AT-OK ATH0M0 OK
           \\dATDT\\T TIMEOUT 40 CONNECT"
myhost:
 set phone 5555555
 set open active
 set login "TIMEOUT 20 gin:--gin: my_login TIMEOUT 10 word: my_password 
           TIMEOUT 30 ]\\s~:--~: exec\\stia\\s-ppp ware."
 set timeout 270
 set ifaddr 192.0.2.1 192.0.2.2
========================================================================

====/etc/ppp/ppp.linkup==================================================
192.0.2.1:
 add 0 0 HISADDR
=========================================================================

Points to note:

* `set open active' basically tells this side ppp to start first rather
  than waiting on TIA to start.  (Which it won't.)
* The login script waits for a shell prompt (mine ends in `] ~:'),
  then starts TIA with `exec tia -ppp'.  The final wait on `ware.'
  just waits for TIA to finish it's initialization.

Everything else is pretty generic.  This whole thing is started in `rc.local'
with `ppp -auto myhost'

I suggest reading the instructions in the handbook and starting everything
manually (you'll have to type ~p after starting TIA to get PPP to start)
a few times before you tinker with automatic dialing.

Once you get automatic dialing to work, you'll want to adjust routed's
settings so it doesn't broadcast routing information (which will force
the link up all the time) and may also want to start a local nameserver
so sendmail doesn't bring up the link just to make sure `localhost'
exists.

                                - Tim Kientzle

In article <4etbsk$2lv@lyra.csx.cam.ac.uk>, G. Ioannou <gi101@cam.ac.uk> wrote:
>Has anybody used TIA with either user or kernel PPP on FreeBSD 2.1?
>I've tried both, but so far with no success.  Are there any special
>arrangements that are needed with TIA, as opposed to a regular PPP
>service?
>
>On the same topic, could somebody explain to me the difference between
>active and passive mode PPP?
>
>Any help will be appreciated.
>
>-George.