Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jun 2005 02:42:28 -0400
From:      "Allyn Cheney" <ac@centurytel.net>
To:        <freebsd-questions@www.freebsd.org>
Cc:        joe@gaming-tv.com
Subject:   PPPoE Configuration problems
Message-ID:  <000e01c56cbe$68458620$0301a8c0@viper>

next in thread | raw e-mail | index | archive | help
I'm trying to setup a Freebsd box to act as my router/firewall and as =
such I've been trying to configure it to connect to my ISP's PPPoE dsl =
service. It doesn't connect and the errors provided in the log prove =
don't show me much content as to what is causing the problem. One thing =
strange is ppp is saying its using tun1, while below you can see its =
saying its using tun0 and erroring. Error log, ppp.conf and rc.conf are =
listed below.

Error log:
ppp[198]: tun0: Phase: deflink: Connected!
ppp[198]: tun0: Phase: deflink: opening -> dial
ppp[198]: tun0: Phase: deflink: dial -> carrier
ppp[198]: tun0: Phase: deflink: Disconnected!
ppp[198]: tun0: Phase: deflink: Connect Time: 5 sec
ppp[198]: tun0: Phase: deflink: hangup - > opening=20

ppp.conf
default:
 set log Phase chat lcp ipcp ccp tun command
 set if addr 10.10.0.1/0 10.10.0.2/0
 set mtu 1492
 set mru 1492
 set device PPPoE:rl0

papchap:
 set authname name
 set authkey key
 set dial
 set login
 add default HISADDR

rc.conf
ppp_enable=3D"YES"
ppp_mode=3D"ddial"
ppp_nat=3D"YES"
ppp_profile=3D"papchap"
gateway_enabled=3D"YES"
ifconfig_rl0=3D"DHCP"
ifconfig_dc0=3D"inet 10.10.0.1 netmask 255.255.255.248"
hostname=3D"name"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000e01c56cbe$68458620$0301a8c0>