Here is everything you requested:
output
# ubus call system board
{
"kernel": "5.15.131",
"hostname": "serenity-switch",
"system": "MediaTek MT7621 ver:1 eco:3",
"model": "TP-Link Archer A6 v3",
"board_name": "tplink,archer-a6-v3",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "SNAPSHOT",
"revision": "r0+23896-7f14304b28",
"target": "ramips/mt7621",
"description": "OpenWrt SNAPSHOT r0+23896-7f14304b28"
}
}
root@serenity-switch /root # uci export system
package system
config system
option ttylogin '0'
option log_size '64'
option urandom_seed '0'
option compat_version '1.1'
option hostname 'serenity-switch'
option log_proto 'udp'
option conloglevel '8'
option cronloglevel '5'
option zonename 'America/Detroit'
option timezone 'EST5EDT,M3.2.0,M11.1.0'
config timeserver 'ntp'
list server '0.openwrt.pool.ntp.org'
list server '1.openwrt.pool.ntp.org'
list server '2.openwrt.pool.ntp.org'
list server '3.openwrt.pool.ntp.org'
config led 'led_lan'
option name 'LAN'
option sysfs 'green:lan'
option trigger 'netdev'
option dev 'br-lan'
list mode 'link'
config led 'led_wan'
option name 'WAN'
option sysfs 'green:wan'
option trigger 'netdev'
option dev 'wan'
list mode 'link'
config led
option sysfs 'green:wifi5g'
option trigger 'netdev'
option dev 'br-lan.4'
list mode 'tx'
list mode 'rx'
option name 'homeoffice act'
config led
option sysfs 'green:wifi2g'
option trigger 'netdev'
option dev 'br-lan.10'
list mode 'tx'
list mode 'rx'
option name 'lan act'
config led
option name 'power'
option sysfs 'green:power'
option trigger 'heartbeat'
root@serenity-switch /root # uci export network
package network
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd30:6752:71b4::/48'
option packet_steering '1'
config device
option name 'br-lan'
option type 'bridge'
option ipv6 '0'
list ports 'lan1'
list ports 'lan2'
list ports 'lan3'
list ports 'lan4'
list ports 'wan'
config interface 'lan'
option device 'br-lan.10'
option proto 'dhcp'
config interface 'guest'
option proto 'none'
option device 'br-lan.3'
option delegate '0'
config interface 'homeoffice'
option proto 'none'
option device 'br-lan.4'
option delegate '0'
config interface 'iot'
option proto 'none'
option device 'br-lan.5'
option delegate '0'
config bridge-vlan
option device 'br-lan'
option vlan '10'
list ports 'lan1:u*'
list ports 'lan2:u*'
list ports 'wan:t'
config bridge-vlan
option device 'br-lan'
option vlan '3'
list ports 'wan:t'
config bridge-vlan
option device 'br-lan'
option vlan '4'
list ports 'lan3:u*'
list ports 'lan4:u*'
list ports 'wan:t'
config bridge-vlan
option device 'br-lan'
option vlan '5'
list ports 'wan:t'
config device
option name 'br-lan.3'
option type '8021q'
option ifname 'br-lan'
option vid '3'
option ipv6 '0'
config device
option name 'br-lan.4'
option type '8021q'
option ifname 'br-lan'
option vid '4'
option ipv6 '0'
config device
option name 'br-lan.5'
option type '8021q'
option ifname 'br-lan'
option vid '5'
option ipv6 '0'
config device
option name 'br-lan.10'
option type '8021q'
option ifname 'br-lan'
option vid '10'
option ipv6 '0'
root@serenity-switch /root # ls -l /etc/resolv.* /tmp/resolv.* /tmp/resolv.*/*
lrwxrwxrwx 1 root root 16 Sep 7 06:07 /etc/resolv.conf -> /tmp/resolv.conf
lrwxrwxrwx 1 root root 35 Sep 7 06:07 /tmp/resolv.conf -> /tmp/resolv.conf.d/resolv.conf.auto
-rw-r--r-- 1 root root 49 Sep 7 06:07 /tmp/resolv.conf.d/resolv.conf.auto
/tmp/resolv.conf.d:
-rw-r--r-- 1 root root 49 Sep 7 06:07 resolv.conf.auto
root@serenity-switch /root # head -n -0 /etc/resolv.* /tmp/resolv.* /tmp/resolv.*/*
==> /etc/resolv.conf <==
# Interface lan
nameserver 10.0.4.250
search lan
==> /tmp/resolv.conf <==
# Interface lan
nameserver 10.0.4.250
search lan
==> /tmp/resolv.conf.d <==
head: /tmp/resolv.conf.d: I/O error
==> /tmp/resolv.conf.d/resolv.conf.auto <==
# Interface lan
nameserver 10.0.4.250
search lan
root@serenity-switch /root # nslookup 0.openwrt.pool.ntp.org
Server: 10.0.4.250
Address: 10.0.4.250:53
Non-authoritative answer:
Non-authoritative answer:
Name: 0.openwrt.pool.ntp.org
Address: 162.248.241.94
Name: 0.openwrt.pool.ntp.org
Address: 151.204.223.236
Name: 0.openwrt.pool.ntp.org
Address: 69.89.207.99
Name: 0.openwrt.pool.ntp.org
Address: 204.93.207.12
root@serenity-switch /root # cat /etc/rc.local
# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.
# these do not run APs
for i in firewall dnsmasq odhcpd wpad; do
if [[ -f /etc/init.d/$i ]]; then
if /etc/init.d/$i enabled; then
/etc/init.d/$i stop
/etc/init.d/$i disable
fi
fi
done
if [[ ! -f /root/.profile ]]; then
echo "[[ -x /usr/bin/zsh ]] && exec zsh" > /root/.profile
fi
### .zshrc
if [[ ! -f /root/.zshrc ]]; then
cat <<EOF > /root/.zshrc
echo -e "\x1B]2;root@\$(uname -n)\x07";
bindkey -v
PS1='%F{green}%n%f@%m %/ # '
uptime
uname -a
PATH=\$PATH:\$HOME/bin
HISTFILE=/root/.zsh_history
HISTSIZE=10000
SAVEHIST=10000
setopt append_history
setopt hist_expire_dups_first
setopt hist_ignore_space
setopt inc_append_history
setopt share_history
bindkey "^[[H" beginning-of-line
bindkey "^[[F" end-of-line
bindkey "^[[3~" delete-char
autoload -Uz up-line-or-beginning-search
autoload -Uz down-line-or-beginning-search
zle -N up-line-or-beginning-search
zle -N down-line-or-beginning-search
bindkey '\eOA' up-line-or-beginning-search
bindkey '\e[A' up-line-or-beginning-search
bindkey '\eOB' down-line-or-beginning-search
bindkey '\e[B' down-line-or-beginning-search
exit 0
root@serenity-switch /root # cat /root/update_date
cat: can't open '/root/update_date': No such file or directory
root@serenity-switch /root # /etc/init.d/sysntpd restart
root@serenity-switch /root # chmod 700 /root/update_date
chmod: /root/update_date: No such file or directory
I did not understand this part ... which package provides at