LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   gentoo device initiated services (https://www.linuxquestions.org/questions/linux-software-2/gentoo-device-initiated-services-502715/)

matrixon 11-18-2006 02:52 AM

gentoo device initiated services
 
hi im running gentoo unstable just did the emerge -Du world it works fine only that eth0 is started on boot but i dont have it in rc ,

it says starting device initiated services and it starts so i suppose net.eth0 is being started by something else can anyone tell me where can i edit this so that eth0 does not start on boot?

dxqcanada 11-18-2006 07:33 AM

Gentoo services are started by scripts in /etc/runlevels

The scripts reside in /etc/init.d
They are added or removed from the /etc/runlevels using the "rc-update" command.

If you refer back to the Handbook you will see numerous times where it tells you to add services using this command.

Most likely your Ethernet card is started by the "net.eth0" and it probably is in the /etc/runlevels/default directory ... if so then you can remove the startup service by the following command:
Code:

# rc-update del net.eth0

matrixon 11-18-2006 09:05 AM

re
 
the problem is thar it is not beign started by rc , i do know how to use rc-update the thing is that i dont have net.eth0 in rc and stills starts it but not the way rc will do it when i went to full update to unstable some other program does this cause if i add net.eth0 to rc it starts 2 times in boot one with rc one with the other program , just that i dont know which one is it and how to configure it

dxqcanada 11-18-2006 11:44 AM

If you have ifplugd (or a similar daemon) ... it could be starting the ethernet interface.

What do you have in your /etc/runlevels/boot and /etc/runlevels/default ?

matrixon 11-18-2006 12:14 PM

re
 
this is my boot and my default directories

matrix runlevels # ls boot/
bootmisc checkroot consolefont keymaps modules rmnologin
checkfs clock hostname localmount net.lo urandom

matrix runlevels # ls default/
acpid alsasound dbus hald ipw3945d local syslog-ng vixie-cron xdm

but i think is something else cause i removed bluetooth from default and now it gets started with net.eth0 in the line in boot that says
starting device initiated services :S

dxqcanada 11-18-2006 02:31 PM

Quote:

Originally Posted by matrixon
matrix runlevels # ls default/
acpid alsasound dbus hald ipw3945d local syslog-ng vixie-cron xdm

Is ipw3945d a service for a Intel wireless card ??

matrixon 11-18-2006 02:42 PM

re
 
yep it is thats my eth1, but i wonder why bluetooth and net.eth0 still booting up :S any ideas?

mrodmac 11-27-2006 02:26 PM

/etc/conf.d/rc
 
Greetings,

I was having the same issue with my net.eth1 starting. Editing /etc/conf.d/rc and changing the line:

RC_PLUG_SERVICES=""
to
RC_PLUG_SERVICES="!net.*"

solved my issue. Look at the example and I'm sure you'll be able to stop your bluetooth also.

HTH
Rod

ade05fr 04-08-2008 01:41 AM

Hi everyone,

can someone help me ?
i have the same problem with my gentoo(Kernel 2.6.24-r4).
I dont use anymore ipw3945d but instead the integrate module iwl3945 so that means that i have also remove ipw395d from my init script (rc-update -d ipw3945d default) but there is still this ipw3945d module which start with the "device initiated devices : ipw3945d net.lo net.wlan0 udev-postmount"

what can i do for this ?

thank you,
Ade05fr

mrodmac 04-09-2008 08:52 AM

>but there is still this ipw3945d module

Is this a kernel module? I think first off I'd check to make sure there's no reference to it in /etc/modules.autoload.d/kernel-2.6 or /etc/conf.d/net


All times are GMT -5. The time now is 04:31 AM.