I do not know why, but when I unplug my ethernet cable, I have no more wifi connection. I use /etc/network/interfaces for configure my static IP
auto lo
iface lo inet loopback
allow-hotplug eth0
iface eth0 inet static
address 192.168.XXX.XX0
netmask 255.255.255.0
gateway 192.168.XXX.XXX
allow-hotplug wlan0
iface wlan0 inet static
address 192.168.XXX.XX1
netmask 255.255.255.0
gateway 192.168.XXX.XXX
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
And my wpa_supllicant.conf is correct
Does anyone know why? Thanks
For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'"? What else have you changed?
– Milliways Nov 09 '17 at 23:52wlan0 interface static ip_address = 192.168.104.21 / 24 static routers = 192.168.104.9 static domain_name_servers = 192.168.104.253 8.8.8.8
– Brian Nov 10 '17 at 16:36