How to get the IP address of industrial computer

Before teleoperation, we need to fill in the IP address of the industrial computer running the Master node in the .bashrc file. Only when the IP address is written correctly, the nodes on the two computers can communicate normally.


Option 1: Read on IPC

Connect the industrial computer to the monitor and keyboard, open the terminal, and enter:

ifconfig

The following information will be displayed

eth0 Link encap: ethernet hardware address 80:fa:5b:2a:c8:41
          inet6 address: fe80::82fa:5bff:fe2a:c841/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU: 1500 Hops: 1
          Received packets: 1711 Errors: 0 Dropped: 1 Overload: 0 Frames: 0
          Packet sent: 2018 Error: 0 Drop: 0 Overload: 0 Carrier: 0
          Collision: 0 Send Queue Length: 1000
          Received bytes: 605189 (605.1 KB) Transmitted bytes: 353539 (353.5 KB)

lo Link encap: local loopback
          inet address: 127.0.0.1 mask: 255.0.0.0
          inet6 address: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU: 65536 Hops: 1
          Received packets: 2027 Errors: 0 Dropped: 0 Overload: 0 Frames: 0
          Packet sent: 2027 Error: 0 Drop: 0 Overload: 0 Carrier: 0
          Collision: 0 Send Queue Length: 1
          Received bytes: 12736730 (12.7 MB) Sended bytes: 12736730 (12.7 MB)

wlan0 Link encap: ethernet hardware address 00:1e:64:f0:23:37
          inet address: 10.25.57.81 broadcast: 10.25.63.255 mask: 255.255.192.0
          inet6 address: fe80::21e:64ff:fef0:2337/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU: 1500 Hops: 1
          Received packets: 47 Errors: 0 Dropped: 0 Overload: 0 Frames: 0
          Send Packet: 177 Error: 0 Drop: 0 Overload: 0 Carrier: 0
          Collision: 0 Send Queue Length: 1000
          Received bytes: 10609 (10.6 KB) Transmitted bytes: 28519 (28.5 KB)

Generally the industrial computer is connected to the wireless network, it mainly depends on the information on the wlan side (note: the name of the wireless network card of some computers is not wlan, but wlp60s0). Find the inet addr in the corresponding information section: xxx.xxx.xxx.xxx is the corresponding IP address.


Option 2: Obtaining an IP address on the web page

If you are using a wireless network established by a wireless router and you are the administrator of the router, it is recommended that you use this method, because you can know the IP without connecting the monitor and keyboard. Method: Log in to the web page for setting up the wifi network in the browser, such as 192.168.1.1, tplogin.cn, etc., you can log in to the back end of the router through the browser, and see the IP address of the industrial computer by viewing the information of the connected device.


results matching ""

    No results matching ""