Hi,
I'm trying to get all interfaces that shows on ifconfig,
but when i run the code:

Java Code:
Enumeration<NetworkInterface> nets = NetworkInterface.getNetworkInterfaces();
for (NetworkInterface netint : Collections.list(nets)){
     interfaces.add(count, netint.getDisplayName());
     count++;
}
it returns me eth0 and lo, but my USB wireless adapter "wlan0" does not show on this list.

has anyone had this issue?

FYI: I'm running linux on a virtual environment.

Thanks,