I am trying to move from connman network management to systemd-networkd. I followed the procedure found here, manually removing connman and adding the following file as /etc/systemd/network/wired.network per the instructions:
root@apalis-t30:~# cat /etc/systemd/network/wired.network [Match] Name=enp1s0 [Network] Address=192.168.1.10/24 Gateway=192.168.1.1 DNS=22.214.171.124
However, when I restart the board, enp1s0 doesn’t show up when I do an
ifconfig. I verified that I was using the proper name by running ip link:
root@apalis-t30:~# ip link 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: enp1s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000 link/ether 00:14:2d:29:3a:f0 brd ff:ff:ff:ff:ff:ff 3: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop link/ether b2:9d:bd:2d:31:e4 brd ff:ff:ff:ff:ff:ff 4: ip6tnl0: <NOARP> mtu 1452 qdisc noop link/tunnel6 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 brd 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 5: rndis0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000 link/ether fe:80:e4:f0:45:ac brd ff:ff:ff:ff:ff:ff
then checked the status using networkctl:
root@apalis-t30:~# networkctl status ● State: no-carrier Address: 192.168.1.10 on enp1s0 192.168.11.1 on rndis0 DNS: 126.96.36.199
Clearly I’m not wiring something up correctly, but I can’t quite figure out what. I’ve scoured the questions and found some hints along the way, but nothing that solved my problem. Any insights into what I could be doing wrong?