LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-01-2005, 10:23 AM   #1
nfreeman
LQ Newbie
 
Registered: Sep 2004
Distribution: Mandrake 10.0
Posts: 6

Rep: Reputation: 0
pppd not found, even as root


I've been following a quick howto on using ppp to connect my Palm to my local LAN and, in turn, the outside world. I was doing pretty good until I got to the last step. It seems that pppd is not on my system.

The error:

Code:
# pppd -V
Bash: pppd: command not found
#
I thought that maybe, just maybe, it might be somewhere else:

Code:
# slocate -u
# slocate pppd
#
I saw plenty of problems during my search for answers with people trying to run pppd as a normal user, but I can't even run it as root, and there is not a file on my computer called pppd. How can I get it?
 
Old 05-01-2005, 01:11 PM   #2
redhatrosh
Member
 
Registered: May 2004
Location: Student of University of Mumbai, Maharastra State, India
Distribution: Redhat Linux 9.0, Knoppix LIVE CD, Ubuntu Live CD, Kubuntu Live CD
Posts: 483

Rep: Reputation: 30
This might help you

http://www.fr.linuxfromscratch.org/v...nnect/ppp.html
 
Old 05-01-2005, 01:34 PM   #3
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
i think u do not have pppd installed
try

urpmi pppd

with mandrake

regards
 
Old 05-01-2005, 04:46 PM   #4
nfreeman
LQ Newbie
 
Registered: Sep 2004
Distribution: Mandrake 10.0
Posts: 6

Original Poster
Rep: Reputation: 0
Solved!!!

Thank you for your help. I installed ppp using redhatrosh's link. I had already tried urpmi, and it couldn't find pppd. However, just for future reference, you can do:

Code:
# urpmi ppp
The package is called ppp. I guess the d at the end of pppd stands for daemon.

Now, although pppd is installed, I'm not sure that it's working correctly. I'm not sure if I should put it here or start a new topic, but here it is, and just let me know if I need to start a new topic, please.

The new problem is that pppd is starting and then exiting immediately. Even with the "persist" option, it exits immediately and my Palm cannot connect. Here's what happens:

Code:
# pppd /dev/ttyS0 115200 192.168.0.102:192.168.0.105 netmask 255.255.255.0 persist passive noauth debug async 0
#
However, at this point, I still couldn't connect with my Palm (infrared, btw, but I had already used irdadump to test that the Palm and the Linux machine could communicate). I checked to see if it was loaded, and "service -s | grep pppd" didn't return anything display. "less /var/log/daemons/info | grep pppd" showed this:

Code:
# less /var/log/daemons/info | grep pppd
May  1 00:57:41 Dell_Linux pppd[18377]: pppd 2.4.1 started by nfreeman, uid 0
May  1 00:57:42 Dell_Linux pppd[18377]: Exit.
May  1 01:03:28 Dell_Linux pppd[18506]: pppd 2.4.1 started by root, uid 0
May  1 01:03:29 Dell_Linux pppd[18506]: Exit.
May  1 01:04:42 Dell_Linux pppd[18534]: pppd 2.4.1 started by root, uid 0
May  1 01:04:52 Dell_Linux pppd[18534]: Exit.
May  1 01:05:53 Dell_Linux pppd[18555]: pppd 2.4.1 started by root, uid 0
May  1 01:05:54 Dell_Linux pppd[18555]: Exit.
May  1 01:07:03 Dell_Linux pppd[18999]: pppd 2.4.1 started by root, uid 0
May  1 01:07:04 Dell_Linux pppd[18999]: Exit.
May  1 01:12:33 Dell_Linux pppd[19080]: pppd 2.4.1 started by root, uid 0
May  1 01:12:34 Dell_Linux pppd[19080]: Exit.
May  1 01:12:46 Dell_Linux pppd[19092]: pppd 2.4.1 started by root, uid 0
May  1 01:12:47 Dell_Linux pppd[19092]: Exit.
May  1 03:20:34 Dell_Linux pppd[21998]: pppd 2.4.1 started by root, uid 0
May  1 03:20:35 Dell_Linux pppd[21998]: Exit.
#
Again, thanks for your help in the installation, and any help with this new problem would be greatly appreciated.

EDIT: Never mind, the problem's solved. Well, mostly. It turns out that the port in the pppd script was wrong (/dev/ttyS0 should have been /dev/ircomm0). Anyway, there's nothing more to add to this topic, at least.

Last edited by nfreeman; 05-02-2005 at 06:02 PM.
 
  


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
Can you connect to internet as normal user without run pppd as root ? nasty_daemon Linux - Networking 2 09-13-2005 01:43 AM
pppd timeout before pppd interface could start! bioagentice Linux - Software 6 03-27-2005 11:24 AM
Benoit's Alcatel - pppd call adsl "command not found" GM287 Linux - Networking 5 04-04-2004 09:56 AM
pppd died: pppd options error (exit code 2 taveirac Linux - Networking 1 02-12-2004 10:17 AM
pppd died: pppd options error (exit code 2) ianwest Linux - Newbie 2 07-31-2002 08:29 AM

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

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

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