wpa etc/network/interfaces 初期設定書き込み

http://blog.nelhage.com/2008/08/using-wpa_supplicant-on-debianubuntu/

auto ath0
iface ath0 inet dhcp
wpa-driver wext
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

スタティックルートを設定したい場合はupに続いてrouteコマンドを記述する。

up route add -net <宛先ネットワーク> netmask <ネットマスク> gw <転送先GW>

例)

auto eth0
iface eth0 inet static
address 192.168.1.10
netmask 255.255.255.0
gateway 192.168.1.1
up route add -net 172.20.10.0 netmask 255.255.255.0 gw 192.168.1.1