How to restart network interfaces in Raspberry Pi 'service networking restart'

How to restart network interfaces in Raspberry Pi

If you use command service networking restart there will be warn message and sometimes eth0 interface will not come.

To fix it please add auto eth0 into /etc/network/interfaces


root@pi:~# service networking restart
 [warn] Running /etc/init.d/networking restart is deprecated because it may not re-enable some interfaces ... (warning).
[ ok ] Reconfiguring network interfaces...done.


Comments

Popular posts from this blog

Securing the Pi-hole with fail2ban to prevent DNS Amplification attacks

Reduce (shrink) and resize raw disk at Proxmox

How to clean DB from old logs in Magento 1.x