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


[email protected]:~# 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

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

Python pxssh failed on login. could not set shell prompt