PPPoE Doesn't Connect

Sean McLaughlin sigma.zx at gmail.com
Tue Oct 2 21:13:47 PDT 2007


After following that "Cheaper Broadband with FreeBSD on DSL" article
referenced in the handbook, I am not getting PPP to work with ADSL.
ppp(8)'s prompt stays all lowercase after "dial", whether I do
pap/chap or not. It looks like the carrier isn't responding(?)
Incidentally, the ISP is Telus and the ethernet cable connecting the
computer to the modem is a Dynex 25' cat6 I just bought earlier today,
if that makes any difference.

Here are the ppp.conf and ppp.log files.

*** ppp.conf ***
default:
	# PPP over Ethernet
	set device PPPoE:rl0
	set speed sync
	set mru 1492
	set mtu 1492
	set ctsrts off

	# monitor line quality
	enable lqr

	# log
	set log debug phase chat connect lcp ipcp ccp command tun

	# insert default route upon connection
	add default HISADDR

	# download /etc/resolv.conf
	enable dns

papchap:
	set authname xxxxxxxx
	set authkey xxxxxxxx
*** end of ppp.conf ***

*** ppp.log ***
Oct  2 13:45:09 skip ppp[1331]: Phase: Using interface: tun0
Oct  2 13:45:09 skip ppp[1331]: Phase: deflink: Created in closed state
Oct  2 13:45:09 skip ppp[1331]: tun0: Command: default: add default HISADDR
Oct  2 13:45:09 skip ppp[1331]: tun0: Command: default: enable dns
Oct  2 13:45:09 skip ppp[1331]: tun0: Phase: PPP Started (interactive mode).
Oct  2 13:45:09 skip ppp[1331]: tun0: Command: /dev/ttyp1: dial
Oct  2 13:45:09 skip ppp[1331]: tun0: Phase: bundle: Establish
Oct  2 13:45:09 skip ppp[1331]: tun0: Phase: deflink: closed -> opening
Oct  2 13:45:09 skip ppp[1331]: tun0: Debug: List of netgraph node
``rl0:'' (id 1) hooks:
Oct  2 13:45:09 skip ppp[1331]: tun0: Debug:   Found orphans -> ethernet
Oct  2 13:45:09 skip ppp[1331]: tun0: Debug: Connecting netgraph
socket .:tun0 -> [3]::tun0
Oct  2 13:45:09 skip ppp[1331]: tun0: Debug: Sending PPPOE_CONNECT to .:tun0
Oct  2 13:45:09 skip ppp[1331]: tun0: Debug: Found the following interfaces:
Oct  2 13:45:09 skip ppp[1331]: tun0: Debug:  Index 1, name "rl0"
Oct  2 13:45:09 skip ppp[1331]: tun0: Debug:  Index 2, name "plip0"
Oct  2 13:45:09 skip ppp[1331]: tun0: Debug:  Index 3, name "lo0"
Oct  2 13:45:09 skip ppp[1331]: tun0: Debug:  Index 4, name "tun0"
Oct  2 13:45:09 skip ppp[1331]: tun0: Phase: deflink: Connected!
Oct  2 13:45:09 skip ppp[1331]: tun0: Phase: deflink: opening -> dial
Oct  2 13:45:09 skip ppp[1331]: tun0: Chat: deflink: Dial attempt 1 of 1
Oct  2 13:45:09 skip ppp[1331]: tun0: Phase: deflink: dial -> carrier
Oct  2 13:45:09 skip ppp[1331]: tun0: Debug: Waiting for carrier
Oct  2 13:45:13 skip last message repeated 4 times
Oct  2 13:45:14 skip ppp[1331]: tun0: Phase: deflink: Disconnected!
Oct  2 13:45:14 skip ppp[1331]: tun0: Phase: deflink: carrier -> hangup
Oct  2 13:45:14 skip ppp[1331]: tun0: Debug: deflink: Close
Oct  2 13:45:14 skip ppp[1331]: tun0: Phase: deflink: Connect time: 5
secs: 0 octets in, 0 octets out
Oct  2 13:45:14 skip ppp[1331]: tun0: Phase: deflink: 0 packets in, 0
packets out
Oct  2 13:45:14 skip ppp[1331]: tun0: Phase:  total 0 bytes/sec, peak
0 bytes/sec on Tue Oct  2 13:45:09 2007
Oct  2 13:45:14 skip ppp[1331]: tun0: Phase: deflink: hangup -> closed
Oct  2 13:45:14 skip ppp[1331]: tun0: Debug: route_IfDelete (4)
Oct  2 13:45:14 skip ppp[1331]: tun0: Debug: Found ff01:4::/32 <AF_UNSPEC>
Oct  2 13:45:14 skip ppp[1331]: tun0: Debug: route_IfDelete: Skip it (pass 0)
Oct  2 13:45:14 skip ppp[1331]: tun0: Debug: Found ff02:4::/32 <AF_UNSPEC>
Oct  2 13:45:14 skip ppp[1331]: tun0: Debug: route_IfDelete: Skip it (pass 0)
Oct  2 13:45:14 skip ppp[1331]: tun0: Debug: Found ff01:4::/32 <AF_UNSPEC>
Oct  2 13:45:14 skip ppp[1331]: tun0: Debug: wrote 148: cmd = Delete,
dst = ff01:4::/32, gateway = <none>
Oct  2 13:45:14 skip ppp[1331]: tun0: Debug: Found ff02:4::/32 <AF_UNSPEC>
Oct  2 13:45:14 skip ppp[1331]: tun0: Debug: wrote 148: cmd = Delete,
dst = ff02:4::/32, gateway = <none>
Oct  2 13:45:14 skip ppp[1331]: tun0: Phase: bundle: Dead
Oct  2 19:41:07 skip ppp[1331]: tun0: Command: /dev/ttyp1: quit
Oct  2 19:41:07 skip ppp[1331]: tun0: Debug: DoLoop done.
Oct  2 19:41:07 skip ppp[1331]: tun0: Phase: PPP Terminated (normal).
Oct  2 19:41:07 skip ppp[1331]: tun0: Debug: route_IfDelete (4)
Oct  2 19:41:07 skip ppp[1331]: tun0: Debug: Radius: radius_Destroy
*** end of ppp.log ***


More information about the freebsd-questions mailing list