Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
netctl won't use dhcp
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
b0b2
n00b
n00b


Joined: 19 Jan 2014
Posts: 2

PostPosted: Sun Jan 19, 2014 8:06 am    Post subject: netctl won't use dhcp Reply with quote

Hi,
I am trying to use netctl on my gentoo linux, but it won't assign the ip address.
If i use the same netctl profile on my arch linux installation, it works flawlessly.
And i can connect using wpa_sup and dhcpcd.
Does netctl require dhcpcd?
Because netctl is blocked by emerge if dhcpcd is installed and vice versa.
So i was never able to try connecting with netctl while dhcpcd was installed on my gentoo installation.
I already increased the timeout value to 90 seconds but the 'IP lease attempt failed' msg come after 1-2 seconds already.

emerge seems to ignore my useflags(dhcp, dhcpcd) for netctl.

atm i have dhcp installed, but i'm no sure netctl is trying to use it.

regards bob
Back to top
View user's profile Send private message
b0b2
n00b
n00b


Joined: 19 Jan 2014
Posts: 2

PostPosted: Sun Jan 19, 2014 8:26 am    Post subject: Reply with quote

ok i figured netctl wasn't using 'dhclient' (or 'dhcp' <- ebuild name).
In the profile add:
Code:
DHCPClient='dhclient'

to fix it.

but i don't know how to switch the dhcp client globally. :/

Edit: also in interface files but that's not really globally
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