What's new

Asuswrt-Merlin 3.0.0.4.354.27 Beta 1

  • 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!

Free Memory

Actually, 60 MB free RAM is probably no reason to worry. The built-in busybox free command (linux command that displays information about memory usage) & the "Tools - System Information" web gui page do not show you the memory used by the kernel cache. The linux kernel can use almost all free memory for cache, but will free it up when a process requests more memory. Install the entware procps-free package to see the complete memory information.

Example from my router:

built-in free command:
Code:
/usr/bin/free
             total         used         free       shared      buffers
Mem:        239860       171236        [B]68624[/B]            0         2480
-/+ buffers:             168756        [B]71104[/B]
Swap:            0            0            0
It seems I have only 68MB of free RAM (71 if I add the buffers)

free from procps-free:
Code:
/opt/bin/free
             total       used       free     shared    buffers     cached
Mem:        239860     171236      68624          0       2524     [B]144368[/B]
-/+ buffers/cache:      [B]24344[/B]     [B]215516[/B]
Swap:            0          0          0
The used & free numbers are the same, but you can see that 144MB is used by the kernel cache. So, running/sleeping processes only actually consume 24MB and 215MB is still available (see the "-/+ buffers/cache" line).

Edit:
You can get even more memory stats via "cat /proc/meminfo" (it also includes the cache information & you do not need to install entware for this).
Code:
cat /proc/meminfo
MemTotal:       239860 kB
MemFree:         68624 kB
Buffers:          2524 kB
[B]Cached:         144368 kB[/B]
SwapCached:          0 kB
Active:          22596 kB
Inactive:       130468 kB
HighTotal:      131072 kB
HighFree:         6264 kB
LowTotal:       108788 kB
LowFree:         62360 kB
SwapTotal:           0 kB
SwapFree:            0 kB
Dirty:               0 kB
Writeback:           0 kB
AnonPages:        6176 kB
Mapped:           3424 kB
Slab:            10064 kB
SReclaimable:     1712 kB
SUnreclaim:       8352 kB
PageTables:        468 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
CommitLimit:    119928 kB
Committed_AS:    14256 kB
VmallocTotal:  1015800 kB
VmallocUsed:      5496 kB
VmallocChunk:  1006680 kB

RMerlin can maybe add the cache information to the webgui, so that people do not get worried by "low memory conditions".
 
Last edited:
Just got an n66r to use as an AP for 7 wifi cameras. Those cameras KILL the router. Going to try this firmware.
 
Last edited:
No way, are you sure? Merlin has stated n66r is the same and the firmware readme mentions both. Just flashed. I only use merlin, no stock :)

Merline, one little bug, the export config no longer uses n66R eg. Settings_RT-N66R.CFG like the latest stable build. No big deal but I did almost delete my primary routers backup.

Supported Devices
-----------------
Supported devices are:
* RT-N66U and RT-N66R
* RT-AC66U and RT-AC66R

These devices have experimental support (because I don't own one to test it):
* RT-N16
 
No way, are you sure? Merlin has stated n66r is the same and the firmware readme mentions both. Just flashed. I only use merlin, no stock :)

Merline, one little bug, the export config no longer uses n66R eg. Settings_RT-N66R.CFG like the latest stable build. No big deal but I did almost delete my primary routers backup.
Hi,

You are right Sir! :)

I downloaded and compared the firmware from Asus homepage for both routers and compared it:
Code:
chief@laptop1:~/Data/Downloads/xyz$ cmp -bl FW_RT_N66U_B1_3004354.trx FW_RT_N66R_3004354.trx 
chief@laptop1:~/Data/Downloads/xyz$
The size of the .trx files is equal (although the .zip files are not) and there is absolutely NO difference between this two firmware files.

I wonder how Asus finds out which router hardware it is to show the different router names... :rolleyes:

With kind regards
Joe :cool:
 
RMerlin can maybe add the cache information to the webgui, so that people do not get worried by "low memory conditions".

Too technical for the average user. It will only lead to even more questions, and requests to display even more data on the sysinfo page.

RAM usage shouldn't go up that much over time, buffers or not, since it didn't previously. There could be a memory leak, I will have to see if I can reproduce it here (my router gets rebooted far too often these days to notice anything yet).
 
attachment.php


I wouldn't worry too much about it. Attached is the memory useage of my asus since I bought it...
 

Attachments

  • asus-year.png
    asus-year.png
    16.6 KB · Views: 646
That hover code is not present in the GPL archive, only in their released firmwares. Looks like a last-minute addition Asus did (or something they pulled out at the last minute but forgot to rebuild the FW), the GPL archive only contains the clickable popup window.

If it works properly I can extract it from the compiled firmware.

The fact that the HTML pages from the released firmwares differ from those in the GPL archive are worrying me. I will have to do a full diff between the FW and the GPL to see if there is anything else I might be missing (webui-wise).

Just being curious, how do you retrieve files from the compiled firmware or from the router on stock firmware without ssh?
 
RT-AC66U reboot

Using 3.0.0.4.354.27b1 about 3 days (reset config to default), and noticed that my router became to lost connection sometimes.
Last time tried to watch movie from minidlna running at connected to LAN MyBookLive, and connection broken 3 times during hour. I logged to UI and at system log I see that uptime shown as zero, so it looks as router rebooted without any objective reasons. Where I can found/configure additional logs to track down that problem?
 
Where I can found/configure additional logs to track down that problem?
Hi,

Maybe it would be good to have a history of the syslog.log: When the problem occours it might be logged before reboot! :rolleyes:

You can use my suggested "versioning" of syslog.log to USB device as decribed in this posting.

The "old" syslog.log get's backuped before then new syslog is moved to the backup location.

With kind regards
Joe :cool:
 
Using 3.0.0.4.354.27b1 about 3 days (reset config to default), and noticed that my router became to lost connection sometimes.
Last time tried to watch movie from minidlna running at connected to LAN MyBookLive, and connection broken 3 times during hour. I logged to UI and at system log I see that uptime shown as zero, so it looks as router rebooted without any objective reasons. Where I can found/configure additional logs to track down that problem?

Not much you could do logging-wise if the router is rebooting itself.

The first thing I would suspect is that your minidlna database is filling up all available RAM. Keep an eye on the Sysinfo page to see how much free RAM you have over time. Could also be minidlna trying to process a corrupted file - its parser isn't the most robust.
 
Not much you could do logging-wise if the router is rebooting itself.

The first thing I would suspect is that your minidlna database is filling up all available RAM. Keep an eye on the Sysinfo page to see how much free RAM you have over time. Could also be minidlna trying to process a corrupted file - its parser isn't the most robust.
To clarify, minidlna running at external NAS, I didn't use built-in mindlna.
 
You could just have had it replaced by another RT-AC66R. Mine doesn't have any issue, highest temperature is around 63C on the 5 GHz radio. You probably simply had a defective unit.

Probably should have explained what happened. I bought a N66R from Best Buy. When I went to pick it up, they gave me an AC66R instead accidentally. Didn't realize this until I was having problems haha. So by returning it for a new one I had to get the actual N66R I bought and paid for :p
 
Code:
Apr  3 00:57:27 cstats[546]: Problem loading /mnt/sda1/WebHistory/tomato_cstats_60a44c210c10.gz. Still trying...
Apr  3 01:01:43 cstats[546]: Problem loading /mnt/sda1/WebHistory/tomato_cstats_60a44c210c10.gz. Still trying...

looks like something wrong????
 
Code:
Apr  3 00:57:27 cstats[546]: Problem loading /mnt/sda1/WebHistory/tomato_cstats_60a44c210c10.gz. Still trying...
Apr  3 01:01:43 cstats[546]: Problem loading /mnt/sda1/WebHistory/tomato_cstats_60a44c210c10.gz. Still trying...

looks like something wrong????
Yep, your path settings to the traffic history are defintly wrong! :mad:

Can you check the path 'prefix' with mount and df -h commands?

In my case it looks like:
Code:
admin@ASUS_RT-N66U:/tmp/home/root# [B]mount[/B]
/dev/sda4 on /tmp/mnt/Data type ext3 (rw,nodev,noatime,data=ordered)
/dev/sdb1 on /tmp/mnt/sdcard type ext3 (rw,nodev,noatime,data=ordered)
/dev/sdb1 on /tmp/opt type ext3 (rw,nodev,noatime,data=ordered)
admin@ASUS_RT-N66U:/tmp/home/root# [B]df -h[/B]
Filesystem                Size      Used Available Use% Mounted on
/dev/sda4               686.6G    152.1G    499.6G  23% /tmp/mnt/Data
/dev/sdb1               956.1M     42.8M    864.7M   5% /tmp/mnt/sdcard
/dev/sdb1               956.1M     42.8M    864.7M   5% /tmp/opt

In my case the full path would look like: /tmp/mnt/Data/WebHistory/.
Where /tmp/mnt/Data is the mount point - not changeable - and
WebHistory is the Folder which need to be created first! :eek:

With kind regards
Joe :cool:
 
here what i got:

Code:
admin@RT-AC66U:/tmp/home/root# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
proc on /proc type proc (rw)
tmpfs on /tmp type tmpfs (rw)
devfs on /dev type tmpfs (rw,noatime)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw)
/dev/mtdblock5 on /jffs type jffs2 (rw,noatime)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sda1 on /tmp/mnt/sda1 type ext2 (rw,nodev,noatime)
admin@RT-AC66U:/tmp/home/root# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                23.3M     23.3M         0 100% /
tmpfs                   117.0M      2.2M    114.8M   2% /tmp
devfs                   117.0M         0    117.0M   0% /dev
/dev/mtdblock5           32.0M      1.0M     31.0M   3% /jffs
/dev/sda1                 7.0G      9.0M      6.6G   0% /tmp/mnt/sda1


after this fix I do not have this problem....

Code:
1) Switched logging back to RAM and pressed "Apply"

2) Switched logging to Custom Location again, specified folder and made sure that "Create or reset data files:" AND "Create or reset advanced data files" are both set to "Yes". Then pressed "Apply".
 
Last edited:
also I dod not know if its normal but every time when I open router share in windows I get this in log:

Code:
Apr  3 01:25:12 smbd[751]: [2013/04/03 01:25:12, 0] libsmb/ntlm_check.c:smb_pwd_check_ntlmv1(55)
Apr  3 01:25:12 smbd[751]:   smb_pwd_check_ntlmv1: incorrect password length (74)
Apr  3 01:25:12 smbd[751]: [2013/04/03 01:25:12, 0] libsmb/ntlm_check.c:smb_pwd_check_ntlmv1(55)
Apr  3 01:25:12 smbd[751]:   smb_pwd_check_ntlmv1: incorrect password length (74)
Apr  3 01:25:40 smbd[751]: [2013/04/03 01:25:40, 0] libsmb/ntlm_check.c:smb_pwd_check_ntlmv1(55)
Apr  3 01:25:40 smbd[751]:   smb_pwd_check_ntlmv1: incorrect password length (74)
Apr  3 01:25:40 smbd[751]: [2013/04/03 01:25:40, 0] libsmb/ntlm_check.c:smb_pwd_check_ntlmv1(55)
Apr  3 01:25:40 smbd[751]:   smb_pwd_check_ntlmv1: incorrect password length (74)
Apr  3 01:25:40 smbd[751]: [2013/04/03 01:25:40, 0] libsmb/ntlm_check.c:smb_pwd_check_ntlmv1(55)
Apr  3 01:25:40 smbd[751]:   smb_pwd_check_ntlmv1: incorrect password length (74)
Apr  3 01:25:40 smbd[751]: [2013/04/03 01:25:40, 0] libsmb/ntlm_check.c:smb_pwd_check_ntlmv1(55)
Apr  3 01:25:40 smbd[751]:   smb_pwd_check_ntlmv1: incorrect password length (74)

in windows it did not aks me about any password.....
 

Latest threads

Sign Up For SNBForums Daily Digest

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