GL-MT6000 Use USB for log

Hello all,

Model GL.iNet GL-MT6000
Architecture ARMv8 Processor rev 4
OpenWrt Version OpenWrt 23.05-SNAPSHOT r23001+721-38c150612c
Kernel Version 5.15.139

It is the correct way that I have chosen to save the logs from adblock to the usb memory?


3490]: download of 'reg_kr' failed, url: https://raw.githubusercontent.com/List-KR/List-KR/master/filters-share/adservice.txt, rule: BEGIN{FS="[|^]"}/^\|\|([[:alnum:]_-]{1,63}\.)+[[:alpha:]]+\^(\$third-party)?$/{print tolower($3)}, categories: -, rc: 6, log: curl: (6) Could not resolve host: raw.githubusercontent.com
Tue Jan 23 17:56:39 2024 user.debug adblock-4.1.5[3490]: f_list   ::: name: -, mode: merge, cnt: 427163, in_rc: 4, out_rc: 0
Tue Jan 23 17:57:10 2024 user.debug adblock-4.1.5[3490]: f_tld    ::: source: /tmp/tmp.AoFFAJ/adb_list.overall, cnt: 427163, cnt_tld: 311540
Tue Jan 23 17:57:14 2024 user.debug adblock-4.1.5[3490]: f_list   ::: name: -, mode: final, cnt: 311540, in_rc: 4, out_rc: 0
Tue Jan 23 17:57:15 2024 user.debug adblock-4.1.5[3490]: f_dnsup  ::: dns: dnsmasq, cache_cmd: -, lookup_cmd: /usr/bin/nslookup, lookup_domain: example.com, restart_rc: 0, dns_flush: 0, dns_timeout: 20, dns_cnt: 0, in_rc: 0, out_rc: 0
Tue Jan 23 17:57:15 2024 user.debug adblock-4.1.5[3490]: f_jsnup  ::: status: enabled, cnt: 311540, mail: 0, mail_service: /etc/adblock/adblock.mail, mail_cnt: 0, mail_pid: -
Tue Jan 23 17:57:15 2024 user.info adblock-4.1.5[3490]: blocklist with overall 311540 blocked domains loaded successfully (GL.iNet GL-MT6000, OpenWrt 23.05-SNAPSHOT r23001+721-38c150612c)
Tue Jan 23 17:57:15 2024 user.debug adblock-4.1.5[3490]: f_rmtemp ::: tmp_dir: /tmp/tmp.AoFFAJ, src_file: /tmp/adb_sources.json, pid_file: /var/run/adblock.pid


ue Jan 23 17:58:00 2024 cron.err crond[4433]: user root: process already running: sleep 30;. /lib/functions/modem.sh;check_ip
Tue Jan 23 17:58:00 2024 cron.err crond[4433]: USER root pid 8613 cmd . /lib/functions/modem.sh;check_ip
Tue Jan 23 17:58:00 2024 cron.err crond[4433]: USER root pid 8614 cmd . /lib/functions/modem.sh;modem_net_monitor

ue Jan 23 18:00:00 2024 cron.err crond[4433]: USER root pid 9161 cmd . /lib/functions/modem.sh;check_ip
Tue Jan 23 18:00:00 2024 cron.err crond[4433]: USER root pid 9162 cmd sleep 30;. /lib/functions/modem.sh;check_ip
Tue Jan 23 18:00:00 2024 cron.err crond[4433]: USER root pid 9163 cmd . /lib/functions/modem.sh;modem_net_monitor
3490]: download of 'reg_kr' failed, url: https://raw.githubusercontent.com/List-KR/List-KR/master/filters-share/adservice.txt, rule: BEGIN{FS="[|^]"}/^\|\|([[:alnum:]_-]{1,63}\.)+[[:alpha:]]+\^(\$third-party)?$/{print tolower($3)}, categories: -, rc: 6, log: curl: (6) Could not resolve host: raw.githubusercontent.com

Could not resolve host: raw.githubusercontent.com … now I find that hard to believe. I’d check that you can browse to that specific web site; there may be a ‘false positive’ on one of your block lists.

Your drive is showing as mounted in LuCI. Here’s something you’d probably have to do in the future anyway so now’s a good time as any to confirm it:

  • Fr SSH: opkg update; opkg install openssh-sftp-server
  • Download a Secure File Transfer Protocol (SFTP) app.
  • Login to 192.168.8.1, port 22, root & your GL GUI password via said app
  • Navigate to the USB drive’s path/mount point
  • Upload, download some files (eg: music, video clips, whatever) to confirm read, write access as the root user.

See the attached HOW-TO for details how to SSH into the device, SFTP app recommendation:


& crop your images before upload, pls. Paint.NET is free. Geez.