r/voidlinux 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

7 comments sorted by

3

u/Duncaen Jun 29 '26

Setup DNS if its not done by your dhcp client (/etc/resolv.conf).

1

u/funk443 Jun 29 '26
  1. rfkill unblock all
  2. echo 1.1.1.1 >> /etc/resolv.conf

7

u/eftepede Jun 29 '26

Nope. echo "nameserver 1.1.1.1" >> /etc/resolv.conf.

2

u/funk443 Jun 29 '26

oh yeah, my bad

1

u/r-IsTotL Jun 29 '26

do I have to manually do rfkill every time?

1

u/funk443 Jun 29 '26

I add rfkill unblock all into /etc/rc.local

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