LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 04-16-2003, 03:32 PM   #1
rudon
LQ Newbie
 
Registered: Apr 2003
Posts: 5

Rep: Reputation: 0
Unhappy Command not found Problem!


When I type pppd I get "command not found" error
I checked in usr/sbin/ and it's exist and can be activated by typing the full path but when typing the command alone it doesn't work I get the same error for ifdown, ifup, netconfig and many more how can I fix it?
I have redhat Linux 9

Last edited by rudon; 04-16-2003 at 05:27 PM.
 
Old 04-16-2003, 06:46 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
Try kppp

I think that the command that you are looking for is either kppp or wvdial depending on how Red Hat set up your internet connection.
 
Old 04-17-2003, 12:54 AM   #3
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
Quote:
When I type pppd I get "command not found" error
As root?
 
Old 04-17-2003, 02:12 AM   #4
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
if you are running bash, you can add /usr/sbin
to your path in ~/.bash_profile or /etc/profile
 
Old 04-17-2003, 09:45 AM   #5
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
ppp_d_ is a daemon. Normally it should be loaded by the application that needs it (like wvdial or clicking the connector-symbol in KDE).

Try modprobe (?) or any other commands of your preference to find out what processes are loaded and / or running to make sure that pppd is the real problem.
 
Old 04-18-2003, 11:56 PM   #6
cuckoopint
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 797

Rep: Reputation: 30
Quote:
Normally it should be loaded by the application that needs it (like wvdial or clicking the connector-symbol in KDE).
Or even 'pon'
 
Old 04-22-2003, 02:27 AM   #7
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
I just remembered: daemons (modules) might also be kicked off by "insmod", which, as I understand it, loads it into the kernel. I'm am not sure whether the pppd can be started the way you tried to do it.
 
Old 04-22-2003, 02:52 AM   #8
m0rl0ck
Member
 
Registered: Nov 2002
Distribution: A totally 133t distro :)
Posts: 358

Rep: Reputation: 31
Daemons and modules are not the same thing or even similar. Insmod doesnt start deamons it loads modules.
You could start a ppp connection from the commandline if you wanted to and you had chat and had done "modprobe -v ppp" first:

pppd connect 'chat -v "" AT OK ATDT5551212 ~' -detach lock modem crtscts asyncmap 00000000 defaultroute usepeerdns user username remotename ppp0 debug /dev/modem 115200 ipparam ppp0 linkname ppp0 call ppp0 noauth

or something similar would do it.

Wvdial is a pretty painless way to set up a ppp connection. If you have it you might want to give it a look.
 
Old 04-22-2003, 03:01 AM   #9
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
@m0rl0ck: Thanks for this clarification. I thought that ppp_d_ is a driver (in the Windows sense ) and thus would have to be "inserted".

Just for the record, what is the difference between modules and daemons then? Am I correct, that ppp is a program which then starts pppd (just like wvdial)?
 
Old 04-22-2003, 09:28 AM   #10
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
A module is a program. A daemon is a logical entity which runs independently of other daemons. While processing, a daemon can wander through many programs.
 
Old 04-22-2003, 09:31 AM   #11
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Logical entity Whats that?
(Can't be a human )
 
Old 04-22-2003, 09:39 AM   #12
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
Definition

A daemon is an independently running process that has its own set of resources. Each daemon has a number which is the PID. Daemons run independently of each other. That is how you can have several programs running simultaneously. Actually it is several daemons running simultaneously.
 
Old 04-22-2003, 01:47 PM   #13
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
a module usually means a kernel module, very similar
what you think of in windows as a driver.
they are in /lib/modules/$kernelversion/
 
Old 04-22-2003, 02:21 PM   #14
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
-----------------------------------------------
Am I correct, that ppp is a program which then starts pppd (just like wvdial)?
-----------------------------------------------

When you start wvdial you start a daemon which runs the wvdial program. wvdial starts a daemon called pppd which runs a program called ppp. My wvdial log always gives the PID of pppd. ppp is a module that is part of the kernel. pppd accepts requests from other daemons running web browsers like Mozilla and/or email programs like sylpheed and/or ftp clients like gftp. pppd accesses the internet for all the other daemons and keeps track of what information is to be passed to which daemon.

Some kernel modules are transient and some are a permanent part of the kernel. I think that ppp is partially permanent and partially transient.
 
Old 04-23-2003, 01:34 AM   #15
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
@jailbait

Let me see, whether I understand correctly:

Each and every "program" has a controlling daemon, like an envelope (your erstwhile logical entity), which controls the program's execution. These envelopes can be nested (in your example: daemon[wvdial[pppd(aemon)[ppp]]], while communication between ppp(d) and other applications is running. That correct?

If so, then why is pppd contacting the Internet enstead of ppp (I mean with pppd being only the controlling entity)? I thought ppp has the rights to write to the modem?

Since there is also a daemon running e.g. Mozilla, I take it, that the daemons are really interprocess-communications facilities (like semaphores)?

@whansard:
Thanks for the pointer to where the modules can be found.
 
  


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
Linux Newbie: Would like a suggestion for wireless card for Linux Fedora Core 3. Gueron Linux - Laptop and Netbook 1 10-06-2005 03:15 PM
security newbie, but not Linux newbie. advice on secure delete tools mattie_linux Linux - Security 19 08-15-2005 01:50 AM
Linux semi-newbie and Wine vary newbie geovolt_os1 Linux - Software 4 04-19-2005 11:03 AM
setting up data exchange between Red Hat Linux and Windows 98 - Linux Newbie Hosiah Linux - Newbie 3 09-13-2004 01:11 PM
newbie;I am a linux newbie who has installed slackware and have run into a few proble MollyJolly Slackware - Installation 6 06-01-2004 11:21 AM

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

All times are GMT -5. The time now is 04:04 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