unifi-utilities / unifios-utilities

A collection of enhancements for UnifiOS based devices
GNU General Public License v3.0
3.86k stars 415 forks source link

Failed to start nextdns container on UDM #101

Closed lockbake closed 3 years ago

lockbake commented 3 years ago

Firstly, many thanks for this great work!

I'm trying to get nextdns working on a UDM base, running firmware 1.85. I've followed the instructions for boot script and udm-utilities/nextdns.

The problem is that when the nextdns container tries to start I get the following:

#podman start nextdns
ERRO[0000] Error adding network: failed to set "eth0" UP: device or resource busy
ERRO[0000] Error while adding pod to CNI network "dns": failed to set "eth0" UP: device or resource busy
Error: unable to start container "nextdns": error configuring network namespace for container c514d2ba3d8b53d259f494c38016ed1ffe73941f2a6639efb281c697f5679805: failed to set "eth0" UP: device or resource busy

Any idea on what the cause could be?

Thanks Andrew

lockbake commented 3 years ago

Hiya, Ok worked out what I was doing wrong! I mistakenly interpreted

"mac": "PUT YOUR GENERATED OWN MAC HERE",

as put your br5 mac address here, which the message clearly isn't telling me to do that!!!

Anyway when I inserted a unique MAC address, i.e. not one that would conflict with my br5 mac address, everything came up correctly.

Regards Andrew