折腾raspberrypi的时候刷了raspbian,对里面的/etc/network/interfaces里面的配置感到好奇。
我是这么配置静态IP的
auto lo
iface lo inet loopback
iface eth0 inet dhcp
auto wlan0
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /home/pi/wlan0.conf
iface default inet static
address 192.168.1.7
gateway 192.168.1.1
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
查了man interfaces和debian wiki里面的内容,找不到相应的条目,求教
1
Septembers 2015-07-03 00:50:08 +08:00 1
|
2
ceclinux OP @Septembers 感谢,不过没有人找的到具体的文档。I assume that, wpa-conf is the static configuration which not needed for roaming through network interfaces. I couldn't find any relevant and detailed document for this.
|