On 27 February 2009 c. 22:15:35 Sergey Khentov wrote:
> >> # cat /etc/hostname.pppoe0
> >> inet 0.0.0.0 255.255.255.255 0.0.0.1 pppoedev rl2 \
> >>        authproto pap authname szt authkey szt up
> >> !/sbin/route add default 0.0.0.1
> >
> > Looks like you messed up ifconfig(8) and hostname.if(5) syntax.
> > You need something like:
> >
> > inet 0.0.0.0 255.255.255.255 NONE pppoedev rl2
> > authproto pap authname szt authkey szt
> > dest 0.0.0.1
> > up
> > !/sbin/route add default 0.0.0.1
>
> Thanks a lot! At least sh -x /ets/netstart pppoe0 now works OK.
>
> I've configured pppoe according to the manual for 4.2 (got it ftom
> http://www.openbsdsupport.org), it seems that the manual is a
> little bit incorrect. I'll try to contact with the author.


You should look at man pages in your system first, there are all needed
examples. In particular, you should read pppoe(4).

--
  Best wishes,
    Vadim Zhukov

Reply via email to