This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

How to capture network traffic of Genymotion on host using wireshark?

0

I have multiple android devices (simulated with Genymotion on top off virtualBox) on my host computer. What is the best network setting for devices? and which interface I should capture to have both incoming and outgoing traffic of android devices? in all android devices I run same application and I want to be able to differentiate between their traffic in my .pcap file.

I have try following but I only have outgoing traffic of devices:

In Genymotion:

Network mode: Bridge

In virtualBox:

Adaptor 1: attach to : Host-only Adaptor

Adaptor 2: attach to : Bridged Adaptor

and listen on Local area connection (since I connected to internet via LAN)

I also try following:

C:\Program Files\Oracle\VirtualBox>VBoxManage modifyvm "HTC_Mine" --nictrace1 on --nictracefile1 file.pcap VBoxManage.exe: error: The machine 'HTC_Mine' is already locked for a session (o r being unlocked) VBoxManage.exe: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), c omponent MachineWrap, interface IMachine, callee IUnknown VBoxManage.exe: error: Context: "LockMachine(a->session, LockType_Write)" at lin e 507 of file VBoxManageModifyVM.cpp

asked 10 Mar '17, 10:02

Zahra's gravatar image

Zahra
318913
accept rate: 0%