You are not logged in.

#1 2015-05-11 21:48:30

ttoirrah
Member
Registered: 2015-01-29
Posts: 59

sudo ip link set enp0s8 down - doesn't have any effect [SOLVED]

ip link show dev enp0s8
2: enp0s8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether 00:1a:4d:84:91:b9 brd ff:ff:ff:ff:ff:ff

- all working well, but

sudo ip link set enp0s8 down

or

sudo ip link set dev enp0s8 down

- has no effect on the device - it stays UP.  This is contrary to the guidance in Network configuration, and elsewhere. So I have to resort to unplugging the Cat5 cable from the back of my box.  Any idea how to get this working normally?

Last edited by ttoirrah (2015-05-12 06:27:50)

Offline

#2 2015-05-12 06:27:01

ttoirrah
Member
Registered: 2015-01-29
Posts: 59

Re: sudo ip link set enp0s8 down - doesn't have any effect [SOLVED]

I discovered the obstacle (duh): I'd been using ifplugd to manage my Cat5 connection:

systemctl enable netctl-ifplugd@enp0s8.service

I can shut it down with:

systemctl stop netctl-ifplugd@enp0s8.service
<enter my user password in the pop-up Authentication window>

- then ip link set works as normal.

Offline

#3 2015-05-12 06:58:03

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,616
Website

Re: sudo ip link set enp0s8 down - doesn't have any effect [SOLVED]

Moving to Networking.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB