Meshkoff
Occasional Visitor
Hi all
Successfully installed unbound via amtm and everything is working good, but after every reboot i got "WAN Disconnected" and "Unbound not running" issues. Strange to notice every time i hit refresh on the WAN page it shows my WAN ip and connected status for milliseconds but then switch to disconnected again. WAN stays disconnected until i fill any DNS server in WAN settings page, once i give it a record and hit apply - WAN immediately connected to the internet and working. Since that all DNS queries being resolved through Cloudflare (in my case), not Unbound:
So the purpose of using Unbound is vanishing.
Removing DNS server from WAN settings page immediately leads to "WAN Disconnected", but after a several second it successfully connected and internet is working with DNS queries being resolved through Unbound:
Unbound config overview:
Checked syslog and didn't found any errors related to Unbound except it is not running
WAN related section below:
Might be missing something important so full reboot process log attached as file.
Also noticed that my Entware usb thumbdrive gets mounted faster with DNS server filled in WAN Settings page. If i remove DNS record and let Unbound do it things usb can stays unmounted for couple of minutes or even more... What's a devilry things going with my router
I really love the idea of Unbound and many thanks to Martineau for that, but i just can't figure out what causing this issues.
Also wondering how any problems with DNS can lead to not being able to obtain WAN ip address? Isn't it DHCP only thing?
Any thoughts on that? Where to dig?
Successfully installed unbound via amtm and everything is working good, but after every reboot i got "WAN Disconnected" and "Unbound not running" issues. Strange to notice every time i hit refresh on the WAN page it shows my WAN ip and connected status for milliseconds but then switch to disconnected again. WAN stays disconnected until i fill any DNS server in WAN settings page, once i give it a record and hit apply - WAN immediately connected to the internet and working. Since that all DNS queries being resolved through Cloudflare (in my case), not Unbound:
Bash:
user@RT-AX56U:/# nslookup www.snbforums.com
Server: 1.0.0.1
Address 1: 1.0.0.1 one.one.one.one
Name: www.snbforums.com
Address 1: 188.114.99.144
Address 2: 2a06:98c1:3123:9000::
So the purpose of using Unbound is vanishing.
Removing DNS server from WAN settings page immediately leads to "WAN Disconnected", but after a several second it successfully connected and internet is working with DNS queries being resolved through Unbound:
Bash:
user@RT-AX56U:/# nslookup www.snbforums.com
Server: 127.0.0.1
Address 1: 127.0.0.1 localhost.localdomain
Name: www.snbforums.com
Address 1: 188.114.99.144
Unbound config overview:
Checked syslog and didn't found any errors related to Unbound except it is not running
WAN related section below:
Bash:
May 5 08:05:05 lldpd[1872]: cannot get ethtool link information with GLINKSETTINGS (requires 4.9+): Operation not permitted
May 5 08:05:06 kernel: eth2: sysport_tm port shaper set to 99900 kbps (phy speed 100000 kbps)
May 5 08:05:06 kernel: eth2 (Ext switch port: 1) (Logical Port: 9) (phyId: 1) Link Up at 100 mbps full duplex
May 5 08:05:06 WAN_Connection: WAN(0) link down.
May 5 08:05:07 custom_script: Running /jffs/scripts/services-start
May 5 08:05:07 custom_script: Running /jffs/scripts/wan-event (args: 0 init)
May 5 08:05:07 custom_script: Running /jffs/scripts/wan-event (args: 0 connecting)
May 5 08:05:07 custom_script: Running /jffs/scripts/wan-event (args: 0 disconnected)
May 5 08:05:07 custom_script: Running /jffs/scripts/wan-event (args: 0 stopped)
May 5 08:05:07 kernel: SCSI subsystem initialized
May 5 08:05:07 scMerlin: Waiting for NTP to sync...
May 5 08:05:07 kernel: tfat: loading out-of-tree module taints kernel.
May 5 08:05:08 init: fwver: 386.5_2 (sn:M9IG32703231SEX /ha:F0:2F:74:B7:5A:68 )
May 5 08:05:09 kernel: scsi 0:0:0:0: Direct-Access JetFlash Transcend 32GB 1100 PQ: 0 ANSI: 6
May 5 08:05:09 kernel: sd 0:0:0:0: [sda] 59725824 512-byte logical blocks: (30.6 GB/28.5 GiB)
May 5 08:05:09 kernel: sd 0:0:0:0: Attached scsi generic sg0 type 0
May 5 08:05:09 kernel: sd 0:0:0:0: [sda] Write Protect is off
May 5 08:05:09 kernel: sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
May 5 08:05:09 kernel: sd 0:0:0:0: [sda] Attached SCSI removable disk
May 5 08:05:10 kernel: eth0: sysport_tm port shaper set to 999000 kbps (phy speed 1000000 kbps)
May 5 08:05:10 kernel: eth0 (Int switch port: 0) (Logical Port: 0) (phyId: 8) Link Up at 1000 mbps full duplex
May 5 08:05:11 cfg_server: event: wl_chanspec_changed_action
May 5 08:05:11 cfg_server: skip event due no re
May 5 08:05:12 custom_script: Running /jffs/scripts/wan-event (args: 0 connected)
May 5 08:05:12 custom_script: Running /jffs/scripts/nat-start
May 5 08:05:13 ntpMerlin: Sleeping for 5s to allow firewall/nat startup to be completed...
May 5 08:05:13 custom_script: Running /jffs/scripts/firewall-start (args: eth0)
May 5 08:05:13 wan: finish adding multi routes
May 5 08:05:13 rc_service: udhcpc 2678:notify_rc stop_ntpd
May 5 08:05:13 rc_service: udhcpc 2678:notify_rc start_ntpd
May 5 08:05:13 rc_service: waitting "stop_ntpd" via udhcpc ...
May 5 08:05:13 dm1try: loaded custom firewall rules from firewall-start script
May 5 08:05:13 custom_script: Running /jffs/scripts/service-event (args: stop ntpd)
May 5 08:05:13 (wg_firewall): 2781 Checking if WireGuard VPN Peer KILL-Switch is required.....
May 5 08:05:14 custom_script: Running /jffs/scripts/service-event (args: start ntpd)
May 5 08:05:14 ntpd: Started ntpd
May 5 08:05:15 roamast: ROAMING Start...
May 5 08:05:15 kernel: Archer TCP Pure ACK Enabled
May 5 08:05:15 dhcp_client: bound 178.140.137.25/255.255.240.0 via 178.140.125.6 for 3600 seconds.
May 5 08:05:16 custom_script: Running /jffs/scripts/pre-mount (args: /dev/sda1 ext4)
May 5 08:05:16 WAN_Connection: WAN was restored.
May 5 08:05:33 reboot_scheduler: [timecheck] NTP sync error
May 5 08:05:37 scMerlin: Waiting for NTP to sync...
May 5 08:06:03 reboot_scheduler: [timecheck] NTP sync error
May 5 08:06:07 scMerlin: Waiting for NTP to sync...
May 5 08:06:33 reboot_scheduler: [timecheck] NTP sync error
May 5 08:06:38 scMerlin: Waiting for NTP to sync...
May 5 08:06:57 amtm disk-check: NTP timeout (100s) reached, date is router default
May 5 08:06:57 amtm disk-check: Probing 'ext4' on device /dev/sda1
May 5 08:06:57 amtm disk-check: Running disk check v3.0, with command 'e2fsck -p' on /dev/sda1
May 5 08:06:57 amtm disk-check: Disk check done on /dev/sda1
May 5 08:06:57 usb: USB ext4 fs at /dev/sda1 mounted on /tmp/mnt/ENTWARE.
May 5 08:06:57 custom_script: Running /jffs/scripts/post-mount (args: /tmp/mnt/ENTWARE)
May 5 08:06:57 Entware: Starting Entware services on /tmp/mnt/ENTWARE
May 5 08:06:58 kernel: klogd: exiting
May 5 08:07:03 RT-AX56U reboot_scheduler: [timecheck] NTP sync error
May 5 08:07:08 RT-AX56U scMerlin: Waiting for NTP to sync...
May 5 08:07:33 RT-AX56U reboot_scheduler: [timecheck] NTP sync error
May 5 08:07:38 RT-AX56U scMerlin: Waiting for NTP to sync...
Might be missing something important so full reboot process log attached as file.
Also noticed that my Entware usb thumbdrive gets mounted faster with DNS server filled in WAN Settings page. If i remove DNS record and let Unbound do it things usb can stays unmounted for couple of minutes or even more... What's a devilry things going with my router
I really love the idea of Unbound and many thanks to Martineau for that, but i just can't figure out what causing this issues.
Also wondering how any problems with DNS can lead to not being able to obtain WAN ip address? Isn't it DHCP only thing?
Any thoughts on that? Where to dig?