LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   pptpconfig not working on LE2005 (https://www.linuxquestions.org/questions/mandriva-30/pptpconfig-not-working-on-le2005-523912/)

zordon 01-29-2007 08:48 PM

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

Junior Hacker 01-30-2007 02:57 AM

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

ernie 01-30-2007 11:05 PM

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.

zordon 01-31-2007 04:38 PM

GREETINGS :cry:

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

Junior Hacker 01-31-2007 06:12 PM

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.

ernie 01-31-2007 10:16 PM

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.

Junior Hacker 01-31-2007 10:38 PM

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.


All times are GMT -5. The time now is 09:07 AM.