fps | grep ujail 3726 root 2704 S {ntpd} /sbin/ujail -n ntpd -U ntp -G ntp -C /etc/capabilities/ntpd.json -c -- /usr/sbin/ntpd -n -N -S /usr/sbin/ntpd-hotplug -p 0.openwrt.pool.ntp.org -p 1.openwrt.pool.ntp.org -p 2.o 4291 root 2704 S {dnsmasq} /sbin/ujail -n dnsmasq -u -l -r /dev/null -r /dev/urandom -r /etc/TZ -r /etc/dnsmasq.conf -r /etc/ethers -r /etc/group -r /etc/hosts -r /etc/passwd -r /sbin/hotplug-call -w 4487 root 1376 S grep ujail ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# opkg list-installed base-files - 244-r15404-55e23f2c02 brcmfmac-firmware-4366c0-pcie - 20201118-3 busybox - 1.31.1-8 ca-bundle - 20200601-1 dnsmasq - 2.82-10 dropbear - 2020.81-2 firewall - 2020-09-05-8c2f9fad-1 fstools - 2020-12-12-f415323b-1 fwtool - 2019-11-12-8f7fe925-1 getrandom - 2020-10-25-9ef88681-1 hostapd-common - 2020-06-08-5a8b3662-20 ip6tables - 1.8.4-1 iptables - 1.8.4-1 iw - 5.8-1 iwinfo - 2020-06-03-2faa20e5-1 jshn - 2020-12-12-35787769-1 jsonfilter - 2018-02-04-c7e938d6-1 kernel - 5.4.86-1-2eee337771563512aba430a1a39a50a5 kmod-ath - 5.4.86+5.8.18-1-2 kmod-ath9k - 5.4.86+5.8.18-1-2 kmod-ath9k-common - 5.4.86+5.8.18-1-2 kmod-button-hotplug - 5.4.86-3 kmod-cfg80211 - 5.4.86+5.8.18-1-2 kmod-i2c-core - 5.4.86-1 kmod-input-core - 5.4.86-1 kmod-input-gpio-keys - 5.4.86-1 kmod-ip6tables - 5.4.86-1 kmod-ipt-conntrack - 5.4.86-1 kmod-ipt-core - 5.4.86-1 kmod-ipt-nat - 5.4.86-1 kmod-ipt-offload - 5.4.86-1 kmod-leds-gpio - 5.4.86-1 kmod-lib-crc-ccitt - 5.4.86-1 kmod-mac80211 - 5.4.86+5.8.18-1-2 kmod-nf-conntrack - 5.4.86-1 kmod-nf-conntrack6 - 5.4.86-1 kmod-nf-flow - 5.4.86-1 kmod-nf-ipt - 5.4.86-1 kmod-nf-ipt6 - 5.4.86-1 kmod-nf-nat - 5.4.86-1 kmod-nf-reject - 5.4.86-1 kmod-nf-reject6 - 5.4.86-1 kmod-nls-base - 5.4.86-1 kmod-ppp - 5.4.86-1 kmod-pppoe - 5.4.86-1 kmod-pppox - 5.4.86-1 kmod-random-core - 5.4.86-1 kmod-slhc - 5.4.86-1 kmod-tpm - 5.4.86-1 kmod-tpm-i2c-atmel - 5.4.86-1 kmod-usb-core - 5.4.86-1 kmod-usb-ehci - 5.4.86-1 kmod-usb2 - 5.4.86-1 libblobmsg-json - 2020-12-12-35787769-1 libc - 1.1.24-3 libgcc1 - 8.4.0-3 libip4tc2 - 1.8.4-1 libip6tc2 - 1.8.4-1 libiwinfo20200105 - 2020-06-03-2faa20e5-1 libjson-c5 - 0.15-1 libjson-script - 2020-12-12-35787769-1 libncurses6 - 6.2-1 libnl-tiny1 - 2020-08-05-c291088f-1 libpthread - 1.1.24-3 libubox20201212 - 2020-12-12-35787769-1 libubus20191227 - 2020-12-04-d1d9ddf9-1 libuci20130104 - 2020-10-06-52bbc99f-3 libuclient20201210 - 2020-12-10-2c843b2b-1 libustream-wolfssl20201210 - 2020-12-10-68d09243-1 libwolfssl24 - 4.6.0-stable-1 libxtables12 - 1.8.4-1 logd - 2020-10-25-9ef88681-1 mtd - 26 netifd - 2020-12-28-39fb8c3e-1 odhcp6c - 2020-12-26-eac19619-16 odhcpd-ipv6only - 2020-12-24-b75bcad7-1 openwrt-keyring - 2019-07-25-8080ef34-1 opkg - 2020-12-24-9bbc7eae-1 ppp - 2.4.8.git-2020-10-03-3 ppp-mod-pppoe - 2.4.8.git-2020-10-03-3 procd - 2020-12-12-7f12c89d-2 procd-seccomp - 2020-12-12-7f12c89d-2 procd-ujail - 2020-12-12-7f12c89d-2 screen - 4.8.0-1 swconfig - 12 terminfo - 6.2-1 ubi-utils - 2.1.2-1 ubox - 2020-10-25-9ef88681-1 ubus - 2020-12-04-d1d9ddf9-1 ubusd - 2020-12-04-d1d9ddf9-1 uci - 2020-10-06-52bbc99f-3 uclient-fetch - 2020-12-10-2c843b2b-1 urandom-seed - 2 urngd - 2020-01-21-c7f7b6b6-1 usign - 2020-05-23-f1f65026-1 wireless-regdb - 2020.11.20-1 wpad-basic-wolfssl - 2020-06-08-5a8b3662-20 ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# opkg list-installed | grep procd procd - 2020-12-12-7f12c89d-2 procd-seccomp - 2020-12-12-7f12c89d-2 procd-ujail - 2020-12-12-7f12c89d-2 ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# opkg dig verrmont.gov @localopkg intsall dic^C ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# which dig ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# opkg install dig Unknown package 'dig'. Collected errors: * opkg_install_cmd: Cannot install package dig. ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# opkg which nslookup /usr/bin/nslookup ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# nslookup @loclaalost host vermont.gov ;; connection timed out; no servers could be reached ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# nslookup vermont.ogov localhost Server: localhost Address: ::1#53 Name: vermont.gov Address 1: 206.16.212.90 *** Can't find vermont.gov: No answer ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# nslookup vermont.gov localhost Server: 127.0.0.1 Address: 127.0.0.1#53 Name: vermont.gov Address 1: 206.16.212.90 *** Can't find vermont.gov: No answer ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# nslookup vermont.gov google.cmom localhost Server: localhost Address: ::1#53 Name: google.com Address 1: 172.217.10.110 Address 2: 2607:f8b0:4006:811::200e ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# nslookup google.com localhost ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# nslookup vermont.gov  ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# nslookup google.com localhost127.0.0.1 Server: 127.0.0.1 Address: 127.0.0.1#53 Name: google.com Address 1: 172.217.10.110 Address 2: 2607:f8b0:4006:811::200e ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# nslookup google.com 127.0.0.1vgoogle.com 127.0.0.1egoogle.com 127.0.0.1rgoogle.com 127.0.0.1mgoogle.com 127.0.0.1ogoogle.com 127.0.0.1ngoogle.com 127.0.0.1tgoogle.com 127.0.0.1.google.com 127.0.0.1ggoogle.com 127.0.0.1ogoogle.com 127.0.0.1vgoogle.com 127.0.0.1oogle.com 127.0.0.1ogle.com 127.0.0.1gle.com 127.0.0.1le.com 127.0.0.1e.com 127.0.0.1.com 127.0.0.1com 127.0.0.1om 127.0.0.1m 127.0.0.1 127.0.0.1 127.0.0.1 Server: 127.0.0.1 Address: 127.0.0.1#53 Name: vermont.gov Address 1: 206.16.212.90 *** Can't find vermont.gov: No answer ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# nslookup vermont.gov 127.0.0.1 ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# # odd ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# # odd ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# nslookup vermont.gov 127.0.0.1.gov 127.0.0.1.gov 127.0.0.1.gov 127.0.0.1.gov 127.0.0.1.gov 127.0.0.1.gov 127.0.0.1.gov 127.0.0.1l.gov 127.0.0.1a.gov 127.0.0.1b.gov 127.0.0.1o.gov 127.0.0.1r.gov 127.0.0.1a.gov 127.0.0.1t.gov 127.0.0.1o.gov 127.0.0.1r.gov 127.0.0.1y.gov 127.0.0.1b.gov 127.0.0.1..gov 127.0.0.1o.gov 127.0.0.1r.gov 127.0.0.1g.gov 127.0.0.1gov 127.0.0.1ov 127.0.0.1v 127.0.0.1 127.0.0.1 127.0.0.1 Server: 127.0.0.1 Address: 127.0.0.1#53 Name: laboratoryb.org Address 1: 172.67.172.236 Address 2: 104.28.30.199 Address 3: 104.28.31.199 Address 4: 2606:4700:3034::681c:1ec7 Address 5: 2606:4700:3031::681c:1fc7 Address 6: 2606:4700:3035::ac43:acec ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# nslookup laboratoryb.org 127.0.0.1hlaboratoryb.org 127.0.0.1olaboratoryb.org 127.0.0.1mlaboratoryb.org 127.0.0.1elaboratoryb.org 127.0.0.1/laboratoryb.org 127.0.0.1laboratoryb.org 127.0.0.1.laboratoryb.org 127.0.0.1laboratoryb.org 127.0.0.1 Server: 127.0.0.1 Address: 127.0.0.1#53 Name: home.laboratoryb.org Address 1: 204.13.45.156 *** Can't find home.laboratoryb.org: No answer ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# # OK, so expected when no ipv6. ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# # So dnsmasq knosws how to cache dns  ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# /etc/init.d/dnsmasq stop ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# /etc/init.d/dnsmasq stop ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# # So dnsmasq knows how to cache dns ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# # OK, so expected when no ipv6.  ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# nslookup home.laboratoryb.org 127.0.0.1 ^C ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# $# # fails whe ndsn dnsmasq stops ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# # fails when dnsmasq stops ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# nslookup home.laboratoryb.org 127.0.0.1 ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# /etc/init.d/dnsmasq stop ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# # So dnsmasq knows how to cache dns ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# /etc/init.d/dnsmasq stoprestart Command failed: Not found ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# /etc/init.d/dnsmasq restart ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# # fails when dnsmasq stops ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# nslookup home.laboratoryb.org 127.0.0.1 Server: 127.0.0.1 Address: 127.0.0.1#53 Name: home.laboratoryb.org Address 1: 204.13.45.156 *** Can't find home.laboratoryb.org: No answer ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# 3 # and works. ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# # OK. ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# # ntp ... ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# ps | grep ntp 3726 root 2704 S {ntpd} /sbin/ujail -n ntpd -U ntp -G ntp -C /etc/capabilities/ntpd.json -c -- /usr/sbin/ntpd -n -N -S /usr/sbin/ntpd-hotplug -p 0.openwrt.pool.ntp.org -p 1.openwrt.pool.ntp.org -p 2.o 3746 ntp 1376 S /usr/sbin/ntpd -n -N -S /usr/sbin/ntpd-hotplug -p 0.openwrt.pool.ntp.org -p 1.openwrt.pool.ntp.org -p 2.openwrt.pool.ntp.org -p 3.openwrt.pool.ntp.org 4726 root 1376 R grep ntp ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# # hmm. ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# /et/c/init.d/nt ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# /etc/init.d/network ^C ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# users /bin/ash: users: not found ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# cat /etc/paswswd | grep ntp ntp:x:123:123:ntp:/var/run/ntp:/bin/false ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# # OK, so I suspect that's normal? ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# # ...pgrep ntp 3726 3746 ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# ps `pgrep ntp` ps: unrecognized option: 3 BusyBox v1.31.1 () multi-call binary. Usage: ps Show list of processes w Wide output ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# #  ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# ps `pgrep ntp` ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# # ew. never mind. ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# # So I think ntp is fine. I don't know whether it's needed . But wdoes it wor k... ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# date Wed Jan 6 18:00:00 UTC 2021 ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# #  wow ,p rec precise timing. ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# # cat cat /etc/^C ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# uci show | grep ntp system.ntp=timeserver system.ntp.enabled='1' system.ntp.enable_server='0' system.ntp.server='0.openwrt.pool.ntp.org' '1.openwrt.pool.ntp.org' '2.openwrt.pool.ntp.org' '3.openwrt.pool.ntp.org' ucitrack.@ntpclient[0]=ntpclient ucitrack.@ntpclient[0].init='ntpclient' ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# # OK, not sure hwohow I would test ntp other than rebooting and verifying that the jailed ntp servers ice gests the time  correct, since my serserver here has no RTC.'server here has no RTC.server' here has no RTC. here has no RTC. ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# cat /etc/board ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# cat /etc/board.js ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# cat /etc/board.json  { "model": { "id": "aerohive,hiveap-330", "name": "Aerohive HiveAP-330" }, "network": { "lan": { "ifname": "eth1", "protocol": "static" }, "wan": { "ifname": "eth0", "protocol": "dhcp" } } } ]0;root@OpenWrt: /tmproot@OpenWrt:/tmp# exit