View previous topic :: View next topic |
Author |
Message |
xvalentinex n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 06 Nov 2006 Posts: 30
|
Posted: Sat Apr 21, 2007 7:02 pm Post subject: [Solved] Don't start network during boot |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
moocha Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Sat Apr 21, 2007 8:22 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
xvalentinex n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 06 Nov 2006 Posts: 30
|
Posted: Sat Apr 21, 2007 8:33 pm Post subject: |
|
|
Thanks moocha that makes sense, unfortunately no cigar. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
JoeUser n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 08 Apr 2006 Posts: 61
|
Posted: Sat Apr 21, 2007 9:20 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
sonicbhoc Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/19626066624403a4096a7e1.gif)
Joined: 24 Oct 2005 Posts: 1805 Location: In front of the computer screen
|
Posted: Sun Apr 22, 2007 1:20 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
xvalentinex n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 06 Nov 2006 Posts: 30
|
Posted: Sun Apr 22, 2007 6:14 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|