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

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

Reduce (shrink) and resize raw disk at Proxmox

Apache 2.4 + mod_wsgi + Python 3.7 + Django installation on Centos 7.10