Josh Meyer

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Renewing DHCP Lease? #18917
    Josh Meyer
    Participant

    Sorry, it’s not the DNS that is failing. It is the DHCP. I can’t figure out what would make it fail. I extended the timeout to 2 minutes and it still fails.

    The strange thing is that it worked a few times, but just stopped.

    It seems to be stalling at this line in the Ethernet.cpp file in the library:
    W5100.setIPAddress(IPAddress(0,0,0,0).raw_address());

    • This reply was modified 7 years ago by Josh Meyer.
    in reply to: Renewing DHCP Lease? #18915
    Josh Meyer
    Participant

    It is failing DHCP in all the sketches I’ve tried. Then it uses an IP that I assigned within the range, but it doesn’t connect.

    IP – 192.168.2.177 (assigned in software, not by gateway)
    Gateway – 192.168.2.1
    Netmask – 255.255.255.0
    DNS Server – 192.168.2.1

    Does this look correct? What would make the DNS fail? The WebClient sketch worked a few times, then it stopped.

    Thanks

Viewing 2 posts - 1 through 2 (of 2 total)