Quantcast
Channel: Active questions tagged networking - Ask Ubuntu
Viewing all articles
Browse latest Browse all 23557

Disabling WiFi while airodump-ng is running crashes the session

$
0
0

I'm starting airodump-ng from the aircrack-ng package (version 1:1.2-0~beta3-4 on 16.04) like this:

  • Switch my WiFi device to monitor mode (creates new virtual interface mon0):

    sudo airmon-ng start wlp3s0
  • Start the dumping:

    sudo airodump-ng mon0

Now I'm running the Unity desktop and using the default network manager indicator. If I click on that and remove the tick at Enable Wi-Fi, my session immediately crashes and I'm thrown to the log-in screen. All running applications were killed.

Additionally, if I suspend the notebook after that and wake up again, I must enter my password twice, as there appears one additional dialogue window asking for my password to unlock or offering to switch the user. After I enter my password, I get to the ordinary lock screen which asks me again.

Is this all a bug in airodump-ng, or is there more about it, am I missing a driver, configuration or anything else that could serve as workaround to avoid this in the future? An answer describing how to not allow to disable the WiFi while airodump-ng is running would also count as valid workaround.


Update:

Here is some information about my WiFi adapter:

$ iwconfigwlp3s0    IEEE 802.11abgn  ESSID:off/any            Mode:Managed  Access Point: Not-Associated   Tx-Power=off             Retry short limit:7   RTS thr:off   Fragment thr:off          Power Management:off$ lspci | grep -i wireless03:00.0 Network controller: Intel Corporation Wireless 3165 (rev 81)$ inxi -nNetwork:   Card-2: Intel Wireless 3165 driver: iwlwifi           IF: wlp3s0 state: down mac: 08:d4:xx:xx:xx:xx$ sudo lshw -c network  *-network       description: Wireless interface       product: Wireless 3165       vendor: Intel Corporation       physical id: 0       bus info: pci@0000:03:00.0       logical name: wlp3s0       version: 81       serial: 08:d4:0c:b3:0b:19       width: 64 bits       clock: 33MHz       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless       configuration: broadcast=yes driver=iwlwifi driverversion=4.4.0-24-generic firmware=16.242414.0 latency=0 link=no multicast=yes wireless=IEEE 802.11abgn       resources: irq:127 memory:a4000000-a4001fff

Also, I tried what happens if I disable the WiFi not using the network indicator but through the terminal:

sudo ifconfig wlp3s0 downsudo ifconfig mon0 down

This did not do anything. My session has not crashed, but airodump-ng also did not stop capturing packets... Do I need to use a different command to disable WiFi the same way as the network indicator does?


Viewing all articles
Browse latest Browse all 23557

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>