Month: Februar 2014

udev-Quick setup for pci-based persistent network rules

This is just a short one. Based on the short script found [[http://www.linuxfromscratch.org/blfs/view/development/chapter07/network.html|in the linuxfromscratch-documentation]], I wrote this small script, that creates persistent network rules based on the pci bus. Just pipe the output to /etc/udev/rules.d/70-persistent-net.rules and edit the output there, if you want to do renaming. #!/bin/bash for dir in /sys/class/net/* ; do [ Read More