Portal:Wicked/Using Wicked

跳转到:导航搜索

使用 Wicked

  • 使用以下命令启用 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 文件中定义的默认/系统配置源。