Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Nov 1999 19:12:33 -0800 (PST)
From:      Julian Elischer <julian@whistle.com>
To:        Josh Tiefenbach <josh@zipperup.org>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: Problems using ppp(8) and PPPoE
Message-ID:  <Pine.BSF.4.10.9911121907140.18958-100000@current1.whistle.com>
In-Reply-To: <19991112205729.A5549@snickers.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Well, While you are running it,
try having the following run as well  and send me the result..

 tcpdump -nev -s 256 ether proto 0x8863 or ether proto 0x8864 


this should be in the documentation I think....
The pppoe negotiation occurs entirely within the pppoe netgraph node so 
the ppp log can't give too much info....


What service does your ISP want you to request on the wire?
(You have a null service, that is legal but some ISPs want you to actually
ask for a particular one.)

it's PPPoE:de0:service

julian



On Fri, 12 Nov 1999, Josh Tiefenbach wrote:

> On Fri, Nov 12, 1999 at 09:33:06AM -0800, Julian Elischer wrote:
> > you need today's if_ethersubr.c
> > you also need a new ng_base.c and ng_pppoe.c and ng_socket.c
> > (I think)
> 
> Hrmm. That seems to have solved the "Cant create PPPoE node" problem, but now
> I got another one. ppp(8) never seems to do any PPPoE discovery negotiation.
> This snippet from /var/log/ppp.log is quite descriptive:
> 
> (results after typing in dial at ppp interactive prompt. Other than the set
> log line, I'm using:
> 
> set device PPPoE:de0
> set authname bar
> set authkey foo
> add default HISADDR
> 
> )
> 
> Nov 12 20:49:31 cerebus ppp[2096]: tun0: Command: /dev/tty: dial
> Nov 12 20:49:31 cerebus ppp[2096]: tun0: Phase: bundle: Establish
> Nov 12 20:49:31 cerebus ppp[2096]: tun0: Phase: deflink: closed -> opening
> Nov 12 20:49:31 cerebus ppp[2096]: tun0: Debug: List of netgraph node ``de0:'' (
> id 1) hooks:
> Nov 12 20:49:31 cerebus ppp[2096]: tun0: Debug: Creating PPPoE netgraph node [1]
> :orphans -> ethernet
> Nov 12 20:49:31 cerebus ppp[2096]: tun0: Debug: Connecting netgraph socket .:tun
> 0 -> de0:orphans:tun0
> Nov 12 20:49:31 cerebus ppp[2096]: tun0: Debug: Sending PPPOE_CONNECT to .:tun0
> Nov 12 20:49:31 cerebus ppp[2096]: tun0: Phase: deflink: Connected!
> Nov 12 20:49:31 cerebus ppp[2096]: tun0: Phase: deflink: opening -> dial
> Nov 12 20:49:31 cerebus ppp[2096]: tun0: Chat: deflink: Dial attempt 1 of 1
> Nov 12 20:49:31 cerebus ppp[2096]: tun0: Phase: deflink: dial -> carrier
> Nov 12 20:49:31 cerebus ppp[2096]: tun0: Debug: Waiting for carrier
> Nov 12 20:49:32 cerebus ppp[2096]: tun0: Phase: deflink: Disconnected! 
> Nov 12 20:49:32 cerebus ppp[2096]: tun0: Phase: deflink: carrier -> hangup 
> Nov 12 20:49:32 cerebus ppp[2096]: tun0: Debug: deflink: Close 
> Nov 12 20:49:32 cerebus ppp[2096]: tun0: Phase: deflink: Connect time: 1 secs: 0
>  octets in, 0 octets out 
> Nov 12 20:49:32 cerebus ppp[2096]: tun0: Phase:  total 0 bytes/sec, peak 0 bytes
> /sec on Fri Nov 12 20:49:32 1999 
> Nov 12 20:49:32 cerebus ppp[2096]: tun0: Phase: deflink: hangup -> closed 
> 
> I'm using a snapshot of /usr/src/usr.sbin/ppp from ~1800EDT today, but
> specific version numbers avail on request. 
> 
> Any more suggestions?
> 
> josh
> 
> -- 
> "To succeed in the world, it is not enough to be stupid, you must also be
> well-mannered" -- Voltaire
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-net" in the body of the message
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9911121907140.18958-100000>