Ask Your Question
0

How do I change the interface on Tshark?

asked 2018-01-20 18:03:15 +0000

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

Hello, everyone!

I'm trying to change the interface that's being currently used by Tshark. The interface in used is Local Area Connection 2, but I'm using my wifi which is the one I'd like to use since I'm not connected through a wire. I can't manage the change that. It doesn't allow me to key any commands. And It is my understanding that first I need to select the wifi when Wireshark starts, which I've done.

I'm going nuts, if you can, please, give me a hand. :D

As a quick remark I'm using Windows. I cannot use Linux at the moment because I don't know how to use it, I don't know if that is a problem...

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-01-20 20:35:25 +0000

Vindra gravatar image

updated 2018-01-20 20:44:34 +0000

I take it that you are using Tshark even though you have mentioned, "I need to select the wifi when Wireshark starts..".

Have you tried this: tshark -i "WIFI INTERFACE" ?

Alternatively, you can do this: tshark -D . [This will list the index of the all the network interfaces; mark the wifi one -- say 2] tshark -i 2 ....

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-01-20 18:03:15 +0000

Seen: 3,127 times

Last updated: Jan 20 '18