[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problem in using pptp-linux



Hi,
I have to form the VPN(virtual private network) with my school to access
my homework and newsgroup of my school.
Therefore, i have downloaded the pptp-linux and following the
instruction of my school's homepages which tell you how to config the
pptp-linux.
After i have downloaded and installed (with apt-get install pptp-linux),
i have added the following line in /etc/ppp/pap-secrets:
name vpn.xxx.xxx.xxx password, which name is the user name,
vpn.xxx.xxx.xxx is the sites and password is the user's password in my
school.
Then i have replaced the content of the options with the following line

lock
debug
mtu 1000
nobsdcomp
nodeflate
noaccomp
nopcomp
novj
defaultroute
name xxxx

Then the websites recommand me to form a script to access the vpn, the
content is the following:

#bin/sh
/*pptp *vpn.xxx.xxx.xxx*
debug
name *xxx*
remotename *vpn.xxx.xxx.xxx*
noipdefault
*/

Finally, i change the permission of this script
chmod u+x xxxx(name of the script)

./connect: line 3: pptp: command not found
./connect: line 4: debug: command not found
./connect: line 5: name: command not found
./connect: line 6: remotename: command not found
./connect: line 7: noipdefault: command not found

I do not know what wrong with my pptp-linux. Can anyone suggest how to
config to address this problem?

Regards,
James Ng





Reply to: