Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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

2 Answers 2

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.).

Example

$ sudo setup

                           ss #1

                           ss #2

                           ss #3

                           ss #4

Installation

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

Yes, there is:

system-config-network
share|improve this answer

Your Answer

 
discard

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.