Device cannot connect to server
I have provisioned my device with a device.config file per the device setup instructions, however it is not showing in Cloud C². The device status indicates "Last seen: never"
The most common cause for this problem is a routing or firewall issue between the device and server. Here are some troubleshooting tips:
Verify that the
device.config
is indeed in/etc/
on the device (or root of udisk/sd card for Key Croc/Screen Crab), and that it is the correct provisioning file for your server.Start the Cloud C² client on the device, either by rebooting it (WiFi Pineapple, LAN Turtle, Packet Squirrel, Screen Crab, Key Croc) or issuing the
C2CONNECT
command in your payload (Shark Jack, Signal Owl).Verify that the ports specified by your Cloud C² server (from the command line parameters) are open and accessible by the device's network. The common defaults are TCP 80, 8080, 443, 2022.
Verify that the device can reach the server's network. For example, if a WiFi Pineapple is deployed on an LAN with the IP address 192.168.1.100, and the Cloud C² server is deployed on the Internet at example.com, verify from a terminal on the WiFi Pineapple that it can reach example.com by issuing "
ping -c4 example.com
"
Last updated