r/voidlinux 16d ago

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/Moist_Professional64 16d ago

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

2

u/xksnr 16d ago

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 16d ago

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

2

u/ImprovementJealous90 16d ago

most probably a broken DNS, I had the same issue, change your nameserver to 1.1.1.1 or 8.8.8.8

2

u/anothernovalkun 16d ago

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

1

u/satheresia 16d ago

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 16d ago

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 16d ago

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

1

u/Simple_Hamster_4096 16d ago

If using network manager, then disable dhcpcd...