This is our old Q&A Site. Please post any new questions and answers at

Can I merge or concatanate a wireless PCAP capture file with a wired PCAP capture file?

asked 14 Sep '12, 09:15

MSshark's gravatar image

accept rate: 0%

No that's not possible as mergecap will print this error message:

mergecap -w out.cap http.cap wlan.pcap
mergecap: Can't open or create out.cap: Files from that network type can't be saved in that format

You can force a new encapsulation type with -T (e.g. ether), but then Wireshark cannot dissect the included wireless frames.


permanent link

answered 14 Sep '12, 12:53

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
accept rate: 15%

...and if you try to use -F to force the output file to be a pcap-ng file, the resulting file won't be readable, due to bugs.

(14 Sep '12, 14:37) Guy Harris ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 14 Sep '12, 09:15

question was seen: 5,317 times

last updated: 14 Sep '12, 14:37

p​o​w​e​r​e​d by O​S​Q​A