archlinux的网络链接管理服务由netcfg切换成了netctl,netctl配置文件的位置是/etc/netctl。

将/etc/netctl/examples目录的对应配置文件拷贝到/etc/netctl目录下,根据自己的需求修改。

使用netctl指令可以查看、修改、启动对应的网卡服务。具体指令列表如下:

archlinux配置netctl

使用netctl enable ethernet-dhcp命令将dhcp启动的网络添加到systemd的服务启动中。

使用netctl startethernet-dhcp命令直接启动网卡服务。


相关文章:

  • 2022-12-23
  • 2021-12-09
  • 2021-06-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-18
  • 2022-02-06
猜你喜欢
  • 2021-11-18
  • 2022-12-23
  • 2021-08-07
  • 2022-12-23
  • 2022-12-23
  • 2021-10-08
  • 2021-06-26
相关资源
相似解决方案