2021-日常记录


1、windows 8 安装Net framework3.
windows 8 安装Net framework3.5
dism.exe /online /enable-feature /featurename:NetFX3 /Source:H:\sxs
sxs是光盘中的目录

  

2、centos7克隆后网卡异常

克隆后网卡异常
# nmcli connection up ens160 
Error: Connection activation failed: No suitable device found for this connection (device lo not available because device is strictly unmanaged).

解决方法:
dhclient ens160 
nmcli networking on
systemctl restart NetworkManager

 3、VMware Workstation添加网卡,没有配置文件

# nmcli con show
NAME                UUID                                  TYPE      DEVICE 
eth0                7196bc93-c3fb-4199-849b-cfb69d9e9b09  ethernet  eth0   
Wired connection 1  738087a9-eb2a-3736-bbbe-15c1abceeb20  ethernet  eth1   
Wired connection 2  14fc84c1-6734-3f19-a05b-162fbdafc0b8  ethernet  eth2   
# nmcli connection delete "Wired connection 1"  
Connection 'Wired connection 1' (738087a9-eb2a-3736-bbbe-15c1abceeb20) successfully deleted.
# nmcli connection add con-name eth1 type ethernet ifname eth1
Connection 'eth1' (4931a904-7d6b-4fb4-a694-f103e48cc7cc) successfully added.
# nmcli con show
NAME                UUID                                  TYPE      DEVICE 
eth0                7196bc93-c3fb-4199-849b-cfb69d9e9b09  ethernet  eth0   
eth1                4931a904-7d6b-4fb4-a694-f103e48cc7cc  ethernet  eth1   
Wired connection 2  14fc84c1-6734-3f19-a05b-162fbdafc0b8  ethernet  eth2   

 

posted @ 2021-02-06 00:27  黑色月牙  阅读(95)  评论(0编辑  收藏  举报