Hello, I am setting up the wifi for a customized Linux image. It uses systemd to manage the network.
Right now, I am able to config the ip address and ping 8.8.8.8, but get "bad address" when ping google.ca. It is because the systemd-resolved service failed to start. systemctl status shows below info: Active: failed (Result: exit-code) Process: 254 ExecStart=/lib/systemd/systemd-resolved (code=exited, status=226/NAMESPACE). Main PID: 255 (code=exited, status=226/NAMESPACE) journalctl shows below info: systemd-resolved.service: Failed to set up mount namespacing: /run/systemd/unit-root/dev: No such file or directory systemd-resolved.service: Failed at step NAMESPACE spawning /lib/systemd/systemd-resolved: No such file or directory I guess the issue is that the files required for systemd-resolved to execute successfully are not there. But by googling I couldn't find how to set up these two files and how systemd-resolved sets up the name server. Has tried to configure the name server in /etc/systemd/resolved.conf, /etc/systemd/resolved.conf.d/dns.conf and /run/systemd/resolve/resolv.conf. Or add DNS=xxx in /etc/systemd/network/20-wireless-dynamic.network. None of them work. I am wondering if something is missing there or if any debugging methods can be used. Thanks! Regards, Crane