/etc/network/interfaces
auto lo iface lo inet loopback auto ath0 iface ath0 inet static address 192.168.0.13 netmask 255.255.255.0 gateway 192.168.0.50 wpa-driver madwifi wpa-conf /etc/network/wpa.conf
/etc/network/wpa.conf
ap_scan=1 ctrl_interface=/var/run/wpa_supplicant #ctrl_interface_group=sanych network={ ssid="Essid сети" scan_ssid=0 key_mgmt=WPA-PSK proto=WPA RSN pairwise=CCMP TKIP group=CCMP TKIP psk="здесь ключ сети" }