On 1/25/20 5:59 PM, Samuel Sieb wrote:
On 1/25/20 2:18 PM, sean darcy wrote:
On 1/25/20 3:33 PM, Samuel Sieb wrote:
On 1/25/20 9:06 AM, sean darcy wrote:
On FC31 I can't persistently rename the interfaces, see:
https://bugzilla.redhat.com/show_bug.cgi?id=1777893
So I want to use FC31 interface names : enp1s0 and enp0s20u3.
I've used nmtui to set up the interfaces. But NM won't activate them
because they are "strictly unmanaged" !!
How do I fix that ?
Is there some other way to persistently activate the interface ?
What does "nmcli d" show?
_______________________________________________
It shows the state as unmanaged.
Try "nmcli d set enp1s0 managed on". I'm not sure if that's a
persistent change though.
Well that didn't work:
# nmcli d
DEVICE TYPE STATE CONNECTION
eth1 ethernet connected eth1
wlan0 wifi unavailable --
eth0 ethernet unmanaged --
lo loopback unmanaged --
# nmcli d set eth0 managed on
# nmcli d
\DEVICE TYPE STATE CONNECTION
eth1 ethernet connected eth1
wlan0 wifi unavailable --
eth0 ethernet unmanaged --
lo loopback unmanaged --
#nmcli d connect eth0
Error: Failed to add/activate new connection: Connection 'eth0' is not
available on device eth0 because device is strictly unmanaged
I've now set net.iframes=0 on the kernel command line to keep udev from
touching the interfaces. So I get eth0 and eth1. eth1 , a usb ethernet
dongle works. But eth0 . a hw ethernet port, does not. I've inserted a
[device] stanza in NetworkManager.conf to force eth0 manage, without
success.
Here's syslog, with NetworkManager loglevel set to TRACE:
NetworkManager[983]: <info> [1580343605.6412] NetworkManager (version
1.20.10-1.fc31) is starting... (after a restart)
NetworkManager[983]: <info> [1580343605.6412] Read config:
/etc/NetworkManager/NetworkManager.conf (etc:
05-manage-enp-devices.conf, 10-dns.conf,
10-globally-managed-devices.conf, 10-manage-eth-devices.conf)
NetworkManager[983]: <debug> [1580343605.6413] CONFIG:
config-data[0x55d3ade6e190]: 4 groups
NetworkManager[983]: <debug> [1580343605.6413] CONFIG:
NetworkManager[983]: <debug> [1580343605.6413] CONFIG: [main]
NetworkManager[983]: <debug> [1580343605.6413] CONFIG: dns=unbound
NetworkManager[983]: <debug> [1580343605.6413] CONFIG:
NetworkManager[983]: <debug> [1580343605.6414] CONFIG: [keyfile]
NetworkManager[983]: <debug> [1580343605.6414] CONFIG:
unmanaged-devices=none
NetworkManager[983]: <debug> [1580343605.6414] CONFIG:
NetworkManager[983]: <debug> [1580343605.6414] CONFIG: [logging]
NetworkManager[983]: <debug> [1580343605.6414] CONFIG: level=TRACE
NetworkManager[983]: <debug> [1580343605.6414] CONFIG: domains=ALL
NetworkManager[983]: <debug> [1580343605.6415] CONFIG:
NetworkManager[983]: <debug> [1580343605.6415] CONFIG: [device]
NetworkManager[983]: <debug> [1580343605.6415] CONFIG:
match-device=interface-name:eth0
NetworkManager[983]: <debug> [1580343605.6415] CONFIG: managed=1
NetworkManager[983]: <debug> [1580343605.6601] config: state:
successfully read state file "/var/lib/NetworkManager/NetworkManager.state"
...........
NetworkManager[983]: <trace> [1580343608.7972] settings:
storage[5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03,71dd34028f47f61f/ifcfg-rh]:
change event with connection "eth0" (file
"/etc/sysconfig/network-scripts/ifcfg-eth0")
NetworkManager[983]: <trace> [1580343619.3273] settings:
update[5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03]: adding connection "eth0"
(71dd34028f47f61f/ifcfg-rh)
NetworkManager[983]: <trace> [1580343619.3275]
settings-connection[3389af911e72c732,5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03]:
update system secrets: secrets set
NetworkManager[983]: <trace> [1580343619.3277]
settings-connection[3389af911e72c732,5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03]:
update agent secrets: secrets set
NetworkManager[983]: <trace> [1580343619.3277]
settings-connection[3389af911e72c732,5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03]:
no timestamp from keyfile database "/var/lib/NetworkManager/timestamps"
NetworkManager[983]: <trace> [1580343619.3277]
settings-connection[3389af911e72c732,5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03]:
no seen-bssids from keyfile database "/var/lib/NetworkManager/seen-bssids"
NetworkManager[983]: <trace> [1580343619.3278]
settings-connection[3389af911e72c732,5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03]:
update settings-connection flags to visible (was none)
NetworkManager[983]: <trace> [1580343619.3278]
dbus-object[3389af911e72c732]: export:
"/org/freedesktop/NetworkManager/Settings/6"
NetworkManager[983]: <debug> [1580343619.3280] ++ connection 'new
connection' (0x55d3adf05500/NMSimpleConnection/"802-3-ethernet"):
[/org/freedesktop/NetworkManager/Settings/6]
NetworkManager[983]: <debug> [1580343619.3280] ++ connection [
0x55d3adf02330 ]
NetworkManager[983]: <debug> [1580343619.3280] ++ connection.id = 'eth0'
NetworkManager[983]: <debug> [1580343619.3280] ++
connection.interface-name = 'eth0'
NetworkManager[983]: <debug> [1580343619.3280] ++ connection.permissions
= []
NetworkManager[983]: <debug> [1580343619.3281] ++ connection.type =
'802-3-ethernet'
NetworkManager[983]: <debug> [1580343619.3281] ++ connection.uuid =
'5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03'
NetworkManager[983]: <debug> [1580343619.3281] ++ 802-3-ethernet [
0x55d3adf04430 ]
NetworkManager[983]: <debug> [1580343619.3281] ++
802-3-ethernet.mac-address-blacklist = []
NetworkManager[983]: <trace> [1580343619.5332] ethtool[2]:
ETHTOOL_GLINK, eth0: success
NetworkManager[983]: <debug> [1580343619.5333] device[0x55d3adf56910]
(eth0): constructed (NMDeviceEthernet)
NetworkManager[983]: <debug> [1580343619.5333] device[0x55d3adf56910]
(eth0): start setup of NMDeviceEthernet, kernel ifindex 2
NetworkManager[983]: <debug> [1580343619.5333] platform-linux: error
reading net:/sys/class/net/eth0/phys_port_id: error reading 4096 bytes fro
m file descriptor: Operation not supported
NetworkManager[983]: <debug> [1580343619.5334] platform-linux: sysctl:
reading 'net:/sys/class/net/eth0/dev_id': '0x0'
NetworkManager[983]: <trace> [1580343619.5334] ethtool[2]:
ETHTOOL_GDRVINFO, eth0: success
NetworkManager[983]: <debug> [1580343619.5335] platform-linux: error
reading net:/sys/class/net/eth0/device/sriov_totalvfs: Failed to open
file "device/sriov_totalvfs" with openat: No such file or directory
NetworkManager[983]: <trace> [1580343619.5335] ethtool[2]:
ETHTOOL_GLINK, eth0: success
NetworkManager[983]: <debug> [1580343619.5336] device[0x55d3adf56910]
(eth0): hw-addr: hardware address now 50:7B:9D:0B:8A:AB
NetworkManager[983]: <debug> [1580343619.5336] device[0x55d3adf56910]
(eth0): hw-addr: update initial MAC address 50:7B:9D:0B:8A:AB
NetworkManager[983]: <info> [1580343619.5336] device (eth0): carrier:
link connected
NetworkManager[983]: <trace> [1580343619.5336] ethtool[2]: ETHTOOL_GSET,
eth0: success
NetworkManager[983]: <debug> [1580343619.5337] device[0x55d3adf56910]
(eth0): speed is now 1000 Mb/s
NetworkManager[983]: <debug> [1580343619.5337] device[0x55d3adf56910]
(eth0): unmanaged: flags set to
[platform-init,!user-explicit=0x10/0x30/unmanaged/unrealized],
set-managed [user-explicit=0x20])
NetworkManager[983]: <debug> [1580343619.5337] device[0x55d3adf56910]
(eth0): unmanaged: flags set to
[platform-init,!by-type,!user-explicit=0x10/0x38/unmanaged/unrealized],
set-managed [by-type=0x8])
NetworkManager[983]: <debug> [1580343619.5337] device[0x55d3adf56910]
(eth0): unmanaged: flags set to
[platform-init,!by-type,!user-explicit,!user-conf=0x10/0x238/unmanaged/unrealized],
set-managed [user-conf=0x200])
NetworkManager[983]: <debug> [1580343619.5338] device[0x55d3adf56910]
(eth0): unmanaged: flags set to
[platform-init,!sleeping,!by-type,!user-explicit,!user-conf=0x10/0x239/unmanaged/unrealized],
set-managed [sleeping=0x1])
NetworkManager[983]: <trace> [1580343619.5338]
dbus-object[2038a3692ce29462]: export:
"/org/freedesktop/NetworkManager/Devices/4"
NetworkManager[983]: <info> [1580343619.5341] manager: (eth0): new
Ethernet device (/org/freedesktop/NetworkManager/Devices/4)
Any help really appreciated.
sean
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx