固定IPの設定
Debianでの固定IPの設定。
「/etc/network/interfaces」を編集する。
$ sudo vi /etc/network/interfaces auto wlan0 iface wlan0 inet static address 192.168.0.100 netmask 255.255.255.0 gateway 192.168.0.1
無線LANでも同じで、staticにしてwpa-confの後ろにでも追加する。
auto wlan0 iface wlan0 inet static wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf address 192.168.0.100 netmask 255.255.255.0 gateway 192.168.0.1