How do I get networking to work after using hibernate?

asked 2013-09-23 13:21:48 -0600

jephir gravatar image

Networking doesn't work after booting a computer from hibernate. The network settings show 'Cable unplugged' for the network connection even though the Ethernet cable is plugged in. I've tried to restart the network manually but it fails:

myuser@mycomputer ~> sudo service network restart
[sudo] password for myuser: 
Restarting network (via systemctl):  Job for network.service failed. See 'systemctl status network.service' and 'journalctl -xn' for details.
                                                           [FAILED]
myuser@mycomputer ~> systemctl status network.service
network.service - LSB: Bring up/down networking
   Loaded: loaded (/etc/rc.d/init.d/network)
   Active: failed (Result: exit-code) since Mon 2013-09-23 13:54:59 EDT; 24s ago
  Process: 8541 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1/FAILURE)

Sep 23 13:54:58 mycomputer systemd[1]: Starting LSB: Bring up/down networking...
Sep 23 13:54:59 mycomputer network[8541]: Bringing up loopback interface:  [  OK  ]
Sep 23 13:54:59 mycomputer network[8541]: Bringing up interface enp2s0:  Error: Connection activation failed: Device not managed by NetworkManager or unavailable
Sep 23 13:54:59 mycomputer network[8541]: [FAILED]
Sep 23 13:54:59 mycomputer systemd[1]: network.service: control process exited, code=exited status=1
Sep 23 13:54:59 mycomputer systemd[1]: Failed to start LSB: Bring up/down networking.
Sep 23 13:54:59 mycomputer systemd[1]: Unit network.service entered failed state.
edit retag flag offensive close merge delete

Comments

1

Unless you have specifically and manually configured your system to use the network service, you should be using systemctl restart NetworkManger.service. Yes, they are different.

randomuser gravatar imagerandomuser ( 2013-09-26 01:35:32 -0600 )edit