From owner-freebsd-net Mon Mar 13 1:35:38 2000 Delivered-To: freebsd-net@freebsd.org Received: from tomts3-srv.bellnexxia.net (tomts3.bellnexxia.net [209.226.175.141]) by hub.freebsd.org (Postfix) with ESMTP id EB8C137B59C for ; Mon, 13 Mar 2000 01:35:33 -0800 (PST) (envelope-from mwozniak@netcom.ca) Received: from mwozniak.uniservers.com ([216.209.33.124]) by tomts3-srv.bellnexxia.net (InterMail vM.4.01.02.17 201-229-119) with SMTP id <20000313093532.RAOH3031.tomts3-srv.bellnexxia.net@mwozniak.uniservers.com> for ; Mon, 13 Mar 2000 04:35:32 -0500 Reply-To: From: "Michael Wozniak" To: Subject: pppoe Date: Mon, 13 Mar 2000 04:28:52 -0500 Message-ID: <000301bf8cce$8e6fb3a0$0a80a8c0@mwozniak.uniservers.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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! <<<>>> 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: Type: pppoe ID: 00000014 Num hooks: 2 Name: 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