kaitoy / pcap4j

A Java library for capturing, crafting, and sending packets.

Home Page:https://www.pcap4j.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can not find any network interface in centOS7 vitural machine

wo4wangle opened this issue · comments

i.e. Pcaps.findAllDevs() will get nothing,
but the host of this centOS7 works well, which could find many network interfaces by the same method.
and the centOS7 could surf the internet well i.e. searching something on google on firefox is ok.
how could I get a network interface on the centOS7 vitural machine?
thks a lot!

just open ide with sudo or run jar with sudo will be ok…