/etc/network/interfaces
里:
# https://unix.stackexchange.com/a/128662/453838 |
网卡名字和当前子网掩码可以通过ip addr
看。
当前网关可以通过route -n
查看。
当前dns服务器的IP在/etc/resolv.conf
里。
重启网络:
sudo systemctl restart networking |
/etc/network/interfaces
里:
# https://unix.stackexchange.com/a/128662/453838 |
网卡名字和当前子网掩码可以通过ip addr
看。
当前网关可以通过route -n
查看。
当前dns服务器的IP在/etc/resolv.conf
里。
重启网络:
sudo systemctl restart networking |
Except as otherwise noted, this blog is licensed under CC BY-SA 4.0 License.
©2021-
searchstar
|
pv
|
uv
Theme Tree
by Wu Jun
Powered by Hexo