Using PPPoE

Alexandre Vasconcelos alex.vasconcelos at gmail.com
Wed Apr 13 06:04:27 PDT 2005


Hello All,

Sorry if this was discused here before but I couldn't find it on archives..
I have an ADSL PPPoE connection with my Internet provider, my modem is
an Alcatel
Speed Touch Pro, bridged mode. It works fine on windows (using a
built-in dialer) and linux (using rp-pppoe) - multi boot box. I've followed the
handbook instructions
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pppoe.html)
to make it work on FreeBSD with PPPoE without success. My ppp.conf is
just like section 21.5.2:

default:
 set log phase chat connect lcp ipcp tun command
 set ifaddr 10.0.0.140/32 0.0.0.0/0

brtelecom:
set device PPPoE:sis0
set authname myusername
set authkey mypassword
set dial
set login
add default HISADDR

When I run ppp -ddial brt modem lights start to blink, but ifconfig
shows interface tun0 without any IP address and /var/log/ppp.log
shows:

[root at alex ppp]# tail -f /var/log/ppp.log
Apr 12 01:13:01 alex ppp[9723]: tun0: IPCP: deflink: Oops, RCR in Initial.
Apr 12 01:13:04 alex ppp[9723]: tun0: IPCP: deflink:
RecvConfigReq(112) state = Initial
Apr 12 01:13:04 alex ppp[9723]: tun0: IPCP:  IPADDR[6] 200.103.98.174
Apr 12 01:13:04 alex ppp[9723]: tun0: IPCP: deflink: Oops, RCR in Initial.
Apr 12 01:13:07 alex ppp[9723]: tun0: IPCP: deflink:
RecvConfigReq(113) state = Initial
Apr 12 01:13:07 alex ppp[9723]: tun0: IPCP:  IPADDR[6] 200.103.98.174
Apr 12 01:13:07 alex ppp[9723]: tun0: IPCP: deflink: Oops, RCR in Initial.
Apr 12 01:13:10 alex ppp[9723]: tun0: IPCP: deflink:
RecvConfigReq(114) state = Initial
Apr 12 01:13:10 alex ppp[9723]: tun0: IPCP:  IPADDR[6] 200.103.98.174
Apr 12 01:13:10 alex ppp[9723]: tun0: IPCP: deflink: Oops, RCR in Initial.
Apr 12 01:13:13 alex ppp[9723]: tun0: IPCP: deflink:
RecvConfigReq(115) state = Initial
Apr 12 01:13:13 alex ppp[9723]: tun0: IPCP:  IPADDR[6] 200.103.98.174
Apr 12 01:13:13 alex ppp[9723]: tun0: IPCP: deflink: Oops, RCR in Initial.
Apr 12 01:13:16 alex ppp[9723]: tun0: IPCP: deflink:
RecvConfigReq(116) state = Initial
Apr 12 01:13:16 alex ppp[9723]: tun0: IPCP:  IPADDR[6] 200.103.98.174
Apr 12 01:13:16 alex ppp[9723]: tun0: IPCP: deflink: Oops, RCR in Initial.
Apr 12 01:13:19 alex ppp[9723]: tun0: IPCP: deflink:
RecvConfigReq(117) state = Initial
Apr 12 01:13:19 alex ppp[9723]: tun0: IPCP:  IPADDR[6] 200.103.98.174
Apr 12 01:13:19 alex ppp[9723]: tun0: IPCP: deflink: Oops, RCR in Initial.
Apr 12 01:13:22 alex ppp[9723]: tun0: IPCP: deflink:
RecvConfigReq(118) state = Initial
Apr 12 01:13:22 alex ppp[9723]: tun0: IPCP:  IPADDR[6] 200.103.98.174
Apr 12 01:13:22 alex ppp[9723]: tun0: IPCP: deflink: Oops, RCR in Initial

I don't have a default gateway.. and PPP can get the ISPs DNS! I think
there's something really small that I'm missing..
Anyone could help me?
Thanks in advance.

Alexandre


More information about the freebsd-questions mailing list