View Single Post
Posts: 134 | Thanked: 91 times | Joined on Nov 2009 @ Imperial College London
#71
Originally Posted by sirpaul View Post
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!
I'm not sure, but from the error message it looks like you've uncommented something you shouldn't have in the pptpsetup script near line 234. I haven't tried setting this up since PR1.3 so I can't say for sure. I will go through the process myself soon and will see if anything else suggests itself.

Cheers,
Jan
 

The Following User Says Thank You to Big Phat Jan For This Useful Post: