LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 01-29-2007, 08:48 PM   #1
zordon
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Rep: Reputation: 0
pptpconfig not working on LE2005


HELLO TO ALL

Recently i installed pptp client from this thread http://pptpclient.sourceforge.net/howto-mandrake-10.phtml

When i wish to start pptpconfig from command line as root i got this message:

# pptpconfig
bash: /usr/sbin/pptpconfig: /usr/lib/php-pcntl/bin/php: bad interpreter: No such file or directory

I have no ideas how to make this stuff to work on my linux.

I tried different versions from net but still nothing.

I'm running Mandriva LE 2005 (10.2) with kernel
2.6.11-6mdk.

Any help and experience would be usefull .

THANK'S
 
Old 01-30-2007, 02:57 AM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Those instructions are for Mandrake 10.1 not 10.2.

Mandrake 10.2 does not install ppp in a fresh install, but it is on the CD's, the ppp on the CD is ppp-2.4.3-4mdk.i586.rpm, not ppp-2.4.3-4mdk.10.1.i586.rpm that they asked you to upgrade to which is for Mandrake 10.1, which did you install?, I'm not sure if there is a big difference, but I would use the one that came with Mandrake 10.2.

If you go to rpm.pbone.net there is a:
Mandrake 10.X seerofsouls.com/mandriva/official/10.2/i586/main/php-pcntl-5.0.4-1.SoS.i586.rpm, that you should probably try instead of the recommended php-pcntl-4.3.10-1.i386.rpm they recommend for Mandrake 10.1

The php-gtk-pcntl-1.0.1-2.i386.rpm should be the right one.

At rpm.pbone.net there is a:
Mandrake 10.X carroll.cac.psu.edu/pub/linux/distributions/mandrakelinux/official/10.2/i586/media/contrib/pptp-php-gtk-0.20040102-1mdk.noarch.rpm
that you MAY want to try instead of the pptpconfig-20040722-6mdk.noarch.rpm they recommend if things still don't work, but try with the one they recommend first, but do notice the one I found at rpm.pbone.net is for Mandrake 10.2.

Normally there are other modules involved when using ppp, if I remember correctly, in Mandrake 10.2 they are compressed and supposedly, when installing wvdial, minicom, or kppp, possibly also ppp, these will be unpacked. They are ppp_generic, ppp_async, ppp_deflate. Check with command:

lsmod

To see if they are loaded, I forget where they are stored but I do know they are in the filesystem and a search may find them. They should be something like this "ppp_deflate.ko.gz or ppp_deflate.gz" as an example.

I have no experience with pptp, these are just observations, and a couple things I know about ppp as I have allot of modem experience with Mandrake 10.2, I also did a quick Google search to which the link is below for pptp client for Mandrake 10.2, I don't know if you did one but I did look at the first link on that page, it appears there is an .rpm for Mandrake 10.2, check it out.

If you think you will try that .rpm use urpmi command while on the internet as such:

urpmi pptp-linux-1.5.0-2mdk.i586.rpm


http://www.google.ca/search?q=PPTP+C...en-US:official

Last edited by Junior Hacker; 01-30-2007 at 03:17 AM.
 
Old 01-30-2007, 11:05 PM   #3
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
You should use packages intended for your distribution and version to avoid trouble such as you are having now. The first step to fix this is remove the package you installed:

Switch to a console (<CTRL>+<ALT>+<F1>) and log in as root. At the command prompt enter:

urpme pptp

You may be asked if you wish to remove additional packages. Check the list to make sure you will not remove anything important (not installed with pptp). If nothing important confirm removal of the additional packages.

The next step is to install the pptp package included in your distribution:

urpmi pptp-linux

You may be asked permission to install additional packages. These will be packages needed by pptp so confirm installation of the additional packages.

pptp should now work as expected.
 
Old 01-31-2007, 04:38 PM   #4
zordon
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Original Poster
Rep: Reputation: 0
GREETINGS

Well , fist of all i went to modify my settings as Junior Hacker told me to do.

Step by step everything went fine to the point when i had to launch that doomed

pptpconfig from terminal , as root , according to Junior Hacker advice.

The result was same : pptpconfig not launching.

I then changed different versions of that app. , but with no luck.

About this:
" Normally there are other modules involved when using ppp, if I remember correctly, in Mandrake 10.2 they are compressed and supposedly, when installing wvdial, minicom, or kppp, possibly also ppp, these will be unpacked. They are ppp_generic, ppp_async, ppp_deflate. Check with command:

lsmod "

result:

lsmod not showing that they are loaded.

From http://pptpclient.sourceforge.net/howto-redhat-90.phtml site according to red hat installation their is statement that dkms also should be installed ,
so i tried with that to.

Result:

dkms installed successfuly , next kernel_ppp_mppe installation is continuing and
rpmdrake doesn't report that installation is done , simply can't finish the job.
I don't know is that necessary for mandrake to , but i tried with that also.

If you guys are willing to help i can post every step of installation results to see where could be an problem.

And another thing :

Answer of command " modinfo ppp_mppe " is
could not find module ppp_mppe

according to http://pptpclient.sourceforge.net/howto-diagnosis.phtml

If you can't help me about this i think i will gona change the distro as only possible solution.

THANK'S

Last edited by zordon; 01-31-2007 at 04:41 PM.
 
Old 01-31-2007, 06:12 PM   #5
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Yes

I did want to sort of point out that step 4 may be specific to Mandrake 10.1, the ppp_mppe is probably a module similar to those other three I mentioned that are usually associated with ppp
I have a couple questions:

Have you got your 5 repositories set up, namely, Contrib, Main, Updates, plf-free, & plf-non-free?
Have they been updated recently?
Did you try using search for files feature to see if you can find those other ppp modules in their compressed state with the .gz at the end of thier name? Start your search in / directory, they should be in /lib somewhere, mine are already de-compressed as I'm on dialup.

May have more questions, I'm in Fedora right now but will soon jump over to Mandrake 10.2 till I hear from you again. What I'm thinking here is that you should remove all those packages you may have installed recommended by that web site via main menu/system/configuration/packages/remove_packages rather than using urpme command which will look for Mandrake 10.2 packages, not Mandrake 10.1 packages. Then with configured repositories, one should try issuing the urpmi command I recommended with the pptp-linux-1.5.0-2mdk.i586.rpm, this package may not be in the repositories, but if you can find it at rpm.pbone.net, it should be. It may be a sort of fourth party made rpm.
In any event, try Goggling or read some of the links in the Google search results I provided to see if you can find Mandrake 10.2 specific info first.
 
Old 01-31-2007, 10:16 PM   #6
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
I checked on the mirror I use and pptp-linux-1.5.0-2mdk.i586.rpm is in main so it should show up in a package manager search for pptp-linux.
 
Old 01-31-2007, 10:38 PM   #7
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Right on ernie,

I think our recommendations are appropriate, to remove as many traces of first attempt and start over with urpmi. And I personally would dig for as much distro specific installation info. I have not dug into this pptp thing and are a little pinched for time, not sure if the ppp related modules normally associated with ppp will apply in this case also, that's why we recommend clean up and try again. As for step four in the instructions he/she has followed, it would be easy enough to remove that line in /etc/modprobe.conf with an editor also, it appears to have something to do with another ppp related modules who's name I am familiar with "ppp_compress", which could mean the ppp related modules I mentioned may not be required with this pptp-client.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
pptpconfig - Failed to open /etc/pptpconfig/lock HELP! YankeeFan Linux - Networking 1 11-01-2006 07:42 AM
USB devices no more working after upgrade from LE2005 to 2006 rpigna Mandriva 13 05-17-2006 01:29 AM
pptpconfig mfrangos79 Linux - General 6 12-28-2005 09:58 PM
Intel 537ep modem not working in Mandriva LE2005 e.f84 Mandriva 38 09-21-2005 02:34 PM
Java on Mandriva LE2005 (10.2) not working Talyz Linux - Software 3 08-25-2005 01:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 10:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration