Active Topics

 

Posts: 17 | Thanked: 7 times | Joined on Dec 2013
#1
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?
Attached Files
File Type: deb pptp-kernel_1.0-1_armel.deb (297.4 KB, 150 views)
File Type: deb ppp_2.4.5-1_armel.deb (337.0 KB, 140 views)
File Type: deb pptp-linux_1.7.2-1_armel.deb (51.6 KB, 130 views)

Last edited by gipawu; 2013-12-06 at 11:14.
 
Posts: 17 | Thanked: 7 times | Joined on Dec 2013
#2
EDIT: see first post

Last edited by gipawu; 2013-12-10 at 17:09.
 
Posts: 17 | Thanked: 7 times | Joined on Dec 2013
#3
Did someone test my work and/or do someone know why my N9 reboots? Thank you.
 
Posts: 1 | Thanked: 0 times | Joined on Sep 2015
#4
Originally Posted by gipawu View Post
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?

Hello,

I did all above as instructed on my N900, just hope to have VPN done. Then I come cross with new issue. It said "Cannot determine ethernet address for proxy arp". I searched a lot on Google about this, but still cannot get it work. Pls help:

Nokia-N900:/etc/ppp# pppd call ddvpn3 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/peers/ddvpn3)
name derek0112vpn # (from /etc/ppp/peers/ddvpn3)
remotename ddvpn3 # (from /etc/ppp/peers/ddvpn3)
# (from /etc/ppp/peers/ddvpn3)
pty pptp 185.14.30.112 --nolaunchpppd # (from /etc/ppp/peers/ddvpn3)
crtscts # (from /etc/ppp/options)
# (from /etc/ppp/options)
asyncmap 0 # (from /etc/ppp/options)
lcp-echo-failure 10 # (from /etc/ppp/options)
lcp-echo-interval 30 # (from /etc/ppp/options)
hide-password # (from /etc/ppp/options)
ipparam ddvpn3 # (from /etc/ppp/peers/ddvpn3)
ms-dns xxx # [don't know how to print value] # (from /etc/ppp/options)
proxyarp # (from /etc/ppp/options)
nobsdcomp # (from /etc/ppp/peers/ddvpn3)
nodeflate # (from /etc/ppp/peers/ddvpn3)
require-mppe-128 # (from /etc/ppp/peers/ddvpn3)
noipx # (from /etc/ppp/options)
using channel 23
Using interface ppp0
Connect: ppp0 <--> /dev/pts/1
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x7a67b963> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0xbd6358a4> <pcomp> <accomp>]
sent [LCP ConfAck id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0xbd6358a4> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x7a67b963> <pcomp> <accomp>]
sent [LCP EchoReq id=0x0 magic=0x7a67b963]
rcvd [LCP EchoReq id=0x0 magic=0xbd6358a4]
sent [LCP EchoRep id=0x0 magic=0x7a67b963]
rcvd [CHAP Challenge id=0x1d <7a44049a952355953af47b6e2ebc3266>, name = "pptpd"]
Warning - secret file /etc/ppp/chap-secrets has world and/or group access
sent [CHAP Response id=0x1d <57bf0d9a0ae835085e53fa29ea26b9af00000000000000005 7f853652f73f07866cbc2e61115f88c5c35a3d63aa068c100> , name = "derek0112vpn"]
rcvd [LCP EchoRep id=0x0 magic=0xbd6358a4]
rcvd [CHAP Success id=0x1d "S=2ED3DA1E20ED940F057C856174AD04C3E574B8B0"]
CHAP authentication succeeded
sent [CCP ConfReq id=0x1 <mppe +H -M +S -L -D -C>]
rcvd [CCP ConfReq id=0x1 <mppe +H -M +S -L -D -C>]
sent [CCP ConfAck id=0x1 <mppe +H -M +S -L -D -C>]
rcvd [CCP ConfAck id=0x1 <mppe +H -M +S -L -D -C>]
MPPE 128-bit stateless compression enabled
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0>]
rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 192.168.30.1>]
sent [IPCP ConfAck id=0x1 <compress VJ 0f 01> <addr 192.168.30.1>]
rcvd [IPCP ConfNak id=0x1 <addr 192.168.30.18>]
sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 192.168.30.18>]
rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 192.168.30.1>]
sent [IPCP ConfAck id=0x1 <compress VJ 0f 01> <addr 192.168.30.1>]
sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 192.168.30.18>]
rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 192.168.30.1>]
sent [IPCP ConfAck id=0x1 <compress VJ 0f 01> <addr 192.168.30.1>]
sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 192.168.30.18>]
rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 192.168.30.1>]
sent [IPCP ConfAck id=0x1 <compress VJ 0f 01> <addr 192.168.30.1>]
sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 192.168.30.18>]
rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 192.168.30.1>]
sent [IPCP ConfAck id=0x1 <compress VJ 0f 01> <addr 192.168.30.1>]
sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 192.168.30.18>]
rcvd [IPCP ConfAck id=0x2 <compress VJ 0f 01> <addr 192.168.30.18>]
Cannot determine ethernet address for proxy ARP
local IP address 192.168.30.18
remote IP address 192.168.30.1
Script /etc/ppp/ip-up started (pid 1914)
Script /etc/ppp/ip-up finished (pid 1914), status = 0x0
rcvd [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 192.168.30.1>]
Connect time 0.0 minutes.
Sent 0 bytes, received 32 bytes.
Script /etc/ppp/ip-down started (pid 1917)
sent [IPCP ConfReq id=0x3 <compress VJ 0f 01> <addr 192.168.30.18>]
sent [IPCP ConfAck id=0x2 <compress VJ 0f 01> <addr 192.168.30.1>]
rcvd [IPCP ConfAck id=0x2 <compress VJ 0f 01> <addr 192.168.30.18>]
Script /etc/ppp/ip-down finished (pid 1917), status = 0x0
sent [IPCP ConfReq id=0x3 <compress VJ 0f 01> <addr 192.168.30.18>]
rcvd [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 192.168.30.1>]
sent [IPCP ConfAck id=0x2 <compress VJ 0f 01> <addr 192.168.30.1>]
rcvd [IPCP ConfReq id=0x3 <compress VJ 0f 01> <addr 192.168.30.1>]
sent [IPCP ConfAck id=0x3 <compress VJ 0f 01> <addr 192.168.30.1>]
rcvd [IPCP ConfAck id=0x3 <compress VJ 0f 01> <addr 192.168.30.18>]
Cannot determine ethernet address for proxy ARP
local IP address 192.168.30.18
remote IP address 192.168.30.1
Script /etc/ppp/ip-up started (pid 1920)
Script /etc/ppp/ip-up finished (pid 1920), status = 0x0
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 10:08.