在虚拟机中访问监控摄像头

在虚拟机中访问监控摄像头

我下载了 Ubuntu 17,在 WIN10 主机上的 VM(VMWare 播放器)中运行,以便能够测试 Linux 视频监控摄像头软件。我可以 ping 通我的网关和其中一个摄像头(低于 .155),但我无法使用 VLC 或 Xeoma 连接到摄像头。有什么建议吗?

$ ifconfig -a
ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.168  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::2ea6:4027:a9b2:e030  prefixlen 64  scopeid 0x20<link>
        ether 00:0c:29:35:f6:01  txqueuelen 1000  (Ethernet)
        RX packets 38357  bytes 51867963 (51.8 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 17366  bytes 1391196 (1.3 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 54577  bytes 7823272 (7.8 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 54577  bytes 7823272 (7.8 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

$ ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=3.12 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=5.18 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=1.56 ms
64 bytes from 192.168.1.1: icmp_seq=4 ttl=64 time=1.29 ms
64 bytes from 192.168.1.1: icmp_seq=5 ttl=64 time=1.33 ms
64 bytes from 192.168.1.1: icmp_seq=6 ttl=64 time=1.23 ms
64 bytes from 192.168.1.1: icmp_seq=7 ttl=64 time=1.27 ms
^C
--- 192.168.1.1 ping statistics ---
7 packets transmitted, 7 received, 0% packet loss, time 6006ms
rtt min/avg/max/mdev = 1.234/2.144/5.183/1.388 ms
lew@ubuntu:~$ ping 192.168.1.155
PING 192.168.1.155 (192.168.1.155) 56(84) bytes of data.
64 bytes from 192.168.1.155: icmp_seq=1 ttl=64 time=3.47 ms
64 bytes from 192.168.1.155: icmp_seq=2 ttl=64 time=10.6 ms
64 bytes from 192.168.1.155: icmp_seq=3 ttl=64 time=4.16 ms
64 bytes from 192.168.1.155: icmp_seq=4 ttl=64 time=4.59 ms
64 bytes from 192.168.1.155: icmp_seq=5 ttl=64 time=7.68 ms
64 bytes from 192.168.1.155: icmp_seq=6 ttl=64 time=3.36 ms
64 bytes from 192.168.1.155: icmp_seq=7 ttl=64 time=5.33 ms
^C
--- 192.168.1.155 ping statistics ---
7 packets transmitted, 7 received, 0% packet loss, time 6009ms
rtt min/avg/max/mdev = 3.360/5.609/10.648/2.466 ms
lew@ubuntu:~$ ping www.ibm.com
PING e2874.dscx.akamaiedge.net (104.96.227.152) 56(84) bytes of data.
64 bytes from a104-96-227-152.deploy.static.akamaitechnologies.com (104.96.227.152): icmp_seq=1 ttl=54 time=38.5 ms
64 bytes from a104-96-227-152.deploy.static.akamaitechnologies.com (104.96.227.152): icmp_seq=2 ttl=54 time=41.3 ms
64 bytes from a104-96-227-152.deploy.static.akamaitechnologies.com (104.96.227.152): icmp_seq=3 ttl=54 time=38.6 ms
64 bytes from a104-96-227-152.deploy.static.akamaitechnologies.com (104.96.227.152): icmp_seq=4 ttl=54 time=37.7 ms
64 bytes from a104-96-227-152.deploy.static.akamaitechnologies.com (104.96.227.152): icmp_seq=5 ttl=54 time=38.2 ms
64 bytes from a104-96-227-152.deploy.static.akamaitechnologies.com (104.96.227.152): icmp_seq=6 ttl=54 time=36.6 ms
^C
--- e2874.dscx.akamaiedge.net ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5117ms
rtt min/avg/max/mdev = 36.685/38.538/41.348/1.440 ms

答案1

如果您有监控摄像头的驱动程序,请尝试在 Windows 10 主机中安装该驱动程序。然后,从 USB 图标或设置将 USB(或您使用的任何类型的连接)连接到您的 Ubuntu 17 客户机。我不确定这是否正确。请联系我了解更多信息。

巴吉鲁:)

相关内容