I created the file ifcfg-enp0s3, as it was not in /etc/sysconfig/network-scripts
HWADDR="08:00:27:F3:D4:74"
TYPE="Ethernet"
BOOTPROTO="static"
IPADDR=192.168.0.17
NETMASK=255.255.255.0
NM_CONTROLLED=no
DEFROUTE="yes"
PEERDNS="yes"
PEERROUTES="yes"
IPV4_FAILURE_FATAL="no"
IPV6INIT="yes"
IPV6_AUTOCONF="yes"
IPV6_DEFROUTE="yes"
IPV6_PEERDNS="yes"
IPV6_PEERROUTES="yes"
IPV6_FAILURE_FATAL="no"
NAME="enp0s3"
UUID="63a1bb2b-fe58-4724-84ae-28ec671b083e"
ONBOOT="yes"

Saved the file and rebooted.
upon reboot-this came up 
Warning: NetworkManager.service changed on disk. Run 'systemctl daemon-reload' 
to reload units.

[root@mail ~]# systemctl daemon-reload
[root@mail ~]# nmtui
NetworkManager is not running.

ran the script again, but I am not sure what to put for ip4.gateway? tried 
8.8.8.8
still getting "Networkmanager is not running".

On Nov 29, 2016, at 08:26 AM, Eric Broch <[email protected]> wrote:

Try running this: 
https://raw.githubusercontent.com/qmtoaster/scripts/master/qmt_host.sh
Or
Take a look here:
http://ask.xmodulo.com/configure-static-ip-address-centos7.html
You must get rid of the IPv6 name servers



On 11/29/2016 4:37 AM, David Overman wrote:
[root@mail ~]# systemctl start network
[root@mail ~]# nmtui
NetworkManager is not running.


Do you think this may have something to do with my Centos Instance running on A 
digitalocean droplet?

On Nov 28, 2016, at 07:37 AM, Eric Broch <[email protected]> wrote:

# systemctl start network


On 11/28/2016 12:16 AM, David Overman wrote:
Failed to start NetworkManager.service: Unit NetworkManager.service is
masked


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


Reply via email to