reset eth0 from shell

2 posts / 0 new
Last post
#1 Wed, 02/08/2017 - 10:14
whirlweb

reset eth0 from shell

Help!!! Ive just set the eth0 from DHCP and now its not working from the webmin control panel network settings.. I can get to the shell and connect to the centos server. Is there a way I can reset the eth0 back to DHCP to bring everything it back online?

I did change it to the current exising IP it uses but obviously I shouldnt have. Please can you help.

Wed, 02/08/2017 - 12:07
whirlweb

Sorted it using this command - echo “iface eth0 inet dhcp” >>/etc/network/interfaces

Topic locked