Cleaning up directory reference?

I tried to put a custom hosts file on my router, then realized that it would be better not to. I do not believe that I succeeded in copying any files, but apparently I left reference to a non-existent directory that OpenWrt is trying to access. These lines are in my log:

Sun May 18 21:52:30 2025 daemon.info dnsmasq[1]: read /etc/hosts - 12 names
Sun May 18 21:52:30 2025 daemon.err dnsmasq[1]: failed to load names from /etc/rlmhosts: No such file or directory
Sun May 18 21:52:30 2025 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 4 names
Sun May 18 21:52:30 2025 daemon.info dnsmasq[1]: read /tmp/hosts/odhcpd - 12 names

I would like to make sure that everything related to hosts is working as it should in the default 24.10 configuration.

Do these line indicate that that is the case other than a reference to /etc/rlmhosts somewhere?

Where is that reference and how do I remove it? I would be grateful for step-by-step instructions with syntax.

Many thanks for any help.

Connect via ssh and do grep -re "rlmhosts" /etc
to search in all files for the reference...

Thanks for responding, _bernd.

I looked again for this reference in luci, found it, and removed it.

Network - DHCP and DNS - Resolv & hosts files

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.