ubuntu14.04怎么给无线网卡配置静态IP

2022-08-01 社会 100阅读
配置IP

sudo vi /etc/network/interface

auto wlan1
iface wlan1 inet static

address 192.168.0.33
gateway 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255

配置DNS

sudo vi /etc/resolv.conf

nameserver 192.168.0.10

重启服务

sudo /etc/init.d/networking restart
声明:你问我答网所有作品(图文、音视频)均由用户自行上传分享,仅供网友学习交流。若您的权利被侵害,请联系fangmu6661024@163.com