whi-tw / macvlan-unifios

macvlan kernel module for UniFi OS devices
GNU General Public License v3.0
19 stars 5 forks source link

Network error after lauching adguardhome with podman #11

Closed Al4ndil closed 1 year ago

Al4ndil commented 1 year ago

Hi, After running macvlan-unify-udr and try lauching adguardhome, i have : Error: unable to find network configuration for dns: network not found And if i use the command zgrep CONFIG_MACVLAN /proc/config.gz i have # CONFIG_MACVLAN is not set UDR firmware 3.0.13

whi-tw commented 1 year ago

So the zgrep command is a bit of a red herring when using this repo - that only shows the state of built-in modules.

Can you provide the output of lsmod | grep macvlan?

I presume you have done everything from the adguardhome instructions, now you have the module installed? It sounds like you may have missed the step where you create the CNI network.

I'm not able to get onto my UDR at the moment, but I know that mine is working a-ok ever since I got the macvlan module loaded.

Al4ndil commented 1 year ago

Here is the output of the command https://i.imgur.com/LaaZfsU.png can you remind me of the command for creating the CNI network? just to make sure i did it ;)

whi-tw commented 1 year ago

The first couple of steps in this readme: https://github.com/unifi-utilities/unifios-utilities/blob/main/AdguardHome/README.md

Make sure you have also run the on boot scripts.

We're at the end of the line here though - your screenshot shows the module is loaded, so there's nothing more I can really do to help you.

The steps on the unifios-utilities repo got me to a working setup, so they should also get you there if you make sure you've done everything correctly.

Potentially reboot your UDR?

Al4ndil commented 1 year ago

I did all steps once again... Don't work... but ! with the command netstat -r, i have : https://i.imgur.com/poBWj6h.png I think Genmask is my problem... Isn't it ?

whi-tw commented 1 year ago

Honestly, I really don't know. It looks like the macvlan module has loaded properly, so I can't really help more.

Maybe the folks on Reddit /r/Ubiquiti or the Unofficial Discord can help you further!

whi-tw commented 1 year ago

https://i.imgur.com/poBWj6h.png

FYI: to make a link properly, the syntax is: [text to show](https://url.to.link.to). GitHub Markdown docs