Koozali.org formerly Contribs.org

Change network configuration through SSH

Change network configuration through SSH
« on: February 06, 2017, 12:21:08 PM »
Hi,
I need to change IP address of an SME Server release 8.0 machine.
How can I manage through SSH?

I tried to modify /etc/sysconfig/network-scripts/ifcfg-eth0 but..

Code: [Select]
#------------------------------------------------------------
#              !!DO NOT MODIFY THIS FILE!!
#
# Manual changes will be lost when this file is regenerated.
#
# Please read the developer's guide, which is available
# at http://www.contribs.org/development/


Thank you very much.


Offline Stefano

  • *
  • 10,779
  • Skype account: maghissimo
    • Smeserver italian community
Re: Change network configuration through SSH
« Reply #1 on: February 06, 2017, 12:29:40 PM »
from CLI, as root:
Code: [Select]
console

choose "configure this server"
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia

Offline Stefano

  • *
  • 10,779
  • Skype account: maghissimo
    • Smeserver italian community
Re: Change network configuration through SSH
« Reply #2 on: February 06, 2017, 12:30:32 PM »
P.S:
welcome here, please plan your upgrade to SME9 because Centos5 (and so SME8) will go EOL in few weeks
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia

Re: Change network configuration through SSH
« Reply #3 on: February 06, 2017, 04:19:48 PM »
Thank you very much for your help