DexterInd / Raspbian_For_Robots

Raspbian image changes to make it work well with Dexter Industries robots.
http://www.dexterindustries.com/raspbian-for-robots/
Other
32 stars 18 forks source link

Don't pick inet6 address #209

Closed CleoQc closed 5 years ago

CleoQc commented 5 years ago

I had a case where the IP address shown on the index page was from the inet6 field, which is totally useless info.

I am now displaying independently the Ethernet and Wlan0 addresses. It's useful when you're setting up your Pi for the first time to be able to see both IPs.

Caveat: this approach is dependent on the formatting of the output from ifconfig