LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 11-27-2006, 12:18 AM   #1
theangler
LQ Newbie
 
Registered: Nov 2006
Location: USA
Distribution: Slackware 11
Posts: 9

Rep: Reputation: 0
Boot process very slow at line dhcpcd


Hey everyone, i'm running slackware 11 on my dell latitude c600. Everything's fine except sometimes it takes a long time, up to five or more minutes, to boot, and sometimes it will not boot at all. Everytime, the point that takes long is at the line dhcpcd: mac address <x>

I am using a wireless card with ndiswrapper which i am modprobing and connecting to network automatically in the files /etc/rc.d/rc.inet1.conf and /etc/rc.d/rc.wireless.conf

i'm using the 2.4.33.3 kernel

thanks, theangler
 
Old 11-27-2006, 09:51 PM   #2
xowl
Member
 
Registered: Jan 2005
Distribution: Slackware current (and others)
Posts: 188

Rep: Reputation: 30
Hmmm, a little tacky but you can try using an ampersand in that line, dont you think so?
 
Old 11-28-2006, 07:10 AM   #3
rje_NC
Member
 
Registered: Nov 2002
Location: Greensboro, NC
Posts: 182

Rep: Reputation: 30
I have had similar problems with several laptop systems when I boot when not connected to a wired Ethernet connection. The system hangs until it times out waiting for eth0.

To fix this, go to /etc/rc.d/rc.inet1.conf and edit the file as root. Look for the following section near the top of the file:

# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""

Just remove the "yes" from the "USE DHCP[0]" line so it looks like this:
USE_DHCP[0]=""

This should solve your hang at boot.

I use Dropline Gnome and on laptop systems I let NetworkManager make the network connection. NM will select the wired or wireless network connection automatically depended on what is available.

Bob
 
Old 11-28-2006, 07:55 AM   #4
zborgerd
Member
 
Registered: Mar 2004
Distribution: Slackware / Dropline GNOME
Posts: 378

Rep: Reputation: 30
Slackware's DHCP stuff can have a really long wait time if you don't have an active connection or something is misconfigured with the interface.

You may want to try adding something like:

DHCP_TIMEOUT[0]="10"

To the rc.inet1.conf and see if it helps speed things up. Alternately, you may want to think about coming up with a new way to initialize the interface.
 
Old 11-28-2006, 10:33 PM   #5
theangler
LQ Newbie
 
Registered: Nov 2006
Location: USA
Distribution: Slackware 11
Posts: 9

Original Poster
Rep: Reputation: 0
thanks guys,

using the timeout seemed to speed it up a bit, but changing the use_dhcp made it quite a bit quicker. Now i'll just change it if i need to use wired

thanks again
TheAngler
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux boot up process Vs. Windows boot up process darkskull Linux - Software 7 12-30-2006 04:21 PM
Boot process slow after formatting partition to ext3 robbbert Linux - Hardware 2 04-18-2006 03:23 PM
Boot problems... dhcpcd? danthehat Linux - Software 0 08-03-2005 02:10 PM
dhcpcd being started twice on boot Wynd Slackware 7 11-13-2004 12:47 PM
dhcpcd at boot rgiggs Slackware 4 07-06-2004 11:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 12:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration