@crispyoz ok, i discovered another strange behavior. When connecting to an ShellyBluetooth Dongle AP the omega keeps disconnecting/connecting. I need to run a script which continuesly ping the AP to keep the connection. With other hardware the connection to the shelly is no problem. So it looks like the omega is doing something different.
Posts made by DocHardinger
-
RE: 23.05.3 iwinfo scan disconnects AP
-
RE: Missing packages when building Custom Firmware
@crispyoz Yes its still there but its for mips and not mipsel, and for mipsel its not there
... damn even the ipk i cant find anywhere
-
RE: Missing packages when building Custom Firmware
@crispyoz i found out this: https://downloads.openwrt.org/releases/faillogs-23.05/mipsel_24kc/packages/python-bcrypt/ there seems to be some error when compiling the package..Looks like they updated the repo 2 days ago but compiling bcrypt wasnt successful and so the package is missing...did i get this right?
but what can i do now?
-
RE: Missing packages when building Custom Firmware
Yes but days before building was successful, so something has changed. Maybe the repo from openwrt then...ich will check this
if you look here: https://downloads.openwrt.org/releases/23.05.3/packages/mipsel_24kc/packages/ there is the paramiko package...
Ahh now i see its python3-bcrypt which is missing...thats what you mean...but why did it worked a few days ago, iยดve changed nothing inside the build environment.
When i try to install it with pip the omega reboots when trying to install bcrypt...
-
RE: 23.05.3 iwinfo scan disconnects AP
@crispyoz For now i will ignore this behavior because our customers only use mobile phone to interact with the omega, and this works so far. Anyway not so good to not know whats going on there...
-
RE: Missing packages when building Custom Firmware
@Lazar-Demin has something changed in image builder? Now i get this error:
* pkg_hash_check_unresolved: cannot find dependency python3-bcrypt for python3-paramiko * pkg_hash_check_unresolved: cannot find dependency python3-cryptography for python3-paramiko * pkg_hash_fetch_best_installation_candidate: Packages for python3-paramiko found, but incompatible with the architectures configured * opkg_install_cmd: Cannot install package python3-paramiko.
-
RE: 23.05.3 iwinfo scan disconnects AP
@crispyoz ok now tested with an old surface book 2, this one keeps the connection. My gaming pc and a new Dell Precision Laptop still keeps disconnecting.
-
RE: 23.05.3 iwinfo scan disconnects AP
Yes i already thought about this but makes no difference
-
RE: 23.05.3 iwinfo scan disconnects AP
@crispyoz i tested on two omega2pro and an omega2s+ (running 23.05.3) on our custom pcb. Both disconnects on laptop and pc. I will now get another old pc and check again with this one.
-
RE: 23.05.3 iwinfo scan disconnects AP
Tested it and keeps disconnecting. And i used the same power supply when running 22.03. and this keeps stable. Hmhm will, just to be sure, test again with 22.03. on different omegas. But when this is 23.05. with old mt76 driver and it disconnects it cant be the driver, right?
-
RE: 23.05.3 iwinfo scan disconnects AP
@crispyoz said in 23.05.3 iwinfo scan disconnects AP:
@DocHardinger That was OpenWrt 23.05 with the OpenWrt 22 MT76 driver code merged in. I tested on my Windows 11 machine, ran 6 or 7 scans and it never disconnected. May I suggest, if you have not already, power your Omega2 using a USB power adapter. Wifi scanning typically shows a spike in current, so I wonder if that's the issue.
Of cause i used an usb power adapter, but thats a good point i didnt checked with another one. Or better i will use my laboratory power supply. We got this problem before but with also modem and other stuff connected and this was a bad power adapter, but with modem its a lot of more current needed.
Anyway i will test it.
-
RE: 23.05.3 iwinfo scan disconnects AP
@crispyoz yes tested it, keeps disconnecting
-
RE: 23.05.3 iwinfo scan disconnects AP
@crispyoz said in 23.05.3 iwinfo scan disconnects AP:
My guess is that windows is less tolerant of timeouts or lost packets which occur when you perform the scan.
Yeah it seems so, but why is the old driver in 22.03. not disconnecting. If its just windows then disconnecting should also happen with 22.03. Or maybe the new driver spend more time in scanning and so needs more time for an ack to send back and windows doesnt like that...
-
RE: 23.05.3 iwinfo scan disconnects AP
@crispyoz i managed to install the new version but same error and am i right that there is no dhcp service like dnsmasq running? Anyway i switched to static adress on my pc and still keeps disconnecting when running iwinfo radio0 scan. Mobile phone stays connected.
-
RE: 23.05.3 iwinfo scan disconnects AP
Ok tested it and problem is the same, keeps disconnecting when scanning on both pc and laptop but stays stable on mobile. Also testing some settings on my wifi adapter on the pc but no luck. Will try to find out why windows keeps disconnecting while android doesnt. I mean it must be something inside the driver because 22.03. is working without problems. I wanna get behind this damn problem
-
RE: 23.05.3 iwinfo scan disconnects AP
@crispyoz There seems to be some errors when booting. I run sysupgrade -n yourimage.bin on an Omega2Pro:
[ 7.243364] mmcblk0rpmb: mmc0:0001 DG4008 4.00 MiB, chardev (251:0) /etc/preinit: /lib/preinit/90_apply_dt_overlays.rej: line 1: ---: not found /etc/preinit: /lib/preinit/90_apply_dt_overlays.rej: line 2: +++: not found /etc/preinit: /lib/preinit/90_apply_dt_overlays.rej: line 3: @@: not found /etc/preinit: /lib/preinit/90_apply_dt_o[ 7.871484] random: procd: uninitialized urandom read (4 bytes read) verlays.rej: line 4: +#!/bin/sh: not found /etc/preinit: /lib/p[ 7.882382] procd: - early - reinit/90_apply_[ 7.886986] procd: - watchdog - dt_overlays.rej: line 5: +: not found /etc/preinit: /lib/preinit/90_apply_dt_overlays.rej: line 12: syntax error: unexpected "do" (expecting "}")
and also after boot i'm in read only filesystem...I think there is something wrong. I needed to use USb recovery and afterwards tried it again with same result.
root@(none):~# wifi config > /etc/config/wireless -ash: can't create /etc/config/wireless: Read-only file system root@(none):~#
-
RE: 23.05.3 iwinfo scan disconnects AP
@crispyoz do you know if there is a docker container with openwrt-buildsystem-wrapper? i think youre using a normal pc with linux? Cause i once used a virtual machine and got a lot of problems when trying to run the openwrt builder.
-
RE: 23.05.3 iwinfo scan disconnects AP
@crispyoz
Seems these guys have the same problem here https://github.com/openwrt/mt76/issues/953 .
And they are talking about an fix https://github.com/cmonroe/feed-wifi-master/raw/refs/heads/smartrg-master/mt76/patches/0925-wifi-mt76-do-not-report-ACK-when-TXS-is-lost.patch .But im not sure if this also counts for MT7688.
So when using the onion build tool, is it possible to add this patch there? And should onion add this patch too? @Lazar-Demin