摘要:
我们来通过一些例子,来记录interfaces文件的书写。详情可参照man interfaces。设置常用ethernet参数auto loiface lo inet loopback# The primary network interfaceauto eth0iface eth0 inet static address 192.168.0.42 network 192.168.0.0 netmask 255.255.255.0 broadcast 192.168.0.255 gateway 192.168.0.1auto wlan0iface wlan0 inet dhcp w... 阅读全文