Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-12-2002, 10:24 PM   #1
LQ Newbie
Registered: Feb 2002
Distribution: Slackware 8.0
Posts: 2

Rep: Reputation: 0
Angry DHCPCD / Slackware 8.0 Problem

I am trying to get Slackware to connect to a DHCP server, I am running DHCPCD... In the files created by DHCPCD I can see that it finds an IP address.... If I run DHCPCD -d it even tells me the IP address.

However, when I run ifconfig, for eth0 interface it shows no IP address information. When I go to ping the DHCP server, it can't find it. DHCPCD runs without errors in the syslog.

I can assign the card a static IP address and it works fine; I am able to find the other machines on the network.

I'm using Slackware 8.0.

Thanks in advance for your help!

Old 02-15-2002, 02:00 AM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
have you tried configuring it using netconfig, and if so, does the same thing happen.. ??
Old 02-15-2002, 01:14 PM   #3
LQ Guru
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 59
If you bring the device up with an 'ifconfig eth0 up' and then run 'dhcpcd eth0', does it still have the same problem?

This is just a guess because if the eth entry doesn't exist at all in the routing table... dhcpcd will go through all the motions but not have done anything.


Old 02-15-2002, 09:26 PM   #4
LQ Newbie
Registered: Feb 2002
Distribution: Slackware 8.0
Posts: 2

Original Poster
Rep: Reputation: 0
I did use netconfig to originally set it up.

I tried a few other things:

ifconfig eth0 down
ifconfig eth0 up
dhcpcd eth0

That didn't fix the problem.

Then I tried this:

ifconfig eth0 down
ifconfig eth0 (this works, I can ping other devices on network)

route showed me local and eth0, network

then I tried dhcpcd eth0

typed route again, eth0 was out of the routing table.

typed ifconfig, there was no ip address assigned.

If I go to the /etc/dhcpcd directory, it gives me all the correct dhcp info, so it really does talk to the dhcp server.

dhcpcd keeps running, gives no error messages.

Any other ideas? Should I try a newer kernel?




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
slackware dhcpcd client? chbin Slackware 15 03-17-2005 09:28 AM
/sbin/dhcpcd: not running - Slackware 10 jtp51 Slackware 6 10-14-2004 01:40 PM
slackware 10 dhcpcd problem solved yet? taek Slackware 7 08-16-2004 01:55 AM
Slackware 8 and DHCPCD - Timed out likwid818 Linux - Networking 6 10-22-2003 11:45 PM
DHCPCD in Slackware 8.0 Floppy Linux - Networking 3 02-10-2002 08:58 AM > Forums > Linux Forums > Linux - Networking

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

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