PPPoE connection

I'm going to install FreeBSD to another one of my PCs. This one uses PPPoE connection, which I'm not familiar with on FreeBSD. That's why I've installed FreeBSD on VMWare Player for now to try it out. But I can't configure it. I've set it up as a bridged connection with my PC. My ppp.conf is:
Code:
default:
  set log Phase tun command # you can add more detailed logging if you wish
  set ifaddr 10.0.0.1/0 10.0.0.2/0

dialog:
  set device PPPoE:em0 # replace xl1 with your Ethernet device
  set authname ****************
  set authkey ******
  set dial
  set login
  add default HISADDR
When I do
Code:
ppp -ddial dialog
it throws
Code:
WARNING: attempt to domain_add(netgraph) after domainfinalize()
and there's no Internet connection. Any idea?
 
Try this:
Code:
default:
        set log Chat Command Connect Filter Phase tun Error Alert
rds:
        set device PPPoE:sk0
        set redial 1 0
        set reconnect 3 23
        set mtu max 1492
        set mru max 1492
        set speed sync
        set server /var/run/internet "" 0177
        set dial
        set login
        set authname "xxxxxxxx"
        set authkey "xxxxxxx"
        disable acfcomp protocomp
        disable ipv6cp
        enable mssfixup
        enable dns
        enable lqr
        enable echo
        accept lqr
        add default HISADDR
        set timeout 0
        open
 
Thanks, I had to modify it a little to (remove quotation marks and "set login") because of CHAP authentication issues. Now it connects, but disconnects because of following error:
Code:
Warning: 0.0.0.0: Change route failed: errno: No such process
Phase: deflink: open > lcp
Warning: 0.0.0.0: Change route failed: errno: No such process
Phase: bundle: Terminate
Then it disconnects.
 
The message
Code:
WARNING: attempt to domain_add(netgraph) after domainfinalize()
is related to ng_pppoe. It appears on systems running net/mpd too.

Your message is related to some route. I suppose you have a default route set in /etc/rc.conf. Try removing the default route, and start ppp/pppoe again. The default route can be removed with:
[cmd=]route -n delete default[/cmd]

LE: the message is referring to a route change, so it may be possible to be useful to have a 'default route' before ppp start.
 
ecazamir said:
The message
Code:
WARNING: attempt to domain_add(netgraph) after domainfinalize()
is related to ng_pppoe. It appears on systems running net/mpd too.

Your message is related to some route. I suppose you have a default route set in /etc/rc.conf. Try removing the default route, and start ppp/pppoe again. The default route can be removed with:
[cmd=]route -n delete default[/cmd]

LE: the message is referring to a route change, so it may be possible to be useful to have a 'default route' before ppp start.
I neither have a default route in /etc/rc.conf nor do I have installed net/mpd. It's a completely clean install with no software whatsoever.
 
Hello,

replace
Code:
add default HISADDR
with
Code:
add! default HISADDR
in your config and set manually default gateway if you are not getting your network settings via DHCP.
 
quintessence said:
Hello,

replace
Code:
add default HISADDR
with
Code:
add! default HISADDR
in your config and set manually default gateway if you are not getting your network settings via DHCP.
Thanks, it works.
And now here we have another PC running FreeBSD :e
 
Back
Top