public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] stop eth0 from starting at boot
@ 2010-03-10  2:47 Tony Miller
  2010-03-10  4:06 ` Chris Reffett
  2010-03-10  5:53 ` Dale
  0 siblings, 2 replies; 6+ messages in thread
From: Tony Miller @ 2010-03-10  2:47 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 935 bytes --]

/etc/init.d/net.eth0 is not in any runlevels:

o_0 tony # rc-update show
            bootmisc | boot
             checkfs | boot
           checkroot | boot
               clock | boot
         consolefont | boot
                hald |      default
            hostname | boot
             keymaps | boot
               local |      default nonetwork
          localmount | boot
             modules | boot
              net.lo | boot
           net.wlan0 |      default
            netmount |      default
          ntp-client |      default
           rmnologin | boot
                sshd |      default
      udev-postmount |      default
             urandom | boot
          vixie-cron |      default
                 xdm |      default

Yet it still insists on trying to start at boot! This isn't What I Want,
since this computer is a laptop and I generally use the wifi.

Could it be related to udev or hotplug?

Thanks,
-Tony

[-- Attachment #2: Type: text/html, Size: 1037 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] stop eth0 from starting at boot
  2010-03-10  2:47 [gentoo-user] stop eth0 from starting at boot Tony Miller
@ 2010-03-10  4:06 ` Chris Reffett
  2010-03-10  5:53 ` Dale
  1 sibling, 0 replies; 6+ messages in thread
From: Chris Reffett @ 2010-03-10  4:06 UTC (permalink / raw
  To: gentoo-user

The easiest way to rectify this, I've found, is to just delete
/etc/init.d/net.eth0. Alternately, if you do want to keep the init
script around, but don't want to wait for it to time out before
continuing the boot process, what I did was add dhcpcd_eth0="-b" to fork
it into the background. As for "what is trying to start net.eth0," I
think there's an option in either /etc/rc.conf or /etc/conf.d/rc that
determines what counts as "net" for init scripts that need net: no net
required, loopback only, one non-loopback, or all of the net.* scripts.
Try looking into that.
Chris Reffett

On 03/09/2010 09:47 PM, Tony Miller wrote:
> /etc/init.d/net.eth0 is not in any runlevels:
>
> o_0 tony # rc-update show
>             bootmisc | boot
>              checkfs | boot
>            checkroot | boot
>                clock | boot
>          consolefont | boot
>                 hald |      default
>             hostname | boot
>              keymaps | boot
>                local |      default nonetwork
>           localmount | boot
>              modules | boot
>               net.lo | boot
>            net.wlan0 |      default
>             netmount |      default
>           ntp-client |      default
>            rmnologin | boot
>                 sshd |      default
>       udev-postmount |      default
>              urandom | boot
>           vixie-cron |      default
>                  xdm |      default
>
> Yet it still insists on trying to start at boot! This isn't What I
> Want, since this computer is a laptop and I generally use the wifi.
>
> Could it be related to udev or hotplug?
>
> Thanks,
> -Tony




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] stop eth0 from starting at boot
  2010-03-10  2:47 [gentoo-user] stop eth0 from starting at boot Tony Miller
  2010-03-10  4:06 ` Chris Reffett
@ 2010-03-10  5:53 ` Dale
  2010-03-10  7:10   ` Mick
  2010-03-10  9:18   ` Neil Bothwick
  1 sibling, 2 replies; 6+ messages in thread
From: Dale @ 2010-03-10  5:53 UTC (permalink / raw
  To: gentoo-user

Tony Miller wrote:
> /etc/init.d/net.eth0 is not in any runlevels:
>
> o_0 tony # rc-update show
>             bootmisc | boot
>              checkfs | boot
>            checkroot | boot
>                clock | boot
>          consolefont | boot
>                 hald |      default
>             hostname | boot
>              keymaps | boot
>                local |      default nonetwork
>           localmount | boot
>              modules | boot
>               net.lo | boot
>            net.wlan0 |      default
>             netmount |      default
>           ntp-client |      default
>            rmnologin | boot
>                 sshd |      default
>       udev-postmount |      default
>              urandom | boot
>           vixie-cron |      default
>                  xdm |      default
>
> Yet it still insists on trying to start at boot! This isn't What I 
> Want, since this computer is a laptop and I generally use the wifi.
>
> Could it be related to udev or hotplug?
>
> Thanks,
> -Tony

This is a common problem.  I am on baselayout 1 so if you are on 
baselayout 2, this may not help.  In /etc/conf.d/rc file, add this line 
or edit the line you already have:

RC_PLUG_SERVICES="net.wlan !net.eth*"

That should stop it from starting unless it is in a runlevel.  If not, 
post back.  Actually, post back either way.  Let us know if that works 
or not.

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] stop eth0 from starting at boot
  2010-03-10  5:53 ` Dale
@ 2010-03-10  7:10   ` Mick
  2010-03-10  9:18   ` Neil Bothwick
  1 sibling, 0 replies; 6+ messages in thread
From: Mick @ 2010-03-10  7:10 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1727 bytes --]

On Wednesday 10 March 2010 05:53:00 Dale wrote:
> Tony Miller wrote:
> > /etc/init.d/net.eth0 is not in any runlevels:
> >
> > o_0 tony # rc-update show
> >             bootmisc | boot
> >              checkfs | boot
> >            checkroot | boot
> >                clock | boot
> >          consolefont | boot
> >                 hald |      default
> >             hostname | boot
> >              keymaps | boot
> >                local |      default nonetwork
> >           localmount | boot
> >              modules | boot
> >               net.lo | boot
> >            net.wlan0 |      default
> >             netmount |      default
> >           ntp-client |      default
> >            rmnologin | boot
> >                 sshd |      default
> >       udev-postmount |      default
> >              urandom | boot
> >           vixie-cron |      default
> >                  xdm |      default
> >
> > Yet it still insists on trying to start at boot! This isn't What I
> > Want, since this computer is a laptop and I generally use the wifi.
> >
> > Could it be related to udev or hotplug?
> >
> > Thanks,
> > -Tony
> 
> This is a common problem.  I am on baselayout 1 so if you are on
> baselayout 2, this may not help.  In /etc/conf.d/rc file, add this line
> or edit the line you already have:
> 
> RC_PLUG_SERVICES="net.wlan !net.eth*"
> 
> That should stop it from starting unless it is in a runlevel.  If not,
> post back.  Actually, post back either way.  Let us know if that works
> or not.

The file is well commented to show all options.  Just put "lo" in there and it 
won't bother you again for any interface (other than localhost).

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] stop eth0 from starting at boot
  2010-03-10  5:53 ` Dale
  2010-03-10  7:10   ` Mick
@ 2010-03-10  9:18   ` Neil Bothwick
  2010-03-11 19:18     ` Tony Miller
  1 sibling, 1 reply; 6+ messages in thread
From: Neil Bothwick @ 2010-03-10  9:18 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 479 bytes --]

On Tue, 09 Mar 2010 23:53:00 -0600, Dale wrote:

> This is a common problem.  I am on baselayout 1 so if you are on 
> baselayout 2, this may not help.  In /etc/conf.d/rc file, add this line 
> or edit the line you already have:
> 
> RC_PLUG_SERVICES="net.wlan !net.eth*"

In baselayout-2 this is set in /etc/rc.conf. I use

rc_hotplug="!net.*"

to let all interfaces be handled by Wicd.


-- 
Neil Bothwick

All generalizations are false, including this one.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] stop eth0 from starting at boot
  2010-03-10  9:18   ` Neil Bothwick
@ 2010-03-11 19:18     ` Tony Miller
  0 siblings, 0 replies; 6+ messages in thread
From: Tony Miller @ 2010-03-11 19:18 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 743 bytes --]

I modified the RC_PLUG_SERVICES like this:

RC_PLUG_SERVICES="net.ra0 !net.eth0"

This appears to have worked perfectly! net.eth0 does not start at boot at
all. Thanks so much!

On Wed, Mar 10, 2010 at 1:18 AM, Neil Bothwick <neil@digimed.co.uk> wrote:

> On Tue, 09 Mar 2010 23:53:00 -0600, Dale wrote:
>
> > This is a common problem.  I am on baselayout 1 so if you are on
> > baselayout 2, this may not help.  In /etc/conf.d/rc file, add this line
> > or edit the line you already have:
> >
> > RC_PLUG_SERVICES="net.wlan !net.eth*"
>
> In baselayout-2 this is set in /etc/rc.conf. I use
>
> rc_hotplug="!net.*"
>
> to let all interfaces be handled by Wicd.
>
>
> --
> Neil Bothwick
>
> All generalizations are false, including this one.
>

[-- Attachment #2: Type: text/html, Size: 1191 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-03-11 19:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-10  2:47 [gentoo-user] stop eth0 from starting at boot Tony Miller
2010-03-10  4:06 ` Chris Reffett
2010-03-10  5:53 ` Dale
2010-03-10  7:10   ` Mick
2010-03-10  9:18   ` Neil Bothwick
2010-03-11 19:18     ` Tony Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox