Wifi issue?

So I have 3 Vero 4ks

1 runs TVHeadend
1 is on cable connection and works fine
1 is on wifi,

The one on wifi locks up and becomes unresponsive, just checked the log and its full of these

2024-09-17 17:22:38.976 T:3017    error <general>: AddOnLog: pvr.hts: unable to connect to 192.168.0.223:9982
2024-09-17 17:22:48.978 T:3017    error <general>: AddOnLog: pvr.hts: unable to connect to 192.168.0.223:9982
2024-09-17 17:22:58.980 T:3017    error <general>: AddOnLog: pvr.hts: unable to connect to 192.168.0.223:9982

Looking at the below im guessing its weak signal

iwconfig
wlan0     IEEE 802.11  ESSID:"CAH1982"
          Mode:Master  Frequency:5.18 GHz  Access Point: 70:4F:57:FB:27:95
          Bit Rate=45 Mb/s   Tx-Power:32 dBm
          Retry min limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=1/5  Signal level=-84 dBm  Noise level=-90 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

So is there any way to force it to use 2.4g, which i would presume it switches to if signals low

I can turn logging on if needed, current log after reboot was 8 hours of them erros every 10 seconds, osmc is unresponsive for web interface and ssh

The easiest way would be to have a separate 2.4Ghz network.

I dont have a seperate one as such, both SSIDs are same for 5g / 2.4g in house

Doesnt the unit switch between if signals none existent

I mean I am guessing its wifi dropping off then not connecting back, but by time its at that stage its none responsive

It will connect to a WiFi network if it is able.
But the 5Ghz might be marginally better so it favours that.

ok, I can set up a seperate wifi on only 2.4g,

in SSH can i connect to the new wifi SSID

Yes, but Iā€™d suggest doing it via the UI and ā€˜forgettingā€™ the network that itā€™s already connected to.

I was hoping to do all that from SSH lol, what apk or toolss does osmc have installed? guessing its not network-manager

managed to do it through connman

obviously 5g is generally better but this shows faster and stronger :expressionless:

wlan0     IEEE 802.11  ESSID:"CAH1982OSMC"
          Mode:Master  Frequency:2.432 GHz  Access Point: 1A:A6:F7:54:B9:D6
          Bit Rate=72 Mb/s   Tx-Power:32 dBm
          Retry min limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=4/5  Signal level=-67 dBm  Noise level=-77 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

5Ghz WiFi has the bad habit to not go well through walls and objects in between. Hence it is usually suitable when you have a free line of sight between the AP and the user device.
2.4Ghz is way better at going around corners and through thick walls (even though it has some limitation. The 50cm walls in my Summer Mansion will let only very light 2.4Ghz go through, and no 5Ghz at all).
I tend to link all my fixed media devices using 1Gbps ethernet. All ā€œmobileā€ devices can then ā€œfightā€ for the available bandwidth.

Oh, and one last thing regarding the WiFi in general. A switch is capable of separating traffic going through specific ports so they donā€™t disturb each others traffic flow. An old HUB repeated all data to all ports. So does WiFi. Wifi is to be considered a Broadcast domain. Means all actively talking devices will share the common slowest wifi speed to communicate. In other words, if you have 5 active devices on your Wifi, you can divide the total bandwidth available to each device by 4. So if you have a kid in a ā€œfarā€ away bedroom watching a Youtube video (continuous data flow), all communication will drop to the speed of his connection (More or less. Depending on the number of antennas your AP has etc. it may optimize it all, but I assume here we have one antenna only for simplicity). It may change speeds if your kids device stops requesting data for the others, but the speed changes take place in about 76microseconds. So if there are very many speed changes, it can be counter productive.

PS: I have 4 kidsā€¦ Took me a while to figure out that the very old 2Ghz devices of the kids were slowing down the entire WiFi experience of the house :smiley:

Yeah I try to keep everything on wired, but where this TV is ive no real way to get a ethernet cable to it other than have it on show and go over doors as its solid concrete floor, the 2.4g AP is about 5meters away on this SSID through 1 wooden floor

@sam_nazarko It did same again logs show it couldnt connect to TVHeadend for ages.

Would tunring on debug mode, show why the wifi is disconnecting or becoming unusable?

Its quite sparadic, some times days before it happens, yesterday was in 2 hours

other than buying some ethernet over powerline, dont know how else to diagnose

Is the TVHeadend device wired in or is that also wireless?

yeah the TVHeadend installed on OSMC is ethernet

NAS is ethernet

1 OSMC is ethernet < works fine

this OSMC is wifi only < just falls over, so dont know if its faulty and wifi keeps failing, as i cant connect to it over SSH, web interface

Last night must have lasted 4hours, rebooted today at 08.00, and its still working 8hrs on, no logs of ever loosing connection

You could try pinging it constantly and see if thatā€™s enough to keep the connection aliveā€¦

I already do every 60 seconds, thats how i know when its failed

I was talking about constantly ā€“ so that the connection doesnā€™t ā€˜sleepā€™

it pings it once every 60 seconds seemed frequent to me lol

I can change that to as low as youd recomend?

Have you tried using a couple of Powerline adapters that have ethernet ports ? the latest generations are fast and reliable. I have one next to my router and one behind the TV, gives me 3 ethernet ports and 2g/5g wifi, keeps a Roku, Switch, RPi, a couple of phones/tablets and a Samsung tv and going no problem.

no thats my last resort lol, everything else in house is stable on wif

its still working now, but it can be for hrs, days, weeks, then just falls off and causes system to crash eventually

Swap the power supply on a good Vero 4K with the one giving you problems.

ok will give it a go

caps look fine on it and it reads 5.2v

so will just have to wait and see if either fall over