PPPoE question

Ian Barnes ian at cerebellum.za.net
Wed Feb 15 12:26:09 PST 2006


Hi,

 

I am trying to setup my pppoe connection and I keep getting the following
error:

 

Gateway ppp[526]: tun0: Error: ipcp_InterfaceUP: unable to set ip address

 

My ppp.conf looks something like this:

 

default:

 nat enable yes

 nat same_ports yes

 nat use_sockets yes

 nat unregistered_only yes

 

dsl1:

 set log Phase Chat tun command

 set mru 1492

 set mtu 1492

 set device PPPoE:dc0                # Where xl0 is your NIC code

 set authname online321996 at domain.com

 set authkey password

 set dial

 set login

 set timeout 120

 set ifaddr 10.10.0.1/0 10.10.0.2/0

 add default HISADDR

 

I have the following options compiled into my kernel:

 

#PPPOE stuff

options         NETGRAPH

options         NETGRAPH_SOCKET

options         NETGRAPH_PPPOE

options         NETGRAPH_ETHER

options          PPP_DEFLATE

 

 

I run ppp: ppp -nat -ddial dsl1. It tries to connect, but I keep getting
that error.

 

Any ideas ?

 

Cheers

Ian



More information about the freebsd-questions mailing list