LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-09-2006, 11:37 AM   #1
Golzari-Ali
LQ Newbie
 
Registered: Aug 2006
Posts: 25

Rep: Reputation: 15
pptpconfig - php errors..


I wanna to have a vpn conncetion in a lan to access the internet(vpn server of my company is ke windows)
for this I read some paper,and so I going to install pptpconfig and its essential packages.
but when I run pptpconfig this error appear:
[root@linux Desktop]# pptpconfig

Warning: dl(): Unable to load dynamic library '/usr/lib/php-pcntl/lib/php/extensions/no-debug-non-zts-20020429/php_gtk.so' - libxml.so.1: cannot open shared object file: No such file or directory in /usr/bin/pptpconfig.php on line 31

Fatal error: Cannot instantiate non-existent class: gdkcolor in /usr/bin/pptpconfig.php on line 96

and I dont know whats the problem.
if my way to have a vpn connection is wrong please guide me.
my system is CentOS 4.3 and Iam in a LAN and our VPN server is windows.
thanks.
 
Old 09-09-2006, 12:29 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
it states it can not find libxml.so.1 right? so install libxml and all should be fine.

note that this has nothing to do with networking at all, it's just an error in a program that is related to networking.

Last edited by acid_kewpie; 09-09-2006 at 12:30 PM.
 
Old 09-09-2006, 06:31 PM   #3
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
You may also try to install gtk module and any other require modules for the PHP script.
 
Old 09-10-2006, 01:03 PM   #4
Golzari-Ali
LQ Newbie
 
Registered: Aug 2006
Posts: 25

Original Poster
Rep: Reputation: 15
vpn error

Quote:
Originally Posted by acid_kewpie
it states it can not find libxml.so.1 right? so install libxml and all should be fine.

note that this has nothing to do with networking at all, it's just an error in a program that is related to networking.
yes,I did it.
but do u have any suggestion for that I wanana have a vpn connection with user name and password via a LAN and connect to a windows vpn server.I have centOS 4.3 full.
I install pptpconfig and run it.but there is some error:
pptpconfig: debug information dump begins
WARNING: security sensitive information follows
pptpconfig 1.2 2004/06/19 08:57:15
# pppd --version
pppd: error while loading shared libraries: libpcap.so.0.6.2: cannot open shared object file: No such file or directory
# uname -a
Linux linux.rayaneh.com 2.6.17.11 #1 Fri Sep 8 17:35:26 IRDT 2006 i686 i686 i386 GNU/Linux
# grep mppe /proc/modules
# modinfo ppp_mppe
filename: /lib/modules/2.6.17.11/kernel/drivers/net/ppp_mppe.ko
author: Frank Cusack <fcusack@fcusack.com>
description: Point-to-Point Protocol Microsoft Point-to-Point Encryption support
license: Dual BSD/GPL
alias: ppp-compress-18
version: 1.0.2
vermagic: 2.6.17.11 mod_unload 686 REGPARM 4KSTACKS gcc-3.4
depends: ppp_generic
srcversion: 6B88E623CA7C4D7FE2F11FA
Array
(
[name] => golzari
[server] => 10.1.10.10
[domain] =>
[username] => golzari
[password] => (hidden by pptpconfig)
[pppd-options] => nopcomp noaccomp require-pap
[pptp-options] =>
[resolv] =>
[dns-options] =>
[routing] => routing_client_to_lan
[usepeerdns] => 1
[require-mppe] => 1
[nomppe-40] => 1
[nomppe-128] => 1
[refuse-eap] => 1
[mppe-stateful] => 1
[autostart] =>
[iconify] =>
[persist] =>
[debug] => 1
[client-to-lan] =>
)
# route -n (before pppd)
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.1.10.10 10.1.13.1 255.255.255.255 UGH 0 0 0 eth1
10.1.13.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
0.0.0.0 10.1.13.1 0.0.0.0 UG 0 0 0 eth1
pptpconfig: debug information dump ends, starting pppd
/usr/sbin/pppd: error while loading shared libraries: libpcap.so.0.6.2: cannot open shared object file: No such file or directory
# route -n (after pppd exit)
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.1.10.10 10.1.13.1 255.255.255.255 UGH 0 0 0 eth1
10.1.13.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
0.0.0.0 10.1.13.1 0.0.0.0 UG 0 0 0 eth1
pptpconfig: pppd process stopped by signal 0 (started)
ip route add 10.1.10.10 via 10.1.13.1 dev eth1 src 10.1.13.93
RTNETLINK answers: File exists

pptpconfig: command failed, exit code 2
pptpconfig: routes added to remote networks
pptpconfig: usepeerdns was set, but /{var/run,etc}/ppp/resolv.conf was not readable
pptpconfig: connected
# route -n (after completion)
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.1.10.10 10.1.13.1 255.255.255.255 UGH 0 0 0 eth1
10.1.13.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
0.0.0.0 10.1.13.1 0.0.0.0 UG 0 0 0 eth1
-----------------
and I cant open any pages through mozilla.
?????????
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Configure Linux VPN Server for a Windows VPN Client xbaez Linux - Networking 4 04-28-2006 03:29 PM
Linux VPN Software - How to Connect to a Windows VPN wfernley Linux - Software 2 02-07-2006 09:40 AM
need to VPN to an external VPN server carboncopy Linux - Networking 2 01-22-2006 05:41 AM
VPN: linux VPN server behind Linksys router hamish Linux - Networking 14 08-25-2005 08:42 PM
How do i connect Ciscos VPN client to Checkpoint VPN server Klas Linux - Networking 1 11-29-2003 08:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration