Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
(SOLVED) 2006.1 + sync = "no DHCP client installed"
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
suicideducky
Apprentice
Apprentice


Joined: 29 Jan 2007
Posts: 208

PostPosted: Thu Apr 05, 2007 10:01 am    Post subject: (SOLVED) 2006.1 + sync = "no DHCP client installed" Reply with quote

Ok so i have ubuntu and gentoo on a dual boot system (old lappy)
and i have just done a fresh install of gentoo, this is atleast my 10th or so install (like 7 on this machine) so im quite familiar with the process, but i still followed the install guide (from gentoo.org)
the only thing different with this install is i used a USB drive with a bunch of pre-compiled binaries on my system.
and whenever i emerged something i just added "--usepkg" into it, so nothing too complicated there i presume.

but now i have booted into gentoo and during the boot process i can see that as it tried to start up eth0 it breaks complaining about no DHCP client being installed although im am 100% sure i installed dhcpcd, im so sure because i also emerged it again just to make sure.
how can i get my eth0 to work? because i can't do anything in gentoo till its fixed.

here's my /etc/conf.d/net
Code:
config_eth0=( "dhcp" )
dhcp_eth0="nodns nontp nonis"

yet again, nothing out of the ordinary as far as i can see.

Thanks again, Any help or suggestions are greatly accepted :D
I would like my gentoo back...

[mod]If you use 2006.1 to install your system, run emerge --sync and install dhcpcd, you'll have this problem when you restart your system. Before restarting, update your baselayout and udev. Then, you should remove coldplug and if you're running ~arch hotplug and hotplug-base.
Make sure you're not symlinking your /etc/localtime, but are instead copying the file as said in the handbook. Look at /etc/conf.d/clock and set your timezone. This should fix some issues that might arise otherwise -- Jorge (jmbsvicetto).[/mod]


Last edited by suicideducky on Fri Apr 06, 2007 11:07 pm; edited 2 times in total
Back to top
View user's profile Send private message
marcossoft
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jan 2006
Posts: 79
Location: Brazil

PostPosted: Thu Apr 05, 2007 12:11 pm    Post subject: Re: After in stall, "no DHCP client installed".... Reply with quote

suicideducky wrote:
i can see that as it tried to start up eth0 it breaks complaining about no DHCP client being installed

Hi

What ifconfig -a gives for you ?

Regards
Marcos
Back to top
View user's profile Send private message
Evileye
l33t
l33t


Joined: 06 Aug 2003
Posts: 782
Location: Toronto

PostPosted: Thu Apr 05, 2007 4:52 pm    Post subject: Reply with quote

Leave the configuration file (/etc/conf.d/net) blank. Try that and see if it works.
Back to top
View user's profile Send private message
marcossoft
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jan 2006
Posts: 79
Location: Brazil

PostPosted: Thu Apr 05, 2007 5:26 pm    Post subject: Reply with quote

EvilEye wrote:
Leave the configuration file (/etc/conf.d/net) blank. Try that and see if it works.

Nice :D it should work
Back to top
View user's profile Send private message
suicideducky
Apprentice
Apprentice


Joined: 29 Jan 2007
Posts: 208

PostPosted: Thu Apr 05, 2007 10:27 pm    Post subject: aha. Reply with quote

ok well i commented etc/conf.d/net all out and now when it starts it errors and spits out the following:
Code:
starting eth0
configuration not set for eth0 - assuming DHCP
no DHCP client installed
ERROR: probling starting needed servie net.eth0
netmount was not started


now what?
Back to top
View user's profile Send private message
suicideducky
Apprentice
Apprentice


Joined: 29 Jan 2007
Posts: 208

PostPosted: Thu Apr 05, 2007 10:31 pm    Post subject: Re: After in stall, "no DHCP client installed".... Reply with quote

marcossoft wrote:

What ifconfig -a gives for you ?

it shows both eth0 and lo

for eth0 it shows nothing of great interest but it does show that no packets have been sent oir received, well "BX and TX" packets. every value is 0 except MTU (which is 1500), metric(which is 1) and txqueuelen(which is 1000)

I can type out the entire thing if its of any use but from looking at this nothing is really interesting as far as i can see.

thanks again, Ducky.[/code]
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Fri Apr 06, 2007 12:40 am    Post subject: Re: aha. Reply with quote

suicideducky wrote:
now when it starts it errors and spits out the following:
Code:
no DHCP client installed

I don't think the init script would be lying. Maybe the error message should read "no DHCP client installed correctly".

You could always try installing a different dhcp client, like pump or udhcp ...
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3065
Location: Korea

PostPosted: Fri Apr 06, 2007 12:55 am    Post subject: Reply with quote

Post the output of
Code:
which dhcpcd
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Fri Apr 06, 2007 12:56 am    Post subject: Reply with quote

... and remember, in most cases DHCP is not required at all. Static configuration will work even better.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Jesse305
n00b
n00b


Joined: 06 Apr 2007
Posts: 2

PostPosted: Fri Apr 06, 2007 3:34 am    Post subject: Reply with quote

[quote="Jaglover"]... and remember, in most cases DHCP is not required at all. Static configuration will work even better.[/quote]
But a lot of times DHCP is easier.
_________________
Want a free, legitimate way to make cash online?
Sign up with link below and make cash today!
http://www.treasuretrooper.com/251289
Back to top
View user's profile Send private message
ShakyJake
n00b
n00b


Joined: 20 Sep 2004
Posts: 46

PostPosted: Fri Apr 06, 2007 4:43 am    Post subject: Reply with quote

I had the same problem. I did a "emerge baselayout" and that fixed the issue. No real explanation of what was wrong. :?:
Back to top
View user's profile Send private message
geoff2k
n00b
n00b


Joined: 20 Jan 2007
Posts: 1

PostPosted: Fri Apr 06, 2007 9:09 am    Post subject: What version of dhcpcd are you running? Reply with quote

You may be running into an issue with the way dhcpcd.sh detects whether you are running a correct version of dhcpcd. If you are running a 3.x version of dhcpcd, you need to apply the fix in this diff to /lib/rcscripts/net/dhcpcd.sh :

http://sources.gentoo.org/viewcvs.py/baselayout/branches/baselayout-1_12/net-scripts/net/dhcpcd.sh?r1=2101&r2=2185&sortby=file

The previous dhcpd.sh was checking for the string "etcDir" in the output of /sbin/dhcpcd -h -- I assume this was a "new" parameter when dhcpcd went from 1.x to 2.x, but sadly, it didn't make it into 3.x.
Back to top
View user's profile Send private message
suicideducky
Apprentice
Apprentice


Joined: 29 Jan 2007
Posts: 208

PostPosted: Fri Apr 06, 2007 10:01 am    Post subject: Re: aha. Reply with quote

cyrillic wrote:
suicideducky wrote:
now when it starts it errors and spits out the following:
Code:
no DHCP client installed

I don't think the init script would be lying. Maybe the error message should read "no DHCP client installed correctly".

You could always try installing a different dhcp client, like pump or udhcp ...

the problem lies herein that in order to emerge something, i need a working eth0.
well besides using a livecd and chrooting, would that still work?

and when i type in
Code:
which dhcpcd

i get
Code:
/sbin/dhcpcd
Back to top
View user's profile Send private message
Ariem
Apprentice
Apprentice


Joined: 13 Jun 2005
Posts: 296
Location: reykjavik

PostPosted: Fri Apr 06, 2007 11:57 am    Post subject: Reply with quote

Hi,

I was having the same problem.
I solved it by updating the baselayout
Hope that helps you too.

Cheers
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Fri Apr 06, 2007 12:32 pm    Post subject: Re: aha. Reply with quote

suicideducky wrote:

the problem lies herein that in order to emerge something, i need a working eth0.

What has it to do with DHCP? Use static configuration!!!
Why are you asking for help and then do not read replies?

You are fighting with this two days now ...
Setting it up from CLI takes less than a minute, you do know how to use ifconfig and route, I hope?
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
bitphire
n00b
n00b


Joined: 05 Apr 2007
Posts: 5

PostPosted: Fri Apr 06, 2007 10:46 pm    Post subject: Reply with quote

I am having the same issue. This is my first time installing and I am not sure how to do the static configuration you are suggesting, any way you can go into more detail. Thx.


EDIT:
I was wrong, it showed that I had an IP but didn't work.


Last edited by bitphire on Fri Apr 06, 2007 11:11 pm; edited 2 times in total
Back to top
View user's profile Send private message
ShakyJake
n00b
n00b


Joined: 20 Sep 2004
Posts: 46

PostPosted: Fri Apr 06, 2007 10:49 pm    Post subject: Reply with quote

Again, I had the same (or similar) problem. However, I WAS able to type "dhcpcd eth0" which worked and established a connection. At that point, I did an "emerge baselayout" which fixed the problem of dhcpcd not working at boot time.

You may very well have something else going on, but this worked for me.
Back to top
View user's profile Send private message
suicideducky
Apprentice
Apprentice


Joined: 29 Jan 2007
Posts: 208

PostPosted: Fri Apr 06, 2007 10:52 pm    Post subject: Re: aha. Reply with quote

Jaglover wrote:
suicideducky wrote:

the problem lies herein that in order to emerge something, i need a working eth0.

What has it to do with DHCP? Use static configuration!!!
Why are you asking for help and then do not read replies?

You are fighting with this two days now ...
Setting it up from CLI takes less than a minute, you do know how to use ifconfig and route, I hope?

OK thanks, I was reading the replies I just attached different levels of priority to them :D sorry.
im going to try a static IP which I think I know how to do... :D I can do it ?!?
well I can do it in windows and my dad's and IT manager so i should be able to wriggle my way through it.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Fri Apr 06, 2007 10:52 pm    Post subject: Reply with quote

If you are installing Gentoo then you schould be reading the Handbook

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=3#doc_chap3

Scroll down to Using ifconfig and route
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
suicideducky
Apprentice
Apprentice


Joined: 29 Jan 2007
Posts: 208

PostPosted: Fri Apr 06, 2007 10:59 pm    Post subject: Reply with quote

ShakyJake wrote:
Again, I had the same (or similar) problem. However, I WAS able to type "dhcpcd eth0" which worked and established a connection. At that point, I did an "emerge baselayout" which fixed the problem of dhcpcd not working at boot time.

You may very well have something else going on, but this worked for me.

ok well im now on the net after running dhcpcd eth0
thank you!
i was halfway through setting up a static aswell when I decided to see if there where other options incase i failed.

Lets see if the next boot works for me.
thanks all.

Would it be possible to get gentoo to 1st try DHCP and if that doesnt work then set a static?
Back to top
View user's profile Send private message
suicideducky
Apprentice
Apprentice


Joined: 29 Jan 2007
Posts: 208

PostPosted: Fri Apr 06, 2007 11:00 pm    Post subject: Reply with quote

Jaglover wrote:
If you are installing Gentoo then you schould be reading the Handbook

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=3#doc_chap3

Scroll down to Using ifconfig and route

I was looking at that page when you suggested it, thanks :D
I have a hard copy of it in front of me, all 100 pages! It's much more convienient but thanks.
im trying the emerge baselayout now, if that works should i also try the patches listed above? or is it one or the other?

Thanks again, Ducky.
Back to top
View user's profile Send private message
Lionshead
n00b
n00b


Joined: 05 Apr 2007
Posts: 11

PostPosted: Sat Apr 07, 2007 1:28 am    Post subject: [Solved] Reply with quote

***Spoiler Don't read me if you like having to think***

To make it more simple, check the handbook link posted above and then use your install CD to run

CODE
net-setup eth0


This will tell you which file is your driver file ;)
I almost felt like a genius when i figured that out.

One day I will figure out how to make real code lines in my posting.
_________________
Open source is free like a puppy.
Back to top
View user's profile Send private message
suicideducky
Apprentice
Apprentice


Joined: 29 Jan 2007
Posts: 208

PostPosted: Sat Apr 07, 2007 5:51 am    Post subject: Re: [Solved] Reply with quote

Lionshead wrote:
***Spoiler Don't read me if you like having to think***

To make it more simple, check the handbook link posted above and then use your install CD to run

CODE
net-setup eth0


This will tell you which file is your driver file ;)
I almost felt like a genius when i figured that out.

One day I will figure out how to make real code lines in my posting.

thanks, and about the code in your posts either use the "CODE" button just above your posting windows or use
Code:
[code]*[/code]

and place your code where * appears.
thanks for the help everyone.
problem is solved, Ducky.
Back to top
View user's profile Send private message
andretti
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2007
Posts: 94

PostPosted: Sun Apr 08, 2007 2:16 pm    Post subject: Another no DHCP client installed error Reply with quote

My system has an Intel 1000 network card and I had compiled e1000 into the kernel. I've just completed a new installation and now I'm getting "no DHCP client installed" error during boot. I would get the same error if I run /etc/init.d/net.eth0 start, but if I run dhcpcd eth0 it will work... Any help would be much appreciated.
Back to top
View user's profile Send private message
andretti
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2007
Posts: 94

PostPosted: Sun Apr 08, 2007 2:28 pm    Post subject: Reply with quote

Appearently there was another post here https://forums.gentoo.org/viewtopic-t-551432.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum