View previous topic :: View next topic |
Author |
Message |
suicideducky Apprentice
Joined: 29 Jan 2007 Posts: 208
|
Posted: Thu Apr 05, 2007 10:01 am Post subject: (SOLVED) 2006.1 + sync = "no DHCP client installed" |
|
|
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
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 |
|
|
marcossoft Tux's lil' helper
Joined: 20 Jan 2006 Posts: 79 Location: Brazil
|
Posted: Thu Apr 05, 2007 12:11 pm Post subject: Re: After in stall, "no DHCP client installed".... |
|
|
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 |
|
|
Evileye l33t
Joined: 06 Aug 2003 Posts: 782 Location: Toronto
|
Posted: Thu Apr 05, 2007 4:52 pm Post subject: |
|
|
Leave the configuration file (/etc/conf.d/net) blank. Try that and see if it works. |
|
Back to top |
|
|
marcossoft Tux's lil' helper
Joined: 20 Jan 2006 Posts: 79 Location: Brazil
|
Posted: Thu Apr 05, 2007 5:26 pm Post subject: |
|
|
EvilEye wrote: | Leave the configuration file (/etc/conf.d/net) blank. Try that and see if it works. |
Nice it should work |
|
Back to top |
|
|
suicideducky Apprentice
Joined: 29 Jan 2007 Posts: 208
|
Posted: Thu Apr 05, 2007 10:27 pm Post subject: aha. |
|
|
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 |
|
|
suicideducky Apprentice
Joined: 29 Jan 2007 Posts: 208
|
Posted: Thu Apr 05, 2007 10:31 pm Post subject: Re: After in stall, "no DHCP client installed".... |
|
|
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 |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Fri Apr 06, 2007 12:40 am Post subject: Re: aha. |
|
|
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 |
|
|
slycordinator Advocate
Joined: 31 Jan 2004 Posts: 3065 Location: Korea
|
Posted: Fri Apr 06, 2007 12:55 am Post subject: |
|
|
Post the output of |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
Jesse305 n00b
Joined: 06 Apr 2007 Posts: 2
|
Posted: Fri Apr 06, 2007 3:34 am Post subject: |
|
|
[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 |
|
|
ShakyJake n00b
Joined: 20 Sep 2004 Posts: 46
|
Posted: Fri Apr 06, 2007 4:43 am Post subject: |
|
|
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 |
|
|
geoff2k n00b
Joined: 20 Jan 2007 Posts: 1
|
Posted: Fri Apr 06, 2007 9:09 am Post subject: What version of dhcpcd are you running? |
|
|
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 |
|
|
suicideducky Apprentice
Joined: 29 Jan 2007 Posts: 208
|
Posted: Fri Apr 06, 2007 10:01 am Post subject: Re: aha. |
|
|
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
i get
|
|
Back to top |
|
|
Ariem Apprentice
Joined: 13 Jun 2005 Posts: 296 Location: reykjavik
|
Posted: Fri Apr 06, 2007 11:57 am Post subject: |
|
|
Hi,
I was having the same problem.
I solved it by updating the baselayout
Hope that helps you too.
Cheers |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
Posted: Fri Apr 06, 2007 12:32 pm Post subject: Re: aha. |
|
|
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 |
|
|
bitphire n00b
Joined: 05 Apr 2007 Posts: 5
|
Posted: Fri Apr 06, 2007 10:46 pm Post subject: |
|
|
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 |
|
|
ShakyJake n00b
Joined: 20 Sep 2004 Posts: 46
|
Posted: Fri Apr 06, 2007 10:49 pm Post subject: |
|
|
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 |
|
|
suicideducky Apprentice
Joined: 29 Jan 2007 Posts: 208
|
Posted: Fri Apr 06, 2007 10:52 pm Post subject: Re: aha. |
|
|
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 sorry.
im going to try a static IP which I think I know how to do... 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 |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
suicideducky Apprentice
Joined: 29 Jan 2007 Posts: 208
|
Posted: Fri Apr 06, 2007 10:59 pm Post subject: |
|
|
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 |
|
|
suicideducky Apprentice
Joined: 29 Jan 2007 Posts: 208
|
Posted: Fri Apr 06, 2007 11:00 pm Post subject: |
|
|
I was looking at that page when you suggested it, thanks
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 |
|
|
Lionshead n00b
Joined: 05 Apr 2007 Posts: 11
|
Posted: Sat Apr 07, 2007 1:28 am Post subject: [Solved] |
|
|
***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 |
|
|
suicideducky Apprentice
Joined: 29 Jan 2007 Posts: 208
|
Posted: Sat Apr 07, 2007 5:51 am Post subject: Re: [Solved] |
|
|
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
and place your code where * appears.
thanks for the help everyone.
problem is solved, Ducky. |
|
Back to top |
|
|
andretti Tux's lil' helper
Joined: 25 Feb 2007 Posts: 94
|
Posted: Sun Apr 08, 2007 2:16 pm Post subject: Another no DHCP client installed error |
|
|
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 |
|
|
andretti Tux's lil' helper
Joined: 25 Feb 2007 Posts: 94
|
|
Back to top |
|
|
|