OSQA is unmaintained. Help us figure out where to go from here.

Hello, I have installed wireshark on ubuntu through VM.I could just simplify everything and install it on my normal OS (windows 10), but I would like it in my open source OS just so I can get more familiar with it.

The whireshark version I am using is: 1.12.1

The problem I have is, when I check the interfaces, there is nothing in regards to my network. When I type in the command "tshark -D" I get the following:

  1. eth0
  2. any
  3. lo (Loopback)
  4. bluetooth-monitor
  5. nflog
  6. nfqueue
  7. usbmon1

None of these are referring to my wireless network. I am currently using my school campus WiFi and it is not showing up. Also, when I check all of these interfaces, there is 0 package flow

asked 12 Sep '16, 18:13

alex067's gravatar image

accept rate: 0%

edited 12 Sep '16, 22:45

sindy's gravatar image


I have installed wireshark on ubuntu through VM


None of these are referring to my wireless network.

Your virtual machine might not have a (virtual) wireless adapter; all the VMs on VMware Fusion on my MacBook Pro have Ethernet interfaces but no Wi-Fi interfaces, even though the MacBook Pro has no Ethernet interface unless I plug in my Thunderbolt Ethernet adapter.

If you want to capture on your wireless network, you'll have to run Wireshark (or tcpdump or whatever) on the host machine, not a VM guest, unless whatever VM software you're using has the ability to provide a virtual Wi-Fi adapter, or unless you get a USB Wi-Fi adapter, plug it into your machine, and have the OS and VM software attach it to the Ubuntu guest rather than to the host (assuming that there's a driver for it in Ubuntu).

permanent link

answered 12 Sep '16, 21:24

Guy%20Harris's gravatar image

Guy Harris ♦♦
accept rate: 19%

I see, but how come I can access the internet through my ubuntu? It says it is connected to a wireless network at the top right, which I would assume indicates that I am indeed connected to the internet through the guest machine, as well as the host?

(12 Sep '16, 22:04) alex067

It is because the virtualization software includes an internal switch or router to which the virtual ethernet adapter of each VM is "connected". But this switch handles ethernet frames, not 802.11 ones; only the ethernet "part" of a received 802.11 frame (simplifying a bit) is extracted and sent to the switch, and vice versa, when your VM sends an ethernet frame, it is encapsulated into an 802.11 and sent out. So from the VM, you cannot control (or at least read from) the wireless interface directly.

(12 Sep '16, 22:18) sindy
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](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:


question asked: 12 Sep '16, 18:13

question was seen: 885 times

last updated: 12 Sep '16, 22:45

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