WiFi/S3 troubleshooting
The below steps can be useful in troubleshooting WiFi connectivity issues.
Check the basics
Set up your S3 bucket as per our S3 guide
Verify that you can login via CANcloud by loading your Configuration File
Ensure that you have followed the WiFi setup guide
Ensure your WiFi uses 2.4 GHz (not 5.0 GHz)[1]
Ensure that the device is near the WiFi router with clear line-of-sight
Power the unit for 5 min and see if it uploads the
device.jsonto your S3 bucket
If the device still fails to connect, proceed to the next step below.
Verify a connection to our S3 test server
To start with the basics, ensure that you can connect in a ‘simple setup’:
Enable your smartphone’s shared WiFi in ‘compatibility mode’ (2.4 GHz)[2]
Test if your PC can connect and browser the internet via your smartphone WiFi
Download our test Configuration File:
FW 01.09 | FW 01.09 (incl. GNSS/IMU)
Load the file in the config editor and add your smartphone WiFi details
Create a backup of your original Configuration File on the device SD card
Add the test Configuration File to your SD card
Power on your device with a suitable power supply (7-32 V DC) for 5+ min
Log into the S3 test server via CANcloud and check if your device uploads the
device.jsonIf the device does not connect, review the
syslog.txtfile on the SD for further diagnosticsIf the syslog is empty, check your WiFi name/pass for typos (e.g. trailing spaces, …)
Optionally test with another WiFi access point (update the Configuration File accordingly)
If it is still not connecting, please send us an e-mail with a zip of the entire SD content, details on which WiFi access points you have tested and a description of your setup.
If the device connects, proceed to the next step below.
Test your original WiFi access point access
Below we assume that you have verified that your device connects to our S3 test server using your smartphone as WiFi access point. Next, you’ll test if the original WiFi access point works.
Use CANcloud to login to the AWS S3 test server
Delete your device Configuration File from the S3 test server[3]
Configure your device via the SD to use your original WiFi access point only
Wait ~30s to see if the device loads the new Configuration File, power cycles and reconnects
If the device does not update the device.json file after the change, check the following:
Double check if the SSID/password are correct
Ensure that you are not using e.g.
'or similar in the SSIDCheck if the blue LED lights up (it should light up with each sync attempt)
If it is a corporate WiFi access point, check if e.g. MAC address white listing is required
If the device connects via your original WiFi access point, proceed to the next step below.
Test your own S3 server access
Log into your own S3 server via CANcloud, while connected to your original WiFi access point
Delete the device Configuration File on your own S3 server[4]
On the device SD, update your Configuration File to use your own S3 server details again
Check if the device is now able to connect to your own server (i.e. is the
device.jsonupdated)If the device is still unable to connect to your server, check the below:
Verify that all your server details are correct (see the S3 server guides for syntax)
Verify that you do not use
https://in your endpoint (if you have enabled TLS, disable it)[5]
If you’re still unable to get started after trying the above steps, contact us and describe your results from the above tests. In your mail, please include your Configuration File.
Troubleshoot upload speed
The CANedge2 is able to upload data at 10-30 MB/min (0.2-0.5 MB/s), depending on various factors. If you are seeing unexpectedly slow upload rates, consider below steps:
Ensure the CANedge2 WiFi antenna is within 1-30 m of the WiFi AP with clear line-of-sight
Ensure the WiFi antenna is not blocked by e.g. an enclosure, cabin, box or similar
Ensure the S3 bucket region is near your deployment region
Ensure the device is able to sync the RTC via port 123
Configure your log file splits to be 1-20 MB in size
If you are recording very high busloads (3+ MB/min MF4), consider using filters/prescalers[6]
Below we explain how you can do a clean evaluation of the upload speed:
Download & unzip our simulated MF4 log files from here
Add the
meta/folder from the zip to your SD card root to set your session counter to50000000Add the
40000001/folder inside your device SDLOG/<deviceid>/folderPower on the device until it has offloaded the full 100 MB of
40000001/to your S3 bucketIn CANcloud, get the #min between the last/first upload in
40000001/via ‘Last Modified (S3)’Divide 100 MB by the #min to get your upload speed in MB/min
After testing, update the
meta/meta_log.jsonsession number to be your last session number + 1, then add this folder to your SD card root again to correct your session counter
If you are still unable to get the expected upload rates after trying the above steps, contact us and describe your results from the above tests. In your mail, please include your Configuration File.