Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Travel router part 2

On 2018-09-02 01:08 PM, D'Arcy Cain wrote:
> On 2018-09-02 12:47 PM, Robert Swindells wrote:
>> % man pppoe
>> Follow the instructions on what to put in /etc/ifconfig.pppoe0.
> I guess so.  I have usually tried to keep everything in rc.conf but I
> suppose that that's better than manual intervention.
> Thanks again.

So here is mu ifconfig.pppoe0 file

------------------------------ ifconfig.pppoe0 ------------------------
! /sbin/ifconfig re0 up
! pppoectl -e re0 $int
! pppoectl $int myauthproto=pap 'xxx' 'myauthsecret=yyyy' hisauthproto=none
inet netmask 0xffffffff
#! pppoectl $int max-auth-failure=1

When I restart the network I ger this.

  ifconfig: SIOCGIFAFLAG_IN: Can't assign requested address

but it works.  The man page actually says that the fifth line should be

  inet netmask 0xffffffff

but then this is what I get and it doesn't work.

[  404.125896] pppoe: connected to CMLDON7502W
[  404.295963] pppoe0: ipcp illegal conf-req in state initial
[  404.315971] pppoe0: ipcp illegal conf-req in state initial
[  404.335979] pppoe0: ipcp illegal conf-req in state initial

The same thing happens if I leave the line out altogether.  I guess I
will live with the error in the logs unless someone knows why it is
doing that.

D'Arcy J.M. Cain <> IM:darcy%Vex.Net@localhost

Home | Main Index | Thread Index | Old Index