I've been attempting to figure this out for 5 hours now. Hopefully someone who is more knowledgeable, can help me out.
Randomly, without me making any changes to my device, my internet cut out. I tried to ping Google DNS, but was met with sendmsg: operation not permitted.
I spent hours Googling this issue, and tried every solution known to man, with no success. If anything, I broke it even further.
Here is some helpful data:
$ cat /etc/network/interfaces
auto lo
iface lo inet loopback
allow-hotplug wlp3s0
iface wlp3s0 inet dhcp
$ cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile,afono
[ifupdown]
managed=true
$ cat /etc/systemd/resolved.conf
[Resolve]
DNS=8.8.8.8
DNSStubListener=no
Excerpts from journalctl
:
/etc/dhcpclient-enter-hooks.d/samba returned non-zero exit status 1
...
send_packet: Operation not permitted
...
dhclient.c: Failed to send 300 byte long packet over fallback interface
$ ping 8.8.8.8
ping: sendmsg: Operation not permitted
$ ping [broadcast IP] -b
ping: sendmsg: Operation not permitted
Thanks!