stevejenkins / pihole-utils

Checks the Pi-hole server's current IPv6 address and updates the IPv6 address configured in /etc/pihole/setupVars.conf if necessary.
MIT License
40 stars 7 forks source link

eth1 no longer exists, should default to `eth0` #4

Open sostopher opened 2 years ago

sostopher commented 2 years ago

https://github.com/stevejenkins/pihole-utils/blob/master/pihole_ipv6_check#L40

Running in 2022 results in the following error.

Device "eth1" does not exist..

Pi's now default to eth0 as the default ethernet adapter, this script should update to target it.