Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Dec 1996 22:31:21 -0600 (CST)
From:      Dave Bodenstab <imdave@synet.net>
To:        SimsS@IBM.Net
Cc:        questions@FreeBSD.ORG
Subject:   Re: HELP: IIJ-PPP demand-dial with dynamic IP on both ends
Message-ID:  <199612050431.WAA07948@base486.synet.net>

next in thread | raw e-mail | index | archive | help

I've been using -auto for many months with an ISP that assigns
dynamic addresses.  Here's my ppp.conf:

  default:
   set device /dev/cuaa0
   set speed 38400
   set parity none
  #
  SYNET:
   set authname xxxxxx
   set authkey xxxxxx
   set ifaddr 168.113.1.46/24 168.113.1.44/24 255.255.255.0
   set phone *67,1234567
   set debug Phase
   set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATZ OK AT&F&A3&B1&H1&K3&R2X4 TIMEOUT 30 OK ATDT\\T CONNECT"
   set login "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 10 \"\" \\p\\r username>-\\r-username> \\U password> \\P mode. \\d^z\\d\\c \"\""
   set timeout 3600
   disable pred1
   deny pred1
   disable lqr
   deny lqr
   set openmode active

[Note that I need to send a ^Z to initiate the ppp session since the ISP
has a terminal server that waits for me to initiate the session]

My ppp.linkup is:

  SYNET:
   delete ALL
   add 0 255.255.255.0 HISADDR

I've also got the following in /etc/hosts:

  168.113.1.44    ppp.synet.net


When I want to connect, I start it with:

  ppp -auto SYNET

and I use a "ping ppp.synet.net" to get it to auto-dial.

I shut it down with:

  telnet localhost 3000
  >quit all



I'm really unclear on the routing stuff, but this setup works
flawlessly for me.  Good luck.

Dave Bodenstab
imdave@syent.net




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612050431.WAA07948>