PCI ADSL card and PPPoA
User Ernie
ernie at spooky.eis.net.au
Sun Mar 28 13:39:02 PST 2004
> 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at 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.
More information about the freebsd-net
mailing list