Skip to content

Consistent Network Device Naming

Óscar Alfonso Díaz edited this page Oct 23, 2019 · 35 revisions

For some Linux distributions like Ubuntu or Debian since some versions ago, the default naming for network devices is using the new nomenclature which is causing errors using airgeddon.

How to know if I am affected?

If you see your wireless card named as wlx00c0ca9208dc or any similar name, yeah you are affected and probably you'll have some issues using airgeddon while changing mode of your card. It's better to have them using the classic name style (wlan0, wlan1, etc.).

How to change them to the classic names style?

To do that you must modify grub configuration. You should modify your /etc/default/grub file in order to add this net.ifnames=0 biosdevname=0 to your GRUB_CMDLINE_LINUX line.

For example: GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0" or GRUB_CMDLINE_LINUX="find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US net.ifnames=0 biosdevname=0". Just add net.ifnames=0 biosdevname=0 to your existing options keeping what you already have there, just adding the net.ifnames=0 biosdevname=0 stuff.

After modifying the file, execute grub-update and then reboot. After that, your wireless interface cards will be named again as always (wlan0, wlan1, etc.).

Clone this wiki locally