Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dhcpcd 6.x.x doesnt work [need help]
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
sleepingsun
Guru
Guru


Joined: 03 May 2006
Posts: 370
Location: Bosnia

PostPosted: Mon Nov 10, 2014 7:16 pm    Post subject: dhcpcd 6.x.x doesnt work [need help] Reply with quote

Need help .... latest dhcpcd doesnt work to me cant pick IP adress from router over google but didnt help me see few posts here but also doesnt help me !
Latest dhcpcd 5.5.4 work fine to me !

Quote:
/etc/conf.d/net

is set to
Quote:
config_eth0="dhcp"


when i type ifconfig eth0 show that card exist and rest things but not aquire ip adress !

Please help
_________________
Gentoo is Rocks
Back to top
View user's profile Send private message
szatox
Veteran
Veteran


Joined: 27 Aug 2013
Posts: 1717

PostPosted: Mon Nov 10, 2014 8:01 pm    Post subject: Reply with quote

I think dhcpcd is a service itself now. Bring all your net.* services down and then try those 2 steps:

rc-update --update
/etc/init.d/dhcpcd start

That's the easy mode, it should ring up all your interfaces and make one of thsoe default. You can limit it to a single interface using dhcpcd's config file if you want
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2583

PostPosted: Tue Nov 11, 2014 7:02 am    Post subject: Reply with quote

Some weeks ago I've made a complete guide here:
https://wiki.gentoo.org/wiki/Network_management_using_DHCPCD
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6737
Location: Blighty

PostPosted: Tue Nov 11, 2014 9:23 am    Post subject: Re: dhcpcd 6.x.x doesnt work [need help] Reply with quote

sleepingsun wrote:
Need help .... latest dhcpcd doesnt work to me cant pick IP adress from router over google but didnt help me see few posts here but also doesnt help me !
Latest dhcpcd 5.5.4 work fine to me !

when i type ifconfig eth0 show that card exist and rest things but not aquire ip adress !

Please help


Does eth0 report a carrier?
Try removing some options from /etc/dhcpcd.conf - like rapid_commit, and changing duid to clientid. The chances are your router doens't like these RFC compliant options.
_________________
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
sleepingsun
Guru
Guru


Joined: 03 May 2006
Posts: 370
Location: Bosnia

PostPosted: Tue Nov 11, 2014 9:28 am    Post subject: Reply with quote

Charles i dont have wpa and i wont simple as i have early dhcpcd to pick up ip adress from router is it posible all what you made it in your link i do it ...

Installed and start it dhcpcd more times also you made it in that link static post for static IP can i made something that i have it early to pick up from router ip not to enter this in dhcpcd.conf can make something as i have early in configuration /etc/conf.d/net ... "dhcp" ? its look like everything is messed with new updates on gentoo and i didnt understand what i need to do first with dhcpcd becouse on my server is internet down more than 10 days and need big help with this ...

Also i did and make reserv IP on router for this 192.168.1.5 what i need to do that start to pickup IP like it did on dhcpcd 5.5.4 without problems ?

Quote:
File/etc/dhcpcd.conf

Here is an example which configures a static address, routes and dns.

interface eth0
static ip_address=192.168.0.10/24
static routers=192.168.0.1
static domain_name_servers=192.168.0.1


Thanks a lot

Edited:

UberLord i will try when i arrive home and report it about this and also my router is Asus RT-N66U

Do i need to comment all others setting also or to leave it ?
_________________
Gentoo is Rocks
Back to top
View user's profile Send private message
sleepingsun
Guru
Guru


Joined: 03 May 2006
Posts: 370
Location: Bosnia

PostPosted: Tue Nov 11, 2014 3:06 pm    Post subject: Reply with quote

nope nothing help all what i get from dhcpcd is this
Quote:

ifconfig eth0

Code:
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether 1c:6f:65:a6:24:53  txqueuelen 1000  (Ethernet)
        RX packets 102  bytes 8141 (7.9 KiB)
        RX errors 0  dropped 1  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


also this:

dhcpcd eth0
dhcpcd[5822]: sending commands to master dhcpcd process
_________________
Gentoo is Rocks
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