From owner-freebsd-current@FreeBSD.ORG Sat Aug 28 20:31:01 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5597716A4CE for ; Sat, 28 Aug 2004 20:31:01 +0000 (GMT) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 3596043D80 for ; Sat, 28 Aug 2004 20:31:00 +0000 (GMT) (envelope-from lists@MHoerich.de) Received: (qmail 21085 invoked by uid 0); 28 Aug 2004 20:30:58 -0000 Received: from 80.138.95.183 by www47.gmx.net with HTTP; Sat, 28 Aug 2004 22:30:59 +0200 (MEST) Date: Sat, 28 Aug 2004 22:30:59 +0200 (MEST) From: "Mario Hoerich" To: current@FreeBSD.org MIME-Version: 1.0 References: <4130C0FE.6040000@OTEL.net> X-Priority: 3 (Normal) X-Authenticated: #5114400 Message-ID: <12127.1093725059@www47.gmx.net> X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit cc: Iasen Kostov Subject: [5.3-B2] PPPoE broken? (was: Re: pppoed problems in 5.3 BETA2) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Aug 2004 20:31:01 -0000 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 mtu 1500 options=9 ether 00:50:da:38:0c:4c media: Ethernet autoselect (10baseT/UTP ) status: active lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 tun0: flags=8051 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