# Unstable wifi, almost no connectivity

**URL:** <https://forum.clockworkpi.com/t/unstable-wifi-almost-no-connectivity/11096>\
**Category:** uConsole\
**Created:** [September 28, 2023, 9:58pm UTC](https://forum.clockworkpi.com/t/unstable-wifi-almost-no-connectivity/11096 "2023-09-28T21:58:58Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![fumarmata](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/fumarmata/32/8033_2.png) [@fumarmata](https://forum.clockworkpi.com/u/fumarmata)\
**Post date:** [September 28, 2023, 9:58pm UTC](https://forum.clockworkpi.com/t/unstable-wifi-almost-no-connectivity/11096/1 "2023-09-28T21:58:58Z")

</div>

I got a CM4 lite. Wifi does not work and shows almost no connectivity even being 2m from the AP. I tried installing the antenna to the two ports in the console and none of them works better than the other

I work with multiple raspberry pi, esp32, … and none of them has had this problem. I need to try 20 times to just load [google.com](http://google.com)

Anybody else has this problem or is this a faulty unit/antenna?

---

<div class="post-metadata">

**Author:** ![RaylynnKnight](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/raylynnknight/32/7767_2.png) [@RaylynnKnight](https://forum.clockworkpi.com/u/RaylynnKnight)\
**Post date:** [September 28, 2023, 10:16pm UTC](https://forum.clockworkpi.com/t/unstable-wifi-almost-no-connectivity/11096/2 "2023-09-28T22:16:57Z")

</div>

For CM4 Lite the antenna connects to the CM4 not the baseboard as it does for other cores.

---

<div class="post-metadata">

**Author:** ![OrangeTide](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/orangetide/32/5277_2.png) [@OrangeTide](https://forum.clockworkpi.com/u/OrangeTide)\
**Post date:** [September 28, 2023, 10:29pm UTC](https://forum.clockworkpi.com/t/unstable-wifi-almost-no-connectivity/11096/3 "2023-09-28T22:29:36Z")

</div>

There are reports that the CM4 lite defaults to using the internal intenna instead of the external. Select it by adding dtparam=ant2 to your /boot/config.txt and rebooting:

`sudo sh -c 'echo "dtparam=ant2" >> /boot/config.txt'`

Remember to follow the build instructions, the antenna wire connects to the CM4 module and not to the uConsole main board.

that said, I use an external USB WiFi adapter for mine. A cheap one with a big rubber antenna ( RT5370 Chip). I do this because my reception at my house is so poor with all devices, not just the uConsole.

---

<div class="post-metadata">

**Author:** ![fumarmata](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/fumarmata/32/8033_2.png) [@fumarmata](https://forum.clockworkpi.com/u/fumarmata)\
**Post date:** [September 29, 2023, 4:51am UTC](https://forum.clockworkpi.com/t/unstable-wifi-almost-no-connectivity/11096/4 "2023-09-29T04:51:26Z")

</div>

Yeah tried both with identical bad results

---

<div class="post-metadata">

**Author:** ![fumarmata](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/fumarmata/32/8033_2.png) [@fumarmata](https://forum.clockworkpi.com/u/fumarmata)\
**Post date:** [September 29, 2023, 4:55am UTC](https://forum.clockworkpi.com/t/unstable-wifi-almost-no-connectivity/11096/5 "2023-09-29T04:55:11Z")

</div>

Yes, also tried that and it seemed to work even worse performing that edition. Tried two times 😕

---

<div class="post-metadata">

**Author:** ![hyperyay](https://avatars.discourse-cdn.com/v4/letter/h/e99b99/32.png) [@hyperyay](https://forum.clockworkpi.com/u/hyperyay)\
**Post date:** [September 29, 2023, 6:04am UTC](https://forum.clockworkpi.com/t/unstable-wifi-almost-no-connectivity/11096/6 "2023-09-29T06:04:42Z")

</div>

It looks like the original FPC 2.4G/5G antenna for uConsole is not that powerful on my side, and I have to replace it due to poor signal. Here is a picture of my new PCB antenna.

 ![Picture of the PCB antenna](https://canada1.discourse-cdn.com/flex029/uploads/clockworkpi/original/2X/6/6f6c017175d61aad9c9f19e76877474d255921b7.jpeg)

My situation is not that bad as yours, and I can still maintain a stable and fast enough connection within 3m from the AP. The new antenna greatly improve the connectivity.

---

<div class="post-metadata">

**Author:** ![fumarmata](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/fumarmata/32/8033_2.png) [@fumarmata](https://forum.clockworkpi.com/u/fumarmata)\
**Post date:** [September 29, 2023, 6:40am UTC](https://forum.clockworkpi.com/t/unstable-wifi-almost-no-connectivity/11096/7 "2023-09-29T06:40:59Z")

</div>

Where did you buy that one?  
But it’s so strange: exactly in the same place where I get no connectivity with the uConsole (also tried with the back lid open), I can perfectly connect with an ESP8266 or an RPI4, both of them with no antenna.

---

<div class="post-metadata">

**Author:** ![hyperyay](https://avatars.discourse-cdn.com/v4/letter/h/e99b99/32.png) [@hyperyay](https://forum.clockworkpi.com/u/hyperyay)\
**Post date:** [September 29, 2023, 6:51am UTC](https://forum.clockworkpi.com/t/unstable-wifi-almost-no-connectivity/11096/8 "2023-09-29T06:51:56Z")

</div>

I bought the antenna on Taobao. It’s 49mm long and 8mm wide, 0.8mm thick, advertised having 5dB gain. I think you’ll find similar ones on aliexpress. I chose this one just because it has a suitable size.

BTW my esp based devices with on board antenna are also working great in the same environment.

---

<div class="post-metadata">

**Author:** ![barry99705](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/barry99705/32/6771_2.png) [@barry99705](https://forum.clockworkpi.com/u/barry99705)\
**Post date:** [September 29, 2023, 1:37pm UTC](https://forum.clockworkpi.com/t/unstable-wifi-almost-no-connectivity/11096/9 "2023-09-29T13:37:17Z")

</div>

The stock antenna is kinda crap. Almost wondering if some of them have bad solder points.

---

<div class="post-metadata">

**Author:** ![PeterMount](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/petermount/32/7562_2.png) [@PeterMount](https://forum.clockworkpi.com/u/PeterMount)\
**Post date:** [September 29, 2023, 2:18pm UTC](https://forum.clockworkpi.com/t/unstable-wifi-almost-no-connectivity/11096/10 "2023-09-29T14:18:18Z")

</div>

There is another thread where some of us tried alternate antennas

> [@Replacement wifi antenna](https://forum.clockworkpi.com/t/replacement-wifi-antenna/10576/20):
>
> Well the official Rapberry PI WiFi antenna arrived, I connected it to the CM4 and it has definitely made an improvement. The only downside is that it has nowhere to mount to the case. I’m now going to look at options here, either make a custom cover for the expansion port (I’ve got the 4G board in there) or see if I can print a cover for the top to allow the antenna to fit on the top.

---

<div class="post-metadata">

**Author:** ![fumarmata](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/fumarmata/32/8033_2.png) [@fumarmata](https://forum.clockworkpi.com/u/fumarmata)\
**Post date:** [September 29, 2023, 10:02pm UTC](https://forum.clockworkpi.com/t/unstable-wifi-almost-no-connectivity/11096/11 "2023-09-29T22:02:40Z")

</div>

Went this route and ordered a wifi antena. Will report with the results

---

<div class="post-metadata">

**Author:** ![phndrummer](https://avatars.discourse-cdn.com/v4/letter/p/a183cd/32.png) [@phndrummer](https://forum.clockworkpi.com/u/phndrummer)\
**Post date:** [April 1, 2024, 10:29pm UTC](https://forum.clockworkpi.com/t/unstable-wifi-almost-no-connectivity/11096/12 "2024-04-01T22:29:18Z")

</div>

Were you able to solve your wifi issues? I just assembled mine and basically lose my wifi connection when beyond line-of-sight to my wifi antenna

---

<div class="post-metadata">

**Author:** ![Snoozer94](https://avatars.discourse-cdn.com/v4/letter/s/3ec8ea/32.png) [@Snoozer94](https://forum.clockworkpi.com/u/Snoozer94)\
**Post date:** [April 2, 2024, 6:17am UTC](https://forum.clockworkpi.com/t/unstable-wifi-almost-no-connectivity/11096/13 "2024-04-02T06:17:05Z")

</div>

Its to do with the actual cable of the antenna itself touch either the board or the body ive heard people getting a much better result by having that cable “float” or making sure theres padded tape so its isolated, maybe some sort of insulation like shrink tube might help

---

<div class="post-metadata">

**Author:** ![dav3](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/dav3/32/7062_2.png) [@dav3](https://forum.clockworkpi.com/u/dav3)\
**Post date:** [April 3, 2024, 9:43pm UTC](https://forum.clockworkpi.com/t/unstable-wifi-almost-no-connectivity/11096/14 "2024-04-03T21:43:27Z")

</div>

Sounds odd; these cables are coaxial, so the outside part of the cable is ground anyway and then there’s a pretty thick coating outside of that (the black one).  
I’d assume it has something to do with all the metal around the antenna. It might help to put a spacer (like foamy / thick double-sided tape) between antenna and uConsole metal case.

---

<div class="post-metadata">

**Author:** ![packmule43](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/packmule43/32/4810_2.png) [@packmule43](https://forum.clockworkpi.com/u/packmule43)\
**Post date:** [April 3, 2024, 10:18pm UTC](https://forum.clockworkpi.com/t/unstable-wifi-almost-no-connectivity/11096/15 "2024-04-03T22:18:40Z")

</div>

I left the backing on the glue side of the antenna and taped it down with very thin double sided tape. I get good wifi reception with the stock antenna. My thinking was that the added capacitance this might add would help with the signal reception. I also did the same with the 4G antenna. I have yet to have a problem getting a signal.

---

<div class="post-metadata">

**Author:** ![dav3](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/dav3/32/7062_2.png) [@dav3](https://forum.clockworkpi.com/u/dav3)\
**Post date:** [April 3, 2024, 10:22pm UTC](https://forum.clockworkpi.com/t/unstable-wifi-almost-no-connectivity/11096/16 "2024-04-03T22:22:22Z")

</div>

With such a small gap, capacitance is indeed more likely to be the issue / solution than shielding through the metal that I assumed could be the culprit.

---

<div class="post-metadata">

**Author:** ![packmule43](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/packmule43/32/4810_2.png) [@packmule43](https://forum.clockworkpi.com/u/packmule43)\
**Post date:** [April 3, 2024, 10:42pm UTC](https://forum.clockworkpi.com/t/unstable-wifi-almost-no-connectivity/11096/17 "2024-04-03T22:42:18Z")

</div>

If nothing else, it dosen’t take much in the way of insulation from the metel frame to improve reception. Laying an antenna right against metel is just asking for reception problems. If I recall correctly, the side of the antenna with the glue is metallic. Which would shunt most of the signal to the case. My memory is not great though, just a thought.

---

<div class="post-metadata">

**Author:** ![barry99705](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/barry99705/32/6771_2.png) [@barry99705](https://forum.clockworkpi.com/u/barry99705)\
**Post date:** [April 12, 2024, 2:37am UTC](https://forum.clockworkpi.com/t/unstable-wifi-almost-no-connectivity/11096/18 "2024-04-12T02:37:22Z")

</div>

The cases are all painted, so they’re already insulated from the crappy flex pcb antenna.

This is what I’m getting on iperf3 with a real external antenna.  
 ![image](https://canada1.discourse-cdn.com/flex029/uploads/clockworkpi/original/2X/5/589aa74f7bcae1e8fc9636fc1852e833d6560531.png)
