I want to assign a static IP-address to the Wireless LAN interface on my raspberry pi, but after setting the address in
auto wlan0 iface wlan0 inet static address 192.168.1.4 netmask 255.255.0.0 gateway 192.168.1.1
and then after rebooting my raspberry pi, the WiFi is disabled with the message "country code not set".
But the country code is set in
/etc/wpa_supplicant/wpa_supplicant.conf The third line is
When removing the wlan0 setting in
/etc/network/interfaces and rebooting the raspberry pi, the Wi-Fi is enabled again. (but with a useless