|Restarting networking on a Raspberry Pi ( debian, raspbian OS )
2017-11-11 22:32 UTC|
|I had trouble restarting networking on a debian/raspbian system when the wifi disconnected.
This didn't work:
service networking restart
This didn't work either:
But this worked:
Simeple as that.
Or in a pinch:
ifdown eth0 && ifup eth0
In raspberry pi, they no longer use ifup/ifdown. They use dhcp entirely.
You can try to bring it up/down with:
ip link set dev eth0 down
ip link set dev eth0 up
You can try to restart dhcp client:
sudo systemctl restart dhcpcd
A notable tool to use for the pi: wpa_cli: LINK
All comments are filtered before moderator review.
Only common ASCII characters allowed.
Comments are truncated to 2000 characters.
Names are also kept short by truncation.