On Thursday, January 19, 2012 23:35 CET, YASUOKA Masahiko <[email protected]> wrote: > > On Thu, 19 Jan 2012 14:10:03 +0100 > "Sebastian Reitenbach" <[email protected]> wrote: > > On Thursday, January 19, 2012 02:23 CET, YASUOKA Masahiko > > <[email protected]> wrote: > >> On Thu, 19 Jan 2012 02:14:48 +0900 (JST) > >> YASUOKA Masahiko <[email protected]> wrote: > >> > To enable 'pppx mode', add > >> > > >> > pppx_mode: true > >> > > >> > to /etc/npppd/npppd.conf. > >> > >> Sorry, above example was wrong. To test `pppx mode' > >> > >> (1) create /dev/pppx0 > >> % cd /dev > >> % sudo sh MAKEDEV pppx > >> (2) replace from `tun0' to `pppx0' in /etc/npppd/npppd.conf > >> (3) add "interface.pppx0.pppx_mode: true" to /etc/npppd/npppd.conf > > > > I tried this pppx mode on my OBSD VM, together with the Linux client, but > > it doesn't establish the connection: > > > > - I created the pppx device as explained above > > - edited npppd.conf: > > > > #interface_list: tun0 > > #interface.tun0.ip4addr: 10.66.66.1 > > interface_list: pppx0 > > interface.pppx0.ip4addr: 10.66.66.1 > > interface.pppx0.pppx_mode: true > > ... > > Do you have > > realm.local.concentrate: pppx0
no, I still had tun0 there. Next time I should use grep instead of trying to trust my eyes to catch everything. > > line correctly? > > > 2012-01-19 13:39:03:INFO: ppp id=0 layer=chap proto=mschap_v2 > > logtype=Success username="user1" realm=local > > 2012-01-19 13:39:03:WARNING: ppp id=0 layer=base No interface binding. > > npppd failed to find a interface for the user of the realm. so changing to pppx0 makes it work as it should be. sorry for the noise Sebastian > > --yasuoka

