Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Feb 2000 00:53:59 +0000
From:      Brian Somers <brian@Awfulhak.org>
To:        Dermot McNally <dermot@mcnally.de>
Cc:        freebsd-net@FreeBSD.org, Brian Somers <brian@awfulhak.org>, Julian Elischer <julian@whistle.com>
Subject:   Re: PPPoE connection almost working 
Message-ID:  <200002060053.AAA37872@hak.lan.Awfulhak.org>
In-Reply-To: Message from Dermot McNally <dermot@mcnally.de>  of "Sat, 05 Feb 2000 00:25:50 %2B0100." <4.2.0.58.20000205001643.00afb778@tim> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <mru 1492> <magic 0x7acf8d15> <qual LQR> <option-#19  len=9>
00:45:11.284368 PPPoE  [ses 0xa] LCP ConfReq id=0x1 <acfcomp > <pcomp > <asyncmap 0> <mru 1492> <magic 0xf3960fa> <qual LQR>
00:45:11.284465 PPPoE  [ses 0xa] LCP ConfAck id=0x1 <mru 1492> <magic 0x7acf8d15> <qual LQR> <option-#19  len=9>
00:45:11.334003 PPPoE  [ses 0xa] LCP ConfAck id=0x1 <acfcomp > <pcomp > <asyncmap 0> <mru 1492> <magic 0xf3960fa> <qual LQR>
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 <brian@Awfulhak.org>                        <brian@FreeBSD.org>
      <http://www.Awfulhak.org>;                   <brian@OpenBSD.org>
Don't _EVER_ lose your sense of humour !          <brian@FreeBSD.org.uk>




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?200002060053.AAA37872>