I'm really not sure about the DHCP - could be be that it starts off in the wrong subnet/gateway? You could try setting it up to something basic first.
Also, not that it matters I guess but I'd try doing:
eth.setIP({ ip : "192.168.254.248", dns : "208.67.222.222", gateway: "192.168.254.100" });
not
eth.setIP({ ip : "192.168.254.248" }); eth.setIP({ dns : "208.67.222.222" }); eth.setIP({ gateway: "192.168.254.100" });
Did you get an HTTP get working first, so you know if it's connecting properly?
I'm pretty sure I did something almost identical when testing and that worked fine.
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I'm really not sure about the DHCP - could be be that it starts off in the wrong subnet/gateway? You could try setting it up to something basic first.
Also, not that it matters I guess but I'd try doing:
not
Did you get an HTTP get working first, so you know if it's connecting properly?
I'm pretty sure I did something almost identical when testing and that worked fine.