-   Slackware (
-   -   DHCP slows down boot time - using wifi (

dc_eros 10-08-2012 07:37 PM

DHCP slows down boot time - using wifi
I have a basic network setup which does not use a static ip address, I guess that was automatically assigning via DHCP. It slows down my boot time as it tries to detect DHCP which doesn't exists at boot time since I setup NetworkManager for wifi.

Can I get rid of that DHCP lookup process without losing the ability to use DHCP with plugged in to a LAN?


ReaperX7 10-08-2012 08:38 PM

Have you tried NetworkManager?

TommyC7 10-08-2012 08:55 PM

It seems like you're talking about rc.inet1 starting up. You can do two things:

1. Comment the rc.inet1 section in rc.M:

# Initialize the networking hardware
-if [ -x /etc/rc.d/rc.inet1 ]; then
-  . /etc/rc.d/rc.inet1

# Initialize the networking hardware
+#if [ -x /etc/rc.d/rc.inet1 ]; then
+#  . /etc/rc.d/rc.inet1

Or just make it so that rc.inet1 can't be executed:

# chmod -x /etc/rc.d/rc.inet1

piratesmack 10-09-2012 04:38 AM

Edit /etc/rc.d/rc.inet1.conf and make sure you don't have any interfaces configured.

Probably somewhere you have USE_DHCP[n]="yes"

They should all look like this if you're using networkmanager:

# Config information for eth0:

dc_eros 10-10-2012 08:38 PM


Sorry I missed revisiting my own thread :D.

Yes, I'm using NetworkManager currently. Its just that I want to cut the boot time delay caused by this DHCP thing. I'll just try disabling rc.inet1 and see if it improves and still working.


dc_eros 10-14-2012 08:14 AM

I disabled /etc/rc.d/rc.inet1 and so far, it speeds boot time a bit due to few seconds saved for without looking up DHCP.


All times are GMT -5. The time now is 11:29 PM.