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

As the remote interfaces do not save in the configuration, is there a way to add them via command line?

Thanks,

asked 10 May '17, 05:57

solutionsville's gravatar image

solutionsville
6123
accept rate: 0%


To add them on the command line in TShark or dumpcap, use an rpcap URL as an argument to the -i flag.

For example, to capture on interface eth0 on machine example.com, use the option -i rpcap://example.com/eth0 to TShark or dumpcap.

There's no good option to do that with Wireshark.

permanent link

answered 10 May '17, 14:48

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196
accept rate: 19%

Thanks, that is what I thought I would have to do.

(11 May '17, 05:35) solutionsville

If an answer has solved your issue, please accept the answer for the benefit of other users by clicking the checkmark icon next to the answer. Please read the FAQ for more information.

(11 May '17, 08:21) Jaap ♦
Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×549
×10

question asked: 10 May '17, 05:57

question was seen: 980 times

last updated: 11 May '17, 08:21

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