[SOLVED] failed to raise networking.service

Kernels & Hardware, configuring network, installing services

Re: failed to raise networking.service

Postby L_V » 2018-09-29 20:30

Great.
BTW, you don't need ifup/ifdown commands from ifupdown package in console mode to manage your connections (it can help without X environment)
The correct command is /bin/ip (from iproute2 package):

Code: Select all
ip link set enp7s0 up
ip link set enp7s0 down

## ip - show / manipulate routing, network devices, interfaces and tunnels

or nmcli for NetworkManager
Code: Select all
nmcli con up   id enp7s0
nmcli con down id enp7s0
L_V
 
Posts: 799
Joined: 2007-03-19 09:04

Re: failed to raise networking.service

Postby p.H » 2018-09-30 12:22

ip is NOT a replacement for ifup and ifdown. They operate at different levels.
Code: Select all
ip link set enp7s0 up

(just activate the interface without configuring it in any way)
does not do the same as
Code: Select all
ifup enp7s0

(create if needed, configure and activate the interface according to /etc/network/interfaces)

jalisco wrote:Thanks L_V, removing the ifupdown seemed to work.
So far, everything seems fine. No more error message.

You removed the package which installs the service having an error, and the error is gone. What a surprise.
This looks like Maslow's hammer rather than a real solution (find and fix the wrong config file) to me.
p.H
 
Posts: 602
Joined: 2017-09-17 07:12

Previous

Return to System configuration

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable