Andrey Korobkov <[email protected]> writes: > Hello, > > I've already had the similar (same?) issue with PPPoE on OpenBSD 6.5 and > 6.6 when I tried to simply use the example from man pppoe(4). > > After looking through source code I thought it's like needed > configuration structs are not fully populated (missed dest value), as if > it were 2 different commands (inet 0.0.0.0… and dest 0.0.0.1), but looks > like it wants both address and dest being set during one single configuration > line (command). > > So I've just used slightly different config format, with both address and > source set in one single line: > > #cat /etc/hostname.pppoe0 > inet 0.0.0.0 255.255.255.255 0.0.0.1 pppoedev cnmac0 authproto chap authname > '<login> authkey '<password> up > !/sbin/route add default -ifp pppoe0 0.0.0.1 > > And it works very well for me! So I hope this would help you tooo. > > P.S. Also would be nice if anyone with knowledge of C language look once > more at this example from man pppoe(4) and verified it against current pppoe > initialization code… > > > best regards, > -- > Andrey Korobkov >
Sorry, my mistake. I probably forgot word NONE in first config line. Just tested again and it worked even as in man pppoe(4) example. Sorry, -- Andrey Korobkov

