Para recuperar ethX
e wlanX
, edite o arquivo grub.
$ sudo nano /etc/default/grub
Procure por GRUB_CMDLINE_LINUX
e adicione o seguinte net.ifnames=0 biosdevname=0
.
De:
GRUB_CMDLINE_LINUX=""
Para:
GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0"
Gere um novo arquivo grub usando o seguinte comando.
$ sudo grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.4.0-15-generic
Found initrd image: /boot/initrd.img-4.4.0-15-generic
Found memtest86+ image: /memtest86+.elf
Found memtest86+ image: /memtest86+.bin
done
Reinicie o PC