Connect Through Wifi and Ethernet at the Same time

Hi there,

I live in an apartment that has a smart meter installed. The problem is that the smart is not that smart and it runs on its own network. The meter device has an ethernet port that, if I plug a computer and set an IP on the same range (172.16.0.*), I can pull data out from it. So, is it possible to set hassio’s wifi to one network and use the ethernet port for the other network?

Cheers,
Rafael

yes of course, that is networking 101.

Yes, I know, but how to do it?

I can easily do it from windows and Ubuntu, but I’m new to hass.io and this is very confusing to me. I’m SSHing into Hass.io, but I can’t find /etc/network/interfaces… I can see eth0 on ifconfig, but I can’t see a way to set it’s IP address…

hassos uses network manager.

Thanks! I’ve been trying to configure both devices, but no luck so far. I believe the problem is due to the fact I have two IPV4 secionts, but I can’t see a way to specify an IPV4 for each connections. Any thoughts?

Cheers!

[connection]
id=hassos-wifi
uuid=72111c67-4a5d-4d5c-925e-f8ee26efb3c3
type=wifi

[wifi]
mode=infrastructure
ssid=WIFI_NAME

[wifi-security]
auth-alg=open
key-mgmt=wpa-psk
psk=PASSWORD

[ipv4]
method=auto

[ipv6]
addr-gen-mode=stable-privacy
method=auto

[connection]
id=hassos-ethernet
uuid=74ae31a8-228e-45d3-8200-300dc202b0c2
type=ethernet
autoconnect=true

[ipv4]
method=manual
address=172.16.0.100/24,172.16.0.254
dns=8.8.8.8;8.8.4.4;

[ipv6]
addr-gen-mode=stable-privacy
method=auto

did you solve the issue? if yes how?
thanks