Sorry, I know there are already plenty of such posts, but I haven't find a solution in any of them.
My Router Asus GT-AC2900 with official firmware was working for about a week after I bought it. Then the problem "Your ISP's DHCP does not function correctly" occured.
1. I did a factory reset three times. Both on ASUS and modem, tried to boot them in different sequences
2. If I connect to modem ISP's huawei router, it is able to obtain a DHCP lease.
3. I tried to clone ISP's router mac to asus. Tried to obtain the lease on huawei and the connect ASUS. Tried different MAC.
4. If I connect ASUS to Huawei LAN port, ASUS is able to obtain the DHCP lease from it.
5. I tried different DHCP frequency modes. Disabled firewall, Qos, all router features, didn't help. At least features that I am aware of.
6. ISP says that they see my routers DHCPDISCOVERY request. They respond with DHCPOFFER but the packet is lost somewhere.
Questions:
1.Does anybody managed to deal with the same issue?
2. What is the best way to track where packet is lost? How can I log all incoming packets. Packets, that are dropped by iptables, that are recieved by the socket, that are recieved by dhcp daemon. Everything that could help.
Here are last part of my log file: (full version in the attachments)
I would appreciate any help
My Router Asus GT-AC2900 with official firmware was working for about a week after I bought it. Then the problem "Your ISP's DHCP does not function correctly" occured.
1. I did a factory reset three times. Both on ASUS and modem, tried to boot them in different sequences
2. If I connect to modem ISP's huawei router, it is able to obtain a DHCP lease.
3. I tried to clone ISP's router mac to asus. Tried to obtain the lease on huawei and the connect ASUS. Tried different MAC.
4. If I connect ASUS to Huawei LAN port, ASUS is able to obtain the DHCP lease from it.
5. I tried different DHCP frequency modes. Disabled firewall, Qos, all router features, didn't help. At least features that I am aware of.
6. ISP says that they see my routers DHCPDISCOVERY request. They respond with DHCPOFFER but the packet is lost somewhere.
Questions:
1.Does anybody managed to deal with the same issue?
2. What is the best way to track where packet is lost? How can I log all incoming packets. Packets, that are dropped by iptables, that are recieved by the socket, that are recieved by dhcp daemon. Everything that could help.
Here are last part of my log file: (full version in the attachments)
Code:
Oct 16 16:32:27 acsd: selected channel spec: 0x1006 (6)
Oct 16 16:32:27 acsd: Adjusted channel spec: 0x1006 (6)
Oct 16 16:32:27 acsd: selected channel spec: 0x1006 (6)
Oct 16 16:32:27 acsd: acs_set_chspec: 0x1006 (6) for reason APCS_CSTIMER
Oct 16 16:37:25 wlceventd: WLCEVENTD wlceventd_proc_event(481): eth6: Disassoc F0:18:98:47:E4:35, status: 0, reason: Disassociated because sending station is leaving (or has left) BSS (8)
Oct 16 16:47:29 acsd: selected channel spec: 0x100b (11)
Oct 16 16:47:29 acsd: Adjusted channel spec: 0x100b (11)
Oct 16 16:47:29 acsd: selected channel spec: 0x100b (11)
Oct 16 16:47:29 acsd: acs_set_chspec: 0x100b (11) for reason APCS_CSTIMER
Oct 16 17:00:45 disk_monitor: Got SIGALRM...
Oct 16 17:02:31 acsd: selected channel spec: 0x1008 (8)
Oct 16 17:02:31 acsd: Adjusted channel spec: 0x1008 (8)
Oct 16 17:02:31 acsd: selected channel spec: 0x1008 (8)
Oct 16 17:02:31 acsd: acs_set_chspec: 0x1008 (8) for reason APCS_CSTIMER
Oct 16 17:17:33 acsd: selected channel spec: 0x100a (10)
Oct 16 17:17:33 acsd: Adjusted channel spec: 0x100a (10)
Oct 16 17:17:33 acsd: selected channel spec: 0x100a (10)
Oct 16 17:17:33 acsd: acs_set_chspec: 0x100a (10) for reason APCS_CSTIMER
Oct 16 17:32:35 acsd: selected channel spec: 0x100a (10)
Oct 16 17:32:35 acsd: Adjusted channel spec: 0x100a (10)
Oct 16 17:32:35 acsd: selected channel spec: 0x100a (10)
Oct 16 17:47:16 kernel: eth0 (Int switch port: 3) (Logical Port: 3) Link DOWN.
Oct 16 17:47:16 kernel: ===> Activate Deep Green Mode
Oct 16 17:47:17 WAN Connection: ISP's DHCP did not function properly.
Oct 16 17:47:17 DualWAN: skip single wan wan_led_control - WANRED off
Oct 16 17:47:17 nat: apply redirect rules
Oct 16 17:47:22 WAN Connection: Ethernet link down.
Oct 16 17:47:37 acsd: selected channel spec: 0x1007 (7)
Oct 16 17:47:37 acsd: Adjusted channel spec: 0x1007 (7)
Oct 16 17:47:37 acsd: selected channel spec: 0x1007 (7)
Oct 16 17:47:37 acsd: acs_set_chspec: 0x1007 (7) for reason APCS_CSTIMER
Oct 16 17:51:39 wlceventd: WLCEVENTD wlceventd_proc_event(500): eth6: Auth F0:18:98:47:E4:35, status: Successful (0)
Oct 16 17:51:39 wlceventd: WLCEVENTD wlceventd_proc_event(529): eth6: Assoc F0:18:98:47:E4:35, status: Successful (0)
Oct 16 17:52:05 dropbear[20862]: Password auth succeeded for 'admin' from 192.168.50.107:59117
Oct 16 17:53:20 kernel: eth0 (Int switch port: 3) (Logical Port: 3) Link UP 1000 mbps full duplex
Oct 16 17:53:20 kernel: <=== Deactivate Deep Green Mode
Oct 16 17:53:24 WAN Connection: Ethernet link up.
Oct 16 17:53:24 rc_service: wanduck 1135:notify_rc restart_wan_if 0
Oct 16 17:53:26 wan: mac clone: [wan0_hwaddr] == [f0:18:98:47:e4:35]
Oct 16 17:53:26 nat: apply nat rules (/tmp/nat_rules_eth0_eth0)
Oct 16 17:53:26 wan: finish adding multi routes
Oct 16 17:53:26 dhcp client: bound 192.168.0.102/255.255.255.0 via 192.168.0.1 for 86400 seconds.
Oct 16 17:53:29 WAN Connection: WAN was restored.
Oct 16 17:53:29 ntp: start NTP update
Oct 16 18:02:40 acsd: selected channel spec: 0x1005 (5)
Oct 16 18:02:40 acsd: Adjusted channel spec: 0x1005 (5)
Oct 16 18:02:40 acsd: selected channel spec: 0x1005 (5)
Oct 16 18:02:40 acsd: acs_set_chspec: 0x1005 (5) for reason APCS_CSTIMER
Oct 16 18:07:05 rc_service: httpd 1220:notify_rc restart_firewall
Oct 16 18:07:05 nat: apply nat rules (/tmp/nat_rules_eth0_eth0)
Oct 16 18:08:34 kernel: DROP IN=eth0 OUT= MAC=01:00:5e:00:00:01:6c:06:d6:1e:d0:8b:08:00 SRC=192.168.0.1 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=60742 DF OPT (94040000) PROTO=2 MARK=0x8000000
Oct 16 18:09:01 kernel: eth0 (Int switch port: 3) (Logical Port: 3) Link DOWN.
Oct 16 18:09:01 kernel: ===> Activate Deep Green Mode
Oct 16 18:09:03 WAN Connection: ISP's DHCP did not function properly.
Oct 16 18:09:03 DualWAN: skip single wan wan_led_control - WANRED off
Oct 16 18:09:03 nat: apply redirect rules
Oct 16 18:09:07 kernel: eth0 (Int switch port: 3) (Logical Port: 3) Link UP 1000 mbps full duplex
Oct 16 18:09:07 kernel: <=== Deactivate Deep Green Mode
Oct 16 18:09:07 kernel: DROP IN=eth0 OUT=eth0 MAC=f0:18:98:47:e4:35:74:4a:a4:24:74:9b:08:00 SRC=31.209.137.10 DST=10.63.10.208 LEN=86 TOS=0x00 PREC=0x00 TTL=248 ID=63053 DF PROTO=TCP SPT=15674 DPT=61181 SEQ=3181639083 ACK=2869703433 WINDOW=126 RES=0x00 ACK PSH URGP=0 OPT (0101080A6474D8714B10EF9A) MARK=0x8000000
Oct 16 18:09:08 WAN Connection: Ethernet link up.
Oct 16 18:09:08 rc_service: wanduck 1135:notify_rc restart_wan_if 0
Oct 16 18:09:10 wan: mac clone: [wan0_hwaddr] == [f0:18:98:47:e4:35]
Oct 16 18:10:49 rc_service: httpd 1220:notify_rc restart_wan_if 0
Oct 16 18:11:03 kernel: DROP IN=eth0 OUT= MAC=01:00:5e:00:00:01:74:4a:a4:24:74:9b:08:00 SRC=172.16.236.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=9798 OPT (94040000) PROTO=2 MARK=0x8000000
Oct 16 18:11:04 rc_service: httpd 1220:notify_rc restart_wan_if 0
Oct 16 18:11:06 wan: mac clone: [wan0_hwaddr] == [f0:18:98:47:e4:35]
Oct 16 18:12:04 dropbear[25597]: Password auth succeeded for 'admin' from 192.168.50.107:51081
Oct 16 18:13:00 rc_service: httpd 1220:notify_rc restart_time;restart_upnp;restart_usb_idle;restart_bhblock;
Oct 16 18:13:00 kernel: klogd started: BusyBox v1.24.1 (2020-08-08 03:17:54 CST)
Oct 16 18:13:00 nat: apply nat rules (/tmp/nat_rules_eth0_eth0)
Oct 16 18:13:00 hour monitor: daemon is starting
Oct 16 18:13:00 hour monitor: daemon terminates
Oct 16 18:13:09 kernel: DROP IN=eth0 OUT= MAC=01:00:5e:00:00:01:74:4a:a4:24:74:9b:08:00 SRC=172.16.236.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=10792 OPT (94040000) PROTO=2 MARK=0x8000000
Oct 16 18:13:26 dropbear[25954]: Bad password attempt for 'admin' from 192.168.50.107:52022
Oct 16 18:13:35 dropbear[25954]: Password auth succeeded for 'admin' from 192.168.50.107:52022
Oct 16 18:13:35 PTCSRV: [SSH] login succeeded from 192.168.50.107 after 1 attempts
Oct 16 18:15:14 kernel: DROP IN=eth0 OUT= MAC=01:00:5e:00:00:01:74:4a:a4:24:74:9b:08:00 SRC=172.16.236.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=11901 OPT (94040000) PROTO=2 MARK=0x8000000
Oct 16 18:15:36 rc_service: httpd 1220:notify_rc restart_wan_if 0
Oct 16 18:15:38 wan: mac clone: [wan0_hwaddr] == [f0:18:98:47:e4:35]
Oct 16 18:17:19 kernel: DROP IN=eth0 OUT= MAC=01:00:5e:00:00:01:74:4a:a4:24:74:9b:08:00 SRC=172.16.236.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=13003 OPT (94040000) PROTO=2 MARK=0x8000000
Oct 16 18:17:42 acsd: selected channel spec: 0x1002 (2)
Oct 16 18:17:42 acsd: Adjusted channel spec: 0x1002 (2)
Oct 16 18:17:42 acsd: selected channel spec: 0x1002 (2)
Oct 16 18:17:42 acsd: acs_set_chspec: 0x1002 (2) for reason APCS_CSTIMER
Oct 16 18:19:23 kernel: DROP IN=eth0 OUT= MAC=01:00:5e:00:00:01:74:4a:a4:24:74:9b:08:00 SRC=172.16.236.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=14019 OPT (94040000) PROTO=2 MARK=0x8000000
Oct 16 18:21:28 kernel: DROP IN=eth0 OUT= MAC=01:00:5e:00:00:01:74:4a:a4:24:74:9b:08:00 SRC=172.16.236.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=15049 OPT (94040000) PROTO=2 MARK=0x8000000
Oct 16 18:21:46 rc_service: httpd 1220:notify_rc restart_wan_if 0
Oct 16 18:21:48 wan: mac clone: [wan0_hwaddr] == [6c:06:d6:1e:d0:8b]
Oct 16 18:21:48 pppoe-relay[26467]: recv (receivePacket): Network is down
Oct 16 18:21:48 pppoe-relay[26467]: recv (receivePacket): Network is down
Oct 16 18:23:33 kernel: DROP IN=eth0 OUT= MAC=01:00:5e:00:00:01:74:4a:a4:24:74:9b:08:00 SRC=172.16.236.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=16300 OPT (94040000) PROTO=2 MARK=0x8000000
Oct 16 18:25:38 kernel: DROP IN=eth0 OUT= MAC=01:00:5e:00:00:01:74:4a:a4:24:74:9b:08:00 SRC=172.16.236.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=17283 OPT (94040000) PROTO=2 MARK=0x8000000
Oct 16 18:27:43 kernel: DROP IN=eth0 OUT= MAC=01:00:5e:00:00:01:74:4a:a4:24:74:9b:08:00 SRC=172.16.236.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=18353 OPT (94040000) PROTO=2 MARK=0x8000000
I would appreciate any help