On Sat, 30 May 2026 17:24:12 -0700 William Morder via tde-users users@trinitydesktop.org wrote:
On Saturday 30 May 2026 16:20:00 E. Liddell via tde-users wrote:
(If you don't have netifrc, you may still have dhcpcd, which can often be convinced to behave if you smack it hard enough, but I've never tried to set up an alternate DNS server with it alone.)
E. Liddell
I believe I have instead dhcpcd. I did apt-cache search to find netifrc, but nothing comes up. It might be included inside some other package, however.
Any suggestions regarding how to manipulate dhcpcd to get what I want will be appreciated. Also, I can read, if there are any especially good pages out there.
A quick skim of a couple of wikis suggests there are two methods you can use:
1. Create a file /etc/resolv.conf.head and put in it the nameserver data you used to put in /etc/resolv.conf. dhcpcd should read this file and not clobber it (although it will clobber the actual resolv.conf).
2. Alternatively, you can put the nameservers in /etc/dhcpcd.conf by adding a line that looks like "static domain_name_servers=8.8.8.8 8.8.4.4" or whatever servers you want.
This assumes openresolv is not running. If it is, apparently the magical incantation goes in /etc/resolvconf.conf and looks like "name_servers=8.8.8.8 8.8.4.4".
Once you're done making modifications, kill the Network Manager daemon, take your network interface down then up again with ifconfig (or ip), then run "dhcpcd [interface]" ("dhcpcd eth0" or whatever) and check to see if you have network connectivity.
dhcpcd's official documentation seems to be in the form of man pages (for dhcpcd and dhcpcd.conf).
Good luck.
E. Liddell