No leases in persistent database/No DHCP offers help

Status
Not open for further replies.

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
jgreco and others have given you sound advice.

i still believe that your NIC died while you were on vacation. after the hamster dies, no amount of food is going to bring it back to life.

get an Intel NIC like I suggested before. you can thank me later.

This is what ifconfig tells me:
...
status: no carrier

if you had a working connection, instead of "no carrier" it would say "active".
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
Not sure which of my 7 posts throughout the day failed to provide the specific info you're looking for,

Well, there's a scrollbar on the side, and you could take the basic step of examining what steps I asked you to take, and then you could compare that to what you actually reported back doing. I don't see why I should have to go back and figure it out for you.

One hint: if you are asking for free help, a lot of it is on you to make it easy for those providing you with help to not have to guess at what is going on. If I ask a question, it needs to be answered. If I make a suggestion, you need to indicate what happened when you did it. In detail. And be prepared for me to expand upon that suggestion.

but thanks for restoring my faith in humanity.

Honestly, that's not helping you here.
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
if you had a working connection, instead of "no carrier" it would say "active".

That was actually his SECOND interface, though, gpsguy. The first one reports active.

The ideal situation here is to verify if indeed the interface toasted. I don't know much about that chipset and whether maybe it is a single chip providing dual interfaces, or two discrete chips, but if we could confirm the first interface is screwed up, then he's got a second one to try.

I'm not necessarily convinced this is hardware but the questions I asked to draw out the needed datapoints are unanswered.
 

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
Oops, I stand corrected. I didn't notice that there were two interfaces.

That was actually his SECOND interface, though, gpsguy. The first one reports active.
 

Kammel78

Dabbler
Joined
Sep 8, 2014
Messages
17
I'm not necessarily convinced this is hardware but the questions I asked to draw out the needed datapoints are unanswered.

I connected the host to the client, ran tcpdump on both while pinging and posted the results. I'm not sure what steps you're referring to that went unanswered.
 

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
You've mentioned at least 4 IP addresses in your messages.

I presume FreeNAS is on 192.168.1.112 and your desktop is on 192.168.1.120. Please verify both are set to static addresses and that the subnet mask is 255.255.255.0 on both of them. For purposes of testing, you could remove the gateway and DNS entries. I'd shut everything down, then bring up the server, followed by the desktop. Try the things jgreco suggested in post #3.

If this doesn't work, I'd buy a new NIC for the server. $30 is cheaper than all the time we've put into trying to help you.
 

Kammel78

Dabbler
Joined
Sep 8, 2014
Messages
17
Ok, I'm not entirely sure exactly why but I seemed to have fixed the issue. I started fresh, restored defaults on FreeNas, assigned the host to another IP that's never been used at the end of my available addresses (.149), verified the subnet mask, rebooted with the host connected directly to a client with a known good cable.

I ran tcpdump on both and was able to ping the host from the client. I saw traffic on both as I pinged as well. While I was doing this I went ahead and updated the firmware on my router to the newest version.

I then shut everything down (modem, router, host) and brought them back up in order (modem, router, host) and was able to get back into FreeNas. Had to auto-import my volume and set up my shares again no problem. Rebooted a couple of times and it's come back up both times.

Thanks so much for everyone's help!
 

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
Glad to hear the problem has been resolved!


Sent from my phone
 

Jay3443

Dabbler
Joined
Aug 10, 2014
Messages
18
Hi,

Can't figure out quite what's going on. No issues for the past year, went on vacation, came back and I can't seem to get FreeNAS back on my network.

I keep getting:

No DHCPOFFERS received.
No working leases in persistent database - sleeping.

I've double checked that my DHCP server is running on my router and I've tried manually assigning my FreeNAS box an IP address, but when I try to ping the box, I get nothing.

What am I missing??





I know this thread is old but I was having the same problem, I went in to my server bios, disabled the onboard NIC, rebooted, then re enabled the NIC, rebooted and it fixed the problem.
 
Status
Not open for further replies.
Top