maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   N900 PPTP VPN with MPPE (https://talk.maemo.org/showthread.php?t=36172)

hiiragizawa 2010-09-28 03:00

Re: N900 PPTP VPN with MPPE
 
Quote:

Originally Posted by gykiss (Post 740906)
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:



Also I have a second question, if the first is solved: how shall I set up the pptpsetup parameters if my VPN server doesn't support encryption? Is it enough if I don't give --encrypt parameter or something else is necessary too?

Thanks for your help!

cheers

Hi all,

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?

gobloz 2010-09-29 05:52

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?

magu 2010-10-18 10:23

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
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)
Segmentation fault


sajjji 2010-11-04 18:10

Re: N900 PPTP VPN with MPPE
 
Quote:

Originally Posted by gykiss (Post 740906)
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:

usr/sbin # dpkg -i /home/user/MyDocs/pptp-linux_1.7.2-1_armel.deb
(Reading database ... 27799 files and directories currently installed.)
Preparing to replace pptp-linux 1.7.2-1 (using .../pptp-linux_1.7.2-1_armel.deb) ...
Unpacking replacement pptp-linux ...
dpkg: dependency problems prevent configuration of pptp-linux:
pptp-linux depends on ppp (>= 2.4.2); however:
Package ppp is not installed.
dpkg: error processing pptp-linux (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
pptp-linux
/usr/sbin # dpkg -i /home/user/MyDocs/ppp_2.4.4rel-8osso4_armel.deb
(Reading database ... 27799 files and directories currently installed.)
Unpacking ppp (from .../ppp_2.4.4rel-8osso4_armel.deb) ...
Removing any system startup links for /etc/init.d/ppp ...
dpkg-deb (subprocess): short read in buffer_copy (failed to write to pipe in copy)
dpkg-deb: subprocess paste returned error exit status 2
dpkg: error processing /home/user/MyDocs/ppp_2.4.4rel-8osso4_armel.deb (--install):
short read in buffer_copy (backend dpkg-deb during `./usr/sbin/pppd')
Errors were encountered while processing:
/home/user/MyDocs/ppp_2.4.4rel-8osso4_armel.deb
/usr/sbin #

i have this problem too !!!

help plz

sajjji 2010-11-05 05:12

Re: N900 PPTP VPN with MPPE
 
can help me anybuddy ???

sirpaul 2010-11-05 06:55

Re: N900 PPTP VPN with MPPE
 
try installing ppp first, then pptp ;)
and don't forget root

lfkfe 2010-12-13 02:54

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?

Big Phat Jan 2010-12-13 09:58

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

sirpaul 2010-12-15 18:54

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)
Enter 'help' for a list of built-in commands.

Nokia-N900:~# pptpsetup                                    Bareword found where operator expected at /usr/sbin/pptpsetup line 234, near "delete the file /etc"
  (Might be a runaway multi-line // string starting on line 193)
        (Do you need to predeclare delete?)
String found where operator expected at /usr/sbin/pptpsetup line 235, near "contains "TUNNEL""
        (Do you need to predeclare contains?)
Bareword found where operator expected at /usr/sbin/pptpsetup line 235, near ""TUNNEL" as"
        (Missing operator before as?)
Bareword found where operator expected at /usr/sbin/pptpsetup line 237, near "--server"
        (Missing operator before server?)
Bareword found where operator expected at /usr/sbin/pptpsetup line 241, near "--domain"
        (Missing operator before domain?)
Bareword found where operator expected at /usr/sbin/pptpsetup line 245, near "--username"
        (Missing operator before username?)
Bareword found where operator expected at /usr/sbin/pptpsetup line 249, near "--password"
        (Missing operator before password?)
Bareword found where operator expected at /usr/sbin/pptpsetup line 254, near "--encrypt"
        (Missing operator before encrypt?)
Bareword found where operator expected at /usr/sbin/pptpsetup line 258, near "--start"
        (Missing operator before start?)
Number found where operator expected at /usr/sbin/pptpsetup line 271, near "over 16"
        (Do you need to predeclare over?)
Bareword found where operator expected at /usr/sbin/pptpsetup line 275, near "//pptpclient"
        (Missing operator before pptpclient?)
Bareword found where operator expected at /usr/sbin/pptpsetup line 279, near "//pptpclient"
        (Missing operator before pptpclient?)
Number found where operator expected at /usr/sbin/pptpsetup line 287, near ") 2006"
        (Missing operator before 2006?)
Bareword found where operator expected at /usr/sbin/pptpsetup line 287, near "2006 Nelson"
        (Missing operator before Nelson?)
syntax error at /usr/sbin/pptpsetup line 234, near "delete the file /etc"
"use" not allowed in expression at /usr/sbin/pptpsetup line 247, at end of line
"use" not allowed in expression at /usr/sbin/pptpsetup line 251, at end of line
Search pattern not terminated at /usr/sbin/pptpsetup line 289.

my hope is that a) i am too stupid to read or b) bigphatjohn made a mistake everybody is correcting except me (of course of linuxskills i haven't got)

so a big thanks! for every one trying to help me!

bugzy 2010-12-19 21:25

Re: N900 PPTP VPN with MPPE
 
Quote:

Originally Posted by lfkfe (Post 895616)
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?

It does work with the power kernel. As Jan said, the kernel modules are already present in the power kernel but you still need to insmod them (This also means that you do not need download or extract the modules package). See Jan's post on page 2 but use :

Code:

# cd /lib/modules/2.6.28.10power46/
# depmod -a
# insmod slhc.ko
# insmod ppp_generic.ko
# insmod ppp_async.ko
# insmod sha1_generic.ko
# insmod ppp_mppe.ko

instead of the insmod section in those instructions. Note that the only change is the modules directory.
Hope this is some kind of helpful.


All times are GMT. The time now is 03:27.

vBulletin® Version 3.8.8