Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No DHCP client installed [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
enhorabuena
n00b
n00b


Joined: 15 Oct 2005
Posts: 57
Location: Italy

PostPosted: Sun Dec 03, 2006 9:01 pm    Post subject: No DHCP client installed [SOLVED] Reply with quote

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
View user's profile Send private message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Sun Dec 03, 2006 9:04 pm    Post subject: Re: No DHCP client installed Reply with quote

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
View user's profile Send private message
enhorabuena
n00b
n00b


Joined: 15 Oct 2005
Posts: 57
Location: Italy

PostPosted: Sun Dec 03, 2006 9:10 pm    Post subject: Re: No DHCP client installed Reply with quote

Sorry Think4UrS11, it was a typo (I couldn't copy/paste the content). It is already config_eth0=( "dhcp" )
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Mon Dec 04, 2006 12:19 am    Post subject: Reply with quote

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
View user's profile Send private message
enhorabuena
n00b
n00b


Joined: 15 Oct 2005
Posts: 57
Location: Italy

PostPosted: Mon Dec 04, 2006 8:37 am    Post subject: Reply with quote

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
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Mon Dec 04, 2006 8:48 am    Post subject: Reply with quote

Does /sbin/dhcpcd exist? What version of baselayout are you running? Is net.eth0 a symlink to net.lo? Has net.lo been etc-updated?
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
enhorabuena
n00b
n00b


Joined: 15 Oct 2005
Posts: 57
Location: Italy

PostPosted: Mon Dec 04, 2006 9:00 am    Post subject: Reply with quote

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
View user's profile Send private message
enhorabuena
n00b
n00b


Joined: 15 Oct 2005
Posts: 57
Location: Italy

PostPosted: Mon Dec 04, 2006 9:11 am    Post subject: Reply with quote

I discovered that if I issue
Code:
dhcpcd eth0

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
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Mon Dec 04, 2006 9:30 am    Post subject: Reply with quote

Try upgrading baselayout then :)
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
enhorabuena
n00b
n00b


Joined: 15 Oct 2005
Posts: 57
Location: Italy

PostPosted: Mon Dec 04, 2006 10:07 am    Post subject: Reply with quote

UberLord wrote:
Try upgrading baselayout then :)


Thanks UberLord :)
After upgrading baselayout the things are going very well
Back to top
View user's profile Send private message
Smain91
n00b
n00b


Joined: 18 Nov 2006
Posts: 31

PostPosted: Sun Dec 10, 2006 3:29 am    Post subject: Reply with quote

Hi!

I have exactly the same problem.
I just want to know how to upgrade the baselayout please?

Thanks.
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Sun Dec 10, 2006 10:23 am    Post subject: Reply with quote

emerge -1 baselayout
etc-update
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
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