Yes Pedro, I live in the state of Sao Paulo. I used that configuration because is how the man 4 pppoe is telling i should do, these adresses should be replaced with the adresses I would receive from my ISP.
A typical */etc/hostname.pppoe0* file looks like this: pppoedev ne0 !/sbin/ifconfig ne0 up !/usr/sbin/spppcontrol \$if myauthproto=pap myauthname=testcaller \ myauthkey=donttell !/sbin/ifconfig \$if inet 0.0.0.0 <http://0.0.0.0> 0.0.0.1 <http://0.0.0.1> netmask 0xffffffff !/sbin/route add default 0.0.0.1 <http://0.0.0.1> up Since this is a PPP interface, the addresses assigned to the interface may change during PPP negotiation. There is no fine grained control available for deciding which addresses are acceptable and which are not. For the local side and the remote address there is exactly one choice: hard coded address or wildcard. If a real address is assigned to one side of the connection, PPP negotiation will only agree to exactly this address. If one side is wildcarded, every address suggested by the peer will be accepted. To wildcard the local address set it to 0.0.0.0 <http://0.0.0.0>; to wildcard the remote address set it to 0.0.0.1 <http://0.0.0.1>. I would like to talk to your friend to know what he is doing to get pppoe working, Thanks in advance man.. On 10/1/05, Pedro Martelletto <[EMAIL PROTECTED]> wrote: > > Hi Marcos, > > I never used PPPoE myself, but let me try to help you out... > > On Sat, Oct 01, 2005 at 05:36:24PM -0300, Marcos Vinicius Buzo wrote: > > I live in Brazil and my connection is an ADSL link with Telefonica. > > Then you probably live somewhere in the state of Sao Paulo :-) > > > !/sbin/ifconfig \$if inet 0.0.0.0 <http://0.0.0.0> 0.0.0.1<http://0.0.0.1>netmask 0xffffffff > > !/sbin/route add default 0.0.0.1 <http://0.0.0.1> > > Why are you doing this? You're setting your gateway to 0.0.0.1<http://0.0.0.1> > . > > > The netstat -nr command shows me: > > > > Destination Gateway Flags Refs Use Mtu Interface > > 0.0.0.1 <http://0.0.0.1> 0.0.0.0 <http://0.0.0.0> UH 0 0 - pppoe0 > > Which matches the set of ifconfig + route commands that you used, no? > > > Does anybody here live in Brazil and use the adsl link from telefonica > and > > can get it working with OpenBSD/pppoe ? > > No. I've a friend who uses PPPoE for Velox. Shall you have more trouble > and I will put you in touch with him. > > -p.