* [gentoo-user] net.eth0 net.eth1 net.eth2 persist in trying to come up even though not in any run level. @ 2007-01-09 0:42 Richard Watson 2007-01-09 1:04 ` Neil Bothwick ` (2 more replies) 0 siblings, 3 replies; 10+ messages in thread From: Richard Watson @ 2007-01-09 0:42 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 732 bytes --] Hi, I recently upgraded my system with emerge -uDN world. Afterwards I found that net.eth0 was grabbing my firewire port (ieee1394) and I needed to create net.eth2 for my NIC as net.eth1 was being assigned to my wireless. My problem is that although "rc-update show" indicates all my interfaces are NOT being loaded other than net.lo at boot (which is what I want) my system keeps trying to start net.eth0 net.eth1 net.eth2 in the " default" run level. Can anybody help? It's very frustrating waiting for these interfaces to try and connect before timing out. I've always run my network connection on this basis as Gentoo is on my laptop and depending where I am will determine which interface I want to use. Thanks, Richard [-- Attachment #2: Type: text/html, Size: 1096 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] net.eth0 net.eth1 net.eth2 persist in trying to come up even though not in any run level. 2007-01-09 0:42 [gentoo-user] net.eth0 net.eth1 net.eth2 persist in trying to come up even though not in any run level Richard Watson @ 2007-01-09 1:04 ` Neil Bothwick 2007-01-09 1:13 ` Iain Buchanan 2007-01-09 1:06 ` Iain Buchanan 2007-01-28 5:51 ` James Lockie 2 siblings, 1 reply; 10+ messages in thread From: Neil Bothwick @ 2007-01-09 1:04 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1365 bytes --] On Tue, 9 Jan 2007 10:42:37 +1000, Richard Watson wrote: > Hi, I recently upgraded my system with emerge -uDN world. Afterwards I > found that net.eth0 was grabbing my firewire port (ieee1394) and I > needed to create net.eth2 for my NIC as net.eth1 was being assigned to > my wireless. My problem is that although "rc-update show" indicates all > my interfaces are NOT being loaded other than net.lo at boot (which is > what I want) my system keeps trying to start net.eth0 net.eth1 net.eth2 > in the " default" run level. Can anybody help? It's very frustrating > waiting for these interfaces to try and connect before timing out. Add RC_PLUG_SERVICES="!net.*" to /etc/conf.d/rc to stop the interfaces coming up at boot. Use udev rules to have the naming as you want. For example, I use KERNEL=="eth*", SYSFS{address}=="00:1a:23:3c:76:26", NAME:="eth0" KERNEL=="eth*", SYSFS{address}=="00:2d:94:ef:f2:c0", NAME:="eth1" KERNEL=="eth*", SYSFS{address}=="00:3c:99:ff:fe:3c:76:26", NAME:="eth2" To make my wired interface eth0, wireless eth1 and firewire eth2. The address strings are the MAC addresses of the interfaces. Alternatively, you can get rid of the firewire interface altogether by unsetting CONFIG_IEEE1394_ETH1394 in your kernel config -- Neil Bothwick Will we ever get out of this airport? asked Tom interminably. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] net.eth0 net.eth1 net.eth2 persist in trying to come up even though not in any run level. 2007-01-09 1:04 ` Neil Bothwick @ 2007-01-09 1:13 ` Iain Buchanan 2007-01-09 19:56 ` Mick 0 siblings, 1 reply; 10+ messages in thread From: Iain Buchanan @ 2007-01-09 1:13 UTC (permalink / raw To: gentoo-user On Tue, 2007-01-09 at 01:04 +0000, Neil Bothwick wrote: > On Tue, 9 Jan 2007 10:42:37 +1000, Richard Watson wrote: > > > Hi, I recently upgraded my system with emerge -uDN world. Afterwards I > > found that net.eth0 was grabbing my firewire port (ieee1394) and I > > needed to create net.eth2 for my NIC as net.eth1 was being assigned to > > my wireless. My problem is that although "rc-update show" indicates all > > my interfaces are NOT being loaded other than net.lo at boot (which is > > what I want) my system keeps trying to start net.eth0 net.eth1 net.eth2 > > in the " default" run level. Can anybody help? It's very frustrating > > waiting for these interfaces to try and connect before timing out. > > Add RC_PLUG_SERVICES="!net.*" to /etc/conf.d/rc to stop the interfaces > coming up at boot. Use udev rules to have the naming as you want. For > example, I use hmm, now I look at it, I have RC_PLUG_SERVICES="!bluetooth", and yet the bluetooth service is still started automatically (not in any runlevel). thoughts? thanks, -- Iain Buchanan <iaindb at netspace dot net dot au> A classic is something that everyone wants to have read and nobody wants to read. -- Mark Twain, "The Disappearance of Literature" -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] net.eth0 net.eth1 net.eth2 persist in trying to come up even though not in any run level. 2007-01-09 1:13 ` Iain Buchanan @ 2007-01-09 19:56 ` Mick 2007-01-09 23:12 ` Iain Buchanan 0 siblings, 1 reply; 10+ messages in thread From: Mick @ 2007-01-09 19:56 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 449 bytes --] On Tuesday 09 January 2007 01:13, Iain Buchanan wrote: > hmm, now I look at it, I have RC_PLUG_SERVICES="!bluetooth", and yet the > bluetooth service is still started automatically (not in any runlevel). > > thoughts? thanks, Could it be that "bluetooth" is the wrong name for it? Is it identified as bluetooth in ifconfig? I can't really compare with mine because bluetooth won't come up no matter what. :-( -- Regards, Mick [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] net.eth0 net.eth1 net.eth2 persist in trying to come up even though not in any run level. 2007-01-09 19:56 ` Mick @ 2007-01-09 23:12 ` Iain Buchanan 2007-01-10 20:39 ` Mick 0 siblings, 1 reply; 10+ messages in thread From: Iain Buchanan @ 2007-01-09 23:12 UTC (permalink / raw To: gentoo-user On Tue, 2007-01-09 at 19:56 +0000, Mick wrote: > On Tuesday 09 January 2007 01:13, Iain Buchanan wrote: > > > hmm, now I look at it, I have RC_PLUG_SERVICES="!bluetooth", and yet the > > bluetooth service is still started automatically (not in any runlevel). > > > > thoughts? thanks, > > Could it be that "bluetooth" is the wrong name for it? Is it identified as > bluetooth in ifconfig? bluetooth is the name of the init.d service at least, but it's not a network interface, so ifconfig won't show anything there... > I can't really compare with mine because bluetooth won't come up no matter > what. :-( that's what this list is for :-) -- Iain Buchanan <iaindb at netspace dot net dot au> It is often easier to ask for forgiveness than to ask for permission. -- Grace Murray Hopper -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] net.eth0 net.eth1 net.eth2 persist in trying to come up even though not in any run level. 2007-01-09 23:12 ` Iain Buchanan @ 2007-01-10 20:39 ` Mick 2007-01-15 0:50 ` Iain Buchanan 0 siblings, 1 reply; 10+ messages in thread From: Mick @ 2007-01-10 20:39 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1193 bytes --] On Tuesday 09 January 2007 23:12, Iain Buchanan wrote: > On Tue, 2007-01-09 at 19:56 +0000, Mick wrote: > > On Tuesday 09 January 2007 01:13, Iain Buchanan wrote: > > > hmm, now I look at it, I have RC_PLUG_SERVICES="!bluetooth", and yet > > > the bluetooth service is still started automatically (not in any > > > runlevel). > > > > > > thoughts? thanks, > > > > Could it be that "bluetooth" is the wrong name for it? Is it identified > > as bluetooth in ifconfig? > > bluetooth is the name of the init.d service at least, but it's not a > network interface, so ifconfig won't show anything there... Of course. My mistake. Does it still start if you rc-update del it? If yes, then I'm thinking that it may be that the device is modprobed by udev and then ifplug, or what-have-you, picks it up? > > I can't really compare with mine because bluetooth won't come up no > > matter what. :-( > > that's what this list is for :-) I think mine is a hardware problem. I can't see it in lshw & lspci. I have posted about it in the past and some good souls tried to help but I didn't get far. Still using the IrDA to spk to my mobile. :-( -- Regards, Mick [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] net.eth0 net.eth1 net.eth2 persist in trying to come up even though not in any run level. 2007-01-10 20:39 ` Mick @ 2007-01-15 0:50 ` Iain Buchanan 0 siblings, 0 replies; 10+ messages in thread From: Iain Buchanan @ 2007-01-15 0:50 UTC (permalink / raw To: gentoo-user On Wed, 2007-01-10 at 20:39 +0000, Mick wrote: > On Tuesday 09 January 2007 23:12, Iain Buchanan wrote: > > On Tue, 2007-01-09 at 19:56 +0000, Mick wrote: > > > On Tuesday 09 January 2007 01:13, Iain Buchanan wrote: > > > > hmm, now I look at it, I have RC_PLUG_SERVICES="!bluetooth", and yet > > > > the bluetooth service is still started automatically (not in any > > > > runlevel). > > > > > > > > thoughts? thanks, > > > > Does it still start if you rc-update del it? If yes, > then I'm thinking that it may be that the device is modprobed by udev and > then ifplug, or what-have-you, picks it up? yes, it starts even though I've 'rc-update del'ed it! hmm, if it's modprobed by udev, then who's starting the service? > > > I can't really compare with mine because bluetooth won't come up no > > > matter what. :-( > > > > that's what this list is for :-) > > I think mine is a hardware problem. I can't see it in lshw & lspci. I have > posted about it in the past and some good souls tried to help but I didn't > get far. Still using the IrDA to spk to my mobile. :-( what about lsusb? -- Iain Buchanan <iaindb at netspace dot net dot au> Dear Lord: I just want *one* one-armed manager so I never have to hear "On the other hand", again. -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] net.eth0 net.eth1 net.eth2 persist in trying to come up even though not in any run level. 2007-01-09 0:42 [gentoo-user] net.eth0 net.eth1 net.eth2 persist in trying to come up even though not in any run level Richard Watson 2007-01-09 1:04 ` Neil Bothwick @ 2007-01-09 1:06 ` Iain Buchanan 2007-01-28 5:51 ` James Lockie 2 siblings, 0 replies; 10+ messages in thread From: Iain Buchanan @ 2007-01-09 1:06 UTC (permalink / raw To: gentoo-user On Tue, 2007-01-09 at 10:42 +1000, Richard Watson wrote: > Hi, I recently upgraded my system with emerge -uDN world. Afterwards I > found that net.eth0 was grabbing my firewire port (ieee1394) and I > needed to create net.eth2 for my NIC as net.eth1 was being assigned to > my wireless. My problem is that although "rc-update show" indicates > all my interfaces are NOT being loaded other than net.lo at boot > (which is what I want) my system keeps trying to start net.eth0 > net.eth1 net.eth2 in the " default" run level. Can anybody help? It's > very frustrating waiting for these interfaces to try and connect > before timing out. device initiated services! the topic came up recently. I hated it for a while because it was starting bluetooth for me automatically! there are a couple of things to tweak in /etc/conf.d/rc. Set RC_PLUG_SERVICES="!net.*" and set RC_NET_STRICT_CHECKING="lo" read the comments for more info! HTH, -- Iain Buchanan <iaindb at netspace dot net dot au> No act of kindness, no matter how small, is ever wasted. -- Aesop -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] net.eth0 net.eth1 net.eth2 persist in trying to come up even though not in any run level. 2007-01-09 0:42 [gentoo-user] net.eth0 net.eth1 net.eth2 persist in trying to come up even though not in any run level Richard Watson 2007-01-09 1:04 ` Neil Bothwick 2007-01-09 1:06 ` Iain Buchanan @ 2007-01-28 5:51 ` James Lockie 2007-01-28 13:00 ` Patrice Bouvard 2 siblings, 1 reply; 10+ messages in thread From: James Lockie @ 2007-01-28 5:51 UTC (permalink / raw To: gentoo-user Richard Watson wrote: > Hi, I recently upgraded my system with emerge -uDN world. Afterwards I found that net.eth0 was grabbing my firewire port (ieee1394) and I needed to create net.eth2 for my NIC as net.eth1 was being assigned to my wireless. My problem is that although "rc-update show" indicates all my interfaces are NOT being loaded other than net.lo at boot (which is what I want) my system keeps trying to start net.eth0 net.eth1 net.eth2 in the " default" run level. Can anybody help? It's very frustrating waiting for these interfaces to try and connect before timing out. > > I've always run my network connection on this basis as Gentoo is on my laptop and depending where I am will determine which interface I want to use. > > Thanks, Richard > > rm /etc/init.d/net.eth0 && rm /etc/init.d/net.ath1 -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] net.eth0 net.eth1 net.eth2 persist in trying to come up even though not in any run level. 2007-01-28 5:51 ` James Lockie @ 2007-01-28 13:00 ` Patrice Bouvard 0 siblings, 0 replies; 10+ messages in thread From: Patrice Bouvard @ 2007-01-28 13:00 UTC (permalink / raw To: gentoo-user Le Sun, 28 Jan 2007 00:51:57 -0500, James Lockie <bjlockie@lockie.ca> a écrit : > Richard Watson wrote: > > Hi, I recently upgraded my system with emerge -uDN world. Afterwards I found that net.eth0 was grabbing my firewire port (ieee1394) and I needed to create net.eth2 for my NIC as net.eth1 was being assigned to my wireless. My problem is that although "rc-update show" indicates all my interfaces are NOT being loaded other than net.lo at boot (which is what I want) my system keeps trying to start net.eth0 net.eth1 net.eth2 in the " default" run level. Can anybody help? It's very frustrating waiting for these interfaces to try and connect before timing out. > > > > I've always run my network connection on this basis as Gentoo is on my laptop and depending where I am will determine which interface I want to use. > > > > Thanks, Richard > > > > > rm /etc/init.d/net.eth0 && rm /etc/init.d/net.ath1 > That's a solution. Unfortunately, not always the good one. Richard : you should have a look at RC_PLUG_SERVICES in /etc/conf.d/rc Another solution if you are dhcp-ing is (from /etc/conf.d/net.example) : # For passing custom options to dhcpcd use something like the following. This # example reduces the timeout for retrieving an address from 60 seconds (the # default) to 10 seconds. #dhcpcd_eth0="-t 10" But !!! Yes, there is a "but"... Be carefull. On some networks, it might takes a bit more than 10sec to receive an dhcp answer. -- Cordialement, Patrice BOUVARD, Networks & Systems Engineer -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2007-01-28 13:08 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2007-01-09 0:42 [gentoo-user] net.eth0 net.eth1 net.eth2 persist in trying to come up even though not in any run level Richard Watson 2007-01-09 1:04 ` Neil Bothwick 2007-01-09 1:13 ` Iain Buchanan 2007-01-09 19:56 ` Mick 2007-01-09 23:12 ` Iain Buchanan 2007-01-10 20:39 ` Mick 2007-01-15 0:50 ` Iain Buchanan 2007-01-09 1:06 ` Iain Buchanan 2007-01-28 5:51 ` James Lockie 2007-01-28 13:00 ` Patrice Bouvard
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox