# No able to update the time using time-sync

Source: https://forum.modalai.com/topic/864/no-able-to-update-the-time-using-time-sync
Category: General Questions (https://forum.modalai.com/category/2/general-questions)
Posted: 2022-04-18 16:49:06 UTC by Aldo Castro Freire
Replies: 26 · Views: 7225

## Aldo Castro Freire · 2022-04-18 16:49:06 UTC

Hey guys I have been using the time service to get the time to get access the internet. but it is not able to update the time and therefore no access to the internet. It has been running for quite some time now 

![connectedInternet.png](https://forum.modalai.com/assets/uploads/files/1650300424863-connectedinternet.png)
so it is able to get an IP
 ![no-time-sync.png](https://forum.modalai.com/assets/uploads/files/1650300434166-no-time-sync.png)

## Reply by tom (ModalAI staff) · 2022-04-18 16:59:11 UTC

@Aldo-Castro-Freire The `voxl-time-sync` service does not update the VOXL's time. All it does is loop until the VOXL's time is updated. The VOXL's time is usually updated shortly after it has connected to the internet.

It looks like you're using an LTE modem? Are you able to ping an IP to determine whether you have an internet connection?

## Reply by Aldo Castro Freire · 2022-04-18 17:28:12 UTC (in reply to tom)

@tom  yes, but I am unable to ping 8.8.8.8 for example it just hangs there. also, voxl-time-sync never picks up the real-time. I am not sure how to debug this one because the modem shows it does pick up an IP

## Reply by tom (ModalAI staff) · 2022-04-18 17:39:07 UTC

@Aldo-Castro-Freire Okay so that is a different issue and `voxl-time-sync` is not affecting that at all.

What kind of LTE modem are you using and what carrier?

## Reply by Aldo Castro Freire · 2022-04-18 17:43:55 UTC

it is using the LTE modem https://www.modalai.com/collections/voxl-add-ons/products/voxl-lte?variant=32449203601459  WP7610.

it is currently using the Telus carrier, apn is isp.telus.com

## Reply by tom (ModalAI staff) · 2022-04-18 18:03:13 UTC

@Aldo-Castro-Freire Where are you located? Depending on your location the modem / SIM may not be supported.

## Reply by tom (ModalAI staff) · 2022-04-18 18:10:01 UTC

@Aldo-Castro-Freire And has it worked in the past?

## Reply by Aldo Castro Freire · 2022-04-18 18:13:53 UTC

the current location is  Okotoks, Alberta, Canada. It was working fine a week ago but today it wasn't working. I have a 40Gbs plan.  I got the sim in the same place and it was working fine

## Reply by tom (ModalAI staff) · 2022-04-18 18:21:33 UTC

@Aldo-Castro-Freire What does `ifconfig wwan0 show` ? And what if you just try pinging `www.google.com`

## Reply by tom (ModalAI staff) · 2022-04-18 18:21:58 UTC

Actually the full output of `ifconfig` may be more helpful

## Reply by tom (ModalAI staff) · 2022-04-18 18:25:56 UTC

Was your previous test in the same location as well?

## Reply by Aldo Castro Freire · 2022-04-18 18:26:13 UTC

![de07a8b5-d935-4fdd-8bd7-842015d46e99-image.png](https://forum.modalai.com/assets/uploads/files/1650306315674-de07a8b5-d935-4fdd-8bd7-842015d46e99-image.png) 

this is what I get

## Reply by Aldo Castro Freire · 2022-04-18 18:43:20 UTC (in reply to tom)

@tom same location.

## Reply by tom (ModalAI staff) · 2022-04-18 19:14:59 UTC

@Aldo-Castro-Freire And pinging `google.com` fails the same as `8.8.8.8`?

## Reply by Aldo Castro Freire · 2022-04-18 19:23:37 UTC

it just hangs there, it does not even try I believe!!

## Reply by tom (ModalAI staff) · 2022-04-18 19:25:24 UTC

@Aldo-Castro-Freire Interesting, form what I can see, everything looks like it's running correctly on the software side since you're able to get an IP just fine but the internet connection itself doesn't work...

What does your antenna situation look like?

## Reply by Aldo Castro Freire · 2022-04-18 19:49:40 UTC

![modem-min.png](https://forum.modalai.com/assets/uploads/files/1650311375250-modem-min.png)
it was power-off at the moment of the photo

## Reply by tom (ModalAI staff) · 2022-04-18 19:51:56 UTC

@Aldo-Castro-Freire Okay that looks normal. Can you try testing the SIM card in another device such as a cellphone to verify it can establish a valid network connection at your location?

## Reply by Aldo Castro Freire · 2022-04-19 19:16:18 UTC

it is working fine on my phone

## Reply by Aldo Castro Freire · 2022-04-19 19:21:43 UTC

![7329aa22-886d-4a18-a79b-be1474d214df-image.png](https://forum.modalai.com/assets/uploads/files/1650396089796-7329aa22-886d-4a18-a79b-be1474d214df-image.png) 

I saw the wlan has a number for some odd reason

## Reply by tom (ModalAI staff) · 2022-04-19 19:24:15 UTC

@Aldo-Castro-Freire Looks like wlan0 is in softap mode, try doing `ifconfig wlan0 down` and then pinging. I wonder if the routing is getting confused

## Reply by Aldo Castro Freire · 2022-04-19 19:39:40 UTC

![9ffe526b-3b31-4204-869c-5afdf70ef7aa-image.png](https://forum.modalai.com/assets/uploads/files/1650397236953-9ffe526b-3b31-4204-869c-5afdf70ef7aa-image.png) 

after that ping just hangs there

## Reply by tom (ModalAI staff) · 2022-04-19 19:43:30 UTC

@Aldo-Castro-Freire Next thing to try

Disable the voxl-modem service from running automatically with:
```
systemctl disable voxl-modem
```

Then reboot your VOXL with:
```
reboot
```
(or power cycle)

Then ADB back in and run: 
```
voxl-modem-start.sh
```

and paste that output here as well as open a new shell and see if you're able to ping

## Reply by tom (ModalAI staff) · 2022-04-19 19:44:15 UTC

This would be running through what the voxl-modem service does in the background but gives us better visibility

## Reply by Aldo Castro Freire · 2022-04-19 20:28:23 UTC

this is my output
![b0a6e235-93ef-4560-9921-726b7d6a6587-image.png](https://forum.modalai.com/assets/uploads/files/1650400069312-b0a6e235-93ef-4560-9921-726b7d6a6587-image-resized.png) 

but it does not update time and no access to internet

## Reply by tom (ModalAI staff) · 2022-04-19 20:33:23 UTC

@Aldo-Castro-Freire From what I can see, everything looks good on both the hardware and the software side. It's possible it's an issue with the carrier. 

We use GoogleFi for all of our testing so I unfortunately can't provide any guidance on anything related to your carrier.

## Reply by Aldo Castro Freire · 2022-04-20 03:31:25 UTC

Today I tried using another provider for the SIM and it connected to the internet. Not sure where to start debugging this cause it is getting an IP, but I figure it needs internet access to get the time ?
