Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-21-2001, 10:36 PM
|
#1
|
Member
Registered: May 2001
Location: Full-time traveler I live where I am.
Distribution: I use Red Hat V 7.1
Posts: 297
Rep:
|
Please help me - Why is my system trying to start ppp?
This is probably the same problem that I posted under http://www.linuxquestions.org/questi...&threadid=5647 but I have a little more info and still need help.
My system appears to be trying to start ppp during boot. Where is the command that makes this happen?
|
|
|
08-22-2001, 12:53 AM
|
#2
|
Senior Member
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731
Rep:
|
What's in your startup scritps (dir listing of /etc/init.d) and the rc2.d and rc3.d runlevels.
Most likely you're starting up routed. (shot in the dark)
|
|
|
08-22-2001, 05:49 PM
|
#3
|
Member
Registered: May 2001
Location: Full-time traveler I live where I am.
Distribution: I use Red Hat V 7.1
Posts: 297
Original Poster
Rep:
|
Thanks, I will take a look
I am getting really frustrated with this problem. I tried to download and install the latest version of Mozilla, only to have make install run for about 1/2 hour and then fail with a code 2 failure, whatever that is.
Then I tried to download and install the latest version of RP3 with same friggin results.
|
|
|
08-22-2001, 07:13 PM
|
#4
|
Member
Registered: May 2001
Location: Full-time traveler I live where I am.
Distribution: I use Red Hat V 7.1
Posts: 297
Original Poster
Rep:
|
Mcleodnine
You juggested: "look at what's in your startup scritps (dir listing of /etc/init.d) and the rc2.d and rc3.d runlevels".
I do not understand what to look at, since these are directories with files therein that I am unfamiliar with.
Anyway, my system was just fouled up, and I lacked technical expertise to fix it. So I reloaded. Whatever was wrong has been fixed.
Incidentally, after I finished reloading, I set up my networking parameters and then invoked Mozilla. Once again, it appeared that Mozilla was not connecting with my ISP. So, I tried Netscape Navigator and, guess what...a connection was established!
I don't know what is wrong with Mozilla, but I shall not be using it again.
|
|
|
08-23-2001, 12:14 AM
|
#5
|
Senior Member
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731
Rep:
|
Damn. Sorry 'bout your luck.
In the init.d/ folder are a bunch of scripts (usually - symbolic liks or shortcuts may be used for compatibility) that are needed to call different system services upon each runlevel change. The scripts conatin commands to gracefully start/stop/reload/restart different services (ie: network, apache, route, upsd, ad infinitum...). By using shortcuts to the actual scripts, it means that whenever I make a modification to script "foo", it will apply to all runlevels and I won't have to edit the same script in each runlevel directory (rc1.d/ rc2.d/....)
The "init" service handles this process. Each subdir of "init.d/" (rc1.d/, rc2.d/, etc...) contains shortcuts to the above mentioned scripts. The naming of the directories is based upon the run-level. So "rc1.d" contains shortcuts to the scripts needed to go to run-level 1, or 'single-user' mode. So there would be no symlink (shortcut) for anything to do with networking (rc2.d/). We want networking in runlevel 2, so there would be shortcuts to your scripts related to networking. We want to make sure that things start and stop in the correct order. In other words, we want to load the module for our network card before we try to assert an IP address and routing information. We control this as below:
The shortcuts are prefixed with either an "Snn" or "Knn" where "nn" represents a number. "Snn" is seen by the 'init' service as "start this" and "Knn" is "kill this". The numbers represent the order of the Start/Kill sequence. So "S01foo" will run before "S25bar". So when you boot you load the keyboard and I/O and and the basic stuff to get us running. If you're only booting to single-user mode, you would only load those services linked from "rc1d". When you leave (init runlevel "0" - halt for eg.) you only shut down ("Knn") those services in "rc1.d".
I would imagine that someone else here could have given you a much better description in a lot fewer bytes, but that's the best I can offer.
|
|
|
08-23-2001, 12:51 PM
|
#6
|
Member
Registered: May 2001
Location: Full-time traveler I live where I am.
Distribution: I use Red Hat V 7.1
Posts: 297
Original Poster
Rep:
|
Thnks for the input
Very helpful info...thanks
|
|
|
All times are GMT -5. The time now is 12:10 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|