From owner-freebsd-questions Thu Feb 8 10:51:21 2001 Delivered-To: freebsd-questions@freebsd.org Received: from imr1.ericy.com (imr1.ericy.com [208.237.135.240]) by hub.freebsd.org (Postfix) with ESMTP id 3D74937B6AA for ; Thu, 8 Feb 2001 10:50:59 -0800 (PST) Received: from mr4u3.ericy.com (mr4u3.ericy.com [208.237.135.127]) by imr1.ericy.com (8.10.2/8.10.2) with ESMTP id f18IovU06650; Thu, 8 Feb 2001 12:50:57 -0600 (CST) Received: from noah.lmc.ericsson.se (noah.lmc.ericsson.se [142.133.1.1]) by mr4u3.ericy.com (8.10.2/8.10.2) with ESMTP id f18IouA05098; Thu, 8 Feb 2001 12:50:56 -0600 (CST) Received: from lmc35.lmc.ericsson.se (lmc35.lmc.ericsson.se [142.133.16.175]) by noah.lmc.ericsson.se (8.11.2/8.9.2) with ESMTP id f18Iot728878; Thu, 8 Feb 2001 13:50:55 -0500 (EST) Received: by lmc35.lmc.ericsson.se with Internet Mail Service (5.5.2653.19) id ; Thu, 8 Feb 2001 13:50:55 -0500 Received: from lmc.ericsson.se (lmcpc100455.pc.lmc.ericsson.se [142.133.23.150]) by LMC37.lmc.ericsson.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id DWVKK0QJ; Thu, 8 Feb 2001 13:50:52 -0500 From: "Antoine Beaupre (LMC)" To: Jonathan Pennington , freebsd-questions@freebsd.org Cc: anarcat@tao.ca Message-ID: <3A82EA8A.74796791@lmc.ericsson.se> Date: Thu, 08 Feb 2001 13:50:50 -0500 Organization: LMC, Ericsson Research Canada X-Mailer: Mozilla 4.7 [en]C-CCK-MCD (WinNT; U) X-Accept-Language: en,fr-CA,fr MIME-Version: 1.0 Subject: Re: PPPoE: Waiting for carrier Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello... I just have the same problem as you do. Actually, the thing was working fine with FreeBSD 4.1-RELEASE, which is really strange. It's when I upgraded to 4.2-STABLE that the mess (waiting for carrier) came in. So yes, I *have* been able to work this out perfectly with a 4.1-REL install.. I think I had a custom kernel then, though. One thing though: do you have netgraph and ng* modules loaded as kld or statically compiled in your kernel?? Because I think that might be the problem. The pppoe is working fine on my other (not the router) box which also runs -stable. I will double-check these kernel config issues and get back to you. A. > -----Original Message----- > From: Jonathan Pennington [mailto:john@coastalgeology.org] > Sent: Monday, December 11, 2000 12:00 PM > To: freebsd-questions@freebsd.org > Subject: PPPoE: Waiting for carrier > > > I can almost answer any question using the archives alone, in fact I > *have* answered very many that way, but this one will not work for > me. 4.1-RELEASE trying to connect to BellSouth via ed1 to an Alcatel > Speed Touch Home external ADSL modem. Kernel has tun and netgraph > compiled in. What I get is > > tun0: Phase: deflink: dial -> carrier > tun0: Debug: Waiting for carrier > message repeats * cd value > tun0: Phase: deflink: Disconnected! > > I see a lot of this in the archives, and one person solved it by > upgrading from 3.x to 4.1.(For details see archive on Geocrawler, > FreeBSD-questions; search for "PPPoE waiting for carrier". Only that > thread is returned--- until this hits the archive) Seems that there > was a packet type unrecognized by the kernel or > something. Unfortunately, I'm already using 4.1, so that's out. > > What I'm looking for is advice maybe on checking packet type errors > (like the fellow above had), or how to explain to BellSouth tech > support what I mean when I ask whether or not I need to request a > "service". Hints about what worked for others, or how to find more > info on what happens after dial -> carrier. Also, where can I learn > what the ppp.conf stuff really means (other than the manpage) instead > of blindly copying stuff into ppp.conf? > > Of course, this info is limited and almost useless as is, but here are > my ppp.conf and ppp.log files. "Tcpdump -i ed1" gives me network not > configured or something, I'm assuming that's because I'm not connected > yet - I just found something on "tcpdump -nev -s 256 ether proto > 0x8863", but have to reboot into FreeBSD (and read the manpage) to get > an output. > > ---------- ppp.conf ------------- > ########################################################### > ## ppp.conf for pppoe connection > > default: > > # PPP over Ethernet > set device PPPoE:ed1 # Nothing for service > set speed sync > set mru 1492 > set mtu 1492 > set ctsrts off > set redial 15 28800 > set reconnect 15 28800 > set cd 60 > set dial > set login > enable lqr > add default HISADDR > enable dns > set timeout 10 > # set ifaddr 10.0.0.1/0 10.0.0.2/0 #Don't understand this > set log connect async sync lqm id0 hdlc debug phase tun > chat lcp ipcp ccp tcp/ip physical command > > papchap: > > set authname username@bellsouth.net Bellsouth requires full email > set authkey ************ Password removed > > -------------- end -------------------------- > > ---------- ppp.log --------------------- > Dec 11 10:21:56 bullwinkle ppp[364]: Phase: Using interface: tun0 > Dec 11 10:21:56 bullwinkle ppp[364]: Phase: deflink: Created > in closed state > Dec 11 10:21:56 bullwinkle ppp[364]: tun0: Phase: PPP Started > (interactive mode). > Dec 11 10:22:08 bullwinkle ppp[364]: tun0: Phase: bundle: Establish > Dec 11 10:22:08 bullwinkle ppp[364]: tun0: Phase: deflink: > closed -> opening > Dec 11 10:22:08 bullwinkle ppp[364]: tun0: Debug: List of > netgraph node ``ed1:'' (id 2) hooks: > Dec 11 10:22:08 bullwinkle ppp[364]: tun0: Debug: Creating > PPPoE netgraph node [2]:orphans -> ethernet > Dec 11 10:22:08 bullwinkle ppp[364]: tun0: Debug: Connecting > netgraph socket .:tun0 -> ed1:orphans:tun0 > Dec 11 10:22:08 bullwinkle ppp[364]: tun0: Debug: Sending > PPPOE_CONNECT to .:tun0 > Dec 11 10:22:08 bullwinkle ppp[364]: tun0: Phase: deflink: Connected! > Dec 11 10:22:08 bullwinkle ppp[364]: tun0: Phase: deflink: > opening -> dial > Dec 11 10:22:08 bullwinkle ppp[364]: tun0: Phase: deflink: > dial -> carrier > Dec 11 10:22:08 bullwinkle ppp[364]: tun0: Debug: Waiting for carrier > Dec 11 10:22:12 bullwinkle last message repeated 4 times > Dec 11 10:22:13 bullwinkle ppp[364]: tun0: Phase: deflink: > Disconnected! > Dec 11 10:22:13 bullwinkle ppp[364]: tun0: Phase: deflink: > carrier -> hangup > Dec 11 10:22:13 bullwinkle ppp[364]: tun0: Debug: deflink: Close > Dec 11 10:22:13 bullwinkle ppp[364]: tun0: Phase: deflink: > Connect time: 5 secs: 0 octets in, 0 octets out > Dec 11 10:22:13 bullwinkle ppp[364]: tun0: Phase: total 0 > bytes/sec, peak 0 bytes/sec on Mon Dec 11 10:22:13 2000 > Dec 11 10:22:13 bullwinkle ppp[364]: tun0: Phase: deflink: > hangup -> closed > Dec 11 10:22:13 bullwinkle ppp[364]: tun0: Debug: route_IfDelete (13) > Dec 11 10:22:13 bullwinkle ppp[364]: tun0: Debug: Found the > following interfaces: > Dec 11 10:22:13 bullwinkle ppp[364]: tun0: Debug: Index 1, > name "ed0" > Dec 11 10:22:13 bullwinkle ppp[364]: tun0: Debug: Index 2, > name "ed1" > Dec 11 10:22:13 bullwinkle ppp[364]: tun0: Debug: Index 3, > name "lp0" > Dec 11 10:22:13 bullwinkle ppp[364]: tun0: Debug: Index 4, > name "sl0" > Dec 11 10:22:13 bullwinkle ppp[364]: tun0: Debug: Index 5, > name "ppp0" > Dec 11 10:22:13 bullwinkle ppp[364]: tun0: Debug: Index 6, > name "lo0" > Dec 11 10:22:13 bullwinkle ppp[364]: tun0: Debug: Index 7, > name "gif0" > Dec 11 10:22:13 bullwinkle ppp[364]: tun0: Debug: Index 8, > name "gif1" > Dec 11 10:22:13 bullwinkle ppp[364]: tun0: Debug: Index 9, > name "gif2" > Dec 11 10:22:13 bullwinkle ppp[364]: tun0: Debug: Index 10, > name "gif3" > Dec 11 10:22:13 bullwinkle ppp[364]: tun0: Debug: Index 11, > name "faith0" > Dec 11 10:22:13 bullwinkle ppp[364]: tun0: Debug: Index 12, > name "ds0" > Dec 11 10:22:13 bullwinkle ppp[364]: tun0: Debug: Index 13, > name "tun0" > Dec 11 10:22:13 bullwinkle ppp[364]: tun0: Debug: > route_IfDelete: addrs: 3, Netif: 6 (lo0), flags: 200005, dst: > 127.0.0.1 ? > Dec 11 10:22:13 bullwinkle ppp[364]: tun0: Debug: > route_IfDelete: addrs: 7, Netif: 1 (ed0), flags: 101, dst: > 192.168.10.0 ? > Dec 11 10:22:13 bullwinkle ppp[364]: tun0: Debug: > route_IfDelete: addrs: 3, Netif: 6 (lo0), flags: 200005, dst: > 127.0.0.1 ? > Dec 11 10:22:13 bullwinkle ppp[364]: tun0: Debug: > route_IfDelete: addrs: 7, Netif: 1 (ed0), flags: 101, dst: > 192.168.10.0 ? > Dec 11 10:22:13 bullwinkle ppp[364]: tun0: Phase: bundle: Dead > Dec 11 10:22:40 bullwinkle ppp[364]: tun0: Debug: DoLoop done. > Dec 11 10:22:40 bullwinkle ppp[364]: tun0: Phase: PPP > Terminated (normal). > Dec 11 10:22:40 bullwinkle ppp[364]: tun0: Debug: wrote -1: > cmd = Delete!, dst = 0, gateway = 0 > Dec 11 10:22:40 bullwinkle ppp[364]: tun0: Debug: route_IfDelete (13) > Dec 11 10:22:40 bullwinkle ppp[364]: tun0: Debug: > route_IfDelete: addrs: 3, Netif: 6 (lo0), flags: 200005, dst: > 127.0.0.1 ? > Dec 11 10:22:40 bullwinkle ppp[364]: tun0: Debug: > route_IfDelete: addrs: 7, Netif: 1 (ed0), flags: 101, dst: > 192.168.10.0 ? > Dec 11 10:22:40 bullwinkle ppp[364]: tun0: Debug: > route_IfDelete: addrs: 3, Netif: 6 (lo0), flags: 200005, dst: > 127.0.0.1 ? > Dec 11 10:22:40 bullwinkle ppp[364]: tun0: Debug: > route_IfDelete: addrs: 7, Netif: 1 (ed0), flags: 101, dst: > 192.168.10.0 ? > ------------- end --------------- > -- La sémantique est la gravité de l'abstraction. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message