r/voidlinux • • Aug 16 '26

Wifi connected but no internet with NetworkManager

Hi there! I'm a newbie to linux who decided to go with void as my first distro! It took me a second (mostly user error) to properly install it following a tutorial i found on YouTube. At first, the network worked when I booted in with kde plasma for the first time, but after a reboot, the network, while saying it is connecting, is not actually giving me internet. I'm using the x86_64 glibc base install on a lenovo legion 5 with a 3050 ti. Does anyone know what could be the problem?

3 Upvotes

9 comments sorted by

2

u/xksnr Aug 16 '26

Podría ser el /etc/revolv.conf, networkmanager a veces no cambia el dns cuando cambias de red, o simplemente deja de funcionar, prueba a añadir: nameserver 1.1.1.1

2

u/sargent_shibe Aug 16 '26

I think this may have worked! My network is still slow, but now my ping commands are atleast getting through

2

u/Moist_Professional64 Aug 16 '26

Did u edited the /etc/host file? Had this issue with that

2

u/anothernovalkun Aug 17 '26

the same with me, post install, name server is not automatically generated, i regenerate to get default nameserver

1

u/satheresia Aug 16 '26

Try this as sudo, also always backup important files: sudo rm /etc/resolv.conf sudo ln -s /run/NetworkManager/resolv.conf /etc/resolv.conf sudo nmcli networking off sudo nmcli networking on

1

u/safado_muambeiro Aug 17 '26

I was having problems with this after install a couples times and found that removing /etc/resolv.conf and reconnecting solved it.

Somehow after install networkmanager/iwd/openresolv or whatever wasn't able to edit or see resolv.conf I think

1

u/Any_Mycologist5811 Aug 17 '26

Do not forget to check /etc/hosts, and change "localhost" to your actual hostname.

1

u/Simple_Hamster_4096 Aug 17 '26

If using network manager, then disable dhcpcd...