Hi,

At home, I have your working target :)
I use an OBSD/i386 3.8 box connected to an ADSL router, but configured
in bridge mode (modem-only). If you use a router, you don't have to
configure PPPoE on your OBSD. If you use a bridge (seems to be your
case), you need to configure PPPoE on your OBSD box, which will
receive a public IP from your ISP. For me, using 'chap' as an
authentication did the trick. I've documented all my "adventure" at
http://carbonara.kicks-ass.org/doku.php?id=openbsd:pppoerouter (in
French, sorry !)

OpenBSD helped me to understand PPPoE "under the hood". In my mind,
it's an excellent (the best ?) teaching platform and a wonderfull
production system.

Long life to OpenBSD !!

On 12/21/05, Siju George <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I have a new Broadband Internet connection. It uses PPPoE with a
> username and password to connect to internet.
> I can connect to Internet with Windows 2003 (easy click and configure)
> so the DSL Router is working and the username and password is correct.
> I would like to use OpenBSD 3.8 to connect to Internet with it and not
> Windows 2003.
>
> I read the man pages and FAQ and did accordingly ( I suppose ) and it
> is not working. Could some one please point out as to what could I
> have done wrong?
>
> Details of my OpenBSD 3.8 system:
>
> I have two interfaces "rl0" "rl1"
>
> rl0 has the PPPoE connection and rl1 is connected to the LAN Switch.
>
> # ifconfig -a
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33224
>         groups: lo
>         inet 127.0.0.1 netmask 0xff000000
>         inet6 ::1 prefixlen 128
>         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
> rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         lladdr 00:50:fc:7d:4e:50
>         media: Ethernet autoselect (100baseTX full-duplex)
>         status: active
>         inet6 fe80::250:fcff:fe7d:4e50%rl0 prefixlen 64 scopeid 0x1
> rl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         lladdr 00:08:a1:7b:bf:52
>         media: Ethernet autoselect (100baseTX full-duplex)
>         status: active
>         inet 172.17.1.1 netmask 0xfff00000 broadcast 172.31.255.255
>         inet6 fe80::208:a1ff:fe7b:bf52%rl1 prefixlen 64 scopeid 0x2
> pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33224
> pfsync0: flags=0<> mtu 1348
> enc0: flags=0<> mtu 1536
> pppoe0: flags=a851<UP,POINTOPOINT,RUNNING,SIMPLEX,LINK1,MULTICAST> mtu 1492
>         dev: rl0 state: session
>         sid: 0x10f1 PADI retries: 1 PADR retries: 0 time: 00:00:06
>         groups: pppoe egress
>         inet 0.0.0.0 --> 0.0.0.1 netmask 0xffffffff
>         inet6 fe80::250:fcff:fe7d:4e50%pppoe0 ->  prefixlen 64 scopeid 0x7
>
> # cat /etc/sysctl.conf |grep inet.ip.forwarding
> net.inet.ip.forwarding=1        # 1=Permit forwarding (routing) of packets
> #
> # cat /etc/mygate
> cat: /etc/mygate: No such file or directory
> #
> # cat /etc/hostname.rl0
> up
> #
> # cat /etc/hostname.rl1
> inet 172.17.1.1 255.240.0.0 NONE
> #
> # cat /etc/hostname.pppoe0
> pppoedev rl0
> !/sbin/ifconfig rl0 up
> !/usr/sbin/spppcontrol \$if myauthproto=pap [EMAIL PROTECTED]
> myauthkey=zzzzzz
> !/sbin/ifconfig \$if inet 0.0.0.0 0.0.0.1 netmask 0xffffffff
> !/sbin/route add default 0.0.0.1
> link1 up
> #
> # cat /etc/pf.conf
> pass all
> #
>
> route show commands hangs for a long time :-(
>
> # route flush
> default              0.0.0.1              done
> loopback             localhost            done
> 172.16.1.0           00:11:95:c0:c7:33    done
> BASE-ADDRESS.MCAST.N localhost            done
> ::/128               localhost.broadband. done
> ::/128               localhost.broadband. done
> ::127.0.0.0/128      localhost.broadband. done
> ::224.0.0.0/128      localhost.broadband. done
> ::255.0.0.0/128      localhost.broadband. done
> ::ffff:0.0.0.0/128   localhost.broadband. done
> 2002::/128           localhost.broadband. done
> 2002:7f00::/128      localhost.broadband. done
> 2002:e000::/128      localhost.broadband. done
> 2002:ff00::/128      localhost.broadband. done
> fe80::/128           localhost.broadband. done
> fe80::250:fcff:fe7d: 00:50:fc:7d:4e:50    done
> fe80::208:a1ff:fe7b: 00:08:a1:7b:bf:52    done
> fe80::1%lo0          link#6               done
> fe80::250:fcff:fe7d: link#7               done
> fec0::/128           localhost.broadband. done
> #
> # sh /etc/netstart
> spppcontrol: SIOCSIFGENERIC(SPPPIOSDEFS): Device busy
> add net default: gateway 0.0.0.1
> #
>
> What could be the problem?
>
> How do I debug this?
>
> Thankyou so much :-)
>
> kind regards
>
> Siju

Reply via email to