From owner-freebsd-net Sat Feb 5 18:19: 9 2000 Delivered-To: freebsd-net@freebsd.org Received: from awfulhak.org (dynamic-55.max4-du-ws.dialnetwork.pavilion.co.uk [212.74.9.183]) by builder.freebsd.org (Postfix) with ESMTP id B9A6346BB for ; Sat, 5 Feb 2000 18:18:46 -0800 (PST) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by awfulhak.org (8.9.3/8.9.3) with ESMTP id AAA72652; Sun, 6 Feb 2000 00:54:02 GMT (envelope-from brian@lan.awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost.lan.Awfulhak.org [127.0.0.1]) by hak.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id AAA37872; Sun, 6 Feb 2000 00:53:59 GMT (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200002060053.AAA37872@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: Dermot McNally Cc: freebsd-net@FreeBSD.org, Brian Somers , Julian Elischer Subject: Re: PPPoE connection almost working In-Reply-To: Message from Dermot McNally of "Sat, 05 Feb 2000 00:25:50 +0100." <4.2.0.58.20000205001643.00afb778@tim> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 06 Feb 2000 00:53:59 +0000 From: Brian Somers Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Hi, > > I've been following the discussions so far on the development of PPPoE > support and the experience of users so far. This week, I finally got my > ADSL service connected (Deutsche Telekom's T-DSL service with Internet > access through T-Online). I can connect using Windows, so I'm now trying to > get it going under FreeBSD. The connect gets part of the way, then goes no > further. My best guess is that I either need to give a Service name (in > which case, anybody know what it is?) or I'm seeing the same kind of MAC > address affinity that other users reported. Hopefully my tcpdump and log > outputs will help somebody to tell me where the problem might lie. > Basically, I get a PADO from the provider, and then nothing further > happens. I'm using a quite recent version of stable. > > Any ideas? > > Config: > > dsl: > set device PPPoE:ed0 > set mru 1492 > set mtu 1942 Spot the deliberate mistake... hence the warning in the log :*] > deny chap > accept pap > set speed sync > set cd 5 > enable lqr > set redial 0 0 > set dial > add 0 0 HISADDR > set login > set authname xxxxxxxxxxxxxxxxxxxxxxxx > set authkey xxxxxxxxxxxxxx > set timeout 120 > enable dns > > > 23:14:41.096562 0:0:e8:4f:be:4b Broadcast 8863 32: PPPoE PADI v1, type 1, > sess 0 len 12 [Service-Name] [Host-Uniq 004888c0] > 23:14:41.141794 0:d0:c0:f9:b6:23 0:0:e8:4f:be:4b 8863 67: PPPoE PADO v1, > type 1, sess 0 len 47 [Service-Name] [Host-Uniq 004888c0] [AC-Name > MUNC12-nrp2] [AC-Cookie 372992470f60c417cd68e17dcde89eb4] This is the sort of thing I get when testing locally - the -current tcpdump looks a bit different as it's been upgraded and the tcpdump people added pppoe support (they mustn't have liked the look of my output :-): 00:45:09.541584 PPPoE PADI [Service-Name "pppoe-in"] [Host-Uniq UTF8] 00:45:09.547521 PPPoE PADO [AC-Name "dev"] [Service-Name "pppoe-in"] [Host-Uniq UTF8] [AC-Cookie UTF8] 00:45:09.547613 PPPoE PADR [Service-Name "pppoe-in"] [AC-Cookie UTF8] [AC-Name "dev"] [Host-Uniq UTF8] 00:45:09.547876 PPPoE PADS [ses 0xa] [AC-Name "dev"] [Service-Name "pppoe-in"] [Host-Uniq UTF8] [AC-Cookie UTF8] 00:45:11.277897 PPPoE [ses 0xa] LCP ConfReq id=0x1 00:45:11.284368 PPPoE [ses 0xa] LCP ConfReq id=0x1 00:45:11.284465 PPPoE [ses 0xa] LCP ConfAck id=0x1 00:45:11.334003 PPPoE [ses 0xa] LCP ConfAck id=0x1 00:45:11.335013 PPPoE [ses 0xa] LQM 00:45:11.335956 PPPoE [ses 0xa] proto-0x80fd 00:45:11.336902 PPPoE [ses 0xa] IPCP 00:45:11.343641 PPPoE [ses 0xa] LQM [.....] So as you can see, the local side *should* be sending a PADR. [.....] > Feb 5 00:21:59 tim ppp[581]: tun0: Warning: deflink: Reducing MTU to 1492 > Feb 5 00:21:59 tim ppp[581]: tun0: Phase: deflink: Connected! > Feb 5 00:21:59 tim ppp[581]: tun0: Phase: deflink: opening -> dial > Feb 5 00:21:59 tim ppp[581]: tun0: Phase: deflink: dial -> carrier > Feb 5 00:22:04 tim ppp[581]: tun0: Phase: deflink: Disconnected! > Feb 5 00:22:04 tim ppp[581]: tun0: Phase: deflink: carrier -> hangup [.....] I don't really know why the PPPoE node isn't responding to the PADO. it looks good from here. Are there any odd looking kernel messages on your console or in /var/log/messages ? I've cc'd Julian as he's the netgraph guru. Cheers. -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message