![]() |
Re: N900 PPTP VPN with MPPE
Hi all,
I followed all information in this threat and managed to get a VPN connection. I have one chalange left: after connecting to the VPN I need to use a proxy server for my browser. Do you have any hints on how to set this up automatically, after connecting to the VPN? Thanks in advance, Bas |
Re: N900 PPTP VPN with MPPE
@ Big Phat Jan,
Thanks mate, you are great, but i m lost @ some stage I did upto commenting the sub, and after that i do not know what to do the only info i have abt my VPN connection is it is PPTP, servername and credentials Say my server name is : vpn.servername.com usn: tom pass: 123 how do i create a conf file and where do i place it and how do i make a tunnel Thanks in advance |
Re: N900 PPTP VPN with MPPE
I wish I knew how to play around with linux. Isn't there a gui or client for PPTP VPN for n00bs like me?
|
Re: N900 PPTP VPN with MPPE
Quote:
It's a while since I set mine up, but I think you need to use: pptpsetup --create tunnelname --server vpn.servername.com --username tom --password 123 --encrypt If you have been given a domain you can add "--domain domainname\\". The point of pptpsetup is to create your configuration files, one of which will be /etc/ppp/peers/tunnelname if you want to check the script has run ok. That done you can use the pppd command I gave in the post on page 2 and follow the instructions from there. Let us know how it goes! Cheers, Jan |
Re: N900 PPTP VPN with MPPE
Quote:
The closest I can find is from wrayb in this thread though I haven't tried it myself, and it sounds like it's only a little bit easier than following the instructions here. Cheers, Jan |
Re: N900 PPTP VPN with MPPE
Thanks Jan really appreciate your help dude.
Will check it out from home. N900 is sweet and PPTP extensibility will be sugar sweet. I wonder if there are any paid apps for PPTP VPN. |
Re: N900 PPTP VPN with MPPE
Hello Jan
Could you help me ? I'm having the following error trying to connect in my org: Using interface ppp0 Connect: ppp0 <--> /dev/pts/1 sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>] rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>] rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>] rcvd [LCP ConfReq id=0x1 <mru 1400> <auth eap> <magic 0x56175b9f> <pcomp> <accomp> <callback CBCP> <mrru 1614> <endpoint [local:c0.a4.2d.69.81.6d.4b.d9.98.bd.e6.53.d7.12.08 .17.00.00.00.00]> < 17 04 00 1a>] No auth is possible sent [LCP ConfRej id=0x1 <auth eap> <callback CBCP> <mrru 1614> < 17 04 00 1a>] sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>] rcvd [LCP TermReq id=0x2 "V\027[\237\000<\315t\000\000\003\227"] sent [LCP TermAck id=0x2] sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xbed0c2ea> <pcomp> <accomp>] ^CTerminating on signal 2 Script pptp 200.246.78.3 --nolaunchpppd finished (pid 1649), status = 0x0 sent [LCP TermReq id=0x2 "User request"] Modem hangup Connection terminated. I used Ctrl C cos those messages didn't stop. thx a lot Marcelo |
Re: N900 PPTP VPN with MPPE
Quote:
Check the contents of the following files and see whether your username, domain, and password are correct: /etc/ppp/chap-secrets /etc/ppp/peers/<tunnelname> If you have a domain, make sure your username comes out as: DOMAIN\\username (with two slashes). You'll need to be root to check the contents of these files. The easiest way to check them is to use "cat", which will print the contents of the file to the screen, i.e. #become root sudo gainroot #check contents of chap-secrets cat /etc/ppp/chap-secrets #check contents of peers file cat /etc/ppp/peers/<tunnelname> #stop being root exit Cheers, Jan |
Re: N900 PPTP VPN with MPPE
Thank you guys so much for creating this thread and sharing this information.
I am having some difficulties as well. I think I'm 90% of the way there, but I'm stumped at the moment. I looked in the error log file in /var/log and it was empty. I have scoured the net and found a good resource here: http://pptpclient.sourceforge.net/howto-diagnosis.phtml here is an excert from my dbug output: Quote:
|
How to step by step
Hi everyone,
Since now we have the Kernel Power including PPTP issues, could someone give us a step by step to setup PPTP VPN? I´m a beginner and at this moment I feel lost doing that. :confused: I now it´s a matter of time to having a APP to make the things realy easy like "Mobile HotStpot" (in my oppinion the most usefull!) |
Re: How to step by step
Quote:
Thx in advance :) |
Re: N900 PPTP VPN with MPPE
I got pptp working with 3g, details here.
|
Re: N900 PPTP VPN with MPPE
Hi,
When i try to insmod the files i get "Invalid module format" do i need to recompile them on my device? Its the same for all modules Quote:
Code:
# insmod slhc.koCode:
# dmesg | grep slhc |
Re: N900 PPTP VPN with MPPE
they need to match with your kernel.
those modules seems to be compiled against the default kernel module from nokia if you are overclocking, you surely has installed the kernel-power from extras (also called titan kernel) and 1) the modules doesnt match with kernel-power, thats why they gives you an error 2) those modules are already compiled in the kernel, so you dont need to do anything about that, you can safely skip the insmod instructions its you are not overclocking, install the kernel-power from extras. it does not overclock by default and also have the modules automatically applied. |
Re: N900 PPTP VPN with MPPE
ah cool its working now i must have already had them.
now just need to sort the routing out. Any pointers for that? |
Re: N900 PPTP VPN with MPPE
Cool i can vpn and ping the inside devices.
The last thing even tho its a small thing, is: when i connect to the vpn it pushes all external data over that connection. Is there a way to automaticaly set it to only push that subnet over that vpn and the rest over my default gateway. can i just change the line in /ett/ppp/peers/<profile> so it does it on connection? change the "default route" to the correct route? if not then i'll have to be content with just disconnecting vpn to direct connect from my local gateway. cheers and big thank you to Big Phat Jan for the run through! :) |
Re: N900 PPTP VPN with MPPE
Hi,
I am trying to setup my PPTP tunnel based on the step-by-step instructions, but I stucked at the beginning with the dpkg commands. I cannot install the pptp and ppp packages to my N900 downloaded from fanoush home page. Does anyone have an idea, what can be missing? Seems only I have this problem. Here is the error message I get: Quote:
Thanks for your help! cheers |
Re: N900 PPTP VPN with MPPE
after run pptpsetup I have barewords:
Quote:
|
Re: N900 PPTP VPN with MPPE
some problem lines:
Quote:
|
Re: N900 PPTP VPN with MPPE
Quote:
When I try to install the: linux_1.7.2-1_armel.deb my n900 App Manager says : unable to install ppp-linux incompatible application package trying to install: ppp_2.4.4rel-8osso4_armel.deb I get App Manager : Operation failed I updated to the power kernel, but no idea what's I'm doing wrong.. Can anyone help? Thanks Lois |
Re: N900 PPTP VPN with MPPE
Quote:
I am not much of a linux user myself and I'm getting the same error as gykiss when i do dpkg -i ppp_2.4.4rel-osso4_armel.deb How do I continue on from here? |
Re: N900 PPTP VPN with MPPE
hi all...
i wanna connect to my office vpn, i can usually do this using my winxp notebook, create connection using the new connection wizard, then edit my registry HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\RasMan\Parameters\ProhibitIpSec to 1 i've tried to connect using my n900 from vpnc but it wasn't successful, is there any chance that this client works for my office vpn setting? |
Re: N900 PPTP VPN with MPPE
i install
pptp-linux 1.7.2-1 ppp 2.4.4rel-8osso4 modules-2.6.28-20094102-pptp.tar.gz i start pppd and this ends with Segmentation fault can you help me? Code:
Nokia-N900-51-1:/etc/ppp# pppd call gvpn logfd 2 nodetach debug dump |
Re: N900 PPTP VPN with MPPE
Quote:
Quote:
i have this problem too !!! help plz |
Re: N900 PPTP VPN with MPPE
can help me anybuddy ???
|
Re: N900 PPTP VPN with MPPE
try installing ppp first, then pptp ;)
and don't forget root |
Re: N900 PPTP VPN with MPPE
I'm using the powerkernel. But when i try to install the other packages it just says incompatible? any updates on the subject in general or is this the way its done?
|
Re: N900 PPTP VPN with MPPE
I think that the kernel modules are already present in the power kernel (you probably still need to insmod them).
I'm not going to have time to test this out until after Christmas though. Cheers, Jan |
Re: N900 PPTP VPN with MPPE
hi
i was following the instructions and got to the step where to delete the bit of code (without deleting i am getting also a message that it didnot work, but not one being that weird; going on i get this message (of course, i did it several times (deleting and trying) but the message did not really change): Code:
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)so a big thanks! for every one trying to help me! |
Re: N900 PPTP VPN with MPPE
Quote:
Code:
# cd /lib/modules/2.6.28.10power46/Hope this is some kind of helpful. |
Re: N900 PPTP VPN with MPPE
Quote:
Cheers, Jan |
Re: N900 PPTP VPN with MPPE
Hi,
Recently i received an upgrade for my ppp package (most probably from devel repository) to version 2.4.5-2. The update went fine, but seems this package doesn't support "replacedefaultroute" parameter. The vpn is established, but without modifying the default route it is practically useless and doing it manually is also not really acceptable for me. At the end i went back to Fanoush' original version. Anybody else has the same experience with this new package or do you know the new parameter, which does the same job? (Or simply shall i follow the generic rule "do not upgrade if it is working finel"? :-) ) |
Re: N900 PPTP VPN with MPPE
a gui please :(
|
Re: N900 PPTP VPN with MPPE
1 Attachment(s)
Hi
What is this error??? CAn Someone Make GUI or .sh file? Thanks |
Re: N900 PPTP VPN with MPPE
Thanks to all for the very useful instructions and hints that have been posted in this thread and without which I'd never have got a working VPN.
Quote:
1) creating the directory /etc/ppp/ip-up.d 2) creating a file in this directory with the content: Code:
#!/bin/sh3) chmod +x this file That's it! From tests of running the PPTP VPN over a gprs0 connection, the VPN connection doesn't seem reliable in that after a while it disconnects. It might be due to inactivity timers but then I would have thought the 'persist' option would automatically reconnect. For this reason, it looks like it's best to launch the vpn in a terminal window with pppd call <tunnelname> logfd 2 nodetach debug dump so that one can easily check if it's still up. Update: On Wifi it's rock solid, however to get the routing working (again to have all the traffic go over the VPN) you need to add another line to the script: Code:
#!/bin/shUpdate 2: For some unknown reason my N900 decided to show 'missing image' when booting up after having run out of juice. A reflash of the system didn't help, a reflash of the eMMC did. Unfortunately this meant that I lost all the changed I had made including setting up a vpn connection. In this new attempt, the system behaved somewhat differently. First, I could not get pptp to launch a scrip in /etc/ppp/ip-up.d/ I tried changing the permissions, made sure that the script name had only alphanumerical characters (plus hyphen and underscore). Nothing would do. Eventually I found it would run a script at /etc/ppp/ip-up so I created one. Here are my two scripts: /etc/ppp/ip-up Code:
#!/bin/shCode:
#!/bin/shFor some reason, the DNS didn't seem to work even though I do have usepeerdns as an option and the debug info displayed by the launch of the pppd call shows that pppd got the right DNS info from my vpn server. /etc/ppp/resolv.conf was set to this values. /etc/resolv.conf however had just one entry set to localhost. By changing resolv.conf to Code:
nameserver 4.2.2.1(Like the first time, the vpn connection is not stable when on 3G.) |
Re: N900 PPTP VPN with MPPE
Can Somebody help me ?
I've established with VPN ever,But it doesn't work for me. With the VPN,I could't reach Youtube yet.What's wrong with me? Code:
pppd call myvpn logfd 2 nodetach debug dumpNokia-N900:/etc/network/if-up.d# pppd call myvpn 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/myvpn) name vpnuser # (from /etc/ppp/peers/myvpn) remotename myvpn # (from /etc/ppp/peers/myvpn) # (from /etc/ppp/peers/myvpn) pty pptp 204.165.10.102 --nolaunchpppd # (from /etc/ppp/peers/myvpn) ipparam myvpn # (from /etc/ppp/peers/myvpn) nobsdcomp # (from /etc/ppp/peers/myvpn) nodeflate # (from /etc/ppp/peers/myvpn) using channel 9 Using interface ppp0 Connect: ppp0 <--> /dev/pts/3 sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x810d35f> <pcomp> <accomp>] rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0xc6a8248f> <pcomp> <accomp>] sent [LCP ConfAck id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0xc6a8248f> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x810d35f> <pcomp> <accomp>] rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0xc6a8248f> <pcomp> <accomp>] sent [LCP ConfAck id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0xc6a8248f> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x810d35f> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x810d35f> <pcomp> <accomp>] rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x810d35f> <pcomp> <accomp>] rcvd [CHAP Challenge id=0xa5 <f472141d1eb03349db2a971e269dea28862a57b736>, name = "vpnserver"] Warning - secret file /etc/ppp/chap-secrets has world and/or group access sent [CHAP Response id=0xa5 <76e4520a8891c0188f3a17cbfd787653>, name = "vpnuser"] rcvd [CHAP Challenge id=0xa5 <f472141d1eb03349db2a971e269dea28862a57b736>, name = "vpnserver"] Warning - secret file /etc/ppp/chap-secrets has world and/or group access sent [CHAP Response id=0xa5 <76e4520a8891c0188f3a17cbfd787653>, name = "vpnuser"] rcvd [CHAP Challenge id=0xa5 <f472141d1eb03349db2a971e269dea28862a57b736>, name = "vpnserver"] Warning - secret file /etc/ppp/chap-secrets has world and/or group access sent [CHAP Response id=0xa5 <76e4520a8891c0188f3a17cbfd787653>, name = "vpnuser"] rcvd [CHAP Challenge id=0xa5 <f472141d1eb03349db2a971e269dea28862a57b736>, name = "vpnserver"] Warning - secret file /etc/ppp/chap-secrets has world and/or group access sent [CHAP Response id=0xa5 <76e4520a8891c0188f3a17cbfd787653>, name = "vpnuser"] rcvd [CHAP Challenge id=0xa5 <f472141d1eb03349db2a971e269dea28862a57b736>, name = "vpnserver"] Warning - secret file /etc/ppp/chap-secrets has world and/or group access sent [CHAP Response id=0xa5 <76e4520a8891c0188f3a17cbfd787653>, name = "vpnuser"] rcvd [CHAP Challenge id=0xa5 <f472141d1eb03349db2a971e269dea28862a57b736>, name = "vpnserver"] Warning - secret file /etc/ppp/chap-secrets has world and/or group access sent [CHAP Response id=0xa5 <76e4520a8891c0188f3a17cbfd787653>, name = "vpnuser"] rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x810d35f> <pcomp> <accomp>] rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <auth chap MD5> <magic 0x78de9549> <pcomp> <accomp>] sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0x129b759b> <pcomp> <accomp>] sent [LCP ConfAck id=0x2 <asyncmap 0x0> <auth chap MD5> <magic 0x78de9549> <pcomp> <accomp>] rcvd [LCP ConfAck id=0x2 <asyncmap 0x0> <magic 0x129b759b> <pcomp> <accomp>] rcvd [CHAP Challenge id=0xcd <1155c70e3577242e9b4756eaccdf434ea6d27d86abeaec> , name = "vpnserver"] Warning - secret file /etc/ppp/chap-secrets has world and/or group access sent [CHAP Response id=0xcd <c5454ac13f01695813659cef7626d2d5>, name = "vpnuser"] rcvd [CHAP Challenge id=0xcd <1155c70e3577242e9b4756eaccdf434ea6d27d86abeaec> , name = "vpnserver"] Warning - secret file /etc/ppp/chap-secrets has world and/or group access sent [CHAP Response id=0xcd <c5454ac13f01695813659cef7626d2d5>, name = "vpnuser"] rcvd [CHAP Challenge id=0xcd <1155c70e3577242e9b4756eaccdf434ea6d27d86abeaec> , name = "vpnserver"] Warning - secret file /etc/ppp/chap-secrets has world and/or group access sent [CHAP Response id=0xcd <c5454ac13f01695813659cef7626d2d5>, name = "vpnuser"] rcvd [CHAP Challenge id=0xcd <1155c70e3577242e9b4756eaccdf434ea6d27d86abeaec> , name = "vpnserver"] Warning - secret file /etc/ppp/chap-secrets has world and/or group access sent [CHAP Response id=0xcd <c5454ac13f01695813659cef7626d2d5>, name = "vpnuser"] rcvd [CHAP Challenge id=0xcd <1155c70e3577242e9b4756eaccdf434ea6d27d86abeaec> , name = "vpnserver"] Warning - secret file /etc/ppp/chap-secrets has world and/or group access sent [CHAP Response id=0xcd <c5454ac13f01695813659cef7626d2d5>, name = "vpnuser"] rcvd [CHAP Challenge id=0xcd <1155c70e3577242e9b4756eaccdf434ea6d27d86abeaec> , name = "vpnserver"] Warning - secret file /etc/ppp/chap-secrets has world and/or group access sent [CHAP Response id=0xcd <c5454ac13f01695813659cef7626d2d5>, name = "vpnuser"] rcvd [CHAP Success id=0xcd ""] CHAP authentication succeeded CHAP authentication succeeded sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0>] rcvd [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15>] sent [CCP ConfReq id=0x1] sent [CCP ConfRej id=0x1 <deflate 15> <deflate(old#) 15>] rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 178.17.1.1>] sent [IPCP ConfAck id=0x1 <compress VJ 0f 01> <addr 178.17.1.1>] rcvd [CHAP Success id=0xcd ""] rcvd [IPCP ConfNak id=0x1 <addr 178.17.1.42>] sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 178.17.1.42>] rcvd [CCP ConfAck id=0x1] rcvd [CCP ConfReq id=0x2] sent [CCP ConfAck id=0x2] rcvd [IPCP ConfAck id=0x2 <compress VJ 0f 01> <addr 178.17.1.42>] local IP address 178.17.1.42 remote IP address 178.17.1.1 |
Re: N900 PPTP VPN with MPPE
Sorry to bump in but did someone achieve this using the Nokia N9 phone? I'm desperate for help... :) my thread here: Setting up L2TP/PPTP on the N9/Harmattan
|
Re: N900 PPTP VPN with MPPE
Any news?
Any app? Thanks in advance |
Re: N900 PPTP VPN with MPPE
Any app?
Thanks |
| All times are GMT. The time now is 03:27. |
vBulletin® Version 3.8.8