PDA

View Full Version : Persistent rename WLAN card to wlan0



RedSky
2020-01-05, 19:56
I only have 1 WLAN adapter (Alfa, USB) and everytime the NIC gets named: wlan0<mac_address>.
I've tried creating a /etc/udev/rules.d/70-persistent-net.rules file to get the NIC named "wlan0" by default but i can't get it to work.

[ 22.533731] ath9k_htc 1-1:1.0 wlx00c0ca97fea4: renamed from wlan0

I also don't really understand why the mac address from the "ifconfig" or "ip a" output is different than the actual MAC of the WLAN adapter. Does VMWare or Kali does something automatically to spoof the MAC address or something?


root@kali:~# ifconfig wlan0wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 52:d0:45:86:17:1f txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0