I'm doing a BASH script for Arch Linux in a Raspberry Pi 2. The thing is that in some point I'd like to reload the network interfaces without reboot and have my new named network interfaces (en0 and wl0) when I insert networkctl, for instance. The solution I've found is:Bring the network interfaces down: ip link set <net_if> down ;Modify /etc/udev/rules.d/70-persistent-net.rules (or its equivalent): in my case it is 10-network.rules. It contains:SUBSYSTEM==net, ACTION==add, ATTR{address}==aa:aa:aa:aa:aa:aa, NAME=en0SUBSYSTEM==net, ACTION==add, ATTR{address}==bb:bb:bb:bb:bb:bb, NAME=wl0Reload withudevadm control --reload-rules ;Retrigger withudevadm trigger --attr-match=subsystem=net ;Bring the network interfaces up:ip link set <net_if> up ;But it didn't work on my RbPi2.I've also found on another post that in some point you must insertmodprobe -r <driver module>but I can't find my driver module for my wifi dongle (I've tried with lsusb -v).BTW: I'm not using Networkmanager. I have configured the network interfaces with systemd (/etc/systemd/network/). I've also tried reloading the systemd-networkd service.Thanks
Reload network interfaces without rebooting
bash;shell script;systemd;udev;systemd networkd