The openhab was running correctly on raspberry pi 3 b+, with wifi configuration.
Now when plug network cable the connection will work, however wifi connection stopped working, and when the system booting it hangs with set of “waiting up” messages, then continue but without wifi connection!
# interfaces(5) file used by ifup(8) and ifdown(8)
# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
Here when I plug network cable: I can see that both ethernet and wifi have ip address, subnet. however when I unplug the network cable. the connection lost (wifi doesnt make the connection)!