Printing Ethernet Interface Settings…the easy way

Just a quick little library for printing the current settings of the Ethernet interface on Arduino.

Be sure to check the examples. You can print to Serial or any stream you choose. If you’re printing to your own stream you might not want labels, and there’s an option for that too.

The library can be found on GitHub here: https://github.com/blackcatm/PrintIF

Sample Output:

Attempting to start Ethernet.
Ethernet address: 00:aa:bb:cc:de:02
      IP address: 192.168.0.101
     Subnet mask: 255.255.255.0
 Gateway address: 192.168.0.1
      DNS server: 192.168.0.1

Comments are closed.