update arch notes page

main
Dominic Reich 7 months ago
parent ae712e115a
commit ee55ee9649
Signed by: dominic
GPG Key ID: BC9D6AE1A3BE169A

@ -1,7 +1,7 @@
---
title: Archlinux
date: 2023-11-29T20:33:48+0100
lastmod: 2024-03-02T09:56:32+0000
lastmod: 2024-04-13T10:21:20+0000
tags:
- archlinux
@ -21,11 +21,40 @@ draft: true
## Predictable network interfaces
### systemd.link
Get back the "old" interface names like `eth0` or `wlan0` with
[systemd.link](https://www.man.page/5/systemd.link).
This might be useful, sometimes.
### Ethernet
<https://www.freedesktop.org/software/systemd/man/latest/systemd.link.html>
This makes my ethernet interface be called **eth0** again.
Create `/usr/lib/systemd/network/80-ether.link` with this content:
~~~systemd
[Match]
Type=ether
[Link]
NamePolicy=keep kernel
~~~
Reboot.
### Wireless
This makes my wireless interface be called **wlan0** again.
Create `/usr/lib/systemd/network/80-wlan.link` with this content:
~~~systemd
[Match]
Type=wlan
[Link]
NamePolicy=keep kernel
~~~
Reboot.
## Prefer local DNS instead of systemd-resolved defaults

Loading…
Cancel
Save