I ran the below command and after few mins its stuck and i was unable to connect to my ssh . Please advice how to fix it.
pi@raspberrypi /etc/network $ sudo /etc/init.d/networking restart
[warn] Running /etc/init.d/networking restart is deprecated because it may not re-enable some interfaces ... (warning).
[....] Reconfiguring network interfaces...Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/eth0/b8:27:eb:88:c5:23
Sending on LPF/eth0/b8:27:eb:88:c5:23