GL.iNET Flint 2 (GL-MT6000) discussions

i found out that there was a wrong line in the old config (totally wrong, not a typo) that was differently read by 24.10 breaking the whole interface.

What was that line, so other people upgrading can learn?

1 Like

i have no access to the router and backup now, but basically:
the interface is a "unmanaged interface" (i have a couple), in the config file (/etc/config/network) these two interfaces were different: both had the "not managed" type and the vlan of the switch they belongs to, but one had another line describing the interface as a switch. Don't ask me why, no idea, also no idea why this was working with 23.05.5, but this broke everything since in this way the interface had no accesso to the vlan.
Removed the line, everything is ok

Edit to add: i want to specify that i always modify configs through Luci, i only go to cli when something is broke, so it was not a faulty cut and paste :slight_smile:

Same happened to me: In my case I got it for 118ā‚¬ on 11/11 deal, right now is 107ā‚¬...
I contacted GL.iNet and they told my to advice them when I recieve the router.
WeĀ“ll see...

Is there someone who can point me to the steps on replacing the uboot of this device to openwrt version. I know it is not recommended but I want to get rid of the stock one.

I found this commit but doesn't make any sense to me:

2 Likes

Respectfully... if you have to ask, it's probably not a good idea to even attempt. This question keeps getting brought up and it's baffling to me as the stock uboot works perfect & is extremely easy to operate even for the most novice of users.

5 Likes

I donā€™t agree. Do you think that the majority knows what to do when they brick there device flashing openwrt? And should that keep them away from doing it?

When the how to is good enough described anybody can do it.. itā€™s still the choice of the owner to do what he wants with its device..

About the original uboot, yeah it works fine, but that is not my reason. I would like to know what software is on my device and where it comes from, something these days that is getting more and more important.

1 Like

Thankfully, GL.iNet is practically the best vendor in the OpenWrt world.

You can browse the original uboot source here: gl-inet/mt798x-boot: ATF and u-boot for GL.iNet products based on mt798x

Than my next question is. How to verify that that source is also whatā€™s on my device? :slight_smile:

Thank you for making my point for me. :smiley: I think many do not, no, and the stock uboot allows these users to feel comfortable in getting their device back online.

As for your concerns about software and its origins, I can respect that and agreeā€¦ but in that case, buying a device and then worrying about its software origins is somewhat ā€œcart before the horseā€. As has been already linked - gl.inet is quite open about their sourceā€¦ which is a rarity in todayā€™s world.

5 Likes

Not really if the Wiki says you can flash the openwrt uboot but doesnā€™t give an instruction:)

1 Like

Just overwrite the partitions mentioned in the commit message and if you did good your device will still be alive after a reboot :blush:

2 Likes

Thanks that worked!

1 Like

How did you flash Openwrt uboot to the OEM uboot?
Please explain step by step.
Thanks

1 Like

Respectfully... if you have to ask, it's probably not a good idea to even attempt. This question keeps getting brought up and it's baffling to me as the stock uboot works perfect & is extremely easy to operate even for the most novice of users.

2 Likes

Amazon has our beloved at $122 for black friday deal if anyone interested :slight_smile:

5 Likes

Another crash:

Fri Nov 22 15:22:26 2024 daemon.err AdGuardHome[7571]: 2024/11/22 13:22:26.820925 [info] filtering: saving contents of filter 1 into "/tmp/adguardhome/data/filters/1.txt"
Fri Nov 22 15:22:26 2024 daemon.err AdGuardHome[7571]: 2024/11/22 13:22:26.821054 [info] filtering: updated filter 1: 1174650 bytes, 58242 rules
Fri Nov 22 15:22:28 2024 daemon.err AdGuardHome[7571]: 2024/11/22 13:22:28.323949 [info] filtering: saving contents of filter 1725825543 into "/tmp/adguardhome/data/filters/1725825543.txt"
Fri Nov 22 15:22:28 2024 daemon.err AdGuardHome[7571]: 2024/11/22 13:22:28.324092 [info] filtering: updated filter 1725825543: 2952127 bytes, 139293 rules
Fri Nov 22 15:22:30 2024 daemon.err AdGuardHome[7571]: 2024/11/22 13:22:30.550708 [info] filtering: saving contents of filter 1725825544 into "/tmp/adguardhome/data/filters/1725825544.txt"
Fri Nov 22 15:22:30 2024 daemon.err AdGuardHome[7571]: 2024/11/22 13:22:30.550837 [info] filtering: updated filter 1725825544: 10516477 bytes, 482543 rules
Fri Nov 22 15:22:31 2024 daemon.err AdGuardHome[7571]: 2024/11/22 13:22:31.068046 [info] filtering: saving contents of filter 1725825547 into "/tmp/adguardhome/data/filters/1725825547.txt"
Fri Nov 22 15:22:31 2024 daemon.err AdGuardHome[7571]: 2024/11/22 13:22:31.068187 [info] filtering: updated filter 1725825547: 27420 bytes, 1540 rules
Fri Nov 22 15:22:31 2024 daemon.err AdGuardHome[7571]: 2024/11/22 13:22:31.068214 [info] filtering: updated filter 1; rule count: 58242 (was 58206)
Fri Nov 22 15:22:31 2024 daemon.err AdGuardHome[7571]: 2024/11/22 13:22:31.068226 [info] filtering: updated filter 1725825543; rule count: 139293 (was 138862)
Fri Nov 22 15:22:31 2024 daemon.err AdGuardHome[7571]: 2024/11/22 13:22:31.068235 [info] filtering: updated filter 1725825544; rule count: 482543 (was 482477)
Fri Nov 22 15:22:31 2024 daemon.err AdGuardHome[7571]: 2024/11/22 13:22:31.068243 [info] filtering: updated filter 1725825547; rule count: 1540 (was 1541)
Fri Nov 22 15:22:41 2024 kern.warn kernel: [3785039.278443] smbd-notifyd invoked oom-killer: gfp_mask=0x1100cca(GFP_HIGHUSER_MOVABLE), order=0, oom_score_adj=0
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.288728] CPU: 1 PID: 2869 Comm: smbd-notifyd Not tainted 5.15.167 #0
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.295512] Hardware name: GL.iNet GL-MT6000 (DT)
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.300375] Call trace:
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.302980]  0xffffffc00801a0a4
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.306282]  0xffffffc00801a284
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.309582]  0xffffffc008830bec
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.312883]  0xffffffc008830c18
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.316183]  0xffffffc00882f144
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.319482]  0xffffffc008132044
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.322786]  0xffffffc008132a34
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.326099]  0xffffffc00817e628
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.329398]  0xffffffc00817e96c
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.332697]  0xffffffc00812e3b0
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.335997]  0xffffffc00812e860
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.339300]  0xffffffc0082f2c9c
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.342614]  0xffffffc008161f0c
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.345913]  0xffffffc008166e28
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.349212]  0xffffffc008167524
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.352511]  0xffffffc0080226f4
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.355810]  0xffffffc008022a1c
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.359108]  0xffffffc008022c10
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.362406]  0xffffffc008836254
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.365704]  0xffffffc00883663c
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.369003]  0xffffffc0080115cc
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.372322] Mem-Info:
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.374757] active_anon:94687 inactive_anon:107871 isolated_anon:0
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.374757]  active_file:318 inactive_file:765 isolated_file:0
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.374757]  unevictable:0 dirty:325 writeback:0
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.374757]  slab_reclaimable:8011 slab_unreclaimable:9857
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.374757]  mapped:1403 shmem:113542 pagetables:555 bounce:0
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.374757]  kernel_misc_reclaimable:0
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.374757]  free:9205 free_pcp:394 free_cma:0
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.411877] Node 0 active_anon:378748kB inactive_anon:431484kB active_file:1872kB inactive_file:3060kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:5712kB dirty:1300kB writeback:0kB shmem:454168kB writeback_tmp:0kB kernel_stack:2208kB pagetables:2220kB all_unreclaimable? no
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.437656] DMA free:36032kB min:16384kB low:20480kB high:24576kB reserved_highatomic:4096KB active_anon:378748kB inactive_anon:431484kB active_file:1568kB inactive_file:3948kB unevictable:0kB writepending:1300kB present:1048576kB managed:1012824kB mlocked:0kB bounce:0kB free_pcp:1544kB local_pcp:296kB free_cma:0kB
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.465678] lowmem_reserve[]: 0 0 0 0
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.469513] DMA: 564*4kB (UE) 517*8kB (UME) 529*16kB (UMEH) 385*32kB (UMEH) 92*64kB (UMEH) 3*128kB (H) 1*256kB (H) 0*512kB 0*1024kB 1*2048kB (H) 0*4096kB = 35752kB
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.484287] 114778 total pagecache pages
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.488377] 0 pages in swap cache
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.491850] Swap cache stats: add 0, delete 0, find 0/0
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.497234] Free swap  = 0kB
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.500272] Total swap = 0kB
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.503310] 262144 pages RAM
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.506347] 0 pages HighMem/MovableOnly
Fri Nov 22 15:22:41 2024 kern.debug kernel: [3785039.510344] 8938 pages reserved
Fri Nov 22 15:22:41 2024 kern.info kernel: [3785039.513643] Tasks state (memory values in pages):
Fri Nov 22 15:22:41 2024 kern.info kernel: [3785039.518505] [  pid  ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_adj name
Fri Nov 22 15:22:41 2024 kern.info kernel: [3785039.527288] [    768]    81   768      369       72    32768        0             0 ubusd
Fri Nov 22 15:22:41 2024 kern.info kernel: [3785039.535618] [    774]     0   774      227       20    32768        0             0 askfirst
Fri Nov 22 15:22:41 2024 kern.info kernel: [3785039.544211] [    825]     0   825      266       43    32768        0             0 urngd
Fri Nov 22 15:22:42 2024 kern.info kernel: [3785039.552551] [   1280]   514  1280      333       67    32768        0             0 logd
Fri Nov 22 15:22:42 2024 kern.info kernel: [3785039.560802] [   1334]     0  1334      942      206    40960        0             0 rpcd
Fri Nov 22 15:22:42 2024 kern.info kernel: [3785039.569050] [   1688]     0  1688      691       54    32768        0             0 hostapd
Fri Nov 22 15:22:42 2024 kern.info kernel: [3785039.577558] [   1689]     0  1689      691       39    32768        0             0 wpa_supplicant
Fri Nov 22 15:22:42 2024 kern.info kernel: [3785039.586676] [   1691]   101  1691     1211      228    40960        0             0 hostapd
Fri Nov 22 15:22:42 2024 kern.info kernel: [3785039.595188] [   1692]   101  1692     1119      161    36864        0             0 wpa_supplicant
Fri Nov 22 15:22:42 2024 kern.info kernel: [3785039.604323] [   1753]     0  1753      528       89    32768        0             0 netifd
Fri Nov 22 15:22:42 2024 kern.info kernel: [3785039.612748] [   1870]     0  1870      435       63    28672        0             0 odhcpd
Fri Nov 22 15:22:42 2024 kern.info kernel: [3785039.621172] [   1931]     0  1931      333       43    28672        0             0 crond
Fri Nov 22 15:22:42 2024 kern.info kernel: [3785039.629507] [   1997]     0  1997      705       93    36864        0             0 uhttpd
Fri Nov 22 15:22:42 2024 kern.info kernel: [3785039.637927] [   2046]     0  2046      468       60    28672        0             0 dbus-daemon
Fri Nov 22 15:22:42 2024 kern.info kernel: [3785039.646782] [   2098] 65534  2098      595       97    32768        0             0 avahi-daemon
Fri Nov 22 15:22:42 2024 kern.info kernel: [3785039.655719] [   2606]     0  2606     9608     1228    98304        0             0 smbd
Fri Nov 22 15:22:42 2024 kern.info kernel: [3785039.663967] [   2607]     0  2607     6459      374    81920        0             0 nmbd
Fri Nov 22 15:22:42 2024 kern.info kernel: [3785039.672221] [   2689]     0  2689      691       57    28672        0             0 ntpd
Fri Nov 22 15:22:42 2024 kern.info kernel: [3785039.680473] [   2712]   123  2712      329       43    28672        0             0 ntpd
Fri Nov 22 15:22:42 2024 kern.info kernel: [3785039.688720] [   2869]     0  2869     9177      465    94208        0             0 smbd-notifyd
Fri Nov 22 15:22:42 2024 kern.info kernel: [3785039.697661] [   2870]     0  2870     9183      467    94208        0             0 smbd-cleanupd
Fri Nov 22 15:22:42 2024 kern.info kernel: [3785039.706692] [   2914]     0  2914      277       44    32768        0             0 dropbear
Fri Nov 22 15:22:42 2024 kern.info kernel: [3785039.715284] [   7571]     0  7571   416296    85745   942080        0             0 AdGuardHome
Fri Nov 22 15:22:42 2024 kern.info kernel: [3785039.724158] [   7947]     0  7947      691       28    32768        0             0 dnsmasq
Fri Nov 22 15:22:42 2024 kern.info kernel: [3785039.732685] [   7966]   453  7966      465      140    32768        0             0 dnsmasq
Fri Nov 22 15:22:42 2024 kern.info kernel: [3785039.741196] [  27302]     0 27302      269       46    32768        0             0 odhcp6c
Fri Nov 22 15:22:42 2024 kern.info kernel: [3785039.749705] [  27303]     0 27303      329       41    28672        0             0 udhcpc
Fri Nov 22 15:22:42 2024 kern.info kernel: [3785039.758127] [  11676]     0 11676    11135      920    98304        0             0 ffmpeg
Fri Nov 22 15:22:42 2024 kern.info kernel: [3785039.766554] [   6910]     0  6910    10096      973   106496        0             0 smbd[192.168.1.
Fri Nov 22 15:22:42 2024 kern.info kernel: [3785039.775751] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/,task=AdGuardHome,pid=7571,uid=0
Fri Nov 22 15:22:42 2024 kern.err kernel: [3785039.788816] Out of memory: Killed process 7571 (AdGuardHome) total-vm:1665184kB, anon-rss:342764kB, file-rss:0kB, shmem-rss:216kB, UID:0 pgtables:920kB oom_score_adj:0
Fri Nov 22 15:27:17 2024 daemon.warn dnsmasq[1]: Maximum number of concurrent DNS queries reached (max: 150)
Fri Nov 22 15:27:49 2024 daemon.warn dnsmasq[1]: Maximum number of concurrent DNS queries reached (max: 150)
Fri Nov 22 15:27:55 2024 daemon.warn dnsmasq[1]: Maximum number of concurrent DNS queries reached (max: 150)
Fri Nov 22 15:28:36 2024 daemon.warn dnsmasq[1]: Maximum number of concurrent DNS queries reached (max: 150)
Fri Nov 22 15:28:43 2024 daemon.warn dnsmasq[1]: Maximum number of concurrent DNS queries reached (max: 150)
Fri Nov 22 15:28:57 2024 daemon.warn dnsmasq[1]: Maximum number of concurrent DNS queries reached (max: 150)
Fri Nov 22 15:29:07 2024 daemon.warn dnsmasq[1]: Maximum number of concurrent DNS queries reached (max: 150)
Fri Nov 22 15:29:15 2024 daemon.warn dnsmasq[1]: Maximum number of concurrent DNS queries reached (max: 150)
Fri Nov 22 15:29:39 2024 daemon.warn dnsmasq[1]: Maximum number of concurrent DNS queries reached (max: 150)
Fri Nov 22 15:29:46 2024 daemon.warn dnsmasq[1]: Maximum number of concurrent DNS queries reached (max: 150)
Fri Nov 22 15:29:59 2024 daemon.warn dnsmasq[1]: Maximum number of concurrent DNS queries reached (max: 150)
Fri Nov 22 15:30:24 2024 daemon.warn dnsmasq[1]: Maximum number of concurrent DNS queries reached (max: 150)

Adguardhome and Samba(?) hogging memory?

Not mt6000 related, likely.

Might be a memory overflow (?).


Most of it is used as cache. But total available is still plenty.

Hello. I love mikrotik but since their wifi sucks I'm thinking Imto come back to openwrt do you think flint 2 is a good option?