使用 Wicked
systemctl enable --force wicked
#This enables the wicked services, creates the network.service -> wicked.service alias link and causes to start the network at the next boot.
- 要手动启动服务器进程(再次,以 root 身份),请使用
systemctl start wickedd.service
# which starts wickedd (main server) and associated supplicants:
/usr/lib/wicked/bin/wickedd-auto4 --systemd --foreground
/usr/lib/wicked/bin/wickedd-dhcp4 --systemd --foreground
/usr/lib/wicked/bin/wickedd-dhcp6 --systemd --foreground
/usr/sbin/wickedd --systemd --foreground
/usr/sbin/wickedd-nanny --systemd --foreground
systemctl start wicked.service
# or
systemctl start network.service
- 这些命令使用在 /etc/wicked/client.xml 文件中定义的默认/系统配置源。