Confusion with wlan and eth0 mac addresses

Dear RAK-Fellows,

I have changed the network settings of my RPI 3B+ with a RAK2243 gateway to be able to connect over the ethernet cable to the internet. After that, I had to change the gateway-id on ttn to see the gateway coming online again. It now uses the wlan address and not the ethernet address anymore (please see attached images for the output of ifconfig).

I am just wondering why the gateway ID on the same hardware has changed.
Thank you!

In rak’s firmware, you will see three network interfaces, eth0, wlan0 and usb0.
Rak’s firmware will first use the mac address of eth0 as the gateway’s gateway_id.
If eth0 does not exist, it will use wlan0’s mac address as the gateway’s gateway_id.

But in your screenshot, I don’t see eth0. Most likely because your changes have caused the name of eth0 to change.

Alright, makes sense. Thank you a lot! I have followed the standard guide for setting up the gateway:
The only thing I’ve changed might be the hostname.
Anyways, for me it’s ok since it is working.