Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Aug 2004 22:30:59 +0200 (MEST)
From:      "Mario Hoerich" <lists@MHoerich.de>
To:        current@FreeBSD.org
Cc:        Iasen Kostov <tbyte@OTEL.net>
Subject:   [5.3-B2] PPPoE broken? (was: Re: pppoed problems in 5.3 BETA2)
Message-ID:  <12127.1093725059@www47.gmx.net>
References:  <4130C0FE.6040000@OTEL.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello.

# Iasen Kostov:
> /usr/libexec/pppoed -p test -l pppoe em0
> Cannot create netgraph socket node: No such file or directory

Apparently problems aren't restricted to pppoed. Moving from
BETA1 to BETA2 (on i386) without changing either kernconf
or ppp.conf broke PPPoE-dialup via user-ppp for me. World
has been entirely rebuild, so UPDATING:20040826 should be
satisfied.

Ethernet card is:
xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xd800-0xd87f 
     mem 0xe5800000-0xe580007f at device 13.0 on pci0
xl0: Ethernet address: 00:50:da:38:0c:4c
xl0: [GIANT-LOCKED]

Sequence to reproduce problems locally (with the respective
log entries the commands generate, just shortened in line
length):

# ppp -auto tdsl 
ppp[913]: Phase: Using interface: tun0
ppp[913]: Phase: deflink: Created in closed state
ppp[914]: Phase: PPP Started (auto mode).

# ping -c 1 www.google.de
ppp[914]: Phase: bundle: Establish
ppp[914]: Phase: deflink: closed -> opening
ppp[914]: Phase: deflink: Connected!
ppp[914]: Phase: deflink: opening -> dial
ppp[914]: Phase: deflink: dial -> carrier
ppp[914]: Phase: Received NGM_PPPOE_ACNAME (hook "PADX11-erx")
ppp[914]: Phase: Received NGM_PPPOE_SESSIONID
ppp[914]: Phase: Received NGM_PPPOE_SUCCESS
ppp[914]: Phase: deflink: carrier -> login
ppp[914]: Phase: deflink: login -> lcp
ppp[914]: LCP: FSM: Using "deflink" as a transport
ppp[914]: LCP: deflink: State change Initial --> Closed
ppp[914]: LCP: deflink: State change Closed --> Stopped
ppp[914]: LCP: deflink: RecvConfigReq(0) state = Stopped
ppp[914]: LCP:  MRU[4] 1492
ppp[914]: LCP:  AUTHPROTO[4] 0xc023 (PAP)
ppp[914]: LCP:  MAGICNUM[6] 0x400a7bf0
ppp[914]: LCP: deflink: SendConfigReq(1) state = Stopped
ppp[914]: LCP:  MRU[4] 1492
ppp[914]: LCP:  MAGICNUM[6] 0x89b8c71d
ppp[914]: LCP: deflink: SendConfigAck(0) state = Stopped
ppp[914]: LCP:  MRU[4] 1492
ppp[914]: LCP:  AUTHPROTO[4] 0xc023 (PAP)
ppp[914]: LCP:  MAGICNUM[6] 0x400a7bf0
ppp[914]: LCP: deflink: LayerStart
ppp[914]: LCP: deflink: State change Stopped --> Ack-Sent
ppp[914]: LCP: deflink: RecvConfigAck(1) state = Ack-Sent
ppp[914]: LCP:  MRU[4] 1492
ppp[914]: LCP:  MAGICNUM[6] 0x89b8c71d
ppp[914]: LCP: deflink: State change Ack-Sent --> Opened
ppp[914]: LCP: deflink: LayerUp
ppp[914]: Phase: bundle: Authenticate
ppp[914]: Phase: deflink: his = PAP, mine = none
ppp[914]: Phase: Pap Output: ******** ********
ppp[914]: Phase: Pap Input: SUCCESS ()
ppp[914]: IPCP: Using trigger address 0.0.0.0
ppp[914]: CCP: FSM: Using "deflink" as a transport
ppp[914]: CCP: deflink: State change Initial --> Closed
ppp[914]: CCP: deflink: LayerStart.
ppp[914]: CCP: MPPE: Not usable without CHAP81
ppp[914]: CCP: deflink: SendConfigReq(1) state = Closed
ppp[914]: CCP:   [EMPTY]
ppp[914]: CCP: deflink: State change Closed --> Req-Sent
ppp[914]: Phase: deflink: lcp -> open
ppp[914]: Phase: bundle: Network
ppp[914]: IPCP: FSM: Using "deflink" as a transport
ppp[914]: IPCP: deflink: State change Initial --> Closed
ppp[914]: IPCP: deflink: LayerStart.
ppp[914]: IPCP: deflink: SendConfigReq(1) state = Closed
ppp[914]: IPCP:  IPADDR[6] 0.0.0.0
ppp[914]: IPCP:  PRIDNS[6] 194.25.2.129
ppp[914]: IPCP:  SECDNS[6] 255.255.255.255
ppp[914]: IPCP: deflink: State change Closed --> Req-Sent
ppp[914]: LCP: deflink: RecvProtocolRej(1) state = Opened
ppp[914]: LCP: deflink: -- Protocol 0x80fd (Compression Control Protocol)
was rejected!
ppp[914]: CCP: deflink: State change Req-Sent --> Stopped
ppp[914]: IPCP: deflink: RecvConfigNak(1) state = Req-Sent
ppp[914]: IPCP:  IPADDR[6] 80.138.92.85
ppp[914]: IPCP:  IPADDR[6] changing address: 0.0.0.0  --> 80.138.92.85
ppp[914]: IPCP:  PRIDNS[6] 217.237.149.161
ppp[914]: IPCP:  SECDNS[6] 194.25.2.129
ppp[914]: IPCP: Primary nameserver set to 217.237.149.161
ppp[914]: IPCP: Secondary nameserver set to 194.25.2.129
ppp[914]: IPCP: deflink: SendConfigReq(2) state = Req-Sent
ppp[914]: IPCP:  IPADDR[6] 80.138.92.85
ppp[914]: IPCP:  PRIDNS[6] 217.237.149.161
ppp[914]: IPCP:  SECDNS[6] 194.25.2.129
ppp[914]: IPCP: deflink: RecvConfigAck(2) state = Req-Sent
ppp[914]: IPCP:  IPADDR[6] 80.138.92.85
ppp[914]: IPCP:  PRIDNS[6] 217.237.149.161
ppp[914]: IPCP:  SECDNS[6] 194.25.2.129
ppp[914]: IPCP: deflink: State change Req-Sent --> Ack-Rcvd
ppp[914]: IPCP: deflink: RecvConfigReq(127) state = Ack-Rcvd
ppp[914]: IPCP:  IPADDR[6] 217.5.98.60
ppp[914]: IPCP: deflink: SendConfigAck(127) state = Ack-Rcvd
ppp[914]: IPCP:  IPADDR[6] 217.5.98.60
ppp[914]: IPCP: deflink: State change Ack-Rcvd --> Opened
ppp[914]: IPCP: deflink: LayerUp.
ppp[914]: IPCP: myaddr 80.138.92.85 hisaddr = 217.5.98.60

Afaict the connection _is_ established, but no packets go
out the wire. (Tested pinging numerical addresses as well,
to rule out DNS).

$ netstat -nr
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            217.5.98.60        UGS         0       36   tun0
127.0.0.1          127.0.0.1          UH          0        0    lo0
217.5.98.60        217.83.194.144     UH          1        0   tun0

$ ifconfig
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	options=9<RXCSUM,VLAN_MTU>
	ether 00:50:da:38:0c:4c
	media: Ethernet autoselect (10baseT/UTP <full-duplex>)
	status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet 127.0.0.1 netmask 0xff000000 
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1492
	inet 217.83.194.144 --> 217.5.98.60 netmask 0xffffffff 
	Opened by PID 766

My ppp.conf:
*********
tdsl:
  set device PPPoE:xl0
  set MTU 1492
  set MRU 1492
  set dial
  set crtscts off
  set speed sync
  accept lqr
  disable deflate
  disable pred1
  disable vjcomp
  disable acfcomp
  disable protocomp
  disable ipv6cp
  enable dns
  accept dns
  set log Phase LCP IPCP CCP Warning Error Alert
  set ifaddr 10.0.0.1/0 10.10.10.20/0 0.0.0.0 0.0.0.0
  add default HISADDR
  set login
  set authname ********
  set authkey ********
*********

Kernconf contains:
*********
options 	INET
options		NETGRAPH
options		NETGRAPH_ETHER
options		NETGRAPH_PPP
options		NETGRAPH_PPPOE
options		NETGRAPH_SOCKET
options		ADAPTIVE_GIANT
device		miibus
device 		xl
device		io
device		ppp
device		tun
device		gre
*********

Hints, anyone?

TIA,
Mario



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