Re: some question about mon binary

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/14/2013 10:04 AM, vichy wrote:
hi alan ott:
2013/11/14 Alan Ott <alan@xxxxxxxxxxx>:
On 11/14/2013 09:52 AM, vichy wrote:
hi alan:

2013/11/14 Alan Ott <alan@xxxxxxxxxxx>:
On 11/14/2013 09:33 AM, vichy wrote:
1. if I need to capture all the data host capture from bus, usb mon
binary can reach this goal?
2. if #1 is Yes. from usb mon text I need
        a. compile kernel with usbmon support
        b. access /dev/usbmonx
        c. feed the binary file to wireshark.

With usbmon loaded, wireshark can capture from usbmon directly. Depending
on
your distro, you may need to load usbmon manually:
      modprobe usbmon
forget to mentioned, my platform is arm embedded system.
And it seems I have to get binary from my target board then feed it to
wireshark on my pc, right?
if so, how could I dump the binary from embedded target board?

Use tcpdump:
     tcpdump -i usbmon1 -w out.dump
It is embarrassing that busybox on the target don't have "tcpdump" :-)
Is there any other way to reach the same goal?

If it were me, I'd compile tcpdump and libpcap for your target, or find a userspace that has them pre-built, like Angstrom or buildroot.

Alan.

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux