PDA

View Full Version : Unable to disable wireless interface



mrtom82
2014-03-10, 13:36
I am trying to use a usb wireless adapter since the internal wireless card on my laptop is not very powerful. The laptop has no hardware switch to disable wifi so I tried disabling it using "ifconfig wlan0 down" but when I connect to a wireless network it, wlan0 comes back up connects. When I select the wireless network, I am given the option to select which wireless adapter to use, I select wlan1 but Kali still connects with wlan0. I have used this usb adapter in Kali on a different machine and it works fine. Is there another method I could use to disable wlan0?

maverik35
2014-03-12, 04:56
Well, if I were you I would remove module:
rmmod ath5k or modprobe -r ath5k (ath5k if chipset uses atheros). You need to see the module used: lsmod

Or you can use rfkill but I do not recommended. It will soft-lock a wifi device. Use "man rfkill" in a terminal and see options.

cascade
2014-03-19, 23:42
Turn it off in your host operating system. Then turn on Kali and it probably will not see the device.