LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-22-2005, 08:15 PM   #1
IamI
Member
 
Registered: Mar 2004
Location: Dreary, Pennsylvania USA
Distribution: Slackware 10.2
Posts: 77

Rep: Reputation: 15
Slack 10: Why must I run dhcpcd manually?


I've fresh installed Slack 10 a couple of times in the past couple of days. It picks up and runs with my dsl connection perfectly at the beginning, then after a couple of reboots, the connection stops working.

Being a Linux network noob, it's taken me a while to pin down the problem to dhcpcd not running when it should (otherwise I would not be posting this question). The poser is, my /etc/rc.inet1.conf is set to USE_DHCP[0]="yes" which, from what I gather, is supposed to kick in dhcpcd in at boot.

So what is my little problem? Any assistance is appreciated. Just let me know if you need more system info for a diagnosis; I will fetch it.
 
Old 11-22-2005, 08:59 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
Has the machine got a broadcom chipset for the
ethernet? Those do have a known timing issue
with the auto-negotiation of the network capabilities.

If it is (and I've seen random results with those
chipsets [in 4 out of 5 boots they will fail to get a
lease because the auto-negotiation is still bus]),
get ethtools and configure the adapter BEFORE
rc.inet1 gets called, e.g. early from within rc.M



Cheers,
Tink
 
Old 11-22-2005, 09:38 PM   #3
IamI
Member
 
Registered: Mar 2004
Location: Dreary, Pennsylvania USA
Distribution: Slackware 10.2
Posts: 77

Original Poster
Rep: Reputation: 15
Nope, VIA VT6102.
 
Old 11-23-2005, 04:26 AM   #4
malo_umoran
Member
 
Registered: Dec 2003
Distribution: Desktop: Slackware 13.1 &13.37 | Server: Debian 6.0
Posts: 270

Rep: Reputation: 32
and you get an IP as soon as you run dhcpcd manually?

usually you can see during boot process how your card gets its IP etc. if there is no DHCP response from the server, dhcpcd is waiting 60 seconds for the answer. it gives up after that.

M.
 
Old 11-23-2005, 08:22 AM   #5
IamI
Member
 
Registered: Mar 2004
Location: Dreary, Pennsylvania USA
Distribution: Slackware 10.2
Posts: 77

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by malo_umoran
and you get an IP as soon as you run dhcpcd manually?
Yes, after a slight delay. The last couple of times, at least. A couple of days ago I tried running manually, and it timed out like you mentioned below.


Quote:
Originally posted by malo_umoran
usually you can see during boot process how your card gets its IP etc. if there is no DHCP response from the server, dhcpcd is waiting 60 seconds for the answer. it gives up after that. M. [/B]
Interesting. Maybe it's my connection and not my machine after all. The phone lines *are* about 40 years old (at least) in this place.
 
Old 11-23-2005, 08:26 AM   #6
malo_umoran
Member
 
Registered: Dec 2003
Distribution: Desktop: Slackware 13.1 &13.37 | Server: Debian 6.0
Posts: 270

Rep: Reputation: 32
run dhcpcd like this and "tail /var/log/messages and syslog" fo errors:

# dhcpcd -d -t 10 eth0

-t = timeout (10 seconds)
-d = debug

you can use flag "-k" to delete the cache data and to really force dhcpcd get a new ip. watch the log during this, maybe there will be something.

M.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Boot error fsck.reiserfs failed Run Manually anerusmc Linux - Newbie 5 11-03-2009 07:34 PM
dhcpcd problems on slack-current Trijicon Linux - Networking 0 10-24-2005 08:27 PM
alsa loads manually but will not load in run level kawinter Linux - Software 4 09-17-2005 02:53 PM
Making dhcpcd and X run on login mnemonic Linux - Software 1 08-07-2005 06:17 PM
Have to run dhcpcd every start up. Nz_Boy_2004 Linux - Distributions 3 05-21-2005 08:28 PM


All times are GMT -5. The time now is 08:31 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration