Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jan 2006 17:00:04 +1100
From:      Barbara La-Scala <bflscala@ee.unimelb.edu.au>
To:        freebsd-questions@freebsd.org
Subject:   Problem setting up PPPoE in Release 6.0
Message-ID:  <17352.37732.763165.511749@csp-03560.ee.mu.oz.au>

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

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: <NE2000 PCI Ethernet (RealTek 8029)> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17352.37732.763165.511749>