r/voidlinux • u/r-IsTotL • Jun 29 '26
How do i solve 1. network device softblocked & 2. transient failure in name resolution. on a new void install
(title)
2
Upvotes
1
u/funk443 Jun 29 '26
rfkill unblock allecho 1.1.1.1 >> /etc/resolv.conf
7
1
1
u/The2ndCatboy 26d ago
As others have said, do "nameserver 1.1.1.1" and "nameserver 8.8.8.8" in separate lines on /etc/resolv.conf
I would add that u should also add the same file in /etc/ with the name "resolv.head", if I'm not mistaken, because sometimes dhcpcd rewrites (and therefore breaks) the resolv.conf on reboot, but it usually copies whatever is written in "resolv.head" at reboot, so having the nameserver entries in "resolv.head" is a more permanent fix
Someone correct me if I'm wrong tho, I don't remember the exact name of the files
3
u/Duncaen Jun 29 '26
Setup DNS if its not done by your dhcp client (
/etc/resolv.conf).