【问题标题】:Connect IP Camera to PC directly using Ethernet cable使用以太网电缆将 IP 摄像机直接连接到 PC
【发布时间】:2017-11-23 08:04:18
【问题描述】:

我正在尝试使用以太网将我的 IP 摄像机直接连接到我的 PC(我没有使用任何路由器)。手册上说我可以通过网络浏览器通过 192.168.1.64 访问网络摄像头,但那是我使用路由器连接到我的摄像头的时候。

当我运行 iwconfig 时,我的以太网接口 (enp3s0f1) 没有任何反应。

wlp2s0b1  IEEE 802.11  ESSID:"Wifi-Network"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: 10:56:ED:32:19:82   
          Bit Rate=36 Mb/s   Tx-Power=19 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=70/70  Signal level=-40 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:90  Invalid misc:730   Missed beacon:0

lo        no wireless extensions.

enp3s0f1  no wireless extensions.

https://amcrest.com/forum/technical-discussion-f3/connect-ip-camera-directly-to-laptop-t1487.html,他们说我必须为我的电脑设置一个静态 IP 地址。我该怎么做?

网络摄像机:海康威视(型号 DS-2CD2125FHWD-I)
PC 操作系统:Arch Linux

【问题讨论】:

  • iwconfig适用于无线网卡,不适用于有线以太网。试试ipconfig
  • Linux 中没有ipconfig。你的意思是ifconfig?如何使用ifconfig 做到这一点?
  • 是的,ifconfig 就是我的意思。

标签: networking camera ethernet ip-camera


【解决方案1】:

您可以像这样配置以太网网卡:

sudo nano /etc/netctl/enp0s3

Description='NIC to camera'
Interface=enp0s3
Connection=ethernet
IP=static
Address=('192.168.1.10/24')`

(保存)

sudo netctl start enp0s3

如需完整说明,请查看https://www.ostechnix.com/configure-static-dynamic-ip-address-arch-linux/

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-08-26
    • 2016-02-02
    • 2020-06-27
    • 1970-01-01
    • 1970-01-01
    • 2022-10-17
    相关资源
    最近更新 更多