From owner-freebsd-net@FreeBSD.ORG Sun Mar 28 13:39:02 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 522BE16A4CE for ; Sun, 28 Mar 2004 13:39:02 -0800 (PST) Received: from spooky.eis.net.au (spooky.eis.net.au [203.12.171.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7D7443D2D for ; Sun, 28 Mar 2004 13:39:01 -0800 (PST) (envelope-from ernie@spooky.eis.net.au) Received: (from ernie@localhost) by spooky.eis.net.au (8.12.11/8.12.10) id i2SLcwJg038453; Mon, 29 Mar 2004 07:38:58 +1000 (EST) (envelope-from ernie) From: User Ernie Message-Id: <200403282138.i2SLcwJg038453@spooky.eis.net.au> In-Reply-To: <20040328181629.GD94618@empiric.dek.spc.org> To: Bruce M Simpson Date: Mon, 29 Mar 2004 07:38:58 +1000 (EST) X-Mailer: ELM [version 2.4ME+ PL99b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII cc: freebsd-net@freebsd.org Subject: Re: PCI ADSL card and PPPoA X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2004 21:39:02 -0000 > On Sun, Mar 28, 2004 at 06:55:54AM +1000, User Ernie wrote: > > I looked in the handbook orgilginally, chapter 18.6 is where I learnt about > > mpd. The userland PPP example for PPPoA seemed to use and externam USB > > modem. Which section is the NATM example in? > > The USB modem in question *is* an NATM advice; the use of the PPPoA keyword > in the device statement is NATM specific, not USB specific. This doesn't > appear to be mentioned in the ppp(8) manpage which is perhaps a bug... > > BMS > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > I found this sentence in /usr/src/usr.sbin/ppp/atm.c: "PPPoA:if:vpi.vci expected\n", p->name.full); That sort of gives me the syntax, I know my vpi and vci are 8 and 35, should I be setting the interface to ng0 or pls0 which is the real interface in ifconfig? When I try ng0 I get the following error: Mar 29 07:37:01 athlon ppp[55174]: Phase: Using interface: tun0 Mar 29 07:37:01 athlon ppp[55174]: Phase: deflink: Created in closed state Mar 29 07:37:01 athlon ppp[55175]: Phase: PPP Started (ddial mode). Mar 29 07:37:01 athlon ppp[55175]: Phase: bundle: Establish Mar 29 07:37:01 athlon ppp[55175]: Phase: deflink: closed -> opening Mar 29 07:37:01 athlon ppp[55175]: Phase: deflink: Connecting to ng0:8.35 Mar 29 07:37:01 athlon ppp[55175]: Warning: PPPoA:ng0:8.35: connect: Device not configured Mar 29 07:37:01 athlon ppp[55175]: Warning: deflink: Device (PPPoA:ng0:8.35) must begin with a '/', a '!' or contain at least one ':' Mar 29 07:37:01 athlon ppp[55175]: Phase: deflink: Enter pause (30) for redialing. Mar 29 07:37:31 athlon ppp[55175]: Phase: deflink: Connecting to ng0:8.35 Mar 29 07:37:31 athlon ppp[55175]: Warning: PPPoA:ng0:8.35: connect: Device not configured Mar 29 07:37:31 athlon ppp[55175]: Warning: deflink: Device (PPPoA:ng0:8.35) must begin with a '/', a '!' or contain at least one ':' Mar 29 07:37:31 athlon ppp[55175]: Phase: deflink: Enter pause (30) for redialing. I guess that means ppp is expecting another device or I have to configure the netgraph device beforhand. - Ernie.