Particle-cli Mac Terminal problem

I have a particle-cli problem.

This works ok in Terminal on my iMac:

$ particle setup --usb # to add wifi ssid/pw for a not-yet-installed network

But it fails on my newish MacBook Air – with this error message:

! PROTIP: There was a network error while connecting to the cloud…
! PROTIP: We need an active internet connection to successfully complete setup.
! PROTIP: Are you currently connected to the internet? Please double-check and try again.

Of course, the MacBook IS connected. This works fine on that laptop:

https://build.particle.io/build/

Both Macs are running OS 10.12.6. Both particle apps are 1.24.0.

I really need to be able to do wifi setup when not connected to the actual network.

Help!

For merely adding WiFi credentials

particle serial wifi

would be the way to go.

2 Likes

My problem is that it works on my iMac but not on my MacBook. With or without “wifi” added.

You won’t even need CLI.
If you put the device in Listening Mode you can use any teeminal program (e.g. CoolTerm) and send w to set credentials that way.

1 Like