Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Mar 2004 07:38:58 +1000 (EST)
From:      User Ernie <ernie@spooky.eis.net.au>
To:        Bruce M Simpson <bms@spc.org>
Cc:        freebsd-net@freebsd.org
Subject:   Re: PCI ADSL card and PPPoA
Message-ID:  <200403282138.i2SLcwJg038453@spooky.eis.net.au>
In-Reply-To: <20040328181629.GD94618@empiric.dek.spc.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.



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