Wireshark and wireless goes without problems. My problem is tshark and wlan:
C:\Program Files (x86)\Wireshark>tshark -i wlan -w capture.pcap tcp port 12345 Capturing on 'wlan' tshark: The capture session could not be initiated on interface 'wlan' (Error op ening adapter: Das System kann das angegebene Gerät nicht finden. (20)). Please check to make sure you have sufficient permissions, and that you have the proper interface or pipe specified.
C:\Program Files (x86)\Wireshark>tshark -i wlan0 -w capture.pcap tcp port 12345 Capturing on 'wlan0' tshark: The capture session could not be initiated on interface 'wlan0' (Error o pening adapter: Das System kann das angegebene Gerät nicht finden. (20)). Please check to make sure you have sufficient permissions, and that you have the proper interface or pipe specified.
C:\Program Files (x86)\Wireshark>tshark -i wlan1 -w capture.pcap tcp port 12345 Capturing on 'wlan1' tshark: The capture session could not be initiated on interface 'wlan1' (Error o pening adapter: Das System kann das angegebene Gerät nicht finden. (20)). Please check to make sure you have sufficient permissions, and that you have the proper interface or pipe specified.
C:\Program Files (x86)\Wireshark>