From owner-freebsd-questions@FreeBSD.ORG Sat Jan 14 06:00:27 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DE7216A41F for ; Sat, 14 Jan 2006 06:00:27 +0000 (GMT) (envelope-from bflscala@ee.unimelb.edu.au) Received: from loki.ee.unimelb.edu.au (loki.ee.unimelb.edu.au [128.250.76.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08D2943D46 for ; Sat, 14 Jan 2006 06:00:23 +0000 (GMT) (envelope-from bflscala@ee.unimelb.edu.au) Received: from mullian.ee.mu.OZ.AU (mullian.ee.mu.oz.au [128.250.80.1]) by loki.ee.unimelb.edu.au (8.13.1/8.13.1) with ESMTP id k0E60AQR029963 for ; Sat, 14 Jan 2006 17:00:10 +1100 (EST) Received: from csp-03560.ee.mu.oz.au (csp-03560.ee.mu.oz.au [172.16.17.70]) by mullian.ee.mu.OZ.AU (8.11.0/8.11.0) with ESMTP id k0E604S02250 for ; Sat, 14 Jan 2006 17:00:04 +1100 (EST) Received: (from bflscala@localhost) by csp-03560.ee.mu.oz.au (8.13.1/8.13.1/Submit) id k0E604MD021120; Sat, 14 Jan 2006 17:00:04 +1100 From: Barbara La-Scala MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17352.37732.763165.511749@csp-03560.ee.mu.oz.au> Date: Sat, 14 Jan 2006 17:00:04 +1100 To: freebsd-questions@freebsd.org X-Mailer: VM 7.18 under Emacs 21.3.1 Subject: Problem setting up PPPoE in Release 6.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: b.lascala@ee.unimelb.edu.au List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jan 2006 06:00:27 -0000 I have a Netcomm NB1300 modem and a Realtek 8029 ethernet card and was successful at configuring PPPoE for this combination under R5.3. I've recently upgraded to R6.0 and cannot get things to work any more. I've played with all the options in the ppp.conf that looked relevant (and several that didn't) and I've compiled the NETGRAPH stuff into my kernel but still no go. I've googled but without success. I've tripled checked that I've got my username and password entered correctly. I know the modem is OK as I'm using it to post this (hooked up to a laptop with Windoze). I'm reluctant to return to R5.3 as I'm enjoying having a working sound card. However, I need internet access more. Any help would be greatly appreciated as I'm all out of ideas. Configuration details are below. Thanks Barbara FreeBSD reports my Ethernet card is ed0: port 0xd000-0xd01f irq 12 at device 9.0 on pci0 ed0: type NE2000 (16 bit) My /etc/rc.conf looks like ifconfig_ed0="up" ppp_enable="YES" ppp_mode="ddial" ppp_profile="netspace" My /etc/ppp/ppp.conf (with password deleted) is default: set log All netspace: set device PPPoE:ed0 set authname ******@netspace.net.au set authkey ******** set dial set login set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR The ppp.log file reports Phase: Using interface: tun0 Phase: deflink: Created in closed state tun0: ID0: 0x282e62c0 = fopen("/etc/ppp/ppp.conf", "r") tun0: Debug: ReadSystem: Checking netspace (/etc/ppp/ppp.conf). tun0: Command: netspace: set device PPPoE:ed0 tun0: Command: netspace: set authname ******@netspace.net.au tun0: Command: netspace: set authkey ******** tun0: Command: netspace: set dial tun0: Command: netspace: set login tun0: Command: netspace: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 tun0: Command: netspace: add default HISADDR tun0: ID0: 9 = socket(17, 3, 0) tun0: ID0: -1 = write(9, data, 140) tun0: TCP/IP: rt_Set failure: tun0: TCP/IP: rt_Set: Cmd = Add tun0: TCP/IP: rt_Set: Dst = 0.0.0.0/0 tun0: TCP/IP: rt_Set: Gateway = 10.0.0.2 tun0: Debug: wrote -1: cmd = Add, dst = 0.0.0.0/0, gateway = 10.0.0.2 tun0: ID0: 0x282e62c0 = fopen("/var/run/tun0.pid", "w") tun0: Phase: PPP Started (ddial mode). tun0: Phase: bundle: Establish tun0: Phase: deflink: closed -> opening tun0: ID0: 0 = NgMkSockNode("", &cs, &ds) tun0: Debug: List of netgraph node ``ed0:'' (id 1) hooks: tun0: Debug: Found orphans -> ethernet tun0: Debug: Connecting netgraph socket .:tun0 -> [3]::tun0 tun0: ID0: 2 = socket(2, 2, 0) tun0: ID0: 0 = ioctl(2, 3223349521, 0xbfbfde10) tun0: ID0: 0 = ioctl(2, 2149607696, 0xbfbfde10) tun0: Debug: Sending PPPOE_CONNECT to .:tun0 tun0: Debug: Found the following interfaces: tun0: Debug: Index 1, name "ed0" tun0: Debug: Index 2, name "plip0" tun0: Debug: Index 3, name "lo0" tun0: Debug: Index 4, name "tun0" tun0: Timer: timer_Start: Inserting physical throughput timer[0x80bc068] tun0: Phase: deflink: Connected! tun0: Phase: deflink: opening -> dial tun0: Phase: deflink: dial -> carrier tun0: Debug: Waiting for carrier tun0: Timer: Select returns -1 tun0: Timer: ---- Begin of Timer Service List--- tun0: Timer: physical throughput timer[0x80bc068]: freq = 1.00s, next = 0.00s, state = running tun0: Timer: ---- End of Timer Service List --- tun0: Timer: timer_Start: Inserting physical throughput timer[0x80bc068] tun0: Debug: Waiting for carrier tun0: Timer: Select returns -1 tun0: Timer: ---- Begin of Timer Service List--- tun0: Timer: physical throughput timer[0x80bc068]: freq = 1.00s, next = 0.00s, state = running tun0: Timer: ---- End of Timer Service List --- tun0: Timer: timer_Start: Inserting physical throughput timer[0x80bc068] tun0: Debug: Waiting for carrier tun0: Timer: Select returns -1 tun0: Timer: ---- Begin of Timer Service List--- tun0: Timer: physical throughput timer[0x80bc068]: freq = 1.00s, next = 0.00s, state = running tun0: Timer: ---- End of Timer Service List --- tun0: Timer: timer_Start: Inserting physical throughput timer[0x80bc068] tun0: Debug: Waiting for carrier tun0: Timer: Select returns -1 tun0: Timer: ---- Begin of Timer Service List--- tun0: Timer: physical throughput timer[0x80bc068]: freq = 1.00s, next = 0.00s, state = running tun0: Timer: ---- End of Timer Service List --- tun0: Timer: timer_Start: Inserting physical throughput timer[0x80bc068] tun0: Debug: Waiting for carrier tun0: Timer: Select returns -1 tun0: Timer: ---- Begin of Timer Service List--- tun0: Timer: physical throughput timer[0x80bc068]: freq = 1.00s, next = 0.00s, state = running tun0: Timer: ---- End of Timer Service List --- tun0: Timer: timer_Start: Inserting physical throughput timer[0x80bc068] tun0: Phase: deflink: Disconnected! tun0: Phase: deflink: carrier -> hangup tun0: Debug: deflink: Close tun0: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out tun0: Phase: deflink: 0 packets in, 0 packets out tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Sat Jan 14 14:22:33 2006 -- Dr Barbara La Scala E-mail: b.lascala@ee.unimelb.edu.au Dept of Electrical & Electronic Engineering University of Melbourne, VIC 3010 Tel: +61 (3) 8344-3934 Australia Fax: +61 (3) 8344-6678