View previous topic :: View next topic |
Author |
Message |
Despot Despondency Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 14 Mar 2009 Posts: 176
|
Posted: Wed Jun 08, 2011 11:12 pm Post subject: problems with network connection - reject NAK [SOLVED] |
|
|
Hi,
Sorry if this has been posted before but I can't find a solution anywhere. I am having problems with the wired network connection on my computer. At the moment when I boot the computer I often get the message
Code: |
dhcpcd[13584]: eth0: reject NAK via 192.168.1.254
|
repeated until dhcp times out and I have no network connection.
I know I should be able to create a connection manually but I want it done automatically at boot up with dhcp.
Any pointers would be greatly appreciated.
TAI
Last edited by Despot Despondency on Sat Jun 25, 2011 6:21 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
DONAHUE Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/2468228754a8b1493ea37b.gif)
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Thu Jun 09, 2011 6:00 am Post subject: |
|
|
If 192.168.1.254 is in fact your dhcp server, see if editing /etc/dhcpcd.conf to comment out Quote: | require dhcp_server_identifier | to Quote: | # A ServerID is required by RFC2131.
#require dhcp_server_identifier | cures the problem. _________________ Defund the FCC. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Despot Despondency Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 14 Mar 2009 Posts: 176
|
Posted: Thu Jun 09, 2011 7:59 pm Post subject: |
|
|
Hi, thanks for the response.
I tried your suggestion. I now get the messages
Code: |
dhcpcd[13577]: eth0: broadcasting for a lease
dhcpcd[13577]: eth0: offered 192.168.1.64 from 192.168.1.254
dhcpcd[13577]: eth0: NAK: requested address is not available via 192.168.1.254
|
repeated until it times out again.
Any other suggestions? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
DONAHUE Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/2468228754a8b1493ea37b.gif)
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Thu Jun 09, 2011 8:45 pm Post subject: |
|
|
try a fixed ip
or try dhclient vice dhcpcd
check router configuration for access lists
firewall?
proxy server? _________________ Defund the FCC. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Despot Despondency Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 14 Mar 2009 Posts: 176
|
Posted: Thu Jun 09, 2011 10:14 pm Post subject: |
|
|
Hello again.
I don't have a firewall or proxy server set up. This is a fresh install so I only have the bare basics set up.
I managed to set up a static ip. I used the ip address etc that dhcp used last time it successfully loaded the network.
I am confused about why dhcp keeps failing sporadically?
Also, what do you mean by
Quote: |
check router configuration for access lists
|
?
Thanks again. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
DONAHUE Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/2468228754a8b1493ea37b.gif)
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Fri Jun 10, 2011 12:49 am Post subject: |
|
|
The problem most likely relates to either the router or dhcpcd or both not being totally compliant with the same set of rules.
Most routers can be setup to allow connection from only a limited set of ip's or mac addresses (sic access list). _________________ Defund the FCC. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Despot Despondency Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 14 Mar 2009 Posts: 176
|
Posted: Fri Jun 10, 2011 6:37 am Post subject: |
|
|
OK, that makes sense.
It's weird though. I've had this router for over a year and it's always been fine before.
Is there anyway to resolve this?
Otherwise I just start using a static ip permanently. Is there anything I need to take into account when doing this, e.g. security issues with certain ranges of addresses? Sorry if this is a stupid question. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
DONAHUE Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/2468228754a8b1493ea37b.gif)
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Fri Jun 10, 2011 6:46 am Post subject: |
|
|
reasonable question, I would try to determine the range of IP's the router uses for dhcp leases and use a fixed IP outside the range. A fixed IP could actually be more secure. Router updates, dhcpcd revisions, neighbor on the same frequency.. _________________ Defund the FCC. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Despot Despondency Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 14 Mar 2009 Posts: 176
|
Posted: Sat Jun 25, 2011 6:21 pm Post subject: |
|
|
Sorry for late response. I've had paper deadlines and a holiday and this is the first chance to sort out my computer.
Thanks for the help. Everything seems to be working fine now. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bwhmather n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 11 Jul 2011 Posts: 1
|
Posted: Mon Jul 11, 2011 11:05 pm Post subject: |
|
|
Couple of weeks slow but I have encountered this problem.
In my case setting the clientid option in dhcpd.conf did the trick. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|