And,
What are these settings:
IPADDR2=10.13.0.5
PREFIX2=16
If you don't need them remove.
On 11/29/2016 8:34 AM, Eric Broch wrote:
Do below and remove ifcfg-enp0s3
On 11/29/2016 8:32 AM, Eric Broch wrote:
Here's what I would do
# cp -p /etc/sysconfig/network-scripts/ifcfg-eth0 /root/'somewhere'
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
erase all settings, paste below into the file and save
# systemctl restart network
DEVICE='eth0'
TYPE=Ethernet
BOOTPROTO=none
ONBOOT='yes'
HWADDR=62:ed:ca:6d:25:73
IPADDR=162.243.70.109
NETMASK=255.255.255.0
GATEWAY=162.243.70.1
IPADDR2=10.13.0.5
PREFIX2=16
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE="yes"
IPV6_FAILURE_FATAL="no"
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
DNS1=8.8.8.8
DNS2=8.8.4.4
# vi /etc/resolv.conf
clear all ipv6 nameserver settings
add:
nameserver 8.8.8.8
nameserver 8.8.4.4
On 11/29/2016 7:48 AM, David Overman wrote:
Ok,
I tried the script with my ip for ip4 address and 8.8.8.8 and 8.8.4.4
and with my actual ip and hostname.
Still getting Error: NetworkManager is not running.
[root@mail ~]# sh qmt-host.sh
Call this script as follows (example below):
qmt-host.sh hostname ipv4.address ipv4.gateway
qmt-host.sh me.mydomain.com 192.168.0.2 192.168.0.1
Machine ID: f4d13c7c7b144261851b451e00bb999b
Boot ID: a73c2022069042cf8d8e58ca859c787e
Virtualization: kvm
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-327.36.3.el7.x86_64
Architecture: x86-64
Error: NetworkManager is not running.
On Nov 29, 2016, at 08:26 AM, Eric Broch <ebr...@whitehorsetc.com>
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 <ebr...@whitehorsetc.com>
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:
qmailtoaster-list-unsubscr...@qmailtoaster.com
<mailto:qmailtoaster-list-unsubscr...@qmailtoaster.com>
For additional commands, e-mail:
qmailtoaster-list-h...@qmailtoaster.com
<mailto:qmailtoaster-list-h...@qmailtoaster.com>