Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Don't start network during boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
xvalentinex
n00b
n00b


Joined: 06 Nov 2006
Posts: 30

PostPosted: Sat Apr 21, 2007 7:02 pm    Post subject: [Solved] Don't start network during boot Reply with quote

Hey guys,

I am using NetworkManager to configure my net devices. I am always plugging in to different networks so the static /etc/conf.d/net was not fitting for my needs.

The only problem, and it's just more of an irritation than anything else, is that at boot my network devices try to start.

I've deleted /etc/conf.d/net

Here are my boot services:
Code:
ThinkShem ~ # rc-update show
      NetworkManager |      default
               acpid |      default
           alsasound |      default
            bootmisc | boot
             checkfs | boot
           checkroot | boot
               clock | boot
                dbus |      default
                hald |      default
            hostname | boot
             keymaps | boot
               local |      default nonetwork
          localmount | boot
             modules | boot
              net.lo | boot
            netmount |      default
              pcmcia |      default
           rmnologin | boot
                sshd |      default
           syslog-ng |      default
             urandom | boot
                 xdm |      default


My guess is maybe hotplug? I am not really sure. Any help would be great.

Thanks


Last edited by xvalentinex on Sun Apr 22, 2007 6:15 am; edited 1 time in total
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Sat Apr 21, 2007 8:22 pm    Post subject: Reply with quote

netmount and sshd.
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
xvalentinex
n00b
n00b


Joined: 06 Nov 2006
Posts: 30

PostPosted: Sat Apr 21, 2007 8:33 pm    Post subject: Reply with quote

Thanks moocha that makes sense, unfortunately no cigar.
Back to top
View user's profile Send private message
JoeUser
n00b
n00b


Joined: 08 Apr 2006
Posts: 61

PostPosted: Sat Apr 21, 2007 9:20 pm    Post subject: Reply with quote

maybe RC_NET_STRICT_CHECKING in /etc/conf.d/rc

Code:
# RC_NET_STRICT_CHECKING allows some flexibility with the 'net' service.
# The following values are allowed:
#  none  - The 'net' service is always considered up.
#  no    - This basically means that at least one net.* service besides net.lo
#          must be up.  This can be used by notebook users that have a wifi and
#          a static nic, and only wants one up at any given time to have the
#          'net' service seen as up.
#  lo    - This is the same as the 'no' option, but net.lo is also counted.
#          This should be useful to people that do not care about any specific
#          interface being up at boot.
#  yes   - For this ALL network interfaces MUST be up for the 'net' service to
#          be considered up.

RC_NET_STRICT_CHECKING="lo"
Back to top
View user's profile Send private message
sonicbhoc
Veteran
Veteran


Joined: 24 Oct 2005
Posts: 1805
Location: In front of the computer screen

PostPosted: Sun Apr 22, 2007 1:20 am    Post subject: Reply with quote

Disable RC_COLDPLUG in /etc/conf.d/rc
_________________
I'm too lazy to keep this stupid signature up to date, so here's something more interesting:
My friend Hetdegon can draw if you ask me.
Now using PClinuxOS on my laptop and Gentoo on my desktop and new laptop.
Back to top
View user's profile Send private message
xvalentinex
n00b
n00b


Joined: 06 Nov 2006
Posts: 30

PostPosted: Sun Apr 22, 2007 6:14 am    Post subject: Reply with quote

Thanks sonicbhoc and JoeUser, at first disabling RC_COLDPLUG worked, however I like having coldplug run. I could just add all the modules to /etc/modules.autoload.d/kernel-2.6 and be good. Especially since this is a laptop and not likely to have any hardware added or removed, but I like to have it running.

Setting RC_NET_STRICT_CHECKING to "none" seemed to not work at first, but after deleting /etc/init.d/net.eth0 and net.ath0 it worked perfectly, and I should be able to have sshd startup too.

Thanks for all your help guys. This is solved.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum