I want to define a static ip but for a wifi connection.
I found example for Eth0 but not for wlan0
I have tried in /etc/network/interfaces:
source-directory /etc/network/interfaces.d auto wlan0 iface wlan0 inet static address 192.168.1.150 netmask 255.255.255.0 gateway 192.168.1.255
but I when I reboot and look with ifconfig the ip is Ok, but my network wifi doesn’t work.
How I can fix this ?
Thanks for your help.