Edit /etc/network/interfaces
To apply update do a
# service networking restart
Note. Can be risk doing this via SSH. If there’s a type in your /etc/network/interfaces your network interface will not come back up and you’ll be unable to connect remotely via SSH. Any other services (apache etc) will also be uncontactable.