Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Feb 2001 13:50:50 -0500
From:      "Antoine Beaupre (LMC)" <lmcabea@lmc.ericsson.se>
To:        Jonathan Pennington <john@coastalgeology.org>, freebsd-questions@freebsd.org
Cc:        anarcat@tao.ca
Subject:   Re: PPPoE: Waiting for carrier
Message-ID:  <3A82EA8A.74796791@lmc.ericsson.se>

next in thread | raw e-mail | index | archive | help
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




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