QUERY · ISSUE
webrepl: Support LAN as well as WLAN boards.
When webrepl starts, it prints out the IP address to stdout, however it does this by querying the network.WLAN object -- https://github.com/micropython/micropython-lib/blob/master/micropython/net/webrepl/webrepl.py#L105
This should also try network.LAN (and not fail if network.LAN xor network.WLAN are unavailable).
CANDIDATE · PULL REQUEST
webrepl: Support LAN as well as WLAN boards.
When webrepl starts, it prints out the IP address, however it does this by querying the network.WLAN object.
This fail for board with an Ethernet interface but no WiFi interface.
We try both type of interface (and print error if none exist)
Fix #762