Hi all, I got recently a N9 and so I'm new to the forum. It seems no one had implemented a working PPTP solution, so I ventured into the implementation of it, because I need it absolutely to work. It is still work in progress, but i'm stuck with a trouble, so I need help form someone more experinced. Here brief instructions: Prerequisites: opensudo, aegis installer hacking, aegisctl Download my 3 deb files and install them, then Code: sudo aegisctl -sk (in order to load kernel modules and start pppd) Configure vpn tunneling following this guide http://pptpclient.sourceforge.net/ho...figure_by_hand then start ppp daemon (kernel modules should be loaded automatically) Code: sudo pppd call $TUNNEL logfd 2 nodetach debug dump Well, after this command my N9 reboots N.B My kernel modules are compiled against stock PR 1.3 kernel, so they work only with it. Finally, I'm sure the cause of trouble is not the modules because they load fine with modprobe command. Any help is appreciated for fixing this trouble. Thanks and sorry for my english EDIT: If it can help, here the log: Code: ~/MyDocs $ sudo pppd call vpntest logfd 2 nodetach debug dump pppd options in effect: debug # (from command line) nodetach # (from command line) logfd 2 # (from command line) dump # (from command line) noauth # (from /etc/ppp/options.pptp) refuse-pap # (from /etc/ppp/options.pptp) refuse-chap # (from /etc/ppp/options.pptp) refuse-mschap # (from /etc/ppp/options.pptp) refuse-eap # (from /etc/ppp/options.pptp) name vpnbook # (from /etc/ppp/peers/vpntest) remotename PPTP # (from /etc/ppp/peers/vpntest) # (from /etc/ppp/options.pptp) pty pptp uk180.vpnbook.com --nolaunchpppd # (from /etc/ppp/peers/vpntest) crtscts # (from /etc/ppp/options) # (from /etc/ppp/options) asyncmap 0 # (from /etc/ppp/options) lcp-echo-failure 4 # (from /etc/ppp/options) lcp-echo-interval 30 # (from /etc/ppp/options) hide-password # (from /etc/ppp/options) ipparam vpntest # (from /etc/ppp/peers/vpntest) nobsdcomp # (from /etc/ppp/options.pptp) nodeflate # (from /etc/ppp/options.pptp) require-mppe-128 # (from /etc/ppp/peers/vpntest) noipx # (from /etc/ppp/options) using channel 1 Using interface ppp0 Connect: ppp0 <--> /dev/pts/1 sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x79c379fc> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x79c379fc> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x79c379fc> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x79c379fc> <pcomp> <accomp>] ...then reboot... EDIT 2: my new post is still moderating, so I edit this message. I found another strange thing... If I do just aegisctl -k (without -s parameter), the pppd command log is: Code: /home/developer $ sudo pppd call vpntest logfd 2 nodetach debug dump pppd options in effect: debug # (from command line) nodetach # (from command line) logfd 2 # (from command line) dump # (from command line) noauth # (from /etc/ppp/options.pptp) refuse-pap # (from /etc/ppp/options.pptp) refuse-chap # (from /etc/ppp/options.pptp) refuse-mschap # (from /etc/ppp/options.pptp) refuse-eap # (from /etc/ppp/options.pptp) name vpnbook # (from /etc/ppp/peers/vpntest) remotename PPTP # (from /etc/ppp/peers/vpntest) # (from /etc/ppp/options.pptp) pty pptp euro195.vpnbook.com --nolaunchpppd # (from /etc/ppp/peers/vpntest) crtscts # (from /etc/ppp/options) # (from /etc/ppp/options) asyncmap 0 # (from /etc/ppp/options) lcp-echo-failure 4 # (from /etc/ppp/options) lcp-echo-interval 30 # (from /etc/ppp/options) hide-password # (from /etc/ppp/options) ipparam vpntest # (from /etc/ppp/peers/vpntest) nobsdcomp # (from /etc/ppp/options.pptp) nodeflate # (from /etc/ppp/options.pptp) require-mppe-128 # (from /etc/ppp/peers/vpntest) noipx # (from /etc/ppp/options) sh: pptp: Operation not permitted Couldn't get channel number: Input/output error Script pptp euro195.vpnbook.com --nolaunchpppd finished (pid 2701), status = 0x2 /home/developer $ Broadcast message from root@RM696 (unknown) at 17:32 ... The system is going down for reboot NOW! Ignore the "sh: pptp: Operation not permitted", as it should be caused by the missing -s from aegisctl. So there is something that sends a reboot signal after the execution of pppd process. What can be it and why?
sudo aegisctl -sk
sudo pppd call $TUNNEL logfd 2 nodetach debug dump
~/MyDocs $ sudo pppd call vpntest logfd 2 nodetach debug dump pppd options in effect: debug # (from command line) nodetach # (from command line) logfd 2 # (from command line) dump # (from command line) noauth # (from /etc/ppp/options.pptp) refuse-pap # (from /etc/ppp/options.pptp) refuse-chap # (from /etc/ppp/options.pptp) refuse-mschap # (from /etc/ppp/options.pptp) refuse-eap # (from /etc/ppp/options.pptp) name vpnbook # (from /etc/ppp/peers/vpntest) remotename PPTP # (from /etc/ppp/peers/vpntest) # (from /etc/ppp/options.pptp) pty pptp uk180.vpnbook.com --nolaunchpppd # (from /etc/ppp/peers/vpntest) crtscts # (from /etc/ppp/options) # (from /etc/ppp/options) asyncmap 0 # (from /etc/ppp/options) lcp-echo-failure 4 # (from /etc/ppp/options) lcp-echo-interval 30 # (from /etc/ppp/options) hide-password # (from /etc/ppp/options) ipparam vpntest # (from /etc/ppp/peers/vpntest) nobsdcomp # (from /etc/ppp/options.pptp) nodeflate # (from /etc/ppp/options.pptp) require-mppe-128 # (from /etc/ppp/peers/vpntest) noipx # (from /etc/ppp/options) using channel 1 Using interface ppp0 Connect: ppp0 <--> /dev/pts/1 sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x79c379fc> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x79c379fc> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x79c379fc> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x79c379fc> <pcomp> <accomp>]
/home/developer $ sudo pppd call vpntest logfd 2 nodetach debug dump pppd options in effect: debug # (from command line) nodetach # (from command line) logfd 2 # (from command line) dump # (from command line) noauth # (from /etc/ppp/options.pptp) refuse-pap # (from /etc/ppp/options.pptp) refuse-chap # (from /etc/ppp/options.pptp) refuse-mschap # (from /etc/ppp/options.pptp) refuse-eap # (from /etc/ppp/options.pptp) name vpnbook # (from /etc/ppp/peers/vpntest) remotename PPTP # (from /etc/ppp/peers/vpntest) # (from /etc/ppp/options.pptp) pty pptp euro195.vpnbook.com --nolaunchpppd # (from /etc/ppp/peers/vpntest) crtscts # (from /etc/ppp/options) # (from /etc/ppp/options) asyncmap 0 # (from /etc/ppp/options) lcp-echo-failure 4 # (from /etc/ppp/options) lcp-echo-interval 30 # (from /etc/ppp/options) hide-password # (from /etc/ppp/options) ipparam vpntest # (from /etc/ppp/peers/vpntest) nobsdcomp # (from /etc/ppp/options.pptp) nodeflate # (from /etc/ppp/options.pptp) require-mppe-128 # (from /etc/ppp/peers/vpntest) noipx # (from /etc/ppp/options) sh: pptp: Operation not permitted Couldn't get channel number: Input/output error Script pptp euro195.vpnbook.com --nolaunchpppd finished (pid 2701), status = 0x2 /home/developer $ Broadcast message from root@RM696 (unknown) at 17:32 ... The system is going down for reboot NOW!