# 5G Tailscale Issue

Source: https://forum.modalai.com/topic/2315/5g-tailscale-issue
Category: VOXL 2 and VOXL 2 Mini (https://forum.modalai.com/category/26/voxl-2-and-voxl-2-mini)
Tags: voxl-2
Posted: 2023-06-23 16:24:08 UTC by wilkinsaf
Replies: 6 · Views: 1768

## wilkinsaf · 2023-06-23 16:24:08 UTC

Hello, 

This is more of a tailscale issue, but posting here in case anyone else has the same issue. Tailscale does not seem to be able to login when over the 5G network. It works with ethernet. 
Here is what I am getting from tailscaled

```
Jun 23 16:07:48 m0054 tailscaled[3097]: Backend: logs: be:6feec492d187d4286feb020b54269c96758da6b3645570e8bd11ec4d79cdf802 fe:
Jun 23 16:07:48 m0054 tailscaled[3097]: control: client.Login(false, 0)
Jun 23 16:07:48 m0054 tailscaled[3097]: health("overall"): error: not in map poll
Jun 23 16:07:48 m0054 tailscaled[3097]: control: doLogin(regen=false, hasUrl=false)
Jun 23 16:08:18 m0054 tailscaled[3097]: logtail: dial "log.tailscale.io:443" failed: dial tcp 34.229.201.48:443: i/o timeout (in 30.002s), trying bootstrap...
Jun 23 16:08:21 m0054 tailscaled[3097]: control: trying bootstrapDNS("derp1g.tailscale.com", "209.177.145.120") for "controlplane.tailscale.com" ...
Jun 23 16:08:24 m0054 tailscaled[3097]: control: bootstrapDNS("derp1g.tailscale.com", "209.177.145.120") for "controlplane.tailscale.com" error: Get "https://derp1g.tailscale.com/bootstrap-dns?q=controlplane.tailscale.com": context deadline exceeded
Jun 23 16:08:24 m0054 tailscaled[3097]: control: trying bootstrapDNS("derp20b.tailscale.com", "2403:2500:8000:1::ef6") for "controlplane.tailscale.com" ...
Jun 23 16:08:24 m0054 tailscaled[3097]: control: bootstrapDNS("derp20b.tailscale.com", "2403:2500:8000:1::ef6") for "controlplane.tailscale.com" error: Get "https://derp20b.tailscale.com/bootstrap-dns?q=controlplane.tailscale.com": dial tcp [2403:2500:8000:1::ef6]:443: connect: network is unreachable
Jun 23 16:08:24 m0054 tailscaled[3097]: control: trying bootstrapDNS("derp7b.tailscale.com", "103.84.155.178") for "controlplane.tailscale.com" ...
Jun 23 16:08:27 m0054 tailscaled[3097]: control: bootstrapDNS("derp7b.tailscale.com", "103.84.155.178") for "controlplane.tailscale.com" error: Get "https://derp7b.tailscale.com/bootstrap-dns?q=controlplane.tailscale.com": context deadline exceeded
Jun 23 16:08:27 m0054 tailscaled[3097]: control: trying bootstrapDNS("derp11b.tailscale.com", "2607:f740:1::211") for "controlplane.tailscale.com" ...
Jun 23 16:08:27 m0054 tailscaled[3097]: control: bootstrapDNS("derp11b.tailscale.com", "2607:f740:1::211") for "controlplane.tailscale.com" error: Get "https://derp11b.tailscale.com/bootstrap-dns?q=controlplane.tailscale.com": dial tcp [2607:f740:1::211]:443: connect: network is unreachable
Jun 23 16:08:27 m0054 tailscaled[3097]: control: trying bootstrapDNS("derp10d.tailscale.com", "192.73.240.132") for "controlplane.tailscale.com" ...
```

I DID notice that my version of VOXL suite has not been production released yet
![ebfc3ebd-b7e1-433f-918d-913730e2258e-image.png](https://forum.modalai.com/assets/uploads/files/1687537436021-ebfc3ebd-b7e1-433f-918d-913730e2258e-image.png) 

So, I am going to move to 0.9.5 and see what happens

## Reply by wilkinsaf · 2023-06-23 17:06:19 UTC

installed 0.9.5, and did an apt-get update and apt-get upgrade. Noticed a few issues

![e8662cf8-fc3f-4c58-8837-d0e5139e66ee-image.png](https://forum.modalai.com/assets/uploads/files/1687539977177-e8662cf8-fc3f-4c58-8837-d0e5139e66ee-image.png)

## Reply by wilkinsaf · 2023-06-23 17:56:44 UTC (in reply to wilkinsaf)

So 0.9.5 did not work to setup the Quectel modem. Have to run SDK version 1.0.0
![24d256bb-96bb-4b08-bb30-6c8ae4fe1823-image.png](https://forum.modalai.com/assets/uploads/files/1687543003226-24d256bb-96bb-4b08-bb30-6c8ae4fe1823-image.png)

## Reply by wilkinsaf · 2023-06-23 17:57:42 UTC (in reply to wilkinsaf)

DNS also working

```
voxl2:~$ ping google.com
PING google.com (142.250.190.14): 56 data bytes
64 bytes from 142.250.190.14: icmp_seq=0 ttl=53 time=23.521 ms
64 bytes from 142.250.190.14: icmp_seq=1 ttl=53 time=38.412 ms
^C--- google.com ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 23.521/30.966/38.412/7.446 ms
voxl2:~$
```

## Reply by wilkinsaf · 2023-06-23 18:01:29 UTC (in reply to wilkinsaf)

ALthough curl is having an issue

![27b6a80d-79a3-447a-84cf-5f5ab1a63c1c-image.png](https://forum.modalai.com/assets/uploads/files/1687543288373-27b6a80d-79a3-447a-84cf-5f5ab1a63c1c-image.png)

## Reply by wilkinsaf · 2023-06-23 18:11:51 UTC (in reply to wilkinsaf)

Going to try and figure out why dnsmasq is failing

```
voxl2:~$ systemctl status dnsmasq
● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
   Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled; vendor preset: enabled)
   Active: failed (Result: protocol) since Fri 2023-06-23 18:00:15 UTC; 10min ago
  Process: 1641 ExecStop=/etc/init.d/dnsmasq systemd-stop-resolvconf (code=exited, status=0/SUCCESS)
  Process: 1468 ExecStartPost=/etc/init.d/dnsmasq systemd-start-resolvconf (code=exited, status=0/SUCCESS)
  Process: 1424 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=killed, signal=HUP)
  Process: 1395 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=0/SUCCESS)

Jun 23 18:00:15 m0054 systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server...
Jun 23 18:00:15 m0054 dnsmasq[1395]: dnsmasq: syntax check OK.
Jun 23 18:00:15 m0054 dnsmasq[1468]: Too few arguments.
Jun 23 18:00:15 m0054 dnsmasq[1468]: Too few arguments.
Jun 23 18:00:15 m0054 systemd[1]: dnsmasq.service: Can't open PID file /run/dnsmasq/dnsmasq.pid (yet?) after start-post: No such file or directory
Jun 23 18:00:15 m0054 dnsmasq[1641]: Too few arguments.
Jun 23 18:00:15 m0054 systemd[1]: dnsmasq.service: Failed with result 'protocol'.
Jun 23 18:00:15 m0054 systemd[1]: Failed to start dnsmasq - A lightweight DHCP and caching DNS server.

```

## Reply by wilkinsaf · 2023-06-23 18:14:07 UTC (in reply to wilkinsaf)

It is because port 53 is already in use

```
Jun 23 18:12:02 m0054 dnsmasq[3420]: failed to create listening socket for port 53: Address already in use
Jun 23 18:12:02 m0054 dnsmasq[3420]: FAILED to start up
Jun 23 18:12:02 m0054 systemd[1]: dnsmasq.service: Control process exited, code=exited status=2
Jun 23 18:12:02 m0054 systemd[1]: dnsmasq.service: Failed with result 'exit-code'.
Jun 23 18:12:02 m0054 systemd[1]: Failed to start dnsmasq - A lightweight DHCP and caching DNS server.
```
