Skip to content

Instantly share code, notes, and snippets.

@0xd61
Last active December 12, 2022 18:28
Show Gist options
  • Save 0xd61/9c6bead6b604068d97df5ce303245ab1 to your computer and use it in GitHub Desktop.
Save 0xd61/9c6bead6b604068d97df5ce303245ab1 to your computer and use it in GitHub Desktop.
Useful udev Commands

Test systemd-networkd link settings

udevadm -d test-builtin net_setup_link /sys/class/net/eth0

Testing udev rules

udevadm test /sys/class/net/eth0

Get info of network device

udevadm info /sys/class/net/eth0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment