From owner-freebsd-questions@FreeBSD.ORG Tue Oct 23 02:29:17 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6AE0D16A46C for ; Tue, 23 Oct 2007 02:29:17 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (nightmare.dreamchaser.org [12.32.36.65]) by mx1.freebsd.org (Postfix) with ESMTP id E3E8013C4BC for ; Tue, 23 Oct 2007 02:29:16 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from [12.32.36.67] (freshstart.dreamchaser.org. [12.32.36.67]) by nightmare.dreamchaser.org (8.13.6/8.13.6) with ESMTP id l9N2VP1m085148 for ; Mon, 22 Oct 2007 20:31:26 -0600 (MDT) (envelope-from freebsd@dreamchaser.org) Message-ID: <471D5D11.3090201@dreamchaser.org> Date: Mon, 22 Oct 2007 20:31:45 -0600 From: freebsd@dreamchaser.org User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (nightmare.dreamchaser.org [12.32.36.65]); Mon, 22 Oct 2007 20:31:26 -0600 (MDT) Subject: user ppp and PPPoE bridging X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Oct 2007 02:29:17 -0000 I'm attempting to change a DSL link from using PPPoE in the DSL modem to doing PPPoE on 6.1, with the modem in bridging mode. I've put the DSL modem in bridging mode, and it brings up the link properly -- or at least it reports it as up (DSL led steady; modem status report shows it as up, rfc 1483. Using user ppp, when I attempt to establish the PPPoE connection, I never get very far -- ppp dies when it tries to acquire carrier. I don't understand this, as there isn't a carrier signal to acquire on an ethernet. I tried disabling cd in ppp.conf but as noted in the doc, it's required for a PPPoE connection and is forced on. Also, how do I know know which interface it is attempting to connect to? The debug log shows it found five interfaces, but doesn't indicate which one it is trying to connect to. Thanks for any clues, Gary ============ log file: ============= Oct 22 16:34:15 nightmare ppp[84336]: Phase: Using interface: tun0 Oct 22 16:34:15 nightmare ppp[84336]: Phase: deflink: Created in closed state Oct 22 16:34:15 nightmare ppp[84336]: tun0: Command: default: set log -timer Oct 22 16:34:15 nightmare ppp[84336]: tun0: Command: default: ident user-ppp VERSION (built COMPILATIONDATE) Oct 22 16:34:15 nightmare ppp[84336]: tun0: Command: default: set redial 15 0 Oct 22 16:34:15 nightmare ppp[84336]: tun0: Command: default: set reconnect 15 10000 Oct 22 16:34:15 nightmare ppp[84336]: tun0: Phase: PPP Started (interactive mode). Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: /dev/ttyp3: dial blackfoot Oct 22 16:34:24 nightmare ppp[84336]: tun0: ID0: 0x282e72e0 = fopen("/etc/ppp/ppp.conf", "r") Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug: ReadSystem: Checking default (/etc/ppp/ppp.conf). Oct 22 16:34:24 nightmare ppp[84336]: tun0: ID0: 0x282e72e0 = fopen("/etc/ppp/ppp.conf", "r") Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug: ReadSystem: Checking blackfoot (/etc/ppp/ppp.conf). Oct 22 16:34:24 nightmare ppp[84336]: tun0: ID0: 0x282e72e0 = fopen("/etc/ppp/ppp.conf", "r") Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug: ReadSystem: Checking blackfoot (/etc/ppp/ppp.conf). Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: set device PPPoE:ed1 Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: disable acfcomp protocomp Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: deny acfcomp Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: set mtu max 1492 Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: set mru max 1492 Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: enable mssfixup Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: set speed sync Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: enable lqr Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: set lqrperiod 5 Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: set ctsrts off Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: disable ipv6cp Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: set dial Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: set login Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: set timeout 0 Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: set authname xxxxxxxx Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: set authkey ******** Oct 22 16:34:24 nightmare ppp[84336]: tun0: Command: blackfoot: add! default HISADDR Oct 22 16:34:24 nightmare ppp[84336]: tun0: ID0: 3 = socket(17, 3, 0) Oct 22 16:34:24 nightmare ppp[84336]: tun0: Phase: bundle: Establish Oct 22 16:34:24 nightmare ppp[84336]: tun0: Phase: deflink: closed -> opening Oct 22 16:34:24 nightmare ppp[84336]: tun0: ID0: 0 = NgMkSockNode("", &cs, &ds) Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug: List of netgraph node ``ed1:'' (id 2) hooks: Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug: Found orphans -> ethernet Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug: Connecting netgraph socket .:tun0 -> [8]::tun0 Oct 22 16:34:24 nightmare ppp[84336]: tun0: ID0: 4 = socket(2, 2, 0) Oct 22 16:34:24 nightmare ppp[84336]: tun0: ID0: 0 = ioctl(4, 3223349521, 0xbfbfda00) Oct 22 16:34:24 nightmare ppp[84336]: tun0: ID0: 0 = ioctl(4, 2149607696, 0xbfbfda00) Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug: Sending PPPOE_CONNECT to .:tun0 Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug: Found the following interfaces: Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug: Index 1, name "ep0" Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug: Index 2, name "plip0" Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug: Index 3, name "ed1" Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug: Index 4, name "lo0" Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug: Index 5, name "tun0" Oct 22 16:34:24 nightmare ppp[84336]: tun0: Phase: deflink: Connected! Oct 22 16:34:24 nightmare ppp[84336]: tun0: Phase: deflink: opening -> dial Oct 22 16:34:24 nightmare ppp[84336]: tun0: Phase: deflink: dial -> carrier Oct 22 16:34:24 nightmare ppp[84336]: tun0: Debug: Waiting for carrier Oct 22 16:34:28 nightmare last message repeated 4 times Oct 22 16:34:29 nightmare ppp[84336]: tun0: Phase: deflink: Disconnected! Oct 22 16:34:29 nightmare ppp[84336]: tun0: Phase: deflink: carrier -> hangup Oct 22 16:34:29 nightmare ppp[84336]: tun0: Debug: deflink: Close Oct 22 16:34:29 nightmare ppp[84336]: tun0: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out Oct 22 16:34:29 nightmare ppp[84336]: tun0: Phase: deflink: 0 packets in, 0 packets out Oct 22 16:34:29 nightmare ppp[84336]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Mon Oct 22 16:34:24 2007 Oct 22 16:34:29 nightmare ppp[84336]: tun0: Phase: deflink: hangup -> closed Oct 22 16:34:29 nightmare ppp[84336]: tun0: Debug: route_IfDelete (5) Oct 22 16:34:29 nightmare ppp[84336]: tun0: Debug: Found ff01:5::/32 Oct 22 16:34:29 nightmare ppp[84336]: tun0: Debug: route_IfDelete: Skip it (pass 0) Oct 22 16:34:29 nightmare ppp[84336]: tun0: Debug: Found ff02:5::/32 Oct 22 16:34:29 nightmare ppp[84336]: tun0: Debug: route_IfDelete: Skip it (pass 0) Oct 22 16:34:29 nightmare ppp[84336]: tun0: Debug: Found ff01:5::/32 Oct 22 16:34:29 nightmare ppp[84336]: tun0: ID0: 2 = socket(17, 3, 0) Oct 22 16:34:29 nightmare ppp[84336]: tun0: ID0: 148 = write(2, data, 148) Oct 22 16:34:29 nightmare ppp[84336]: tun0: Debug: wrote 148: cmd = Delete, dst = ff01:5::/32, gateway = Oct 22 16:34:29 nightmare ppp[84336]: tun0: Debug: Found ff02:5::/32 Oct 22 16:34:29 nightmare ppp[84336]: tun0: ID0: 2 = socket(17, 3, 0) Oct 22 16:34:29 nightmare ppp[84336]: tun0: ID0: 148 = write(2, data, 148) Oct 22 16:34:29 nightmare ppp[84336]: tun0: Debug: wrote 148: cmd = Delete, dst = ff02:5::/32, gateway = Oct 22 16:34:29 nightmare ppp[84336]: tun0: ID0: 2 = socket(2, 2, 0) Oct 22 16:34:29 nightmare ppp[84336]: tun0: ID0: 0 = ioctl(2, 3223349521, 0xbfbfe660) Oct 22 16:34:29 nightmare ppp[84336]: tun0: ID0: 0 = ioctl(2, 2149607696, 0xbfbfe660) Oct 22 16:34:29 nightmare ppp[84336]: tun0: Phase: bundle: Dead Oct 22 16:34:37 nightmare ppp[84336]: tun0: Command: /dev/ttyp3: quit Oct 22 16:34:37 nightmare ppp[84336]: tun0: Debug: DoLoop done. Oct 22 16:34:37 nightmare ppp[84336]: tun0: Phase: PPP Terminated (normal). ============ ppp.conf: =========== default: set log all set log -timer ident user-ppp VERSION (built COMPILATIONDATE) set redial 15 0 set reconnect 15 10000 isp: set device PPPoE:ed1 disable acfcomp protocomp deny acfcomp set mtu max 1492 set mru max 1492 enable mssfixup set speed sync enable lqr set lqrperiod 5 set ctsrts off disable ipv6cp set dial set login set timeout 0 set authname xxxxxx set authkey yyyyyy add! default HISADDR