Active Topics

 



Notices


Reply
Thread Tools
Posts: 9 | Thanked: 3 times | Joined on Dec 2009
#61
Originally Posted by gykiss View Post
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?
 
Posts: 1 | Thanked: 0 times | Joined on Sep 2010
#62
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?
 
Posts: 1 | Thanked: 0 times | Joined on Oct 2010 @ Germany
#63
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
 
Posts: 50 | Thanked: 6 times | Joined on Oct 2010
#64
Originally Posted by gykiss View Post
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:

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
 
Posts: 50 | Thanked: 6 times | Joined on Oct 2010
#65
can help me anybuddy ???
 
Posts: 90 | Thanked: 44 times | Joined on Aug 2010
#66
try installing ppp first, then pptp
and don't forget root
 

The Following 2 Users Say Thank You to sirpaul For This Useful Post:
Posts: 22 | Thanked: 3 times | Joined on Jun 2010
#67
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?
 
Posts: 134 | Thanked: 91 times | Joined on Nov 2009 @ Imperial College London
#68
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
 
Posts: 90 | Thanked: 44 times | Joined on Aug 2010
#69
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!
 
Posts: 15 | Thanked: 11 times | Joined on Sep 2010
#70
Originally Posted by lfkfe View Post
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.

Last edited by bugzy; 2010-12-19 at 21:28.
 

The Following User Says Thank You to bugzy For This Useful Post:
Reply

Tags
vpn pptp mppe n900


 
Forum Jump


All times are GMT. The time now is 18:57.