Samuel Sieb composed on 2023-08-07 16:13 (UTC-0700):
> Wolfgang Pfeiffer wrote:
>> From what I know: the passwords might also be in
>> /etc/sysconfig/network-scripts/keys-*
> ifcfg files are deprecated now. Any recently made connections are
> stored in the nmconnection format. And the keys-* files are part of the
> ifcfg system.
Can you say if that format equates to, or is it similar to, the format
systemd-networkd uses?
# inxi -S
System:
Host: big41 Kernel: 6.3.12-200.fc38.x86_64 arch: x86_64 bits: 64
Console: pty pts/0 Distro: Fedora release 38 (Thirty Eight)
# rpm -qa | grep -iE 'kmana|d-netw|solv' | sort
kf5-networkmanager-qt-5.108.0-1.fc38.x86_64
libsolv-0.7.22-4.fc38.x86_64
systemd-networkd-253.7-1.fc38.x86_64
# cat /etc/systemd/network/eth0.network
[Match]
PermanentMACAddress=00:00:00:00:00:00
[Network]
Address=192.xxx.xxx.xxx/24
DNS=192.xxx.xxx.yyy 1.1.1.1 1.0.0.1
Gateway=192.xxx.xxx.yyy
IPv6AcceptRA=no
LinkLocalAddressing=no
# ls -gG /etc/resolv.conf
-rw-r--r-- 1 233 Nov 30 2020 /etc/resolv.conf
# ls -Gg /etc/sysconfig/network-scripts/*eth*
-rw-r--r-- 1 267 Sep 9 2013 /etc/sysconfig/network-scripts/ifcfg-eth0
-rwxr-xr-x 1 6560 May 4 20:00 /etc/sysconfig/network-scripts/ifdown-eth
-rwxr-xr-x 1 14192 May 4 20:00 /etc/sysconfig/network-scripts/ifup-eth
# ip a
...
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP
group
default qlen 1000
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
inet 192.xxx.xxx.zzz/24 brd 192.xxx.xxx.255 scope global eth0
valid_lft forever preferred_lft forever
# systemctl list-unit-files | grep net | sort
netconsole.service disabled disabled
network-online.target static -
network-pre.target static -
network.service generated -
network.target static -
systemd-network-generator.service disabled enabled
systemd-networkd-wait-online.service disabled disabled
[email protected] disabled disabled
systemd-networkd.service disabled disabled
systemd-networkd.socket enabled disabled
#
--
Evolution as taught in public schools is, like religion,
based on faith, not based on science.
Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!
Felix Miata
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue