On 1/29/2016 10:42 AM, reynierpm@gmail.com wrote:
In CentOS 6.7 I ran setup command and I could configure network settings from that "gui" utility at command line. In CentOS 7 I don't know where this goes or how to enabled. I have installed a few packages:
You're looking for nmtui. I went through this pain recently, so I'll share a few things you're going to want to know about the firewall & network manager.
Configure the firewall with firewalld-cmd.
Don't use --permanent with firewalld-cmd, instead do all of your changes then run:
firewalld-cmd --runtime-to-permanent
Even though firewalld-cmd seems to allow you to change the zones of interfaces, it doesn't work like you'd think it does by reading the documentation. Instead, use:
nmcli con modify ens224 connection.zone trusted
Adjusting your ens224 and zone as necessary, of course. This is the only way I've identified which will consistently and permanently change the connection zone.
If yum updates network manager or firewalld, you need to reload the services for the tools to work correctly; especially after a fresh install!
systemctl daemon --reload
This will reload all the daemons.