93 字
1 分钟
Renaming Network Interfaces in Debian

I bought a new RTL8812BU network card to use with Parrot, then found and installed the driver. But then I discovered that the interface name wasn’t wlan0 — it was a long string of characters. That was unbearable. parrot5 is based on debian10 x64.

After looking it up, all I needed to do was modify the naming rule.

Terminal window
sudo nano /etc/default/grub

Change GRUB_CMDLINE_LINUX="" to GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0".

Terminal window
sudo update-grub

Additionally, if you encounter write failed: Network is down during use, you need to change the compatibility in the virtual machine settings under the host controller from USB3.x to USB2.0.

Renaming Network Interfaces in Debian
https://tski.uk/blog/en/debian-rename-network-interface/
作者
Tokisaki Galaxy
发布于
2023-01-23
许可协议
CC BY