Search results

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

  1. ASAT

    nohup does nor work, am I doing something wrong?

    nohup didn't work for me either. The Entware-ng repository has an app called 'screen'. Setup Entware-ng, then: opkg update opkg install screen Running Screen Then, to use it, type... screen sh It will open another terminal instance. You can now start a process you want to be able to leave...
  2. ASAT

    Disable Internet for Guest Network

    Here's another way to do it. Thanks to Merlin for cluing me in on the fact that ASUS chose ebtables for AP host isolation, instead of using iptables' bridged netfilter with the xt_physdev matching module. /jffs/scripts/firewall-start NETADDR=$(/usr/sbin/ip route | /bin/grep br0 | /usr/bin/cut...
  3. ASAT

    compiling firmware for rt-ac68p --> fix dms_rescan=0

    Here's what I did. My patch remove all traces of MiniDLNA from the Asuswrt-Merlin firmware. Then I install MiniDLNA from the Entware-ng repository for easy upgrades in the future. cd ~/asuswrt-merlin patch -p2 -i ../asuswrt-merlin-380.57-arm-nodms.patch cd...
  4. ASAT

    Dnscrypt from opendns

    My fake clock (above) sets the system clock very early in the boot process, unlike Entware-ng fake-hwclock. It may fix the issue, or not. However, here's more info on the topic. http://www.snbforums.com/threads/rt-ac68u-wont-sync-ntp-v-378-56.27872/page-2 What does it show? nvram get...
  5. ASAT

    NTP Daemon for ASUSWRT/Merlin

    Mines is configured to send only NEMA sentence $GPZDA. Example: $GPZDA,122235.00,13,01,2016,00,00*65 Maybe you do not need GPSD at all? The Garmin device should be set to output standard NEMA sentences to /dev/ttyUSB0. Then you tell NTPD how to configure the serial port through the server...
  6. ASAT

    NTP Daemon for ASUSWRT/Merlin

    I would try 9600 baud, or whatever is the default for the Garmin device. Then type 'cat /dev/ttyUSB0'. If you don't see any NEMA sentences, the problem could be the Garmin device. If you do see NEMA sentences, then you may use the Garmin proprietary commands to turn off all NEMA sentences...
  7. ASAT

    NTP Daemon for ASUSWRT/Merlin

    If your PPS is working properly you will typically see a microseconds scale on the chart, not a milliseconds scale. A "u" is microseconds and "m" is milliseconds. Check /tmp/syslog.log for PPS issues related to NTPD.
  8. ASAT

    Time wait bucket overflow

    This happened to me once, then I did a factory reset and it fixed the problem. Not sure if this is useful to your situation: What does it show? nvram get ct_tcp_timeout My router (RT-AC68U Asuswrt-Merlin 380.57) shows this values: 0 432000 120 60 120 120 10 60 30 0
  9. ASAT

    Dnscrypt from opendns

    I think Yes. However, Entware-ng depends on the USB storage. And my USB storage mounts properly most of the time. Most of the time my router boots up without needing a human intervention to power cycle it. The fake hardware clock piece is good for beginners. Just install the app and it...
  10. ASAT

    RT-AC68U serial ports?

    Where is /dev/ttyS1 on the circuit board? If the pinouts are accessible, then I have plans for it. This unit has 2 UARTs. /dev/ttyS0 is the console port and I can see the 4 pins on the circuit board. However, I cannot see the pins (or pin holes) for /dev/ttyS1 on the board. Does anyone...
  11. ASAT

    How to block ip camera from accessing the internet

    If you completely block the NVR from accessing the Internet, it won't be able to synchronize its clock via NTP. This means your video streams won't show an accurate timestamp. So you might want to not block UDP port 123. Most NVR units have an internal network for the cameras that you cannot...
  12. ASAT

    Dnscrypt from opendns

    OK, here's a different way. I have no way to test it because the ASUS NTP client is removed in my firmware. This technique separates NTP clock synchronization from the DNS lookup of the NTP server name. It stores the IP addresses of the NTP servers in a file. Every 10 days it will refresh...
  13. ASAT

    NTP Daemon for ASUSWRT/Merlin

    Here's my fixed GPS connected to the RT-AC68U router. The FT232RL USB-to-serial converter has a jumper to select either 3.3V TTL or 5V TTL. http://www.snbforums.com/threads/set-the-router-clock-with-a-gps-receiver-for-under-70.26981/page-4#post-213194
  14. ASAT

    Dnscrypt from opendns

    Here's a script that just outputs the NTP server addresses. And I fixed the wan-start so kills and restarts the ntpc service. /jffs/home/show-ntp-servers #!/bin/sh # cache some IP addresses for the NTP server ntp_name="pool.ntp.org" local_ntp_name="-$ntp_name" hostip_cmd="/jffs/bin/hostip" N=1...
  15. ASAT

    Dnscrypt from opendns

    I have two routers. One for home and another for travel. The way I just described is for my travel router. It uses the console port on the circuit board to automatically set the clock using an Ardiono Nano. However, the router must be opened up, using a credit card, and the required...
  16. ASAT

    Proper way change MAC Clone entry via Telnet?

    A random, fully automatic MAC, with openssl: AUTOMAC=$(m=$(/usr/sbin/openssl rand -hex 6|/usr/bin/tr [a-z] [A-Z]) && /bin/echo ${m:0:2}:${m:2:2}:${m:4:2}:${m:6:2}:${m:8:2}:${m:10:2}) echo $AUTOMAC
  17. ASAT

    NTP Daemon for ASUSWRT/Merlin

    Here's my patch file for the Asuswrt-Merlin 380.57 Linux kernel for ARM routers. It enables the USB-to-serial drivers: FTDI, CH341 and PL2303. And it disables the GSM modem driver. It also enables the kernel for use with NTPd and PPS over USB. asuswrt-merlin-380.57-usbtimepps-arm.patch
  18. ASAT

    Dnscrypt from opendns

    This problem can be fixed with real-time clock inside the router. 1. Open the router and identify where the serial console port is. 2. Buy this pieces on eBay: Arduino Nano DS3231 real-time clock SN74LS14N Hex Schmitt-Trigger Inverter for interfacing between the router's 3.3V TTL serial...
  19. ASAT

    Set the router clock with a GPS receiver for under $70

    This is for educational and informational purposes about the u-blox based GPS. For instance, the REYAX GPS module has a u-blox chip inside. This tells you how to configure it over the serial port. The NEMA sentence for date/time is GxZDA. This is all you need for clock synchronization. Turn...
  20. ASAT

    NTP Daemon for ASUSWRT/Merlin

    Your GPS receiver is being presented to the system as a USB modem (ttyACM0) and it is apparently working just fine for you. Mine shows as ttyUSB0 because I've modified the kernel configuration to disable the USB modem driver and enable the USB-to-serial drivers: FTDI and CH341. I can connect...
Top