LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
LinkBack Search this Thread
Old 02-20-2005, 09:24 AM   #1
cj10111
Member
 
Registered: Aug 2003
Posts: 34

Rep: Reputation: 15
Question dhcpcd in Gentoo


Hi all,

I have successfully installed Gentoo on my 12" Powerbook. Everything went swimingly with the exception of not being able to find my network card. I resolved that by emergeing coldplug and it boots now without any errors.

For some reason, however, using dhcpcd I cannot acquire an IP address.

I tried:

ifconfig eth0 up Which worked
then dhcpcd eth0 Which won't give me an IP

The same method works fine on the installation CD.

Any help would be appreciated.

Thanks in advance.
 
Old 02-20-2005, 03:43 PM   #2
dave_starsky
Member
 
Registered: Oct 2003
Location: UK, Manchester
Distribution: Gentoo (2.6.10-r4) & Ubuntu
Posts: 145

Rep: Reputation: 16
Have you done

Code:
rc-update add net.eth0 default
That should give you an IP address on startup
 
Old 02-20-2005, 09:35 PM   #3
cj10111
Member
 
Registered: Aug 2003
Posts: 34

Original Poster
Rep: Reputation: 15
Thank you for the reply. Yes, I tried that.

It's weird everything seems to be in place.

I've got about 8 hrs into this installation today, so I'll check it out tomorrow.

Thanks
 
Old 02-21-2005, 12:29 PM   #4
cj10111
Member
 
Registered: Aug 2003
Posts: 34

Original Poster
Rep: Reputation: 15
I can't figure out if it's something that I mucked up in the kernel configuration file, or if it's just a error with the config files.

Besides the network configure files mentioned in the manual, does anyone know of any other files that I should look at.

I think the best way to do this would be to compare my setup to the setup on the installation CD.
 
Old 02-21-2005, 12:53 PM   #5
fr_laz
Member
 
Registered: Jan 2005
Location: Cork Ireland
Distribution: Debian
Posts: 384

Rep: Reputation: 31
Hi,

dhcpd is the dhcp daemon (server). So as to get an IP, you've got to use the dhcp client :
"dhclient eth0".
 
Old 02-21-2005, 11:30 PM   #6
cj10111
Member
 
Registered: Aug 2003
Posts: 34

Original Poster
Rep: Reputation: 15
I figured it out, it was a kernel issue. I just had to compile in the correct network card.

Thanks for the suggestions.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dhcpcd afruscione Linux - Networking 3 03-21-2007 03:33 AM
dhcpcd problem in Gentoo youngtaek.oh Linux - Networking 18 08-16-2005 09:15 AM
using dhcpcd on gentoo slows down application startup in KDE drowstar Linux - Networking 1 07-29-2005 12:59 PM
Gentoo dhcpcd bootime lockup mconroy Linux - Newbie 1 07-09-2005 11:49 PM
dhcpcd chrismiceli Linux - Networking 2 10-21-2002 11:09 AM


All times are GMT -5. The time now is 05:20 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
Open Source Consulting | Domain Registration