Hi all, I Am a new OpenBSD user and I am trying to set up a home router with OpenBSD, but I am having some troubles with pppoe. I live in Brazil and my connection is an ADSL link with Telefonica. My ip/gateway are both set dynamically.
Here's my /etc/hostname.pppoe0 file: pppoedev rl1 !/sbin/ifconfig rl1 up !/usr/sbin/spppcontrol -v \$if myauthproto=pap myauthname=" [EMAIL PROTECTED]" \ myauthkey=mypass !/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 So, it connects and set the ip, but it gets no gateway: pppoe0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1492 dev: rl1 state: session sid: 0x8081 PADI retries: 1 PADR retries: 0 time: 0:0:51 inet 200.158.156.121 <http://200.158.156.121> --> 0.0.0.1 <http://0.0.0.1>netmask 0xffffffff inet6 fe80::2e0:7dff:fe88:678d%pppoe0 -> prefixlen 64 scopeid 0x7 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 I have also tried to get pppoe working with userland pppoe, but I've got the same problem, except I could ping only the ip 200.207.254.248<http://200.207.254.248> . Here's my old router running debian linux ifconfig result: ppp0 Link encap:Point-to-Point Protocol inet addr:200.158.157.XXX P-t-P:200.207.254.248 <http://200.207.254.248>Mask: 255.255.255.255 <http://255.255.255.255> UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1 RX packets:4529 errors:0 dropped:0 overruns:0 frame:0 TX packets:3096 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:5122479 (4.8 MiB) TX bytes:285811 (279.1 KiB) Does anybody here live in Brazil and use the adsl link from telefonica and can get it working with OpenBSD/pppoe ? Does anybody know what this "error" could be ? Thanks in advance, Marcos Vinmcius Buzo