WiFi and Ethernet together

Ah, so you can just create multiple network files or just have multiple values in the one file? That might be the thing I was missing when I was reading around about this - all of the examples only had one entry. That would probably also explain why my ethernet fell off when I added the wifi last night.

I’ll have a read through that and do some more searching around now I’ve got some more terms to search for. Hopefully I’ll be able to sort it. If not, I’ll just have to try changing the hardware (which is going to cause its own set of problems…).

I have to agree with you - the usual configuration stuff would’ve been so much easier - it’s something that’s already just there!

Thanks for the help.

You can just keep adding to the one file.

Just wondering if you guys got this working? Having been trying with a tagged VLAN port but hassio seems to connects and then drop-out. This VLAN is working fine via a separate SSD on my UNIFI-AP-PRO and MikroTik switch & router.

Thanks
Chris

1 Like

If you are using the Hassio HassOs image I doubt it supports a trunk with a tagged VLan. It is designed as a basic hypervisor for Hassio. You would be more likely to get this working with a Linux OS. You can still install Hassio on Linux.

Thanks so much for the reply! I think you could be right. Maybe time to re-host in VM or other option.

Hi i have followed nickrout recomendations. i have created 2 files inside network folder of usb stick, one for ethenet and 1 for wifi. At the ethernet port i dont need routing becouse there were only one mqtt gateway to comunicate with some mysensors nodes.
image

my-network file

[connection]
id=my-network
uuid=f1fffbbe-899c-4708-bbe9-0d25f13b048c
type=802-11-wireless

[802-11-wireless]
mode=infrastructure
ssid=++++++++++++++++++++++
# Uncomment below if your SSID is not broadcasted
hidden=true

[802-11-wireless-security]
auth-alg=open
key-mgmt=wpa-psk
psk=++++++++++++++++++++

[ipv4]
method=manual
address=10.0.0.121/24,10.0.0.2
dns=8.8.8.8;8.8.4.4;

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

mysensors file

[connection]
id=mysensors
uuid=b0167dfb-111e-4db0-91c6-6180cde724d6
type=802-3-ethernet

[ipv4]
method=manual
address=10.1.1.120/24

both connections are working!!

3 Likes

good evening, can you explain me the procedure to follow, I have some defects in english: /

I saw this old message and wanted to know how to change from wifi to wired? Do I just modify the network file on my USB and just reboot the RPI and it will pull in the new configuration on boot!

I think so.

Thanks, I have asked this question on the discord as well as in several threads and it seems no one is sure ( at least no one has answered). I think so also, but it would be nice if this was documented. I’m sure I am not the only one that wants to switch from one type of connection to another. I would think there would be a file on the Home Assistant that would hold this information and you could modify this?

If you ssh into hassos take look under /etc

Can you see it from Samba?

Hey Guys,
I’m currently using wifi with my hass.io on a raspberry pi 3b+. Always used like that and it works fine.
But unfortunately now that I’m playing with camera streams I guess the WIFi is limiting the project.
I would like to move over to Ethernet or Ethernet + wifi.
As far as I understood I can change the original my-network file and upload it via USB to hass.io.
The question is:
Should I add both instructions Ethernet + wifi in the same file and import?
https://github.com/home-assistant/operating-system/blob/2e7e0398996c5fb39e566e9d6d72df2975ac9f39/Documentation/network.md

I tried and… lost wifi

EDIT: Ok, so I had to created a separate VLAN in order for this to work.
This way I get on IP fr WIFI and another for LAN.

But I have a question that I din’t thought about it.
Is there a way to force the camera stream to arrive hassio over Ethernet and not wifi?

Why do you wanna keep the WiFi connection?

Hi meanwhile, i changed the project. I now have one HA only for security (and not on the raspberry).
The idea was not to mix the camera feeds with other stuff.

That makes no sense.

Just a thought: if you have wifi and ethernet with different IP addresses, won’t that break things like your MQTT server? (as the MQTT client wants to talk to a fixed IP address that doesn’t exist anymore)

Cheers
DJ

Hi,
I never went trough that idea.
My current setup is a desktop PC with HA + Blueiris - VLAN with all camera feeds and 24H recording (all ethernet).
Then a pi for all the other lightest stuff over wifi. Smart lights, doors, sensors, automations, zwaves, etc.

Heaven knows why?