Linux - DistributionsThis 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
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.
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.
I decided to make my own network startup script because I dislike th egentoo network style, I did so following the tutorial on the site, the script works but it gives me a large error message 4 or 5 times saying it could not fine the dependancies for the script, here is the script:
Hi exodist,
In this script you are trying to install three different ethernet cards. One named pegasus, one via-rhine and one tulip. Are you sure you have this three different cards?
If your answer to the first question is yes, are that 3 cards pci or isa? If one of it is ISA, may be it needs parameters like io=0xnnn and irq=ii, where "nnn" is the hexadecimal address of the card and "ii" is the irq number. Look carefully to this messages because, when a module fails to load, it gives you several message lines.
yes I am sure, pegasus is my usb ethernet card for my static internet ip and connection, via-rhine is my onboard used for connecting to my private network
tulip is my pci card for connecting to the computer next to me for remote x-sessions in order to keep from using to much bandwidth on the private network.
the script runs fine and does it's job, th eproblem is I get a lot of erros I can't paste for you on startup.
Did you replaced the gentoo network configuration script or you just added yours? Did you see if it complains for the three modules or, some does not? It appears to me the startup routines are trying to reload some modules.
I never configured the network the gentoo way, so there should not be any gentoo network scripts except the loopback device, but I will double check.....
ok, on boot I get the same error message 5 times without a brake inbetween, here is the message it repeats (Note my script is called customstuff, I added it with this command:
rc-update add customstuff boot (I had itis /etc/init.d already)):
(Green asterisk) Re-caching dependancy info (mtimes differ)...
(Red Asterisk) Could not get dependancy info for "customstuff"!
(Red Asterisk) Please run:
(Red Asterisk) # /sbin/depscan.sh
(Red Asterisk) to try and fix this.
then it runs the script with no problems with all my stuff added and green asterisks.
I tried running /sbin/depscan.sh, it did nothing to help.
stop() {
killall dhcpcd
ifconfig eth0 down
ifconfig eth1 down
ifconfig eth2 down
}
restart() {
stop
/bin/sleep 3s
start
}
I know some people would ask why I do not use the gentoo provided network and alsa scripts, the answer: I am a control freak and have always made my own scripts for this, but it was in slackware before.
Hi exodist,
I never saw these messages you showed me now. It appears to be a gentoo specific. I guess it uses a new set of boot scripts I heard is being developed to do a faster start up. This new technique would work on dependancies like a "make file". I mean, if some daemon does not depends on another already running, both can be started in parallel, in opposition to the serial mode of System V. As you created your stuff and didn't registered in some way to the gentoo routines, it cannot get the dependancy to choose the way to start it.
thank you, but that is the site I have been referencing since deciding to make my own script, I have read and reread it without skipping single line, if the information I need is in there than I am too stupid to see it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.