View previous topic :: View next topic |
Author |
Message |
enhorabuena n00b

Joined: 15 Oct 2005 Posts: 57 Location: Italy
|
Posted: Sun Dec 03, 2006 9:01 pm Post subject: No DHCP client installed [SOLVED] |
|
|
Hi everybody. Suddenly Gentoo tells me that there is no dhcp client installed when booting
Code: |
* Starting eth0
Bringing up eth0
dhcp
No DHCP client installed
|
but that's no true. I've already installed dhcpcd
Code: | [ebuild R ] net-misc/dhcpcd-3.0.2 0 kb |
My /etc/conf.d/net content is
Code: | config_eth0=( "dhcpcd" )
dhcp_eth0="nodns nontp nonis" |
I have no idea why dhcp is not loading. So far it worked well. Any idea?
Last edited by enhorabuena on Mon Dec 04, 2006 10:07 am; edited 1 time in total |
|
Back to top |
|
 |
think4urs11 Bodhisattva


Joined: 25 Jun 2003 Posts: 6659 Location: above the cloud
|
Posted: Sun Dec 03, 2006 9:04 pm Post subject: Re: No DHCP client installed |
|
|
enhorabuena wrote: | Code: | config_eth0=( "dhcpcd" ) |
| replace with Code: | config_eth0=( "dhcp" ) |
_________________ Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself |
|
Back to top |
|
 |
enhorabuena n00b

Joined: 15 Oct 2005 Posts: 57 Location: Italy
|
Posted: Sun Dec 03, 2006 9:10 pm Post subject: Re: No DHCP client installed |
|
|
Sorry Think4UrS11, it was a typo (I couldn't copy/paste the content). It is already config_eth0=( "dhcp" ) |
|
Back to top |
|
 |
yabbadabbadont Advocate


Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Mon Dec 04, 2006 12:19 am Post subject: |
|
|
Try commenting out all the lines in /etc/conf.d/net and see if it will work with the default settings. If not, then you at least will know that it isn't your configuration. _________________
Bones McCracker wrote: | On the other hand, regex is popular with the ladies. |
|
|
Back to top |
|
 |
enhorabuena n00b

Joined: 15 Oct 2005 Posts: 57 Location: Italy
|
Posted: Mon Dec 04, 2006 8:37 am Post subject: |
|
|
yabbadabbadont wrote: | Try commenting out all the lines in /etc/conf.d/net and see if it will work with the default settings. If not, then you at least will know that it isn't your configuration. |
Did it, but still the same message
Code: | * Starting eth0
* Configuration not set for eth0 - assuming DHCP
* No DHCP client installed |
Should I try with another dhcp client? |
|
Back to top |
|
 |
UberLord Retired Dev


Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
 |
enhorabuena n00b

Joined: 15 Oct 2005 Posts: 57 Location: Italy
|
Posted: Mon Dec 04, 2006 9:00 am Post subject: |
|
|
1. Yes, /sbin/dhcpcd exists
2. Seems that baselayout is version 1.12.1
emerge -pv baselayout gives
Code: | [ebuild U ] sys-apps/baselayout-1.12.6 [1.12.1] USE="unicode -bootstrap -build -static" 216 kB |
3. Yes, net.eth0 is a symlink to net.lo
4. etc-update gives
Code: | Scanning Configuration files...
Exiting: Nothing left to do; exiting. :) |
|
|
Back to top |
|
 |
enhorabuena n00b

Joined: 15 Oct 2005 Posts: 57 Location: Italy
|
Posted: Mon Dec 04, 2006 9:11 am Post subject: |
|
|
I discovered that if I issue
as root, the network is working!
It means that dhcp is not loading at boot?
The result of rc-update -s is
Code: | alsasound | boot
bootmisc | boot
checkfs | boot
checkroot | boot
clock | boot
consolefont | boot
dbus | default
hald | default
hostname | boot
keymaps | boot
local | default nonetwork
localmount | boot
metalog | default
modules | boot
net.eth0 | default
net.lo | boot
rmnologin | boot
urandom | boot
vixie-cron | default
|
|
|
Back to top |
|
 |
UberLord Retired Dev


Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
 |
enhorabuena n00b

Joined: 15 Oct 2005 Posts: 57 Location: Italy
|
Posted: Mon Dec 04, 2006 10:07 am Post subject: |
|
|
UberLord wrote: | Try upgrading baselayout then  |
Thanks UberLord
After upgrading baselayout the things are going very well |
|
Back to top |
|
 |
Smain91 n00b

Joined: 18 Nov 2006 Posts: 31
|
Posted: Sun Dec 10, 2006 3:29 am Post subject: |
|
|
Hi!
I have exactly the same problem.
I just want to know how to upgrade the baselayout please?
Thanks. |
|
Back to top |
|
 |
UberLord Retired Dev


Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
 |
|