Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jun 2000 00:18:15 -0700 (PDT)
From:      Dima Dorfman <dima@unixfreak.org>
To:        Adam Blake <blake@sba.miami.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: PPPoE and ed1 device problems
Message-ID:  <20000609071815.550FB1F11@static.unixfreak.org>
In-Reply-To: <Pine.OSF.4.10.10006090018140.5381-300000@homer.bus.miami.edu> from Adam Blake at "Jun 9, 2000 00:24:27 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> I am still having problems with my PPPoE connection with PacBell.
> 
> I configured my ppp.conf file the smae way that yours was configured
> and I prought the NIC up using the ifconfig command but it still will
> not connect!  I am quite confused because I somehow was able to get this 
> to work at one point.
> 
> I have included a copy of my ppp log as well as an output of my ps -x
> as you an see user ppp spawned two processes even though it was only 
> launched once...

I don't have a lot of experience with ppp, so I'm not sure if this is
normal behavior.  Once the connection is established it seems that
there is only one ppp process.

> 
> Can anybody help?

Your ppp log is a lot different from mine.  It seems that yours
doesn't see the configuration file, because in mine, I see:

Jun  2 14:43:48 typhoon ppp[147]: tun0: Command: default: set device
PPPoE:dc0
Jun  2 14:43:48 typhoon ppp[147]: tun0: Command: default: set mru 1492
Jun  2 14:43:48 typhoon ppp[147]: tun0: Command: default: set mtu 1492
Jun  2 14:43:48 typhoon ppp[147]: tun0: Command: default: set speed
sync
Jun  2 14:43:48 typhoon ppp[147]: tun0: Command: default: enable lqr

"default" is the entry, and the stuff after that is what's under that
entry.  I don't see this on yours.  I think that yours is trying to
use a modem to dial out to something:

Jun  8 17:46:33  ppp[263]: tun0: Phase: deflink: opening -> dial
Jun  8 17:46:33  ppp[263]: tun0: Chat: deflink: Dial attempt 1 of 1
Jun  8 17:46:33  ppp[263]: tun0: Phase: deflink: dial -> carrier
Jun  8 17:46:38  ppp[263]: tun0: Phase: deflink: Disconnected!

PPPoE doesn't need to dial.

Are you sure that you put the modified ppp.conf in the right place?
Did you kill the old ppp before restarting it with the new config?
You may also want to try starting ppp like this: "ppp -background
default".  Mine starts with "papchap" as an argument, but it doesn't
seem to use that profile.  Like I said, I don't have a lot of
experience with ppp.  Maybe somebody who does can explain why.

Also, on a probably unrelated side note, I don't see your machine's
hostname in ppp.log.  Did you edit it out yourself, or did you forget
to set a hostname?  It's unlikely that this matters with ppp, but it
may be worth a try.

Good luck

	--dima

> 
> Adam
> 
Content-Description: 

[Attachment, skipping...]
Content-Description: 

[Attachment, skipping...]


-- 
Dima Dorfman <dima@unixfreak.org> - Enriched/HTML messages > /dev/null
PGP Fingerprint: CC 2A DD 54 12 85 7D 8B  B3 CE B3 10 9C BE D5 69
Finger dima@unixfreak.org for public PGP key.

My crime is that of outsmarting you, something that you will never
forgive me for.


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?20000609071815.550FB1F11>