The Simple Things in Life
Ralf Mardorf
ralf.mardorf at alice-dsl.net
Thu Jul 21 09:57:28 UTC 2016
On Thu, 21 Jul 2016 03:00:47 +0000, Xen wrote:
>I still don't like seeing this enp4s0 (under the previous motherboard
>it was enp3s0, go figure) whenever I look under the hood and detest it
>to the bone.
Hi,
this number already changes for my mobo's only network device, if I
remove or add PCI sound cards. I solved it by using a wild card.
$ grep -A2 "dhcpcd_on()" /usr/local/sbin/alice-dhcp
dhcpcd_on() {
echo ; dhcpcd $(basename $(ls -d /sys/class/net/enp?s0)) ; echo
}
Regards,
Ralf
More information about the Ubuntu-devel-discuss
mailing list