Device cannot connect to server
The most common cause for this problem is a routing or firewall issue between the device and server. Here are some troubleshooting tips:
- 1.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. - 2.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). - 3.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.
- 4.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 modified 1yr ago