I have the same problem. In my case it is any ESP32 which I ocassionally use but at this moment I use a ESP32C3 supermini. When I just scan wifi signals around I get a response from many wifi routers, even in the neibourhood but when it comes to establish a connection only my own router at a distance of about 5m max can connect. my ESP32 is this one:
My question is: This red device with C3 printed on is the antena and would it make sense to unsolder it and conect a kind of cable as a extended antena ?
I would not recommend it as it is a tuned circuit. Also the board should be type accepted in your country and modifications to the RF can cause it to change frequency and or ERP (Effective Radiated Power) and are forbidden. You need to check the laws in your country.
seems you did not get my point. Of course I don´t want to connect to the neighbours router. But why can I see distanced routers and not connect to a closer my own one.
Yes I know my SSID and password.
You might not care about following legal restrictions or even good practice, but if you don't, a lot of the volunteers who provide the support on this forum may be un-willing to help you.