[Solved] Interface *mon is too long for linux so it will be renamed to the old style (wlan#) name.

If you tried to start monitor mode in a wireless interface, probably you will see the following message:

Interface wlx6466b31e7738mon is too long for linux so it will be renamed to the old style (wlan#) name.

 , where 6466b31e7738 is the MAC address from your interface.

 Just write the following commands in your terminal:

sudo ifconfig wlx6466b31e7737 down
sudo ip link set wlx6466b31e7737 name wlan0
sudo ifconfig wlan0 up

, where wlx6466b31e7737 is your wireless interface.

Now, you could start monitor mode in your interface as follows:

sudo airmon-ng start wlan0

Found 4 processes that could cause trouble.
Kill them using 'airmon-ng check kill' before putting
the card in monitor mode, they will interfere by changing channels
and sometimes putting the interface back in managed mode

    PID Name
   1382 avahi-daemon
   1388 NetworkManager
   1424 wpa_supplicant
   1427 avahi-daemon

PHY    Interface    Driver        Chipset

phy2    wlan0        ath9k_htc    Qualcomm Atheros Communications AR9271 802.11n
        (mac80211 monitor mode vif enabled for [phy2]wlan0 on [phy2]wlan0mon)
        (mac80211 station mode vif disabled for [phy2]wlan0)

Enjoy it!

 



Comments

Popular posts from this blog

How to fix Android when developer options are not available for this user

How to install Matlab without GUI

Contiki 3.0 on XM1000