From owner-freebsd-questions Tue Oct 24 1: 9: 5 2000 Delivered-To: freebsd-questions@freebsd.org Received: from pandora.chariot.net.au (mail.chariot.net.au [203.30.236.84]) by hub.freebsd.org (Postfix) with ESMTP id 2D9F537B479 for ; Tue, 24 Oct 2000 01:09:00 -0700 (PDT) Received: from chariot.net.au (mail.chariot.net.au [203.30.236.84]) by pandora.chariot.net.au (8.10.0/8.10.0) with SMTP id e9O88vh10943; Tue, 24 Oct 2000 17:38:57 +0930 From: "Paul A. Hoadley" Reply-To: paulh@chariot.net.au To: freebsd-questions@freebsd.org Cc: "William Wong" Date: Tue, 24 Oct 2000 08:08:57 GMT Subject: Re: PPPoE on 3.4 Message-id: <39f54399.2aa0.0@chariot.net.au> X-User-Info: 61.9.132.43 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >are you sure you are loading the profile when dialing? > >ie. ppp -background -nat pppoe > >Based on your logs it looks like you're only typing >ppp -background Ooops -- that was an oversight. You were right. I will repost the ppp.log below when I specify the profile properly! Strangely, though, it seems to get *further* into the negotiation when I forgot to type pppoe -- this leads me to think there is something wrong with the pppoe entry in my ppp.conf. I'm still stumped. >(btw, I use ddial instead of background..dunno if it makes a >dif really) I've tried both. Same results. ---- ppp.log ---- Oct 24 17:26:41 grover ppp[626]: Phase: Using interface: tun0 Oct 24 17:26:41 grover ppp[626]: Phase: deflink: Created in closed state Oct 24 17:26:41 grover ppp[626]: tun0: Command: default: nat enable yes Oct 24 17:26:41 grover ppp[626]: tun0: Command: default: nat same_ports yes Oct 24 17:26:41 grover ppp[626]: tun0: Command: default: nat use_sockets yes Oct 24 17:26:41 grover ppp[626]: tun0: Command: default: set redial 15 28800 Oct 24 17:26:41 grover ppp[626]: tun0: Command: default: set reconnect 15 28800 Oct 24 17:26:41 grover ppp[626]: tun0: Command: pppoe: set device PPPoE:rl0: Oct 24 17:26:41 grover ppp[626]: tun0: Command: pppoe: set mru 1492 Oct 24 17:26:41 grover ppp[626]: tun0: Command: pppoe: set mtu 1492 Oct 24 17:26:41 grover ppp[626]: tun0: Command: pppoe: set speed sync Oct 24 17:26:41 grover ppp[626]: tun0: Command: pppoe: enable lqr Oct 24 17:26:41 grover ppp[626]: tun0: Command: pppoe: set lqrperiod 5 Oct 24 17:26:41 grover ppp[626]: tun0: Command: pppoe: set cd 5 Oct 24 17:26:41 grover ppp[626]: tun0: Command: pppoe: set dial Oct 24 17:26:41 grover ppp[626]: tun0: Command: pppoe: set login Oct 24 17:26:41 grover ppp[626]: tun0: Command: pppoe: set timeout 0 Oct 24 17:26:41 grover ppp[626]: tun0: Command: pppoe: set authname phoadle1 Oct 24 17:26:41 grover ppp[626]: tun0: Command: pppoe: set authkey ******** Oct 24 17:26:41 grover ppp[626]: tun0: Command: pppoe: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 Oct 24 17:26:41 grover ppp[626]: tun0: Command: pppoe: add default HISADDR Oct 24 17:26:41 grover ppp[626]: tun0: Command: pppoe: enable dns Oct 24 17:26:41 grover ppp[627]: tun0: Phase: PPP Started (ddial mode). Oct 24 17:26:41 grover ppp[627]: tun0: Phase: bundle: Establish Oct 24 17:26:41 grover ppp[627]: tun0: Phase: deflink: closed -> opening Oct 24 17:26:41 grover ppp[627]: tun0: Phase: deflink: Connected! Oct 24 17:26:41 grover ppp[627]: tun0: Phase: deflink: opening -> dial Oct 24 17:26:41 grover ppp[627]: tun0: Phase: deflink: dial -> carrier Oct 24 17:26:47 grover ppp[627]: tun0: Phase: deflink: Disconnected! Oct 24 17:26:47 grover ppp[627]: tun0: Phase: deflink: carrier -> hangup Oct 24 17:26:47 grover ppp[627]: tun0: Phase: deflink: Connect time: 6 secs: 0 octets in, 0 octets out Oct 24 17:26:47 grover ppp[627]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Tue Oct 24 17:26:47 2000 Oct 24 17:26:47 grover ppp[627]: tun0: Phase: deflink: hangup -> opening Oct 24 17:26:47 grover ppp[627]: tun0: Phase: deflink: Enter pause (15) for redialing. Oct 24 17:27:02 grover ppp[627]: tun0: Phase: deflink: Redial timer expired. Oct 24 17:27:02 grover ppp[627]: tun0: Phase: deflink: Connected! Oct 24 17:27:02 grover ppp[627]: tun0: Phase: deflink: opening -> dial Oct 24 17:27:02 grover ppp[627]: tun0: Phase: deflink: dial -> carrier Oct 24 17:27:07 grover ppp[627]: tun0: Phase: deflink: Disconnected! Oct 24 17:27:07 grover ppp[627]: tun0: Phase: deflink: carrier -> hangup Oct 24 17:27:07 grover ppp[627]: tun0: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out Oct 24 17:27:07 grover ppp[627]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Tue Oct 24 17:27:07 2000 Oct 24 17:27:07 grover ppp[627]: tun0: Phase: deflink: hangup -> opening Oct 24 17:27:07 grover ppp[627]: tun0: Phase: deflink: Enter pause (15) for redialing. Oct 24 17:27:22 grover ppp[627]: tun0: Phase: deflink: Redial timer expired. Oct 24 17:27:22 grover ppp[627]: tun0: Phase: deflink: Connected! Oct 24 17:27:22 grover ppp[627]: tun0: Phase: deflink: opening -> dial Oct 24 17:27:22 grover ppp[627]: tun0: Phase: deflink: dial -> carrier Oct 24 17:27:27 grover ppp[627]: tun0: Phase: deflink: Disconnected! Oct 24 17:27:27 grover ppp[627]: tun0: Phase: deflink: carrier -> hangup Oct 24 17:27:27 grover ppp[627]: tun0: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out Oct 24 17:27:27 grover ppp[627]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Tue Oct 24 17:27:27 2000 Oct 24 17:27:27 grover ppp[627]: tun0: Phase: deflink: hangup -> opening Oct 24 17:27:27 grover ppp[627]: tun0: Phase: deflink: Enter pause (15) for redialing. Oct 24 17:27:42 grover ppp[627]: tun0: Phase: deflink: Redial timer expired. Oct 24 17:27:42 grover ppp[627]: tun0: Phase: deflink: Connected! Oct 24 17:27:42 grover ppp[627]: tun0: Phase: deflink: opening -> dial Oct 24 17:27:42 grover ppp[627]: tun0: Phase: deflink: dial -> carrier Oct 24 17:27:44 grover ppp[627]: tun0: Phase: Signal 15, terminate. Oct 24 17:27:44 grover ppp[627]: tun0: Phase: deflink: Disconnected! Oct 24 17:27:44 grover ppp[627]: tun0: Phase: deflink: carrier -> logout Oct 24 17:27:44 grover ppp[627]: tun0: Phase: deflink: logout -> hangup Oct 24 17:27:44 grover ppp[627]: tun0: Phase: deflink: Disconnected! Oct 24 17:27:44 grover ppp[627]: tun0: Phase: deflink: Connect time: 2 secs: 0 octets in, 0 octets out Oct 24 17:27:44 grover ppp[627]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Tue Oct 24 17:27:44 2000 Oct 24 17:27:44 grover ppp[627]: tun0: Phase: deflink: hangup -> closed Oct 24 17:27:44 grover ppp[627]: tun0: Phase: bundle: Dead Oct 24 17:27:44 grover ppp[627]: tun0: Phase: PPP Terminated (normal). -------- And here's ppp.conf again: >> ----- >> # ppp.conf for grover >> # modified 01-08-99 >> # modified 24-10-00 for ADSL >> >> default: >> set log Phase Chat LCP IPCP CCP tun command >> nat enable yes >> nat same_ports yes >> nat use_sockets yes >> set redial 15 28800 >> set reconnect 15 28800 >> >> pppoe: >> set device PPPoE:rl0: >> set mru 1492 >> set mtu 1492 >> set speed sync >> enable lqr >> set lqrperiod 5 >> set cd 5 >> set dial >> set login >> set timeout 0 >> set authname xxxxx >> set authkey xxxxx >> set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 >> add default HISADDR >> enable dns >> #end >> ----- Thanks to anyone who can help! -- Paul. mailto:paulh@chariot.net.au mailto:paul.hoadley@student.adelaide.edu.au To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message