[prev in list] [next in list] [prev in thread] [next in thread] 

List:       centos
Subject:    Re: [CentOS] Centos7: Intel nuc/Linksys usb-ethernet
From:       Patrick Laimbock <patrick () laimbock ! com>
Date:       2017-02-21 21:57:28
Message-ID: 209a0ec7-ef9d-a8d5-33c9-e1b4b86c577f () laimbock ! com
[Download RAW message or body]

Hi,

Suggestions inline.

On 21-02-17 21:03, johan.vermeulen7@telenet.be wrote:
[snip]
> 
> Next I cannot launch the network:
> 
> [root@clgmol ~]# systemctl status network
> ● network.service - LSB: Bring up/down networking
> Loaded: loaded (/etc/rc.d/init.d/network; bad; vendor preset: disabled)

Your network.service is still disabled so try enabling it:

# systemctl stop NetworkManager.service
# systemctl disable NetworkManager.service
# systemctl enable network.service
# systemctl start network.service
# systemctl status network.service

If the network.service fails, see below, review, fix and try again.

> Active: failed (Result: exit-code) since di 2017-02-21 20:57:56 CET; 15s ago
> Docs: man:systemd-sysv-generator(8)
> Process: 2638 ExecStart=/etc/rc.d/init.d/network start (code=exited, \
>                 status=1/FAILURE)
> CGroup: /system.slice/network.service
> └─1076 /sbin/dhclient -H clgmol -1 -q -lf \
> /var/lib/dhclient/dhclient-13b56b89-7b1d-42fa-aeb7-af96a38102ce-enp3s0.lease -pf \
> /var/run/dhclient-enp3s0.pid en... 
> feb 21 20:57:56 clgmol.router network[2638]: RTNETLINK answers: File exists
[snip]

IIRC make dhclient release the current lease and stop the running DHCP 
client, then remove any lingering leases files:

# dhclient -r
# rm -v -i /var/lib/dhclient/dhclient*.lease*

Also remove any /etc/sysconfig/network-scripts/ifcfg-* files created by 
NetworkManager that might interfere with your ifcfg-enp0s20u3c2 and the 
network.service. Then try to start the network.service again.

HTH,
Patrick
_______________________________________________
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic