Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using CentOS 6.5 minimal.

Is there any way to display a dialog to change the IP after login? In other words, some way of entering a command with a dialog to change the IP?

share|improve this question
up vote 1 down vote accepted

You can run either system-config-network or setup. I prefer setup since you can access most everything from this dialog (Firewall, Network, etc.).


$ sudo setup

                           ss #1

                           ss #2

                           ss #3

                           ss #4


$ sudo yum install setuptool system-config-network-tui
share|improve this answer
You can set this during the installation instead. That's typically where I'll do it via the UI (GUI or Text UI - aka TUI) during installation of CentOS on the system. Are you asking how can you run this so that the GUI is automatically launched when someone/root logs in? – slm May 2 '14 at 12:19
yes and without restarting network service – motaz May 2 '14 at 12:22
@motaz - running setup will take care of restarting the network for you automatically. Are you trying to make this so it's automated for someone else or yourself? – slm May 2 '14 at 12:26
for someone else who doesn't know anything about commands – motaz May 2 '14 at 12:29
restarting network service not running automatically – motaz May 2 '14 at 12:32

Yes, there is:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.