Re: problems with L2TP

2015-07-09 Thread Sam Protsenko
Tom and I discussed this and we're not clear what you are running. Have you changed create_pppox() in mtpd with the code fragment from your original mail? Here is the commit for mtpd where I'm changing Android L2TP implementation to mainline implementation:

Re: problems with L2TP

2015-07-06 Thread Sam Protsenko
Thanks for your reply, Tom! How is the tunnel/session being created on the server side? My server is xl2tpd. If I understand correctly, session and tunnel are being created in start_pppd() function, see [1]. Judging from xl2tpd logs (see [2]), start_pppd() function is executed, in turn, from

problems with L2TP

2015-07-03 Thread Sam Protsenko
Hi, I'm having issues running user-space code, which uses net/l2tp/l2tp_ppp.c. The code is supposed to be running in LAC mode (which is I believe is default). My server configuration described here: https://wiki.linaro.org/LMG/Kernel/PPP I was trying to use next code snippets as user-space part: