Recent content by SirLoinOfSteak

  • 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. S

    Router up before services and entware packages are available?

    Just need OSPF / Quagga and ntpdate available. NTP date won't run if the router is not internet facing and connected using the WAN port. I'll toss the code into post-mount and see how that works out.
  2. S

    Router up before services and entware packages are available?

    That makes sense with what I see happening. Given this, do you both think what I'm doing with the for loop makes sense or should I be tossing the startup logic in another file under /jffs/scripts/ ?
  3. S

    Router up before services and entware packages are available?

    Hmm. You're correct about that: admin@ASUS-MERLIN-INTERNET:/tmp/home/root# cat /jffs/scripts/post-mount #!/bin/sh . /jffs/addons/diversion/mount-entware.div # Added by amtm admin@ASUS-MERLIN-INTERNET:/tmp/home/root# However, those startup scripts become available eventually. For the time...
  4. S

    SSH CLI Data is wrong. Shows Sat May 5 01:07:40 DST 2018.

    Yes, correct. Referring to the time in the shell / cli above. How many packages? Let's just say I'm giving this tiny machine a workout. I'll probably toss in a few more in time. ;) Perhaps locale is the one stirring things up but ran out of time to dig deeper...
  5. S

    Router up before services and entware packages are available?

    I've created a /jffs/scripts/services-start scripts to bring up some of the services I notice are not starting up. However, I noticed that the services themselves are not yet available on the filesystem itself at this point: admin@ASUS-MERLIN-INTERNET:/jffs/scripts# ls -altri...
  6. S

    SSH CLI Data is wrong. Shows Sat May 5 01:07:40 DST 2018.

    That's fine now. Thank you. However, since I installed Entware, time is now in UTC and I can't find a way to change it to EST. admin@ASUS-MERLIN-INTERNET:/tmp/home/root# nvram show|grep zone time_zone_dst=1 time_zone_x=EST5DST,M3.2.0/1,M11.1.0/1 time_zone_dstoff=M3.2.0/1,M11.1.0/1...
  7. S

    iptables rules: importing rules

    I just had to like that reply. So yes, I do apologize I should elaborate a bit. This is an example of section of rules I have: # --------- Access to user ABC ----------------------------- iptables -A INPUT -s 101.101.101.101 -p tcp -m multiport --dports 20002,20001 -j ACCEPT iptables -A...
  8. S

    SSH CLI Data is wrong. Shows Sat May 5 01:07:40 DST 2018.

    The only thing that remains now is that the time is off by 1 hour. Hoping I could verify the locale / zone is set and applied correctly. The NVRAM settings appear correct however are still off. admin@ASUS-MERLIN-INTERNET:/tmp/home/root# nvram show|grep zone size: 52633 bytes (12903 left)...
  9. S

    iptables rules: importing rules

    Hi All, I would like to import a collection of iptables rules from another router. These include default rules and NAT rules. Is there any way I could enter them in their entirety in the firewall-start script? Appears based on this article, I would have to split these up...
  10. S

    SSH CLI Data is wrong. Shows Sat May 5 01:07:40 DST 2018.

    That explains it. Thank you!
  11. S

    SSH CLI Data is wrong. Shows Sat May 5 01:07:40 DST 2018.

    The final PS table once everything is started up: admin@ASUS-MERLIN-INTERNET:/jffs# admin@ASUS-MERLIN-INTERNET:/jffs# cat scripts/ps-t.out PID USER VSZ STAT COMMAND 1 admin 5652 S /sbin/preinit 2 admin 0 SW [kthreadd] 3 admin 0 SW [ksoftirqd/0]...
  12. S

    SSH CLI Data is wrong. Shows Sat May 5 01:07:40 DST 2018.

    For now, I put in a workaround to ensure the NTP daemon starts up. Created the script /jffs/scripts/init-start to see if NTPD would start before the network or other services come up given this comment: ---------- https://github.com/RMerl/asuswrt-merlin.ng/wiki/User-scripts...
  13. S

    SSH CLI Data is wrong. Shows Sat May 5 01:07:40 DST 2018.

    NTP is outside the Asus router's F/W. 192.168.0.X is considered LAN to the Asus. In other words, there is no cable in the WAN port right now. Only one ethernet port is connected right now. And that port is on the 192.168.0.X VLAN. As for the monitoring, it's mostly all default options...
  14. S

    SSH CLI Data is wrong. Shows Sat May 5 01:07:40 DST 2018.

    It works and syncs time as expected: admin@ASUS-MERLIN-INTERNET:/tmp/home/root# /usr/sbin/ntp -d -n -t -S /sbin/ntpd_synced -p 192.168.0.46 -p 192.168.0.51 ntp: sending query to 192.168.0.51 ntp: sending query to 192.168.0.46 ntp: reply from 192.168.0.51: offset:+77458854.782095 delay:0.007057...
  15. S

    SSH CLI Data is wrong. Shows Sat May 5 01:07:40 DST 2018.

    Sorry for the multiple edits. Ran into this issue here: https://www.snbforums.com/threads/fyi-issue-with-oops-we-ran-into-some-problems-please-try-again-later-more-error-details-may-be-in-the-browser-console.67041/ So it took a bit of time to get the post accepted.
Top