Would yes or no effect basic functionality? Could there be buffering or other minor differences that would be worsened by either? All I do is basic routing, DoT and DNSfiltering set to Router, no scripts added.It's easier to just set the option to Yes.
Would yes or no effect basic functionality? Could there be buffering or other minor differences that would be worsened by either? All I do is basic routing, DoT and DNSfiltering set to Router, no scripts added.
local DNS as resolver
v
client -> router --yes--> dnsmasq -> stubby -> DNS server
| ^
+------no-----------------------------+
server=/ntp_server0/ntp_server1/wan_dns
server=/ntp_server0/ntp_server1/ipv6_dns
If you're using DoT you will probably want it off. The clients always go through the router/dnsmasq/stubby, but if set to 'no' the router will skip dnsmasq/stubby. This could be important since stubby needs the system time to be correct, and to get the correct time you need to go through stubby.
Code:local DNS as resolver v client -> router --yes--> dnsmasq -> stubby -> DNS server | ^ +------no-----------------------------+
I think it would be better to configure dnsmasq to skip stubby for ntp, at least until the time is set, which could be done by adding:
to /tmp/resolv.dnsmasq. But for now the yes/no toggle can fix anything that breaks.Code:server=/ntp_server0/ntp_server1/wan_dns server=/ntp_server0/ntp_server1/ipv6_dns
so hypothetically you could assign any ntp server and any dns address just for the sake of getting ntp.Those are just the nvram names for them, wan_dns actually has space separated entries and ipv6 entries are in the form ipv6_dns1 - ipv6_dns3. They're automatic from your ISP I think.
would it be safe to self compile and flash with what you have done already in the mainline as far as the new GPL goes or would you say there is still more work that needs to be done to make it work with your code?Finally got my hands on GPL 45717. The piece of code that was worrying me should not be a problem, it should be fairly easy to disable.
Also, very little code changes since 45713, so I suspect that the security issues reported in their changelog are mostly tied to AiCloud.
I'm still getting the dcd crashes. Diversion, scknet, jrfresh scripts running. No VPN.
If you're using DoT you will probably want it off. The clients always go through the router/dnsmasq/stubby, but if set to 'no' the router will skip dnsmasq/stubby. This could be important since stubby needs the system time to be correct, and to get the correct time you need to go through stubby.
Code:local DNS as resolver v client -> router --yes--> dnsmasq -> stubby -> DNS server | ^ +------no-----------------------------+
I think it would be better to configure dnsmasq to skip stubby for ntp, at least until the time is set, which could be done by adding:
to /tmp/resolv.dnsmasq. But for now the yes/no toggle can fix anything that breaks.Code:server=/ntp_server0/ntp_server1/wan_dns server=/ntp_server0/ntp_server1/ipv6_dns
would it be safe to self compile and flash with what you have done already in the mainline as far as the new GPL goes or would you say there is still more work that needs to be done to make it work with your code?
Yea I flashed it and had to do a firmware recovery. Fortunately the firmware recovery worked I am in the process of reflashing everything and resetting it up.It's alpha code that barely got any testing done. The only test I did was to flash it on an RT-AC88U to confirm that it booted correctly.
384.12 (xx-xxx-2019)
- NEW: Added WSD discovery support. This allows Windows clients
to detect the router's shared USB drive even if SMB1
is disabled.
May 22 08:04:51 smbd[14481]: [2019/05/22 08:04:51.407265, 0] smbd/negprot.c:706(reply_negprot)
May 22 08:04:51 smbd[14481]: No protocol supported !
May 22 08:04:52 smbd[14484]: [2019/05/22 08:04:52.253534, 0] smbd/negprot.c:706(reply_negprot)
May 22 08:04:52 smbd[14484]: No protocol supported !
May 22 08:04:53 smbd[14485]: [2019/05/22 08:04:53.096780, 0] smbd/negprot.c:706(reply_negprot)
May 22 08:04:53 smbd[14485]: No protocol supported !
May 22 08:04:53 smbd[14490]: [2019/05/22 08:04:53.940747, 0] smbd/negprot.c:706(reply_negprot)
May 22 08:04:53 smbd[14490]: No protocol supported !
rc: fix parameter order when launching wsdd2
He has recently put up a fix for the protocol that he hasn't compiled globally yet. I can confirm the fix has worked for me.Returning to Samba issue ...
From Change Log
Code:384.12 (xx-xxx-2019) - NEW: Added WSD discovery support. This allows Windows clients to detect the router's shared USB drive even if SMB1 is disabled.
MS have made many security issue changes in Windows 10 subsequent to early releases - beginning with dumping the "HomeGroup" and then dropping SMB1 protocol as a default install.
In the early releases of Win10 - setting the AC5300's Samba settings to "Simpler share naming" - Yes; "Master Browser" - Yes; and "WINS server" - Yes; worked a treat and facilitated quick access to all local PC shares from every WIN10 box and from MAC's with High Sierra or Mojave. It even showed an icon for the AC5300 under "Devices".
However the latest releases of Windows 10 [winver 1803 and 1809] have broken that functionality - and without invoking SMB1 Client protocol the router is simply not seen at all.
@RMerlin I can confirm after extensive testing that, despite change log quote above, without SMB1 invoked on the workstations - the router is still not discovered by Win10 PC's. Further - if you change router SMB settings to SMB2 only [instead of both] - errors appear in syslog: -
[Errors may be irrelevant?] - but router cannot be seen by any Win10 PC's - with or without SMB1 invoked on the Win10 workstations.Code:May 22 08:04:51 smbd[14481]: [2019/05/22 08:04:51.407265, 0] smbd/negprot.c:706(reply_negprot) May 22 08:04:51 smbd[14481]: No protocol supported ! May 22 08:04:52 smbd[14484]: [2019/05/22 08:04:52.253534, 0] smbd/negprot.c:706(reply_negprot) May 22 08:04:52 smbd[14484]: No protocol supported ! May 22 08:04:53 smbd[14485]: [2019/05/22 08:04:53.096780, 0] smbd/negprot.c:706(reply_negprot) May 22 08:04:53 smbd[14485]: No protocol supported ! May 22 08:04:53 smbd[14490]: [2019/05/22 08:04:53.940747, 0] smbd/negprot.c:706(reply_negprot) May 22 08:04:53 smbd[14490]: No protocol supported !
Returning router setting to SMB1+SMB2 and invoking SMB1 Client on Win10 PC's brings back access to the shared USB drive - although it remains slow and is the last discovered network device in "Network Neighbourhood".
I checked all Win10 firewall settings and services - problem is not there.
After my dirty flash went bad.. I used firmware recovery to fix everything. then I flashed to the compile with new binary blobs and every thing appears to be in working order.It's alpha code that barely got any testing done. The only test I did was to flash it on an RT-AC88U to confirm that it booted correctly.
Code:rc: fix parameter order when launching wsdd2
He has recently put up a fix for the protocol that he hasn't compiled globally yet. I can confirm the fix has worked for me.
May 5 07:05:10 WAN_Connection: Fail to connect with some issues.
.... [lots in-between] ...
May 5 07:05:15 WAN_Connection: WAN was restored.
Would be good to hold off until WAN up and Time synced .
Well, this problem is related to the https://www.snbforums.com/threads/the-network-cable-is-unplugged-on-rt-ax88u-11.56524/ problem, and the solution you propose would effectively sort out the problem, BUT I think that the wait for ntp syncronization should be done with a timeout (maybe 2-3 minutes?). After all, we do not want routers that do not complete initialization when the WAN is really down (not available).
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!