What's new

Asuswrt-Merlin 3.0.0.4.374.32 is out

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

Hi everyone, I am new here although have been following the forum for some time. Great job RMerlin with software development for Asus routers.

I just bought RT-AC56U, installed Merlin firmware 3.0.0.4.374.32 and have been trying to install Astrill applet following steps provided on Astrill website.

I did enable JFFS partition and also formatted it as per instructions from Astrill website but I am unable to install the Applet properly:

Make sure you rebooted the router after enabling and formatting JFFS. Check on the Tools -> Sysinfo page to confirm it is indeed properly initialized, if not reboot once more (some routers seem to require a second reboot).

Once you can confirm the JFFS partition is properly initialized on the Sysinfo page, proceed with the Astrill installation.

Also, note that the RT-AC56U is a different CPU architecture (ARM instead of MIPS). I don't know if Astrill supports it yet, you will have to ask their tech support.
 
Last edited:
Same here, only 5 where should be 9, also after rebooting. (RT-AC66U)

The Client List relies on ARP entries to build its list. If the client hasn't sent any traffic to the router yet or is behind a switch that means it hasn't sent traffic to the router itself yet but only on other devices on the same switch, then the client might not appear on the Networkmap yet.
 
The Client List relies on ARP entries to build its list. If the client hasn't sent any traffic to the router yet or is behind a switch that means it hasn't sent traffic to the router itself yet but only on other devices on the same switch, then the client might not appear on the Networkmap yet.

How come when you refresh the list it just spins forever even after it displays the devices ?
 
Make sure you rebooted the router after enabling and formatting JFFS. Check on the Tools -> Sysinfo page to confirm it is indeed properly initialized, if not reboot once more (some routers seem to require a second reboot).

Once you can confirm the JFFS partition is properly initialized on the Sysinfo page, proceed with the Astrill installation.

Also, note that the RT-AC56U is a different CPU architecture (ARM instead of MIPS). I don't know if Astrill supports it yet, you will have to ask their tech support.

Thanks RMerlin for your time.
The JFFS partition is properly initialized on the sysinfo page showing up "1.00 / 32.00 MB" space but the problem remains the same. Astrill Applet fail to install properly. "Astrill VPN" shows up below "Tools" but upon clicking on it, I get blank page:

"Firefox can't establish a connection to the server at 192.168.1.1:8998."

Also every time I reboot the router, "Astrill VPN" is no longer there on the left side. Any idea what could be wrong here?
 
How come when you refresh the list it just spins forever even after it displays the devices ?

Open your web browser error console and see if there's a Javascript error breaking the page (often the case if you have device names with invalid characters in their name). Otherwise, I would expect at least the computer you use to access the webui would show after a few seconds.
 
Thanks RMerlin for your time.
The JFFS partition is properly initialized on the sysinfo page showing up "1.00 / 32.00 MB" space but the problem remains the same. Astrill Applet fail to install properly. "Astrill VPN" shows up below "Tools" but upon clicking on it, I get blank page:

"Firefox can't establish a connection to the server at 192.168.1.1:8998."

Also every time I reboot the router, "Astrill VPN" is no longer there on the left side. Any idea what could be wrong here?

No idea. You will have to ask Astrill. Make sure you specify your router model and the fact this is an ARM-based router - it might be incompatible. Since I don't know anything about how they implemented their applet, I cannot help you.
 
No idea. You will have to ask Astrill. Make sure you specify your router model and the fact this is an ARM-based router - it might be incompatible. Since I don't know anything about how they implemented their applet, I cannot help you.

Thanks. My main reason to install this Applet was that it allows to exclude some network devices from VPN access, is it possible to achieve it in some other way?
 
Thanks. My main reason to install this Applet was that it allows to exclude some network devices from VPN access, is it possible to achieve it in some other way?

It will require manual tinkering with iptables to reproduce the same effect. Doable, but not simple if you aren't familiar with basic Linux networking.
 
I found some suggestion (on a Samba-related website) that the cause of the error 5 might be due to a corrupted wins.dat file. The advice was to stop nmbd and smbd and to delete that file, then restart. I couldn't find the file. So, I decided to shut off the WINS Server and Master Browser options in the router GUI and reboot the router. After the boot finished I turned those two options back on. I figured shutting the options off and back on might clearup the corrupted file. Since I turned those options back on I have yet to see the error messages recur, so it might indeed be fixed (although not a lot of time has gone by, so I may be jumping to a premature conclusion). Take that for what its worth.
--
bc


I tried this, the errors went away until I rebooted the router again, then they returned. My AC66u looks like it is acting as master browser for my WAN IP

Aug 26 17:50:00 nmbd[500]: [2013/08/26 17:50:00, 0] nmbd/nmbd_nameregister.c:register_name_response(130)
Aug 26 17:50:00 nmbd[500]: register_name_response: WINS server at IP 127.0.0.1 rejected our name registration of WORKGROUP<1b> IP 69.139.89.143 with error code 5.
Aug 26 17:50:00 nmbd[500]: [2013/08/26 17:50:00, 0] nmbd/nmbd_namelistdb.c:standard_fail_register(304)
Aug 26 17:50:00 nmbd[500]: standard_fail_register: Failed to register/refresh name WORKGROUP<1b> on subnet UNICAST_SUBNET
Aug 26 17:50:00 nmbd[500]: [2013/08/26 17:50:00, 0] nmbd/nmbd_nameregister.c:register_name_response(130)
Aug 26 17:50:00 nmbd[500]: register_name_response: WINS server at IP 127.0.0.1 rejected our name registration of RT-AC66U<00> IP 69.139.89.143 with error code 5.
Aug 26 17:50:00 nmbd[500]: [2013/08/26 17:50:00, 0] nmbd/nmbd_namelistdb.c:standard_fail_register(304)
Aug 26 17:50:00 nmbd[500]: standard_fail_register: Failed to register/refresh name RT-AC66U<00> on subnet UNICAST_SUBNET
Aug 26 17:50:00 nmbd[500]: [2013/08/26 17:50:00, 0] nmbd/nmbd_nameregister.c:register_name_response(130)
Aug 26 17:50:00 nmbd[500]: register_name_response: WINS server at IP 127.0.0.1 rejected our name registration of RT-AC66U<03> IP 69.139.89.143 with error code 5.
Aug 26 17:50:05 nmbd[500]: [2013/08/26 17:50:05, 0] nmbd/nmbd_become_dmb.c:become_domain_master_stage2(113)
Aug 26 17:50:05 nmbd[500]: Samba server RT-AC66U is now a domain master browser for workgroup WORKGROUP on subnet 192.168.1.1
Aug 26 17:50:05 nmbd[500]: [2013/08/26 17:50:05, 0] nmbd/nmbd_become_dmb.c:become_domain_master_stage2(113)
Aug 26 17:50:05 nmbd[500]: Samba server RT-AC66U is now a domain master browser for workgroup WORKGROUP on subnet 69.139.89.143
 
Last edited:
I tried this, the errors went away until I rebooted the router again, then they returned. My AC66u looks like it is acting as master browser for my WAN IP

For some reason that I never understood, Asus has Samba binds to both eth0 and br0. I might end up removing eth0 from smb.conf to see if it creates any other issue.

Note that this isn't a security issue itself as the firewall will still prevent connection attempts to Samba over WAN.
 
For some reason that I never understood, Asus has Samba binds to both eth0 and br0. I might end up removing eth0 from smb.conf to see if it creates any other issue.

Note that this isn't a security issue itself as the firewall will still prevent connection attempts to Samba over WAN.


These errors only surfaced in 374.32, any idea whats causing them? They used to appear every 15 minutes, now they just appear after a router reboot. They do go away if you disable forcing as master browser and disabling set as WINS server.
 
I'm using firmware build 3.0.0.4.374_257-ge8a4345 just downloaded it from the Asus site.

File name: FW_RT_N66U_3004374257.trx

seems even newer then what you are using the code from!?!?! .374_257
 
Last edited by a moderator:
I'm using firmware build 3.0.0.4.374_257-ge8a4345 just downloaded it from the Asus site.

That firmware is a Asus release this thread is about the new Merlin build release 3.0.0.4.374.32_0
 
Seems to be working well RT AC66 U , a bit slower on my Intel 5300 card and 6200 , as well Dlink DAP1522 has about half the signal strength my RT N 66U had on the 5ghz band . 2.4 band is stronger on all cards bridges , both intel cards , dap 1522 and linksys wrt 600 usb .
Just wish they would get the 5ghz band working well , is there a firmware that works better on this band with the RT AC 66 U ? .
 
Seems to be working well RT AC66 U , a bit slower on my Intel 5300 card and 6200 , as well Dlink DAP1522 has about half the signal strength my RT N 66U had on the 5ghz band . 2.4 band is stronger on all cards bridges , both intel cards , dap 1522 and linksys wrt 600 usb .
Just wish they would get the 5ghz band working well , is there a firmware that works better on this band with the RT AC 66 U ? .

I have noticed no difference in signal strength on either band with this new build. Both my Roku boxes show the same and same with the wireless computers. Anybody else notice any decrease in signal with this build ??
 
Just ran a shaper probe test and the results are good with the new build. Tested from my Acer laptop 40 feet from the router 5 Ghz band. :D

View attachment S-P.txt
 
Last edited by a moderator:
These errors only surfaced in 374.32, any idea whats causing them? They used to appear every 15 minutes, now they just appear after a router reboot. They do go away if you disable forcing as master browser and disabling set as WINS server.

As I said, this is probably happening because Asuswrt binds to the WAN interface, in addition to LAN. In 374 Asus changed the way they determine if Samba should bind to the wan interface or not - I suspect that previously they were not binding to WAN:

Code:
diff --git a/release/src/router/libdisk/write_smb_conf.c b/release/src/router/libdisk/write_smb_conf.c
index 92da495..3ced102 100644
--- a/release/src/router/libdisk/write_smb_conf.c
+++ b/release/src/router/libdisk/write_smb_conf.c
@@ -262,7 +262,10 @@ int main(int argc, char *argv[])
        if (strcmp(nvram_safe_get("st_max_user"), "") != 0)
                fprintf(fp, "max connections = %s\n", nvram_safe_get("st_max_user"));
 
-       fprintf(fp, "socket options = TCP_NODELAY SO_KEEPALIVE SO_RCVBUF=65536 SO_SNDBUF=65536\n");
+        /* remove socket options due to NIC compatible issue */
+#ifndef RTCONFIG_BCMARM
+        fprintf(fp, "socket options = TCP_NODELAY SO_KEEPALIVE SO_RCVBUF=65536 SO_SNDBUF=65536\n");
+#endif
        fprintf(fp, "obey pam restrictions = no\n");
        fprintf(fp, "use spne go = no\n");              // ASUS add
        fprintf(fp, "client use spnego = no\n");        // ASUS add
@@ -271,8 +274,12 @@ int main(int argc, char *argv[])
        fprintf(fp, "host msdfs = no\n");               // ASUS add
        fprintf(fp, "strict allocate = No\n");          // ASUS add
 //     fprintf(fp, "mangling method = hash2\n");       // ASUS add
+#ifndef RTCONFIG_BCMARM
        fprintf(fp, "bind interfaces only = yes\n");    // ASUS add
-       fprintf(fp, "interfaces = lo br0 %s\n", ( ( (!nvram_match("sw_mode", "3") && !nvram_match("sw_mode", "1")) || (!strcmp(nvram_safe_get("smbd_bind_wan"), 
+       fprintf(fp, "interfaces = lo br0 %s\n", (!nvram_match("sw_mode", "3") ? nvram_safe_get("wan0_ifname") : ""));
+#else
+       fprintf(fp, "interfaces = br0 %s\n", (!nvram_match("sw_mode", "3") ? nvram_safe_get("wan0_ifname") : ""));
+#endif
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,36)
        fprintf(fp, "use sendfile = no\n");
 #else

Makes me wonder if their router mode check might not just be backward. Mode 3 corresponds to Access Point mode. The current code states that Samba should only bind to WAN port if the router is NOT in access point mode. Previously, it also required a certain nvram setting to be set.

This means I will have to test in access point mode to see if it would make any sense for Samba to bind to WAN port. If yes, then I will assume they simply got their logic backward, and reverse it. Otherwise, I might just bind to the LAN bridge - this will (again) require further testing to ensure it doesn't break anything else.
 

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