Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jun 2000 19:56: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:  <20000608025615.0CD5E1F11@static.unixfreak.org>
In-Reply-To: <Pine.OSF.4.10.10006072237490.4822-100000@homer.bus.miami.edu> from Adam Blake at "Jun 7, 2000 10:42:30 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> The OTHER part of my PPPoE problem is...
> 
> I have only been able to get the connection to work once out of 
> many tries and iterations...
> 
> I compiled my kernel properly wo\ith all of the netgraph options
> I created my ppp.conf with all of the proper settings 
> 
> put it never connects...

I'm not exactly sure what the errors in the log symbolize (why is it
saying "dial" when it's PPPoE, anyway?), but I set up PPPoE to connect
to Pacific Bell just last week, so I'll briefly go through the steps,
just in case you missed something:

- Compile the kernel with NETGRAPH, NETGRAPH_PPPOE, and NETGRAPH_SOCKET.
- Configure the "outside" interface:
	ifconfig dc0 inet 1.1.1.1 netmask 255.0.0.0 -arp up
- Edit ppp.conf (actually, I rewrote it for the most part).  I don't
  remember what I changed, but I have all of the PPPoE settings under
  "default" and the authentication info under "papchap".  If you want
  a copy, let me know.
- Start ppp.  I use: "ppp -background -nat -quiet papchap".  The first
  time you start it you may want to omit the background, nat, and quiet options.
- Enjoy!

Hope this helps

	--dima

> 
> In /var/log/ppp.log I allways see lines like the following...
> (please excuse me I am reciting this from memory)
> Connected!
> dial -> disconnected
> waiting 5 seconds...
> Connected!
> dial -> disconnected
> 
> waiting 30 seconds...
> 
> and it goes on and on and on like that.
> 
> I will send another e-mail and write down the exact output of the log.
> I appoligize for being so ambiguous.
> 
> Any takers on this PPPoE issue?
> 
> ADam
> 
> 
> On Wed, 7 Jun 2000, Dima Dorfman wrote:
> 
> > Hello All.
> > 
> > I am trying ti get PPPoE up and running using pacbell's DSL service and
> > I am having some problems.  Here's the story...
> > 
> > First off, I have 2 netgear ISA NIC's installed.  At boot they show up as
> > ed1 and ed2.  ifconfig also sees these 2 devices.
> > 
> > However,
> > 
> > These devices are NOT listed in the /dev directory and when I attempt to
> > run MAKEDEV ed1 from the /dev directory I get the error
> > ed1 - no such device name
> 
> I don't believe they are supposed to be in /dev.  None of my network
> interfaces are (I checked on 3.4-S and 4.0-S).
> 
> If the kernel detects them correctly and you can use ifconfig to
> configure them, everything should work properly.
> 
> > 
> > ALL of my kernel sources are installed and the directory 
> > /usr/src/sys/dev/ed does indeed exist and it has the ".c" files for 
> > the isa version.  What am I doing wrong?
> > 
> > Any help would be appreciated.
> 
> Other than the fact that they don't show up in /dev, what's the
> problem?
> 
> 	--dima
> 
> > 
> > Adam 
> > 
> > 
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> > 
> 
> 
> -- 
> 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.
> 
> "To repeat what others have said, requires education; to challenge it,
> requires brains."
>         -- Mary Poole
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 
> 


-- 
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.

"If you understand everything, you must be misinformed."
	-- Japanese Proverb


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?20000608025615.0CD5E1F11>