Can connect to wifi, obtain lan ip, sent arp packets, but cant neither ping router nor external servers

Basic troubleshooting info

With firewalld (perhaps ufw as well) there is an option to block all network traffic - both in/out - sort of killswitch.

But there is also the shields up which blocks all incoming traffic.

https://man.archlinux.org/man/firewalld.1