What's new

[Fork] Asuswrt-Merlin 374.43 LTS releases (Archive)

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

dave14305
Whole evolution is result of many errors)

Now it says:

Code:
+ [ 0 = 0 ]
+ [ connected = connected ]
+ FROM=my email
+ AUTH=my login
+ PASS=my pass
+ FROMNAME=Your Router
+ TO=my email
+ echo Subject: WAN state notification
+ echo From: \Your Router\<my email>
+ date -R
+ echo Date: Fri, 05 Jun 2020 21:08:14 +0300
+ echo
+ echo I just got connected to the internet.
+ echo
+ cat /tmp/mail.txt
+ sendmail exec openssl s_client -quiet -CAfile /tmp/Equifax_Secure_Certificate_Authority.pem -connect smtp.gmail.com:587 -tls1 -starttls smtp -fmyemail -aumylogin -apmypass myemail
sendmail: can't connect to remote host (127.0.0.1): Connection refused
+ rm /tmp/mail.txt

sendmail: can't connect to remote host (127.0.0.1): Connection refused
You need to use the -H parameter for sendmail and enclose the exec openssl in quotes.
Code:
sendmail -H 'exec openssl s_client -quiet -CAfile /tmp/Equifax_Secure_Certificate_Authority.pem -connect smtp.gmail.com:587 -tls1 -starttls smtp' -fmyemail -aumylogin -apmypass myemail
 
dave14305
exec openssl were quoted already, but for some reason quotes gone after use CODE tags...

i added -H parameter, and finally it works!
Both ways, manual and rebooting.

Strange, because wan-start script is works manually without -H

Anyways, thank you Dave!
 
Last edited:
Good night. Can not connect my Huawei E3372 in HiLink mode to latest build (E5) on RT-AC66U.
Do not know why, but it works ok with latest asus firmware. :(
What I see from logs is: dnsmasq[745]: nameserver 192.168.8.1 refused to do a recursive query.

How can i set it up?

*ADDED*
Strange thing - is that it doesn't work even after settings changes and after reboot. But when i manually (phisically) disconnect usb modem from router and connect it again after, within 40-60 sec. it connect with internet. Why it happens?
 
Last edited:
And tried to install Skynet, amtm displayed that it is not suppported
Code:
_____________________________________________

 Skynet install failed,
 IPSet version on router not supported:

 ipset v4.5, protocol version 4.
 Kernel module protocol version 4.
_____________________________________________
Is it ok? Why it doesn't supported?
 
Please don't double post.
And tried to install Skynet, amtm displayed that it is not suppported
Code:
_____________________________________________

 Skynet install failed,
 IPSet version on router not supported:

 ipset v4.5, protocol version 4.
 Kernel module protocol version 4.
_____________________________________________
Is it ok? Why it doesn't supported?
https://www.snbforums.com/threads/r...curity-enhancements.16798/page-94#post-377024
Unfortunately it does not support MIPS based routers due to their ancient kernel.
 
Hi,

I have been running a legacy build for a while, with good stability on my N66U. Recently put the latest E build on, and now my router reboots every couple of days due to what looks like a memory leak somewhere. Syslog trace available, hopefully it can be fixed?

Factory reset done, jffs formatted and currently disabled - reboots still happen. No USB devices are plugged in, just a VDSL circuit.

J
 
I'm trying to figure out how the "upload a file" option works on here haha, but this was what gave me a clue:

2020-06-07 13:01:09 User.Warning 10.10.xx.yy Jun 7 13:01:10 kernel: watchdog invoked oom-killer: gfp_mask=0xd0, order=0, oomkilladj=0
2020-06-07 13:01:09 User.Warning 10.10.xx.yy Jun 7 13:01:10 kernel: Call Trace:
2020-06-07 13:01:09 User.Warning 10.10.xx.yy Jun 7 13:01:10 kernel: [<8000f41c>] dump_stack+0x8/0x34
2020-06-07 13:01:09 User.Warning 10.10.xx.yy Jun 7 13:01:10 kernel: [<80057508>] out_of_memory+0x1fc/0x264
2020-06-07 13:01:09 User.Warning 10.10.xx.yy Jun 7 13:01:10 kernel: [<8005937c>] __alloc_pages+0x318/0x360
2020-06-07 13:01:09 User.Warning 10.10.xx.yy Jun 7 13:01:10 kernel: [<800593ec>] __get_free_pages+0x28/0x4c
2020-06-07 13:01:09 User.Warning 10.10.xx.yy Jun 7 13:01:10 kernel: [<800c073c>] proc_info_read+0x58/0x174
2020-06-07 13:01:09 User.Warning 10.10.xx.yy Jun 7 13:01:10 kernel: [<8007d864>] vfs_read+0xbc/0x164
2020-06-07 13:01:09 User.Warning 10.10.xx.yy Jun 7 13:01:10 kernel: [<8007de2c>] sys_read+0x50/0xbc
2020-06-07 13:01:09 User.Warning 10.10.xx.yy Jun 7 13:01:10 kernel: [<800111b0>] stack_done+0x20/0x44
2020-06-07 13:01:09 User.Warning 10.10.xx.yy Jun 7 13:01:10 kernel: Mem-info:
2020-06-07 13:01:09 User.Warning 10.10.xx.yy Jun 7 13:01:10 kernel: Normal per-cpu:
2020-06-07 13:01:09 User.Warning 10.10.xx.yy Jun 7 13:01:10 kernel: CPU 0: Hot: hi: 186, btch: 31 usd: 31 Cold: hi: 62, btch: 15 usd: 52
2020-06-07 13:01:09 User.Warning 10.10.xx.yy Jun 7 13:01:10 kernel: HighMem per-cpu:
2020-06-07 13:01:09 User.Warning 10.10.xx.yy Jun 7 13:01:10 kernel: CPU 0: Hot: hi: 186, btch: 31 usd: 182 Cold: hi: 62, btch: 15 usd: 10
2020-06-07 13:01:09 User.Warning 10.10.xx.yy Jun 7 13:01:10 kernel: Active:2431 inactive:2191 dirty:0 writeback:0 unstable:0
2020-06-07 13:01:09 User.Warning 10.10.xx.yy Jun 7 13:01:10 kernel: free:27266 slab:25955 mapped:756 pagetables:115 bounce:0
2020-06-07 13:01:09 User.Warning 10.10.xx.yy Jun 7 13:01:10 kernel: Normal free:2868kB min:2884kB low:3604kB high:4324kB active:12kB inactive:0kB present:520192kB pages_scanned:66 all_unreclaimable? yes
2020-06-07 13:01:09 User.Warning 10.10.xx.yy Jun 7 13:01:10 kernel: lowmem_reserve[]: 0 14224
2020-06-07 13:01:09 User.Warning 10.10.xx.yy Jun 7 13:01:10 kernel: HighMem free:106196kB min:512kB low:3032kB high:5556kB active:9712kB inactive:8764kB present:1820672kB pages_scanned:0 all_unreclaimable? no
2020-06-07 13:01:10 User.Debug 10.10.xx.yy Jun 7 13:01:10 kernel: OOMkill: task 381 (u2ec) got 11 points
2020-06-07 13:01:10 User.Debug 10.10.xx.yy Jun 7 13:01:10 kernel: OOMkill: task 382 (u2ec) got 11 points
2020-06-07 13:01:10 User.Debug 10.10.xx.yy Jun 7 13:01:10 kernel: OOMkill: task 383 (u2ec) got 11 points
2020-06-07 13:01:10 User.Debug 10.10.xx.yy Jun 7 13:01:10 kernel: OOMkill: task 385 (lpd) got 6 points
2020-06-07 13:01:10 User.Debug 10.10.xx.yy Jun 7 13:01:10 kernel: OOMkill: task 469 (ntp) got 14 points
2020-06-07 13:01:10 User.Debug 10.10.xx.yy Jun 7 13:01:10 kernel: OOMkill: task 476 (disk_monitor) got 14 points
2020-06-07 13:01:10 User.Debug 10.10.xx.yy Jun 7 13:01:10 kernel: OOMkill: task 478 (miniupnpd) got 4 points
2020-06-07 13:01:10 User.Error 10.10.xx.yy Jun 7 13:01:10 kernel: Out of memory: kill process 344 (dnsmasq) score 106 or a child
2020-06-07 13:01:10 User.Error 10.10.xx.yy Jun 7 13:01:10 kernel: Killed process 344 (dnsmasq)
2020-06-07 13:01:10 User.Warning 10.10.xx.yy Jun 7 13:01:11 kernel: init invoked oom-killer: gfp_mask=0xd0, order=0, oomkilladj=0
2020-06-07 13:01:10 User.Warning 10.10.xx.yy Jun 7 13:01:11 kernel: Call Trace:
2020-06-07 13:01:10 User.Warning 10.10.xx.yy Jun 7 13:01:11 kernel: [<8000f41c>] dump_stack+0x8/0x34
2020-06-07 13:01:10 User.Warning 10.10.xx.yy Jun 7 13:01:11 kernel: [<80057508>] out_of_memory+0x1fc/0x264
2020-06-07 13:01:10 User.Warning 10.10.xx.yy Jun 7 13:01:11 kernel: [<8005937c>] __alloc_pages+0x318/0x360
2020-06-07 13:01:10 User.Warning 10.10.xx.yy Jun 7 13:01:11 kernel: [<800593ec>] __get_free_pages+0x28/0x4c
2020-06-07 13:01:10 User.Warning 10.10.xx.yy Jun 7 13:01:11 kernel: [<800c073c>] proc_info_read+0x58/0x174
2020-06-07 13:01:10 User.Warning 10.10.xx.yy Jun 7 13:01:11 kernel: [<8007d864>] vfs_read+0xbc/0x164
2020-06-07 13:01:10 User.Warning 10.10.xx.yy Jun 7 13:01:11 kernel: [<8007de2c>] sys_read+0x50/0xbc
2020-06-07 13:01:10 User.Warning 10.10.xx.yy Jun 7 13:01:11 kernel: [<800111b0>] stack_done+0x20/0x44
2020-06-07 13:01:10 User.Debug 10.10.xx.yy Jun 7 13:01:11 kernel: OOMkill: task 333 (telnetd) got 7 points
2020-06-07 13:01:10 User.Debug 10.10.xx.yy Jun 7 13:01:11 kernel: OOMkill: task 336 (eapd) got 6 points
2020-06-07 13:01:10 User.Debug 10.10.xx.yy Jun 7 13:01:11 kernel: OOMkill: task 339 (wpsaide) got 14 points
2020-06-07 13:01:10 User.Debug 10.10.xx.yy Jun 7 13:01:11 kernel: OOMkill: task 342 (nas) got 8 points
2020-06-07 13:01:10 User.Debug 10.10.xx.yy Jun 7 13:01:11 kernel: OOMkill: task 345 (httpd) got 25 points
2020-06-07 13:01:10 User.Debug 10.10.xx.yy Jun 7 13:01:11 kernel: OOMkill: task 347 (crond) got 7 points
2020-06-07 13:01:10 User.Debug 10.10.xx.yy Jun 7 13:01:11 kernel: OOMkill: task 348 (infosvr) got 6 points
2020-06-07 13:01:10 User.Debug 10.10.xx.yy Jun 7 13:01:11 kernel: OOMkill: task 349 (networkmap) got 6 points
2020-06-07 13:01:10 User.Debug 10.10.xx.yy Jun 7 13:01:11 kernel: OOMkill: task 351 (watchdog) got 7 points
2020-06-07 13:01:10 User.Debug 10.10.xx.yy Jun 7 13:01:11 kernel: OOMkill: task 352 (rstats) got 7 points
2020-06-07 13:01:10 User.Debug 10.10.xx.yy Jun 7 13:01:11 kernel: OOMkill: task 351 (watchdog) got 7 points
2020-06-07 13:01:10 User.Debug 10.10.xx.yy Jun 7 13:01:11 kernel: OOMkill: task 352 (rstats) got 7 points
2020-06-07 13:01:10 User.Debug 10.10.xx.yy Jun 7 13:01:11 kernel: OOMkill: task 357 (watchdog02) got 4 points
2020-06-07 13:01:10 User.Debug 10.10.xx.yy Jun 7 13:01:11 kernel: OOMkill: task 360 (ots) got 14 points
2020-06-07 13:01:10 User.Debug 10.10.xx.yy Jun 7 13:01:11 kernel: OOMkill: task 364 (lld2d) got 6 points
2020-06-07 13:01:10 User.Debug 10.10.xx.yy Jun 7 13:01:11 kernel: OOMkill: task 369 (udhcpc) got 7 points
2020-06-07 13:01:10 User.Debug 10.10.xx.yy Jun 7 13:01:11 kernel: OOMkill: task 371 (pppd) got 7 points
2020-06-07 13:01:10 User.Debug 10.10.xx.yy Jun 7 13:01:11 kernel: OOMkill: task 375 (usbled) got 14 points
2020-06-07 13:01:10 User.Debug 10.10.xx.yy Jun 7 13:01:11 kernel: OOMkill: task 381 (u2ec) got 11 points
2020-06-07 13:01:10 User.Debug 10.10.xx.yy Jun 7 13:01:11 kernel: OOMkill: task 382 (u2ec) got 11 points
2020-06-07 13:01:10 User.Warning 10.10.xx.yy Jun 7 13:01:12 kernel: watchdog invoked oom-killer: gfp_mask=0xd0, order=0, oomkilladj=0
2020-06-07 13:01:10 User.Warning 10.10.xx.yy Jun 7 13:01:12 kernel: Call Trace:
2020-06-07 13:01:10 User.Warning 10.10.xx.yy Jun 7 13:01:12 kernel: [<8000f41c>] dump_stack+0x8/0x34
2020-06-07 13:01:10 User.Warning 10.10.xx.yy Jun 7 13:01:12 kernel: [<80057508>] out_of_memory+0x1fc/0x264
2020-06-07 13:01:10 User.Warning 10.10.xx.yy Jun 7 13:01:12 kernel: [<8005937c>] __alloc_pages+0x318/0x360
2020-06-07 13:01:10 User.Warning 10.10.xx.yy Jun 7 13:01:12 kernel: [<800593ec>] __get_free_pages+0x28/0x4c
2020-06-07 13:01:10 User.Warning 10.10.xx.yy Jun 7 13:01:12 kernel: [<800c073c>] proc_info_read+0x58/0x174
2020-06-07 13:01:10 User.Warning 10.10.xx.yy Jun 7 13:01:12 kernel: [<8007d864>] vfs_read+0xbc/0x164
2020-06-07 13:01:10 User.Warning 10.10.xx.yy Jun 7 13:01:12 kernel: [<8007de2c>] sys_read+0x50/0xbc
2020-06-07 13:01:10 User.Warning 10.10.xx.yy Jun 7 13:01:12 kernel: [<800111b0>] stack_done+0x20/0x44
2020-06-07 13:01:11 User.Warning 10.10.xx.yy Jun 7 13:01:12 kernel: HighMem free:109916kB min:512kB low:3032kB high:5556kB active:6088kB inactive:8764kB present:1820672kB pages_scanned:0 all_unreclaimable? no
2020-06-07 13:01:11 User.Warning 10.10.xx.yy Jun 7 13:01:12 kernel: lowmem_reserve[]: 0 0
2020-06-07 13:01:11 User.Warning 10.10.xx.yy Jun 7 13:01:12 kernel: Normal: 1*4kB 1*8kB 1*16kB 1*32kB 0*64kB 0*128kB 1*256kB 1*512kB 0*1024kB 1*2048kB 0*4096kB = 2876kB
2020-06-07 13:01:11 User.Warning 10.10.xx.yy Jun 7 13:01:12 kernel: HighMem: 313*4kB 233*8kB 179*16kB 134*32kB 37*64kB 8*128kB 0*256kB 2*512kB 1*1024kB 0*2048kB 23*4096kB = 109916kB
2020-06-07 13:01:11 User.Warning 10.10.xx.yy Jun 7 13:01:12 kernel: Swap cache: add 0, delete 0, find 0/0, race 0+0
2020-06-07 13:01:11 User.Warning 10.10.xx.yy Jun 7 13:01:12 kernel: Free swap = 0kB
2020-06-07 13:01:11 User.Warning 10.10.xx.yy Jun 7 13:01:12 kernel: Total swap = 0kB
2020-06-07 13:01:11 User.Warning 10.10.xx.yy Jun 7 13:01:12 kernel: Free swap: 0kB
2020-06-07 13:01:11 User.Warning 10.10.xx.yy Jun 7 13:01:12 kernel: 589823 pages of RAM
2020-06-07 13:01:11 User.Warning 10.10.xx.yy Jun 7 13:01:12 kernel: 458751 pages of HIGHMEM
 
I can't see anything obvious in the syslog (apart from the oom of course). There's a suggestion that it might be a problem with dnsmasq.

Can you log into the router and issue the following commands. But unless you catch it shortly before it runs out of memory it probably won't show anything.
Code:
free

ps w | sort -g -k 3 | tail -15
 
Thanks for replying...here's the output:

jason@RT-N66U-7190:/tmp/home/root# free
total used free shared buffers cached
Mem: 239672 131588 108084 0 7600 25052
-/+ buffers/cache: 98936 140736
Swap: 0 0 0
jason@RT-N66U-7190:/tmp/home/root# ps w | sort -g -k 3 | tail -15
381 jason 2180 S u2ec
388 jason 2180 S u2ec
389 jason 2180 S u2ec
156 jason 2832 S console
314 jason 2840 S /sbin/wanduck
339 jason 2840 S wpsaide
351 jason 2840 S watchdog
353 jason 2840 S watchdog02
355 jason 2840 S ots
375 jason 2840 S usbled
469 jason 2840 S ntp
477 jason 2840 S disk_monitor
1 jason 2848 S /sbin/init noinitrd
345 jason 5144 S httpd
321 jason 6552 S /usr/sbin/haveged -r0 -w1024
 
Thanks. That looks pretty normal. I think you're going to have to monitor it and hope to spot something just before it crashes.

I suggest that you re-enable jffs scripts and setup a cron job that periodically writes that information to a file or the syslog.

Or you could just try an older version of the firmware and see if the problem goes away.
 
and now my router reboots every couple of days due to what looks like a memory leak somewhere
Definitely strange. The only time I have seen memory problems with dnsmasq is when someone was trying to do 'dns poisoning' and loading a large number of hosts entries.

Just to make sure things are all straight in loading the image....disable jffs, then reflash the firmware, then re-enable jffs and boot twice in row.
 
Good night. Can not connect my Huawei E3372 in HiLink mode to latest build (E5) on RT-AC66U.
Do not know why, but it works ok with latest asus firmware. :(
What I see from logs is: dnsmasq[745]: nameserver 192.168.8.1 refused to do a recursive query.

How can i set it up?

*ADDED*
Strange thing - is that it doesn't work even after settings changes and after reboot. But when i manually (phisically) disconnect usb modem from router and connect it again after, within 40-60 sec. it connect with internet. Why it happens?
There were a lot of changes in the wan start code in dealing with USB modems (Huawei HiLink mode is especially troublesome since it wants to start it's own DHCP server and provide its own NAT services). I'll put it on my list to take a look at, but I really can't commit anything right now.
 
Hey all, great to see @john9527 is active again!

Currently running 41E8 on my N66U, and just saw there is a 44E5 release!

Should I be able to just upgrade in-place, or should I do an NVRAM reset and build everything again? Reading through some of the changelogs in the meantime!
 
Hey all, great to see @john9527 is active again!

Currently running 41E8 on my N66U, and just saw there is a 44E5 release!

Should I be able to just upgrade in-place, or should I do an NVRAM reset and build everything again? Reading through some of the changelogs in the meantime!
Just do it, no reset should be necessary. But if it blows out your porch light, we never had this conversation...
 
Hey all, great to see @john9527 is active again!

Currently running 41E8 on my N66U, and just saw there is a 44E5 release!

Should I be able to just upgrade in-place, or should I do an NVRAM reset and build everything again? Reading through some of the changelogs in the meantime!
Just a note for all the MIPS based routers....you may need to reformat JFFS after the upgrade since the code size grew a bit (we already had one user that had to do that).
https://www.snbforums.com/threads/f...lts-releases-v44e5.18914/page-539#post-590624
 
Thank you for your hard work and efforts to keep those older devices supported.
I just flashed 3.0.0.4.374.43_44E5j9527 on my RT-AC66u, did a factory reset as well but it keeps reporting the following "issue";

Your Wi-Fi network has not been encrypted yet and is at risk. We recommend that you create a password for your network to avoid security risks.
Change now (2.4GHz)

My router is in Media bridge mode connected over 5GHz, so is this a false positive?

EDIT;
Found this post from a while back, but i believe it did not get a response?
https://www.snbforums.com/threads/f...lts-releases-v44e5.18914/page-353#post-365742
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!

Staff online

Top