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?


2 Answers 2


Yes, there is:


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
  • 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, 2014 at 12:19
  • yes and without restarting network service
    – Steve
    May 2, 2014 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, 2014 at 12:26
  • for someone else who doesn't know anything about commands
    – Steve
    May 2, 2014 at 12:29
  • restarting network service not running automatically
    – Steve
    May 2, 2014 at 12:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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