Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Mar 2000 04:28:52 -0500
From:      "Michael Wozniak" <mwozniak@netcom.ca>
To:        <freebsd-net@freebsd.org>
Subject:   pppoe
Message-ID:  <000301bf8cce$8e6fb3a0$0a80a8c0@mwozniak.uniservers.com>

next in thread | raw e-mail | index | archive | help

Some help with PPPoE please?

For some reason I don't yet understand, I can't get userland ppp
to negotiate a pppoe session with my ISP (more specifically, I
don't think ppp is even talking to my (Nortel 1Meg) modem.)  Thus
far, I have cvsup'd RELENG_3, built and installed RELENG_3, built
and installed a TEST kernel (GENERIC with unneeded drivers removed) with
options NETGRAPH, options NETGRAPH_SOCKET and options NETGRAPH_PPPOE,
and tried to get "/usr/sbin/ppp -ddial" to connect (with Sympatico
in Toronto, Canada.)

My /var/log/ppp.log is no more exciting than...

Mar 13 03:49:57 devt ppp[361]: Phase: Using interface: tun0
Mar 13 03:49:57 devt ppp[361]: Phase: deflink: Created in closed state
Mar 13 03:49:57 devt ppp[361]: tun0: Command: default: set dial
Mar 13 03:49:57 devt ppp[361]: tun0: Command: default: set login TIMEOUT 1.5
name:-\r-login:\U word:\P ocol:PPP HELLO
Mar 13 03:49:57 devt ppp[361]: tun0: Command: default: set ifaddr 10.0.0.1/0
10.0.0.2/0
Mar 13 03:49:57 devt ppp[361]: tun0: Command: default: add default HISADDR
Mar 13 03:49:57 devt ppp[361]: tun0: Command: default: set cd 15
Mar 13 03:49:57 devt ppp[361]: tun0: Command: default: set crtscts off
Mar 13 03:49:57 devt ppp[362]: tun0: Phase: PPP Started (ddial mode).
Mar 13 03:49:57 devt ppp[362]: tun0: Phase: bundle: Establish
Mar 13 03:49:57 devt ppp[362]: tun0: Phase: deflink: closed -> opening
Mar 13 03:49:57 devt ppp[362]: tun0: Phase: deflink: Connected!
Mar 13 03:49:57 devt ppp[362]: tun0: Phase: deflink: opening -> dial
Mar 13 03:49:57 devt ppp[362]: tun0: Phase: deflink: dial -> carrier
Mar 13 03:50:12 devt ppp[362]: tun0: Phase: deflink: Disconnected!

<<<<note here it just waits 15s>>>>

Mar 13 03:50:12 devt ppp[362]: tun0: Phase: deflink: carrier -> hangup
Mar 13 03:50:12 devt ppp[362]: tun0: Phase: deflink: Connect time: 15 secs:
0 octets in, 0 octets out
Mar 13 03:50:12 devt ppp[362]: tun0: Phase:  total 0 bytes/sec, peak 0
bytes/sec on Mon Mar 13 03:50:12 2000
Mar 13 03:50:12 devt ppp[362]: tun0: Phase: deflink: hangup -> opening
Mar 13 03:50:12 devt ppp[362]: tun0: Phase: deflink: Enter pause (30) for
redialing.

during this I can see that /usr/sbin/ppp has made the netgraph
connections...
(/usr/sbin/ngctl list)

There are 4 total nodes:
  Name: ngctl363        Type: socket          ID: 00000015   Num hooks: 0
  Name: <unnamed>       Type: pppoe           ID: 00000014   Num hooks: 2
  Name: <unnamed>       Type: socket          ID: 00000013   Num hooks: 1
  Name: ed2             Type: ether           ID: 00000001   Num hooks: 1

My kernel...

FreeBSD devt.uniservers.com 3.4-STABLE FreeBSD 3.4-STABLE #1: Mon Mar 13
02:23:13 EST 2000
root@devt.uniservers.com:/mnt/gateway/wd2/cvsup/stable/src/sys/compile/TEST
i386

and my ppp.conf file are nothing special...

default:
  set device PPPoE:ed2
  set MRU 1490
  set MTU 1490
  set authname XXXXXXXXXXXXXXXXXXXXX
  set authkey XXXXXXXX
  set log Error Alert Warning Phase Chat IPCP CCP tun command
  set dial
  set login "TIMEOUT 1.5 name:-\\r-login:\\U word:\\P ocol:PPP HELLO"
  set ifaddr 10.0.0.1/0 10.0.0.2/0
  add default HISADDR
  set cd 5
  set crtscts off

- I have messed about with many different permutations of parameters
  in ppp.conf.
- I think I am missing something somewhere else as there is nothing
  interesting in the log and I never see any action on the blinky
  lights on the modem.
- I was unsuccessful with "make world" with -CURRENT so I am stuck
  with 3.4-STABLE for now.
- http://www.freeBSD.org/handbook/pppoe.html is rather uninformative.
  It asks me to use an updated pppd.  Huh???
- Note too that ppp never creates a default route or assigns any
  paremeters to tun0 while it is running.
- This same box has run ppp with device cuaa0 and later pppd with
  never any problems.

I would really like to get rid of the extra Linux box that I currently
use to run pppoe...

TIA, Mike



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000301bf8cce$8e6fb3a0$0a80a8c0>