On 03/04/16 18:57, Rick Stevens wrote:
Check the
/etc/sysconfig/network-scripts/ifcfg-eth0
file. It should
look sorta like this (things like the
UUID, HWADDR and DNS stuff will be
different):
TYPE="Ethernet"
BOOTPROTO="dhcp"
DEFROUTE="yes"
IPV4_FAILURE_FATAL="no"
IPV6INIT="yes"
IPV6_AUTOCONF="yes"
IPV6_DEFROUTE="yes"
IPV6_FAILURE_FATAL="no"
NAME="eth0"
UUID="e90b53e3-6248-485b-9d52-7388f719c43d"
ONBOOT="yes"
DNS1=162.249.56.204
DNS2=162.249.56.205
HWADDR=52:54:00:80:03:2D
PEERDNS=no
PEERROUTES=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
'BOOTPROTO="dhcp"' indicates that it
will try to get an IP address from
libvirtd's DHCP server. 'ONBOOT="yes"'
means that it will try to start
the device when booted. If that's set
to "no", then just try
ifup eth0
and see if eth0 gets an IP address. If
it does, edit the file (as root)
and change it to "yes" so it will
start on the next reboot.
.
I finally got back to this problem after
recovering from some router problems. I
put the Linksys E3000/Tomato 1.28 router
back after struggling with OpenWRT for a
month or so.
Changing DEVICE=eth0 to DEVICE=enp0s25
in network-scripts enables the
connection and the centos 7 [using xfce]
vm works well.
I now have:
[root@localhost mnt]# cat
/etc/sysconfig/network-scripts/ifcfg-eth0
TYPE=Ethernet
BOOTPROTO=dhcp
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=eth0
UUID=0d7a86f9-ef1f-4bc9-9b51-7459735af473
DEVICE=enp0s25
ONBOOT=no
Thanks for the help,
Bob
--
Bob Goodwin - Zuni, Virginia, USA
http://www.qrz.com/db/W2BOD
box10 FEDORA-23/64bit LINUX XFCE POP3
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org