Koozali.org: home of the SME Server

Change network configuration through SSH

Offline pypco

  • 2
  • +0/-0
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,836
  • +2/-0
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"

Offline Stefano

  • *
  • 10,836
  • +2/-0
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

Offline pypco

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