#Spent 1 week trying to debug. Not sure what is happening with wifi on cm4/cb1 [solved]

13 messages · Page 1 of 1 (latest)

glacial pond
#

Hey guys, I recently bought a voron 2.4 r2 with a manta m8p v2 and a cb1. i finished the assembly in around a week, and now that i finished wiring, i cannot for the life of me figure out how to get it to connect to wifi. i am using the latest version of mainsailos(2.0.0) and i tried everything, eventually switching to a cm4 with emmc. i tried to use both 5ghz(home router) and 2.4 ghz(hotspot) internet, set up headless_nm.txt through the documentation, followed multiple guides, reflashed multiple times, and nothing. i have the wifi antenna in, heat sink working fine, rpiboot works fine.
it seems like it just will not connect to wifi no matter what. it wasn't showing up on my router so i tried angryip and nothing still. i know it isn't a hardware issue since i tried 2 cb1s and eventually this cm4, and it powers on fine. board jumpers are all in correct position, power is stable etc.

Has anyone experienced a similar issue/has managed to solve it? Ive been stuck trying to get it to connect to wifi for way too long.

#

Spent 1 week trying to debug. Not sure what is happening with wifi on cm4/cb1

errant veldt
#

Wifi on these tiny machines usually have crap antennas and is kinda weak and usually requires a fairly good wifi environment to be happy.

#

I just use the Raspberry Pi Imager and set the wifi connection up there. It has worked fine, and is a lot easier to get right than manually messing with that headless_nm.txt file. At least for the CM4 (afaik the CB2 can't be flashed with that utility).

#

If it still doesn't want to work, best thing to do is usually to connect it to wired ethernet (usually to a LAN port on your home router). Even if you can't have it connected there permanently, you should at least be able to connect to it and you can troubleshoot wifi from there (including scanning networks and see what's up).

#

Long-term though, wired ethernet is pretty much always better if at all possible. If you cannot run a cable to where your printer needs to live, a decent option is some kind of "wifi bridge" (a device acting as a wifi client and providing an ethernet port). I've used TP-link "travel routers" (TL-WR902AC would be the current version, alternatively TL-WR802N) for such things, they're small and easy to set up and have worked fine for me for bringing wifi to wired devices. They probably have much better antennas, can be mounted outside the printer for better placement, and are pretty straightforward to set up.

#

Another option is a usb wifi dongle (which can also be mounted on a cable outside the printer). There are some caveats as to which models work well with Linux though.

glacial pond
errant veldt
#

I mean, try configuring it in the rpi imager. If that doesn't work, connect a cable.

#

Or if a cable in is nearby, just do that first. Whatever is less hassle.

glacial pond
#

I figured it out. It was because my router was giving out ip addresses on different subnets for some reason. I was able to tell since my phone was on 192.168 and computer was on 10.1.10. I just had to manually renew dhcp lease on my computer and i connected. Thanks though

#

I think it might have been an issue with modem

#

Spent 1 week trying to debug. Not sure what is happening with wifi on cm4/cb1 [solved]