Nanode DHCP - RESOVED

Hi guys

Im having a real problem with my new kit..

after not remembering to select 3.3 or 5volts on the nanodeRF (was not set at all) iv got it up and running i think..

i get 

 

[webClient]
DHCP status: 0
2 {rf_fail:1}

DHCP status: 0
2 {rf_fail:1}
DHCP status: 0


1 emontx packet rx2 {rf_fail:0,power1:270,power2:233,power3:0,voltage:25001}
DHCP status: 0
2 {rf_fail:1}
DHCP status: 0


1 emontx packet rx2 {rf_fail:0,power1:261,power2:246,power3:0,voltage:25025}
DHCP status: 0
2 {rf_fail:1}
DHCP status: 0
So to me this looks like the emontx is sending ok.. PV on power2 (think this is correct) and main supply on power1.
But im not getting a DHCP address. Iv got plenty. (I work in IT So have more computers at home than people.)
The nanodeRF only has the red light on BUT the link light and data light flash fine on the Ethernet port.
 
Once i get this sorted i just need to sort out the GLCD to Type 2 not type 1 But thats for another thread
 
any ideas..
 
Thanks
Rob 
 
 

 

Drsdre's picture

Re: Nanode DHCP - RESOVED

DHCP status: 0 says basically that NanodeRF did not receive an IP address from DHCP server.

The received emontx says that the radio connection is up and running and receiving packages from the emonTX.

Maybe try to set a static IP in the NanodeRF sketch with the following command:

Screen Shot 2011 06 15 at 09.42.55

Andre

robw's picture

Re: Nanode DHCP - RESOVED

Thanks that did the trick nicely..

davocon's picture

Re: Nanode DHCP - RESOVED

I'm having a similar issue, where in the sketch should I put the command? And what format do I out the IPs in as it won't like too many 'decimal points' in the IP addresses will it?

trendt's picture

Re: Nanode DHCP - RESOVED

 

I had the same problem. Made a small change in dhcp_dns (from line 18): 

    //dhcp_status = ether.dhcpSetup();           // DHCP setup
    
    static byte gwip[] = { 192, 168, 10, 1 };
    static byte myip[] = { 192, 168, 10 , 175 };
    static byte dnsip[] = { 192, 168, 10, 1 };
    dhcp_status = ether.staticSetup(myip, gwip, dnsip);
 
makes sense? :-)
davocon's picture

Re: Nanode DHCP - RESOVED

Yes that makes sense, I will try that and see if it helps. Is that the only line which will need commenting out?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.