Difficulty configuring SensorStation to connect to WiFi

I’ve been trying to configure a V3.3 SensorStation to connect to a WiFi network via the USB method and am running into issues.

I believe I’ve entered everything correctly. I have a file named credentials.json in a wifi folder on my USB drive with the proper credentials.

I get “success” when mounting the drive, as well as when I select get-wifi. But when I go to Network > Ping I get the response Internet error.

The internet password itself has special characters, but as far as I understand, those do not need to be escaped, and at any rate when I do try escape them I get failed when I try to import.

Any suggestions would be appreciated!

Hi Josh,

I was trying to do this over summer and had similar issues. The thought was this failed because I have four 166 MHz antennas. CTT support recommended that I disable either the WiFi or the Cellular modem (don’t run both with that many fun cubes). I haven’t gone back in to try disabling the cellular yet to see if this would work.

Kelly

If you are able to connect to your SS via hardwired ethernet and a terminal you might try running nmcli. Im not near my computer at the moment to provide exact details but if you google for raspberry pi and nmcli you will find many links. such as nmcli for WiFi on Raspberry Pi OS 12 'Bookworm' | Jeff Geerling

Ive used this several times to get connected whe usb just wouldn’t work. you should look to see if there are older or other entries for wlan0 and clear them, then renter your wifi ssid and password.

Yes I’m afraid this may be my next option. Unfortunately it will require me to unscrew and remove the SS entirely to get it close enough to the wired network…

Though I now wonder if I can user a small travel router with an ethernet cable to get the SS on to the same network. I may be able to connect to it that way…

Please forgive if I misunderstand your situation. You should not need to move your SensorStation to a “wired network”. Just follow the instructions in the CTT User Guide Sections 17 and 18. Use ssh to log in and use raspi-config or nmcli, nmtui tools to configure.

The key to understanding this is that you do not need access to any other physical network. Following the steps in Section 17 you are essentially creating a standalone mini “hardwired local area network” consisting only of your laptop and the SensorStation. Your laptop and station do not physically connect to any other network jacks, ports, switches routers etc. It just the two devices talking to each other over a wired ethernet consisting of your USB2Ethernet adapters and the single ethernet cable.

You do need to be able to access the SensorStation where it is currently installed to view the LCD screen, navigation buttons, and USB ports.

Your ethernet cable needs to be long enough to reach from your laptop the station (less than 100feet).

I recommend you follow Section 18 and attempt to set the wifi SSID and password using raspi-config as described first. I have also encountered a situation where raspi-config method did not work because for some reason. Possibly the station had ‘remembered’ some prior failing wifi setup. In the case I used the command “sudo nmtui” to view the configured networks and delete the old wifi networks and reactivate using the new. Roughly equivalent to “Forget this network” on your smartphone. I can walk you through the steps if you need further details. - Rich

Thanks Rich! To clarify, I can’t SSH in either. This is a receiver I’ve been struggling a bit with lately and currently it doesn’t seem to establish any connection with my computer.

I described that here, and linked to this post. But then didn’t link in the other direction (I’m assuming these are separate issues, but who knows).

As it stands, I can’t even confirm that this thing is working, so I’m hoping that if I get this connected to the internet via the router / wired combo then at least it’ll sync data and I can check status on the CTT portal. (That will be more convenient if it works then removing the SS entirely to connect it to a wired internet connection.) And with any luck, something in that process will allow me to connect to it directly over the network we’ll both be connected to, though that does seem a bit doubtful.

These issues seem likely to be related. Have you tried reflashing the compute module? I have a spare, recently recently flashed and configured compute module I could send you that you could swap in and try. If that also fails then it would point to the issue being with the SensorStation main board itself. Let me know if you want to try that route.