Ubuntu卸载network后如何联网
# 如何在没有Internet访问的情况下重新安装网络管理器?
ifconfig -a
ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.255.166 netmask 255.255.255.0 broadcast 192.168.255.255
inet6 fe80::20c:29ff:fe1e:44b8 prefixlen 64 scopeid 0x20<link>
ether 00:0c:29:1e:44:b8 txqueuelen 1000 (Ethernet)
RX packets 1477 bytes 2009918 (2.0 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 848 bytes 63551 (63.5 KB)
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 1220 bytes 88811 (88.8 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1220 bytes 88811 (88.8 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
sudo dhclient ens33
sudo apt-get install network-manager
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
上次更新: 2023/09/16, 02:28:15