ubuntu(16.04)配置网络设置

2017-03-12  本文已影响0人  jason37927

vim /etc/network/interfaces

#wifi config

auto "devicename" 

iface devicename inet dhcp

wpa-essid ssid

wpa-psk passwd

#lan config

auto devicename

iface devicename inet dhcp

#static lan config

#iface device inet static

#address   IP 

#netmask  255.XXX.XXX.XXX

#gateway   IP

:wq

/etc/init.d/networking restart

上一篇下一篇

猜你喜欢

热点阅读