16th Feb, 2013, 06:10 AM
Can I still set a static ip with this config?
edit:
Just solved it by myself.
If anybody's interested
/etc/network/interfaces
/etc/wpa_supplicant/wpa_supplicant.conf settings for WPA
edit:
Just solved it by myself.
If anybody's interested
/etc/network/interfaces
Code:
auto lo
iface lo inet loopback
iface eth0 inet dhcp
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface home inet static
address YOURIP
netmask YOURNETMASK
network YOURNETWORK
gateway YOURGATEWAY
wireless-power off
auto wlan0
/etc/wpa_supplicant/wpa_supplicant.conf settings for WPA
Code:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="YOURSSID"
id_str="home" #has to be the same id as in the interfaces file
scan_ssid=1
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
psk="YOURPSK"
}