My BBGW after a office wifi failure was disconnected from internet, pings google.com ok but can´t browse internet again

Everything was working just fine on office wifi. After a failure in the office wifi the BBGW could no longer connect to the internet, I can ping 8.8.8.8 just fine

debian@beaglebone:/var/lib/cloud9$ cat /etc/resolv.conf

Generated by Connection Manager

nameserver 2806:1040:ffff:4::e
nameserver 2806:1050:ffff:4::e
nameserver 192.168.1.254
debian@beaglebone:/var/lib/cloud9$ ping 192.168.8.1
PING 192.168.8.1 (192.168.8.1) 56(84) bytes of data.
64 bytes from 192.168.8.1: icmp_seq=1 ttl=64 time=0.359 ms
64 bytes from 192.168.8.1: icmp_seq=2 ttl=64 time=0.258 ms
64 bytes from 192.168.8.1: icmp_seq=3 ttl=64 time=0.300 ms
^C
— 192.168.8.1 ping statistics —
3 packets transmitted, 3 received, 0% packet loss, time 16ms
rtt min/avg/max/mdev = 0.258/0.305/0.359/0.046 ms

debian@beaglebone:/var/lib/cloud9$ dig google.com @8.8.8.8

; <<>> DiG 9.11.5-P4-5.1+deb10u6-Debian <<>> google.com @8.8.8.8
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40468
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;google.com. IN A

;; ANSWER SECTION:
google.com. 300 IN A 142.250.65.142

;; Query time: 64 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Thu Dec 09 11:03:27 CST 2021
;; MSG SIZE rcvd: 55

debian@beaglebone:/var/lib/cloud9$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 214M 0 214M 0% /dev
tmpfs 49M 424K 48M 1% /run
/dev/mmcblk0p1 15G 4.3G 9.5G 32% /
tmpfs 242M 0 242M 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 242M 0 242M 0% /sys/fs/cgroup
debian@beaglebone:/var/lib/cloud9$ sudo systemctl status dnsmasq
[sudo] password for debian:
● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
Loaded: loaded (/lib/systemd/system/dnsmasq.service; disabled; vendor preset: enabled)
Active: active (running) since Thu 2021-12-09 10:50:23 CST; 38min ago
Process: 1306 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=0/SUCCESS)
Process: 1308 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=exited, status=0/SUCCESS)
Process: 1315 ExecStartPost=/etc/init.d/dnsmasq systemd-start-resolvconf (code=exited, status=0/SUCCESS)
Main PID: 1314 (dnsmasq)
Tasks: 1 (limit: 1024)
Memory: 1.1M
CGroup: /system.slice/dnsmasq.service
└─1314 /usr/sbin/dnsmasq -x /run/dnsmasq/dnsmasq.pid -u dnsmasq -7 /etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new --local-service

Dec 09 10:50:27 beaglebone dnsmasq[1314]: using nameserver 2806:1050:ffff:4::e#53
Dec 09 10:50:27 beaglebone dnsmasq[1314]: using nameserver 192.168.1.254#53
Dec 09 10:51:04 beaglebone dnsmasq[1314]: reading /etc/resolv.conf
Dec 09 10:51:04 beaglebone dnsmasq[1314]: using nameserver 2806:1040:ffff:4::e#53
Dec 09 10:51:04 beaglebone dnsmasq[1314]: using nameserver 2806:1050:ffff:4::e#53
Dec 09 10:51:04 beaglebone dnsmasq[1314]: using nameserver 192.168.1.254#53
Dec 09 10:53:31 beaglebone dnsmasq-dhcp[1314]: DHCPREQUEST(SoftAp0) 192.168.8.105 78:45:61:c4:b0:b9
Dec 09 10:53:31 beaglebone dnsmasq-dhcp[1314]: DHCPACK(SoftAp0) 192.168.8.105 78:45:61:c4:b0:b9 GERONSYSLAB
Dec 09 11:27:38 beaglebone dnsmasq-dhcp[1314]: DHCPREQUEST(SoftAp0) 192.168.8.105 78:45:61:c4:b0:b9
Dec 09 11:27:38 beaglebone dnsmasq-dhcp[1314]: DHCPACK(SoftAp0) 192.168.8.105 78:45:61:c4:b0:b9 GERONSYSLAB
debian@beaglebone:/var/lib/cloud9$