You are not logged in.

#1 2011-10-12 10:03:55

alkuzad
Member
Registered: 2011-10-05
Posts: 12

DHCPCD gets ip after a few restarting.

I am in open, dhcp based network. All were fine but few days ago my dhcpcd started printing this errors:

dhcpcd[1440]: eth0: NAK: requested address not available from 156.17.229.212

After a few restarts of "dhcpcd eth0" it connects:

dhcpcd[1598]: eth0: NAK: requested address not available from 156.17.229.212
dhcpcd[1598]: eth0: broadcasting for a lease
dhcpcd[1598]: eth0: offered 156.17.230.151 from 156.17.229.226
dhcpcd[1598]: eth0: acknowledged 156.17.230.151 from 156.17.229.226
dhcpcd[1598]: eth0: checking for 156.17.230.151
dhcpcd[1598]: eth0: leased 156.17.230.151 for 3600 seconds
/usr/lib/dhcpcd/dhcpcd-hooks/30-hostname: line 9: hostname: command not found
dhcpcd[1598]: forked to background, child pid 1634

Why it cant connect at start ? My conf files:

rc.conf: http://pastebin.com/pJwAks39
dhcpcd.conf: http://pastebin.com/hAF96Fj7

Last edited by alkuzad (2011-10-12 10:04:05)

Offline

#2 2011-10-12 10:05:26

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: DHCPCD gets ip after a few restarting.

Install inetutils to get rid of the hostname error http://www.archlinux.org/news/hostname- … inetutils/

Offline

#3 2011-10-12 10:24:33

alkuzad
Member
Registered: 2011-10-05
Posts: 12

Re: DHCPCD gets ip after a few restarting.

Ofc now i haven't error about hostname but dhcpcd still has problems with obtaining a lease. And w8 time is random - sometimes it gets lease after 5 "NAK" and sometimes after five minutes ...

maybe its connected to dual system (Windows + Arch) ?

Last edited by alkuzad (2011-10-12 10:25:21)

Offline

Board footer

Powered by FluxBB