Skip site navigation (1)Skip section navigation (2)
Date:      05 Jan 1997 19:19:39 -0500
From:      Jay Sachs <sachs@interactive.net>
To:        questions@FreeBSD.org
Cc:        "Glen" <gi143@cybercomm.net>
Subject:   Re: ppp problems
Message-ID:  <879167u02s.fsf@luddite.org>
In-Reply-To: "Glen"'s message of Sun, 5 Jan 1997 12:45:58 -0500
References:  <199701041718.MAA00197@raven.cybercomm.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> 1. default:
> 2. set device /dev/cuaa1
> 3. set speed 57600
> 4. set parity none
> 5. set timeout 1200
> 6. set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATL0M1E1V1X4S0=0
> OK-AT-OK \\dATDT4983885\T TIMEOUT 60 CONNECT"
> 7. set login "TIMEOUT 5 ogin:-\\r-ogin: Pjay word: MyPassword"
> 8. set ifaddr 206.183.68.100/0 206.183.68.11/0 netmask 0xffffff00

Here's the problem. You can't use "default" as an ISP for
auto-dial. The "default" is executed before the tun0 interface is
opened, in which case the "set ifaddr" fails. You need to set up a
separate entry, e.g.

default:
  set device /dev/cuaa1
  set speed 57600
  set parity none
  set timeout 1200
  set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATL0M1E1V1X4S0=0 OK-AT-OK \\dATDT4983885\T TIMEOUT 60 CONNECT"

cybercomm:
  set login "TIMEOUT 5 ogin:-\\r-ogin: Pjay word: MyPassword"
  set ifaddr 206.183.68.100/0 206.183.68.11/0 netmask 0xffffff00
  add 0 255.255.255.0 206.183.68.11


Notice the "add" line. That'll set up your initial default
route so that any outbound traffic will initiate a ppp connection.

-jay




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