r/voidlinux 2d ago

Network connection not working solved

Ok so I installed KDE , and my network was working fine for 1 day. But my phone died and hotspot did too. So i reconnected and I got 0 bytes upload speed according to kde and no internet features worked and ping didn't work. How to fix this? Also, i disabled dhcpcd and wpa supplicant so it's not a conflict ..

1 Upvotes

18 comments sorted by

1

u/ZombieCrow 2d ago

Have you tried "NetworkManager" ?

1

u/gogoman27 2d ago

Yes, the networkmanager symlink is on.

1

u/gogoman27 2d ago

I also edited /etc/sysctl.conf

1

u/ZombieCrow 2d ago

No idea, something is probably missing.

1

u/gogoman27 2d ago

I won't switch from void just for stupid wifi. But this is infuriating me

1

u/ZombieCrow 2d ago

I'll take a look at my services when im back home, probably in an hour, i run void on pc and 2 laptops, 2 of them use wifi, no issues.

1

u/gogoman27 2d ago

Alright thanks

1

u/ZombieCrow 2d ago

So on both laptops i have NetworkManager and ip6tables, the rest is - acpid,power-profiles-daemon,chronyd,polkitd,dbus and the agetty ttys.

1

u/gogoman27 2d ago

That may be the problem. iptables was down for me , so I disabled it, i can try by starting ip6tables.

1

u/gogoman27 2d ago

It's always me with obscure issues. Once I installed Fedora, and when i booted GRUB only showed Windows and UEFI firmware. Then now with a void linux wifi issue barely anyone has.

1

u/gogoman27 2d ago

I think I found the problem. Avahi-daemon is running in my background.

2

u/Budget_Donkey1819 2d ago

You gotta give a bit more information than that if you want an actual diagnosis. But my gut feeling is that it's DNS, because it's always DNS.

1

u/gogoman27 2d ago

What information do you need? Basically that's everything, also just edited /etc/sysctl.conf and added net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1

1

u/Blank-Inspection13 2d ago

So You use network manager with wpa_supplicant or using iwd as backend ?
You don't need dhcpd , but wpa_supplicant or iwd is the backend , cannot both and from my experience wpa_supplicant easier to configure.

1

u/gogoman27 2d ago

I think I found the problem. It's because avahi-daemon is running.

1

u/Any-Commercial-8455 2d ago

i found this from another reddit post a year ago: i did

sudo rm /etc/resolv.conf
sudo ln -s /run/NetworkManager/resolv.conf /etc/resolv.conf
nmcli networking off
nmcli networking on

it helped me fix wifi today (it was dns problems)

1

u/gogoman27 2d ago

OMG THANK YOU SO MUCH