You are not logged in.

#1 2024-10-08 02:17:38

Efka
Member
From: Klaipeda
Registered: 2014-04-27
Posts: 107
Website

[SOLVED] no ip and internet on fresh install systemd-networkd.service

Borked my Linux had to do fresh install.
Booted to new system

systemctl start systemd-networkd.service
systemctl enable systemd-networkd.service
/etc/systemd/network/20-wired.conf
[Match]
Name=enp8s0

[Network]
Address=192.168.1.100/24
Gateway=192.168.1.1
DNS=1.1.1.1
ip link set enp8s0 up

restart systemd-networkd.

 systemctl start systemd-resolved.service
 systemctl enable systemd-resolved.service

No static IP.
If i reboot - ip link shows my network card is DOWN
If i remove my static ip file - still nothing.

Downloaded iso today few hours ago. So latest greatest vanilla .

Had same issue earlier with older iso - so i thought its something wrong but turns out - no.

Last edited by Efka (2024-10-08 02:41:58)


IBM Lenovo ThinkPad T61 ; Lenovo ThinkPad X220; Lenovo ThinkPad T440p; Lenovo Thinkpad W520; Lenovo Thinkpad P71; ThinkPad X1 Yoga Gen1;  FrankenPad T25
Asus Z10PE D-16 WS; 2x Intel Xeon E-5 2690V4; 32GB ECC; nVidia Titan V CEO | Asus ROG Gene XI Intel i7-9700k nVidia 3070Ti

Offline

#2 2024-10-08 02:27:39

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,307

Re: [SOLVED] no ip and internet on fresh install systemd-networkd.service

20-wired.conf isn't valid AFAIK. Should be 20-wired.network.

Offline

#3 2024-10-08 02:41:36

Efka
Member
From: Klaipeda
Registered: 2014-04-27
Posts: 107
Website

Re: [SOLVED] no ip and internet on fresh install systemd-networkd.service

Scimmia wrote:

20-wired.conf isn't valid AFAIK. Should be 20-wired.network.

And i spent my whole day today...
Thank You!


IBM Lenovo ThinkPad T61 ; Lenovo ThinkPad X220; Lenovo ThinkPad T440p; Lenovo Thinkpad W520; Lenovo Thinkpad P71; ThinkPad X1 Yoga Gen1;  FrankenPad T25
Asus Z10PE D-16 WS; 2x Intel Xeon E-5 2690V4; 32GB ECC; nVidia Titan V CEO | Asus ROG Gene XI Intel i7-9700k nVidia 3070Ti

Offline

#4 2024-10-08 03:06:15

cryptearth
Member
Registered: 2024-02-03
Posts: 1,211

Re: [SOLVED] no ip and internet on fresh install systemd-networkd.service

Offline

#5 2024-10-08 05:35:25

Efka
Member
From: Klaipeda
Registered: 2014-04-27
Posts: 107
Website

Re: [SOLVED] no ip and internet on fresh install systemd-networkd.service

cryptearth wrote:

Well, i used my template where i had static ip before and i just quickly copy-paste.
I did spent whole day in wiki and internet and tested many things - even re-installing OS so i just did not noted my first mistake smile


IBM Lenovo ThinkPad T61 ; Lenovo ThinkPad X220; Lenovo ThinkPad T440p; Lenovo Thinkpad W520; Lenovo Thinkpad P71; ThinkPad X1 Yoga Gen1;  FrankenPad T25
Asus Z10PE D-16 WS; 2x Intel Xeon E-5 2690V4; 32GB ECC; nVidia Titan V CEO | Asus ROG Gene XI Intel i7-9700k nVidia 3070Ti

Offline

#6 2024-10-08 08:32:23

cryptearth
Member
Registered: 2024-02-03
Posts: 1,211

Re: [SOLVED] no ip and internet on fresh install systemd-networkd.service

happens to all of us
there was a topic recently where OP named grub config .conf while grub expects .cfg
my bet: back in the day when Linux emerged from Unix the chance just got missed to enforce specific naming for specific files - as in unix a files type is determined by its header rather than its filename extension

Offline

Board footer

Powered by FluxBB