PPPoE interface

I do have another question, about setting PPPoE.

Code:
RDS:
  set device PPPoE:vr0
  set authname xx
  set authkey yy
  set dial
  set login
  add default HISADDR

I tried to configure it like this, but when I do [cmd=]ppp -ddial RDS[/cmd] it says:

Code:
RDS:configuration label not found

I replaced only name and password from this: handbook chapter. How can I solve this problem too? Thank you again for helping me.
 
First you need recompile kernel to use PPPoE, add this:
Code:
options         NETGRAPH
options         NETGRAPH_ETHER
options         NETGRAPH_PPPOE
options         NETGRAPH_SOCKET
And here is my conf for /etc/ppp/ppp.conf
Code:
default:

  set device PPPoE:rl0
  set speed sync
  set mru 1460
  set mtu 1460
  set ctsrts off
#set log Phase Chat LCP IPCP CCP tun command
 set log phase tun command
  enable lqr
  add default HISADDR
#  enable dns
  disable ipv6
  disable ipv6cp
  set authname xxxxxx
  set authkey xxxxxx
Add to /etc/rc.conf
Code:
ppp_enable=YES
ppp_mode=auto
ppp_profile=default
ppp_nat=YES
The last is to start daemon
[CMD=""]/etc/rc.d/ppp start[/CMD]
 
Back
Top