View previous topic :: View next topic |
Author |
Message |
mrZ n00b
Joined: 23 Dec 2008 Posts: 33
|
Posted: Sun Jan 04, 2009 9:06 pm Post subject: [solved]How to disable dhcp on startup? |
|
|
Hi!
I've recently installed Gentoo and I have a problem.
How to disable checking LAN network (eth0) on startup?
rc-update del dhcpcd doesn't work and I'm not sure about deleting netmount.
Regards mrZ
Last edited by mrZ on Wed Jan 07, 2009 11:34 am; edited 1 time in total |
|
Back to top |
|
|
poly_poly-man Advocate
Joined: 06 Dec 2006 Posts: 2477 Location: RIT, NY, US
|
Posted: Sun Jan 04, 2009 9:27 pm Post subject: |
|
|
rc-update del net.eth0
You may have to mess up your provides if you want stuff that needs "net" to work... _________________ iVBORw0KGgoAAAANSUhEUgAAA
avatar: new version of logo - see topic 838248. Potentially still a WiP. |
|
Back to top |
|
|
mrZ n00b
Joined: 23 Dec 2008 Posts: 33
|
Posted: Sun Jan 04, 2009 9:35 pm Post subject: |
|
|
* rc-update: service `net.eth0' is not in the runlevel `default' |
|
Back to top |
|
|
poly_poly-man Advocate
Joined: 06 Dec 2006 Posts: 2477 Location: RIT, NY, US
|
Posted: Sun Jan 04, 2009 9:43 pm Post subject: |
|
|
mrZ wrote: | * rc-update: service `net.eth0' is not in the runlevel `default' | rc-update show _________________ iVBORw0KGgoAAAANSUhEUgAAA
avatar: new version of logo - see topic 838248. Potentially still a WiP. |
|
Back to top |
|
|
mrZ n00b
Joined: 23 Dec 2008 Posts: 33
|
Posted: Sun Jan 04, 2009 9:45 pm Post subject: |
|
|
Code: | local | default nonetwork
vixie-cron | default
devfs | sysinit
sysklogd | default
keymaps | boot
localmount | boot
hald | default
termencoding | boot
net.lo | boot
hostname | boot
mount-ro | shutdown
root | boot
savecache | shutdown
modules | boot
bootmisc | boot
urandom | boot
syslog-ng | default
killprocs | shutdown
mtab | boot
dbus | default
hwclock | boot
netmount | default
sysctl | boot
dmesg | sysinit
consolefont | boot
udev | sysinit
fsck | boot
xdm | default
procfs | boot
swap | boot
device-mapper | boot
|
|
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Sun Jan 04, 2009 10:00 pm Post subject: |
|
|
/etc/rc.conf wrote: | # Some people want a finer grain over hotplug/coldplug. rc_plug_services is a
# list of services that are matched in order, either allowing or not. By
# default we allow services through as rc_coldplug/rc_hotplug has to be YES
# anyway.
# Example - rc_plug_services="net.wlan !net.*"
# This allows net.wlan and any service not matching net.* to be plugged.
rc_plug_services=""
|
|
|
Back to top |
|
|
Napalm Llama Guru
Joined: 04 Jun 2005 Posts: 533 Location: Cardiff, UK
|
Posted: Mon Jan 05, 2009 10:10 pm Post subject: |
|
|
krinn: I have that in /etc/conf.d/rc. Along with this:
/etc/conf.d/rc wrote: | # 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="no" |
I think between those two quotes you just about have it covered, mrZ _________________ Ryzen 5600x; Asus TUF Gaming B550-Plus; Geforce 1660 Super
Registered Linux User #381314
# killall humans |
|
Back to top |
|
|
mrZ n00b
Joined: 23 Dec 2008 Posts: 33
|
Posted: Wed Jan 07, 2009 10:49 am Post subject: |
|
|
Thanks a lot it worked;] |
|
Back to top |
|
|
|