We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$ systemctl status NetworkManager.service
$ nmcli dev status
/etc/sysconfig/network-scripts
# 设置为静态 BOOTPROTO=static # 定义 IP 地址 IPADDR=192.168.129.159 # 定义网卡 NETMASK=255.255.255.0 # 定义网关 GATEWAY=172.16.79.2 # 接口将通过该配置文件进行设置 NM_CONTROLLED=no # 启动时开启该接口 ONBOOT=yes
nameserver 0.0.0.0 nameserver 114.114.114.114 search localhost
network
$ systemctl restart network.service
The text was updated successfully, but these errors were encountered:
No branches or pull requests
/etc/sysconfig/network-scripts
文件,找到配置文件network
服务The text was updated successfully, but these errors were encountered: