LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 02-12-2002, 09:24 PM   #1
romanivice
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!

romanivice
 
Old 02-15-2002, 01:00 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

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

Rep: Reputation: 57
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.

Cheers,

Finegan
 
Old 02-15-2002, 08:26 PM   #4
romanivice
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 10.0.3.11 eth0 (this works, I can ping other devices on network)
route

route showed me local and eth0, network 10.0.0.0

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?

Thanks!

romanivice
 
  


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


All times are GMT -5. The time now is 05:24 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