Page 1 of 1

Problem with static IP

Posted: Sat Jan 11, 2025 4:13 pm
by RafaG
I don't have dns resolution follow wiki instruccions on Debian.

The image I used is: rk3528-eflasher-debian-bookworm-core-6.1-arm64-20241112.img

I use this wiki page for configuration: https://wiki.friendlyelec.com/wiki/inde ... he%20steps

I put ip addres without problems (point 5.3.1), but dns (point 5.3.2) don't work. My file /etc/systemd/resolved.conf is correct, but I don't able to make a simple ping to anyone. If I try to change /etc/resolv.conf, this file is rewriten ech time the system start.

Any suggestions?

Thanks in advance

Re: Problem with static IP

Posted: Thu Oct 09, 2025 10:53 am
by tentacleDDF
I ran into the same problem yesterday. Even though I'm pretty much a Linux novice, I've discovered the issue.

It only took me, oh, at least 3 hours of trying, failing, trying again, and discovering the issue by chance. :oops:

It's with /etc/systemd/resolved.conf.

This is not the correct file name.
This is not the correct location.
The code example given does not have the correct syntax.

WRONG command: vi /etc/systemd/resolved.conf
CORRECT command: vi /etc/resolv.conf

The filename is slightly different and one level higher up in the directory structure.

WRONG content:

Code: Select all

[Resolve]
DNS=192.168.1.1


CORRECT content:

Code: Select all

[Resolve]
nameserver 192.168.1.1