Moving from WIFI to wired network

And there it is, NetworkManager is controlling your connection.

So, if you dont want to start removing packages (networkmanager) and losing wifi (wlan0) configuration, you can simply tell Network Manager NOT to handle your interfaces.

We can do this by following some instructions found here: https://wiki.debian.org/NetworkManager

Which boils down to putting both eth0 and wlan0 in your /etc/network/interfaces file, and either removing/purging NetworkManager from your Pi or telling its config to not manage the devices.

The file /etc/network/interfaces needs to contain the interfaces you dont want NetworkManager managing:

(This below should be in your /etc/network/interfaces file)
#wired interface
auto eth0
iface eth0 inet static
    info here
    info here
    info here

#wireless interface
auto wlan0
iface wlan0 inet static
    info here
    info here
    info here

And also the file /etc/NetworkManager/NetworkManager.conf needs to contain the following info:

[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false

Restart NetworkManager or reboot.

sudo /etc/init.d/network-manager restart or sudo reboot