网络
作者:互联网
没有配置成功
eno1 Link encap:以太网 硬件地址 ac:1f:6b:7c:6f:44 inet 地址:192.168.1.100 广播:192.168.1.255 掩码:255.255.255.0 inet6 地址: fe80::3ca2:33c:e6a:3e50/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1 接收数据包:50330 错误:0 丢弃:0 过载:0 帧数:0 发送数据包:10031 错误:0 丢弃:0 过载:0 载波:0 碰撞:0 发送队列长度:1000 接收字节:9152031 (9.1 MB) 发送字节:1407745 (1.4 MB) Memory:fb200000-fb27ffff eno2 Link encap:以太网 硬件地址 ac:1f:6b:7c:6f:45 UP BROADCAST MULTICAST MTU:1500 跃点数:1 接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0 发送数据包:0 错误:0 丢弃:0 过载:0 载波:0 碰撞:0 发送队列长度:1000 接收字节:0 (0.0 B) 发送字节:0 (0.0 B) Memory:fb100000-fb17ffff lo Link encap:本地环回 inet 地址:127.0.0.1 掩码:255.0.0.0 inet6 地址: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 跃点数:1 接收数据包:4159 错误:0 丢弃:0 过载:0 帧数:0 发送数据包:4159 错误:0 丢弃:0 过载:0 载波:0 碰撞:0 发送队列长度:1000 接收字节:403966 (403.9 KB) 发送字节:403966 (403.9 KB) root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# star@xmatrix:~/Yolov/Python_Socket$ star@xmatrix:~/Yolov/Python_Socket$ ls star@xmatrix:~/Yolov/Python_Socket$ star@xmatrix:~/Yolov/Python_Socket$ star@xmatrix:~/Yolov/Python_Socket$ star@xmatrix:~/Yolov/Python_Socket$ touch test1.py star@xmatrix:~/Yolov/Python_Socket$ star@xmatrix:~/Yolov/Python_Socket$ star@xmatrix:~/Yolov/Python_Socket$ star@xmatrix:~/Yolov/Python_Socket$ touch test2.py star@xmatrix:~/Yolov/Python_Socket$ star@xmatrix:~/Yolov/Python_Socket$ star@xmatrix:~/Yolov/Python_Socket$ star@xmatrix:~/Yolov/Python_Socket$ star@xmatrix:~/Yolov/Python_Socket$ ifconfig eno1 Link encap:以太网 硬件地址 ac:1f:6b:7c:6f:44 inet 地址:192.168.1.100 广播:192.168.1.255 掩码:255.255.255.0 inet6 地址: fe80::3ca2:33c:e6a:3e50/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1 接收数据包:50143 错误:0 丢弃:0 过载:0 帧数:0 发送数据包:9268 错误:0 丢弃:0 过载:0 载波:0 碰撞:0 发送队列长度:1000 接收字节:9138774 (9.1 MB) 发送字节:1344909 (1.3 MB) Memory:fb200000-fb27ffff eno2 Link encap:以太网 硬件地址 ac:1f:6b:7c:6f:45 UP BROADCAST MULTICAST MTU:1500 跃点数:1 接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0 发送数据包:0 错误:0 丢弃:0 过载:0 载波:0 碰撞:0 发送队列长度:1000 接收字节:0 (0.0 B) 发送字节:0 (0.0 B) Memory:fb100000-fb17ffff lo Link encap:本地环回 inet 地址:127.0.0.1 掩码:255.0.0.0 inet6 地址: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 跃点数:1 接收数据包:3450 错误:0 丢弃:0 过载:0 帧数:0 发送数据包:3450 错误:0 丢弃:0 过载:0 载波:0 碰撞:0 发送队列长度:1000 接收字节:354846 (354.8 KB) 发送字节:354846 (354.8 KB) star@xmatrix:~/Yolov/Python_Socket$ star@xmatrix:~/Yolov/Python_Socket$ star@xmatrix:~/Yolov/Python_Socket$ star@xmatrix:~/Yolov/Python_Socket$ star@xmatrix:~/Yolov/Python_Socket$ sudo -s [sudo] star 的密码: 对不起,请重试。 [sudo] star 的密码: root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# vim /etc/network/interfaces root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# cat /etc/network/interfaces # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback #2021-01-16 10:30:00 #为了和uwb基站在局域网通信,设置了固定ip地址,在不使用的时候需要注销 address 192.168.2.110 netmask 255.255.240.0 gateway 192.168.10.1 ################# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# service networking restart root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# ifconfig eno1 Link encap:以太网 硬件地址 ac:1f:6b:7c:6f:44 inet 地址:192.168.1.100 广播:192.168.1.255 掩码:255.255.255.0 inet6 地址: fe80::3ca2:33c:e6a:3e50/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1 接收数据包:50330 错误:0 丢弃:0 过载:0 帧数:0 发送数据包:10031 错误:0 丢弃:0 过载:0 载波:0 碰撞:0 发送队列长度:1000 接收字节:9152031 (9.1 MB) 发送字节:1407745 (1.4 MB) Memory:fb200000-fb27ffff eno2 Link encap:以太网 硬件地址 ac:1f:6b:7c:6f:45 UP BROADCAST MULTICAST MTU:1500 跃点数:1 接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0 发送数据包:0 错误:0 丢弃:0 过载:0 载波:0 碰撞:0 发送队列长度:1000 接收字节:0 (0.0 B) 发送字节:0 (0.0 B) Memory:fb100000-fb17ffff lo Link encap:本地环回 inet 地址:127.0.0.1 掩码:255.0.0.0 inet6 地址: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 跃点数:1 接收数据包:4159 错误:0 丢弃:0 过载:0 帧数:0 发送数据包:4159 错误:0 丢弃:0 过载:0 载波:0 碰撞:0 发送队列长度:1000 接收字节:403966 (403.9 KB) 发送字节:403966 (403.9 KB) root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# vim /etc/network/interfaces root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# vim /etc/network/interfaces root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# service networking restart Job for networking.service failed because the control process exited with error code. See "systemctl status networking.service" and "journalctl -xe" for details. root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# cat /etc/network/interfaces # interfaces(5) file used by ifup(8) and ifdown(8) #auto lo #iface lo inet loopback #2021-01-16 10:30:00 #为了和uwb基站在局域网通信,设置了固定ip地址,在不使用的时候需要注销 auto eno0 ifcae eno0 inet static address 192.168.2.110 netmask 255.255.240.0 gateway 192.168.10.1 ################# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# vim /etc/network/interfaces root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# service networking restart Job for networking.service failed because the control process exited with error code. See "systemctl status networking.service" and "journalctl -xe" for details. root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# /etc/init.d/networking restart [....] Restarting networking (via systemctl): networking.serviceJob for networking.service failed because the control process exited with error code. See "systemctl status networking.service" and "journalctl -xe" for details. failed! root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# vim /etc/network/interfaces root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# /etc/init.d/networking restart [....] Restarting networking (via systemctl): networking.serviceJob for networking.service failed because the control process exited with error code. See "systemctl status networking.service" and "journalctl -xe" for details. failed! root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# cat /etc/network/interfaces # interfaces(5) file used by ifup(8) and ifdown(8) #auto lo #iface lo inet loopback #2021-01-16 10:30:00 #为了和uwb基站在局域网通信,设置了固定ip地址,在不使用的时候需要注销 auto eno1 iface eno1 inet loopback address 192.168.2.110 netmask 255.255.240.0 gateway 192.168.10.1 ################# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# vim /etc/network/interfaces root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# /etc/init.d/networking restart [....] Restarting networking (via systemctl): networking.serviceJob for networking.service failed because the control process exited with error code. See "systemctl status networking.service" and "journalctl -xe" for details. failed! root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# systemctl stop NetworkManager root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# systemctl disable NetworkMAnager Failed to execute operation: No such file or directory root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# systemctl disable NetworkManager Removed symlink /etc/systemd/system/multi-user.target.wants/NetworkManager.service. Removed symlink /etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service. root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# service network restart Failed to restart network.service: Unit network.service not found. root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# /etc/init.d/networking restart [....] Restarting networking (via systemctl): networking.serviceJob for networking.service failed because the control process exited with error code. See "systemctl status networking.service" and "journalctl -xe" for details. failed! root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# systemctl restart network Failed to restart network.service: Unit network.service not found. root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# vim /etc/network/interfaces root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# systemctl stop NetworkManager root@xmatrix:~/Yolov/Python_Socket# systemctl disable NetworkManager root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# systemctl restart network Failed to restart network.service: Unit network.service not found. root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# systemctl restart network Failed to restart network.service: Unit network.service not found. root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# root@xmatrix:~/Yolov/Python_Socket# star@xmatrix:~$ star@xmatrix:~$ star@xmatrix:~$ star@xmatrix:~$ sudo lshw -class network [sudo] star 的密码: *-network DISABLED description: Ethernet interface product: I210 Gigabit Network Connection vendor: Intel Corporation physical id: 0 bus info: pci@0000:04:00.0 logical name: eno1 version: 03 serial: ac:1f:6b:7c:6f:44 size: 100Mbit/s capacity: 1Gbit/s width: 32 bits clock: 33MHz capabilities: pm msi msix pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=igb driverversion=5.4.0-k duplex=full firmware=3.16, 0x800004d7 latency=0 link=no multicast=yes port=twisted pair speed=100Mbit/s resources: irq:18 memory:fb200000-fb27ffff ioport:e000(size=32) memory:fb280000-fb283fff *-network DISABLED description: Ethernet interface product: I210 Gigabit Network Connection vendor: Intel Corporation physical id: 0 bus info: pci@0000:05:00.0 logical name: eno2 version: 03 serial: ac:1f:6b:7c:6f:45 capacity: 1Gbit/s width: 32 bits clock: 33MHz capabilities: pm msi msix pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=igb driverversion=5.4.0-k firmware=3.16, 0x800004d9 latency=0 link=no multicast=yes port=twisted pair resources: irq:19 memory:fb100000-fb17ffff ioport:d000(size=32) memory:fb180000-fb183fff star@xmatrix:~$ star@xmatrix:~$ star@xmatrix:~$ star@xmatrix:~$ star@xmatrix:~$ star@xmatrix:~$ sudo -s root@xmatrix:~# root@xmatrix:~# root@xmatrix:~# root@xmatrix:~# root@xmatrix:~# root@xmatrix:~# root@xmatrix:~# sudo -s root@xmatrix:~# root@xmatrix:~# root@xmatrix:~# root@xmatrix:~# root@xmatrix:~# root@xmatrix:~# sudo service network-manager stop root@xmatrix:~# root@xmatrix:~# root@xmatrix:~# sudo rm /var/lib/NetworkManager/NetworkManager.state root@xmatrix:~# root@xmatrix:~# root@xmatrix:~# root@xmatrix:~# sudo service network-manager start root@xmatrix:~# root@xmatrix:~# root@xmatrix:~# root@xmatrix:~# root@xmatrix:~# sudo gedit /etc/NetworkManager/NetworkManager.conf (gedit:2923): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files ** (gedit:2923): WARNING **: Set document metadata failed: 不支持设置属性 metadata::gedit-spell-enabled ** (gedit:2923): WARNING **: Set document metadata failed: 不支持设置属性 metadata::gedit-encoding ** (gedit:2923): WARNING **: Set document metadata failed: 不支持设置属性 metadata::gedit-spell-enabled ** (gedit:2923): WARNING **: Set document metadata failed: 不支持设置属性 metadata::gedit-encoding ** (gedit:2923): WARNING **: Set document metadata failed: 不支持设置属性 metadata::gedit-position root@xmatrix:~# root@xmatrix:~# root@xmatrix:~# root@xmatrix:~# root@xmatrix:~# sudo service network-manager restart root@xmatrix:~# root@xmatrix:~# root@xmatrix:~# root@xmatrix:~# ifconfig eno1 Link encap:以太网 硬件地址 ac:1f:6b:7c:6f:44 inet 地址:101.6.49.54 广播:101.6.49.127 掩码:255.255.255.128 inet6 地址: 2402:f000:4:72:808::385c/128 Scope:Global inet6 地址: fe80::3ca2:33c:e6a:3e50/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1 接收数据包:541 错误:0 丢弃:0 过载:0 帧数:0 发送数据包:224 错误:0 丢弃:0 过载:0 载波:0 碰撞:0 发送队列长度:1000 接收字节:63320 (63.3 KB) 发送字节:35347 (35.3 KB) Memory:fb200000-fb27ffff eno2 Link encap:以太网 硬件地址 ac:1f:6b:7c:6f:45 UP BROADCAST MULTICAST MTU:1500 跃点数:1 接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0 发送数据包:0 错误:0 丢弃:0 过载:0 载波:0 碰撞:0 发送队列长度:1000 接收字节:0 (0.0 B) 发送字节:0 (0.0 B) Memory:fb100000-fb17ffff lo Link encap:本地环回 inet 地址:127.0.0.1 掩码:255.0.0.0 inet6 地址: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 跃点数:1 接收数据包:1528 错误:0 丢弃:0 过载:0 帧数:0 发送数据包:1528 错误:0 丢弃:0 过载:0 载波:0 碰撞:0 发送队列长度:1000 接收字节:115143 (115.1 KB) 发送字节:115143 (115.1 KB) root@xmatrix:~# root@xmatrix:~# root@xmatrix:~# root@xmatrix:~# ifconfig eno1 Link encap:以太网 硬件地址 ac:1f:6b:7c:6f:44 inet 地址:101.6.49.54 广播:101.6.49.127 掩码:255.255.255.128 inet6 地址: 2402:f000:4:72:808::385c/128 Scope:Global inet6 地址: fe80::3ca2:33c:e6a:3e50/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1 接收数据包:1078 错误:0 丢弃:0 过载:0 帧数:0 发送数据包:1026 错误:0 丢弃:0 过载:0 载波:0 碰撞:0 发送队列长度:1000 接收字节:100058 (100.0 KB) 发送字节:103685 (103.6 KB) Memory:fb200000-fb27ffff eno2 Link encap:以太网 硬件地址 ac:1f:6b:7c:6f:45 UP BROADCAST MULTICAST MTU:1500 跃点数:1 接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0 发送数据包:0 错误:0 丢弃:0 过载:0 载波:0 碰撞:0 发送队列长度:1000 接收字节:0 (0.0 B) 发送字节:0 (0.0 B) Memory:fb100000-fb17ffff lo Link encap:本地环回 inet 地址:127.0.0.1 掩码:255.0.0.0 inet6 地址: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 跃点数:1 接收数据包:2081 错误:0 丢弃:0 过载:0 帧数:0 发送数据包:2081 错误:0 丢弃:0 过载:0 载波:0 碰撞:0 发送队列长度:1000 接收字节:158084 (158.0 KB) 发送字节:158084 (158.0 KB) root@xmatrix:~# root@xmatrix:~# root@xmatrix:~#
标签:star,Socket,Python,xmatrix,网络,root,Yolov 来源: https://www.cnblogs.com/herd/p/14285315.html