Question Brand new router keeps loosing internet

Sep 17, 2019
22
0
10
Hello brand new dlink DIR-882 router keeps loosing connection to the internet Connection Uptime: never reaches more then one hour, for some reason i can mirror tv to pc and i cant stream from pc to tv. any ideas?
 
maybe this will help:
2019-10-05 03:44:53 FOTA[10386]: CA certificate is not set, use default file: /etc_ro/cacert.pem.
2019-10-05 03:44:53 FOTA[10386]: fota_config.c, fota_init_config, 335:
2019-10-05 03:44:53 FOTA[10386]: firmware encryption flag is on.
2019-10-05 03:44:53 FOTA_CONFIG[10396]: mtk/fota_generate_config.c, main, 1060:
2019-10-05 03:44:53 FOTA_CONFIG[10396]: Execute config ACTION: config.
2019-10-05 03:44:53 FOTA_CONFIG[10396]: mtk/fota_generate_config.c, action_config, 779:
2019-10-05 03:44:53 FOTA_CONFIG[10396]: Now start generating the configuration file.
2019-10-05 03:44:54 FOTA_CONFIG[10396]: mtk/fota_generate_config.c, main, 1068:
2019-10-05 03:44:54 FOTA_CONFIG[10396]: Done.
2019-10-05 03:44:54 FOTA[10386]: fota.c, main, 1357:
2019-10-05 03:44:54 FOTA[10386]: Execute ACTION: auto.
2019-10-05 03:44:54 FOTA[10386]: fota.c, query_latest_firmware_info, 83:
2019-10-05 03:44:54 FOTA[10386]: Now check with the server for the latest firmware information.
2019-10-05 03:44:55 FOTA[10386]: fota_api_curl.c, get_http_response_code, 167:
2019-10-05 03:44:55 FOTA[10386]: iHttp_code=401.
2019-10-05 03:44:55 FOTA[10386]: fota.c, query_latest_firmware_info, 106:
2019-10-05 03:44:55 FOTA[10386]: Http code: 401, Error code: 111, error message: Invalid access token..
2019-10-05 03:44:55 FOTA[10386]: fota_api.c, refresh_access_token, 214:
2019-10-05 03:44:55 FOTA[10386]: Now REFRESH the access token.
2019-10-05 03:44:55 FOTA[10386]: fota_api_curl.c, get_http_response_code, 167:
2019-10-05 03:44:55 FOTA[10386]: iHttp_code=200.
2019-10-05 03:44:55 FOTA[10386]: fota_api.c, refresh_access_token, 248:
2019-10-05 03:44:55 FOTA[10386]: REFRESH the access token success.
2019-10-05 03:44:55 FOTA[10386]: fota.c, query_latest_firmware_info, 83:
2019-10-05 03:44:55 FOTA[10386]: Now check with the server for the latest firmware information.
2019-10-05 03:44:56 FOTA[10386]: fota_api_curl.c, get_http_response_code, 167:
2019-10-05 03:44:56 FOTA[10386]: iHttp_code=200.
2019-10-05 03:44:56 FOTA[10386]: fota.c, query_latest_firmware_info, 116:
2019-10-05 03:44:56 FOTA[10386]: QUERY the latest firmware information success.
2019-10-05 03:44:56 FOTA[10386]: fota.c, send_event_notification_to_server, 240:
2019-10-05 03:44:56 FOTA[10386]: Now send EVENT notification to the server.
2019-10-05 03:44:57 FOTA[10386]: fota_api_curl.c, get_http_response_code, 167:
2019-10-05 03:44:57 FOTA[10386]: iHttp_code=200.
2019-10-05 03:44:57 FOTA[10386]: fota.c, send_event_notification_to_server, 273:
2019-10-05 03:44:57 FOTA[10386]: Send EVENT notification to the server success.
2019-10-05 03:44:57 FOTA[10386]: fota.c, select_firmware_version, 442:
2019-10-05 03:44:57 FOTA[10386]: Now CHOOSE a viable firmware version.
2019-10-05 03:44:57 FOTA[10386]: fota.c, check_enforced_version, 411:
2019-10-05 03:44:57 FOTA[10386]: Now check enforced version.
2019-10-05 03:44:57 FOTA[10386]: fota.c, check_enforced_version, 425:
2019-10-05 03:44:57 FOTA[10386]: 'pEnforced_exist' is null pointer.
2019-10-05 03:44:57 FOTA[10386]: fota.c, select_firmware_version, 488:
2019-10-05 03:44:57 FOTA[10386]: Select upgrade stable firmware.
2019-10-05 03:44:57 FOTA[10386]: fota.c, select_firmware_version, 502:
2019-10-05 03:44:57 FOTA[10386]: No newer firmware is available.
2019-10-05 03:44:57 FOTA[10386]: fota.c, main, 1366:
2019-10-05 03:44:57 FOTA[10386]: The value of 'iRet' is not OK.
2019-10-05 04:00:22 [RC]: Wan(eth3) Disconnect
2019-10-05 04:00:22 ipsec_setup: ...Openswan IPsec stopped
2019-10-05 04:00:23 [RC]: Wan(eth3) connect Success , Current Wan ip is 192.168.1.145
2019-10-05 04:00:23 [UPNP]: WPS listening on port 8888
2019-10-05 04:00:26 ipsec_setup: ...Openswan IPsec stopped
2019-10-05 04:00:27 FOTA[13318]: fota_config.c, fota_init_config, 322:
2019-10-05 04:00:27 FOTA[13318]: CA certificate is not set, use default file: /etc_ro/cacert.pem.
2019-10-05 04:00:27 FOTA[13318]: fota_config.c, fota_init_config, 335:
2019-10-05 04:00:27 FOTA[13318]: firmware encryption flag is on.
2019-10-05 04:00:27 FOTA_CONFIG[13338]: mtk/fota_generate_config.c, main, 1060:
2019-10-05 04:00:27 FOTA_CONFIG[13338]: Execute config ACTION: config.
2019-10-05 04:00:27 FOTA_CONFIG[13338]: mtk/fota_generate_config.c, action_config, 779:
2019-10-05 04:00:27 FOTA_CONFIG[13338]: Now start generating the configuration file.
2019-10-05 04:00:27 FOTA_CONFIG[13338]: mtk/fota_generate_config.c, main, 1068:
2019-10-05 04:00:27 FOTA_CONFIG[13338]: Done.
2019-10-05 04:00:27 FOTA[13318]: fota.c, main, 1357:
2019-10-05 04:00:27 FOTA[13318]: Execute ACTION: query.
2019-10-05 04:00:27 FOTA[13318]: fota.c, query_latest_firmware_info, 83:
2019-10-05 04:00:27 FOTA[13318]: Now check with the server for the latest firmware information.
2019-10-05 04:00:28 FOTA[13318]: fota_api_curl.c, get_http_response_code, 167:
2019-10-05 04:00:28 FOTA[13318]: iHttp_code=401.
2019-10-05 04:00:28 FOTA[13318]: fota.c, query_latest_firmware_info, 106:
2019-10-05 04:00:28 FOTA[13318]: Http code: 401, Error code: 111, error message: Invalid access token..
2019-10-05 04:00:28 FOTA[13318]: fota_api.c, refresh_access_token, 214:
2019-10-05 04:00:28 FOTA[13318]: Now REFRESH the access token.
2019-10-05 04:00:29 FOTA[13318]: fota_api_curl.c, get_http_response_code, 167:
2019-10-05 04:00:29 FOTA[13318]: iHttp_code=200.
2019-10-05 04:00:29 FOTA[13318]: fota_api.c, refresh_access_token, 248:
2019-10-05 04:00:29 FOTA[13318]: REFRESH the access token success.
2019-10-05 04:00:29 FOTA[13318]: fota.c, query_latest_firmware_info, 83:
2019-10-05 04:00:29 FOTA[13318]: Now check with the server for the latest firmware information.
2019-10-05 04:00:30 FOTA[13318]: fota_api_curl.c, get_http_response_code, 167:
2019-10-05 04:00:30 FOTA[13318]: iHttp_code=200.
2019-10-05 04:00:30 FOTA[13318]: fota.c, query_latest_firmware_info, 116:
2019-10-05 04:00:30 FOTA[13318]: QUERY the latest firmware information success.
2019-10-05 04:00:30 FOTA[13318]: fota.c, select_firmware_version, 442:
2019-10-05 04:00:30 FOTA[13318]: Now CHOOSE a viable firmware version.
2019-10-05 04:00:30 FOTA[13318]: fota.c, check_enforced_version, 411:
2019-10-05 04:00:30 FOTA[13318]: Now check enforced version.
2019-10-05 04:00:30 FOTA[13318]: fota.c, check_enforced_version, 425:
2019-10-05 04:00:30 FOTA[13318]: 'pEnforced_exist' is null pointer.
2019-10-05 04:00:30 FOTA[13318]: fota.c, select_firmware_version, 488:
2019-10-05 04:00:30 FOTA[13318]: Select upgrade stable firmware.
2019-10-05 04:00:30 FOTA[13318]: fota.c, select_firmware_version, 502:
2019-10-05 04:00:30 FOTA[13318]: No newer firmware is available.
2019-10-05 04:00:30 FOTA[13318]: fota.c, main, 1393:
2019-10-05 04:00:30 FOTA[13318]: The value of 'iRet' is not OK.
2019-10-05 10:00:22 [RC]: Wan(eth3) Disconnect
2019-10-05 10:00:23 ipsec_setup: ...Openswan IPsec stopped
2019-10-05 10:00:23 [RC]: Wan(eth3) connect Success , Current Wan ip is 192.168.1.205
2019-10-05 10:00:23 [UPNP]: WPS listening on port 8888
2019-10-05 10:00:26 ipsec_setup: ...Openswan IPsec stopped
2019-10-05 10:00:27 FOTA[25799]: fota_config.c, fota_init_config, 322:
2019-10-05 10:00:27 FOTA[25799]: CA certificate is not set, use default file: /etc_ro/cacert.pem.
2019-10-05 10:00:27 FOTA[25799]: fota_config.c, fota_init_config, 335:
2019-10-05 10:00:27 FOTA[25799]: firmware encryption flag is on.
2019-10-05 10:00:27 FOTA_CONFIG[25819]: mtk/fota_generate_config.c, main, 1060:
2019-10-05 10:00:27 FOTA_CONFIG[25819]: Execute config ACTION: config.
2019-10-05 10:00:27 FOTA_CONFIG[25819]: mtk/fota_generate_config.c, action_config, 779:
2019-10-05 10:00:27 FOTA_CONFIG[25819]: Now start generating the configuration file.
2019-10-05 10:00:27 FOTA_CONFIG[25819]: mtk/fota_generate_config.c, main, 1068:
2019-10-05 10:00:27 FOTA_CONFIG[25819]: Done.
2019-10-05 10:00:27 FOTA[25799]: fota.c, main, 1357:
2019-10-05 10:00:27 FOTA[25799]: Execute ACTION: query.
2019-10-05 10:00:27 FOTA[25799]: fota.c, query_latest_firmware_info, 83:
2019-10-05 10:00:27 FOTA[25799]: Now check with the server for the latest firmware information.
2019-10-05 10:00:28 FOTA[25799]: fota_api_curl.c, get_http_response_code, 167:
2019-10-05 10:00:28 FOTA[25799]: iHttp_code=401.
2019-10-05 10:00:28 FOTA[25799]: fota.c, query_latest_firmware_info, 106:
2019-10-05 10:00:28 FOTA[25799]: Http code: 401, Error code: 111, error message: Invalid access token..
2019-10-05 10:00:28 FOTA[25799]: fota_api.c, refresh_access_token, 214:
2019-10-05 10:00:28 FOTA[25799]: Now REFRESH the access token.
2019-10-05 10:00:29 FOTA[25799]: fota_api_curl.c, get_http_response_code, 167:
2019-10-05 10:00:29 FOTA[25799]: iHttp_code=200.
2019-10-05 10:00:29 FOTA[25799]: fota_api.c, refresh_access_token, 248:
2019-10-05 10:00:29 FOTA[25799]: REFRESH the access token success.
2019-10-05 10:00:29 FOTA[25799]: fota.c, query_latest_firmware_info, 83:
2019-10-05 10:00:29 FOTA[25799]: Now check with the server for the latest firmware information.
2019-10-05 10:00:30 FOTA[25799]: fota_api_curl.c, get_http_response_code, 167:
2019-10-05 10:00:30 FOTA[25799]: iHttp_code=200.
2019-10-05 10:00:30 FOTA[25799]: fota.c, query_latest_firmware_info, 116:
2019-10-05 10:00:30 FOTA[25799]: QUERY the latest firmware information success.
2019-10-05 10:00:30 FOTA[25799]: fota.c, select_firmware_version, 442:
2019-10-05 10:00:30 FOTA[25799]: Now CHOOSE a viable firmware version.
2019-10-05 10:00:30 FOTA[25799]: fota.c, check_enforced_version, 411:
2019-10-05 10:00:30 FOTA[25799]: Now check enforced version.
2019-10-05 10:00:30 FOTA[25799]: fota.c, check_enforced_version, 425:
2019-10-05 10:00:30 FOTA[25799]: 'pEnforced_exist' is null pointer.
2019-10-05 10:00:30 FOTA[25799]: fota.c, select_firmware_version, 488:
2019-10-05 10:00:30 FOTA[25799]: Select upgrade stable firmware.
2019-10-05 10:00:30 FOTA[25799]: fota.c, select_firmware_version, 502:
2019-10-05 10:00:30 FOTA[25799]: No newer firmware is available.
2019-10-05 10:00:30 FOTA[25799]: fota.c, main, 1393:
2019-10-05 10:00:30 FOTA[25799]: The value of 'iRet' is not OK.
 
Last edited:
no, i don't need that
i have to use 2 routers because of my weird isp, it goes like this: modem>router>second router. when network is lost all my connected devices must be reconnected manualy for some reason and it is really annoying
 
Last edited:
the secondn one is the main one, logs are from that one. and all devices connected to that one, first one has only few ports but it works fine..
First thing to check now, is the DHCP duration on "router". Since that is the device that is providing the IP to "second router". If the DHCP lease is set to 2 hours then the "second router" will renew the DHCP in 1 hour.
If you can simplify your config and eliminate "router" since "second router" is the primary, it will make troubleshooting much easier.
 
First thing to check now, is the DHCP duration on "router". Since that is the device that is providing the IP to "second router". If the DHCP lease is set to 2 hours then the "second router" will renew the DHCP in 1 hour.
If you can simplify your config and eliminate "router" since "second router" is the primary, it will make troubleshooting much easier.
Well, none of the routers have timer on...
what is most annoying thing that is i can mirror screen pc to tv, but i cant do cast to option just to stram to tv directly both machines are connected with wired connection and both into the same router..... when i turn on wifi on tv cast to appears but i cant stream high quality videos.................................
 
Last edited:
Well, none of the routers have timer on...
what is most annoying thing that is i can mirror screen pc to tv, but i cant do cast to option just to stram to tv directly both machines are connected with wired connection and both into the same router..... when i turn on wifi on tv cast to appears but i cant stream high quality videos.................................
There should be a duration for DHCP in "router" you need to look at that. It might be in seconds (86400 is a day).
Your stream casting problem is independent. Does your TV connect to the 2.4 or 5Ghz band on your router?
 
There should be a duration for DHCP in "router" you need to look at that. It might be in seconds (86400 is a day).
Your stream casting problem is independent. Does your TV connect to the 2.4 or 5Ghz band on your router?

i think it is 5Ghz
Channel Width:Auto 20/40/MHz

DHCP Lease Time: minutes 10080


but i want wired connection, wifi cant hold 4k videos...
 
I have this router and the firmware is buggy as hell. All that FOTA stuff can be ignored. It has to do with the new auto-check for firmware upgrades. Even if you turn it off, you will still see this happen in the log daily. Its a feature or a bug depending on who you ask. :/

I'd turn off UPNP. First, it's a security issue. And second, it looks to be the thing that is happening right before IPsec craps out. Worth a shot anyway.
 
I have this router and the firmware is buggy as hell. All that FOTA stuff can be ignored. It has to do with the new auto-check for firmware upgrades. Even if you turn it off, you will still see this happen in the log daily. Its a feature or a bug depending on who you ask. :/

I'd turn off UPNP. First, it's a security issue. And second, it looks to be the thing that is happening right before IPsec craps out. Worth a shot anyway.
i did it and still same:
2019-10-08 03:44:38 FOTA[2195]: fota_config.c, fota_init_config, 322:
2019-10-08 03:44:38 FOTA[2195]: CA certificate is not set, use default file: /etc_ro/cacert.pem.
2019-10-08 03:44:38 FOTA[2195]: fota_config.c, fota_init_config, 335:
2019-10-08 03:44:38 FOTA[2195]: firmware encryption flag is on.
2019-10-08 03:44:38 FOTA_CONFIG[2213]: mtk/fota_generate_config.c, main, 1060:
2019-10-08 03:44:38 FOTA_CONFIG[2213]: Execute config ACTION: config.
2019-10-08 03:44:38 FOTA_CONFIG[2213]: mtk/fota_generate_config.c, action_config, 779:
2019-10-08 03:44:38 FOTA_CONFIG[2213]: Now start generating the configuration file.
2019-10-08 03:44:38 FOTA_CONFIG[2213]: mtk/fota_generate_config.c, main, 1068:
2019-10-08 03:44:38 FOTA_CONFIG[2213]: Done.
2019-10-08 03:44:38 FOTA[2195]: fota.c, main, 1357:
2019-10-08 03:44:38 FOTA[2195]: Execute ACTION: auto.
2019-10-08 03:44:38 FOTA[2195]: fota.c, query_latest_firmware_info, 83:
2019-10-08 03:44:38 FOTA[2195]: Now check with the server for the latest firmware information.
2019-10-08 03:44:39 FOTA[2195]: fota_api_curl.c, get_http_response_code, 167:
2019-10-08 03:44:39 FOTA[2195]: iHttp_code=401.
2019-10-08 03:44:39 FOTA[2195]: fota.c, query_latest_firmware_info, 106:
2019-10-08 03:44:39 FOTA[2195]: Http code: 401, Error code: 111, error message: Invalid access token..
2019-10-08 03:44:39 FOTA[2195]: fota_api.c, refresh_access_token, 214:
2019-10-08 03:44:39 FOTA[2195]: Now REFRESH the access token.
2019-10-08 03:44:40 FOTA[2195]: fota_api_curl.c, get_http_response_code, 167:
2019-10-08 03:44:40 FOTA[2195]: iHttp_code=200.
2019-10-08 03:44:40 FOTA[2195]: fota_api.c, refresh_access_token, 248:
2019-10-08 03:44:40 FOTA[2195]: REFRESH the access token success.
2019-10-08 03:44:40 FOTA[2195]: fota.c, query_latest_firmware_info, 83:
2019-10-08 03:44:40 FOTA[2195]: Now check with the server for the latest firmware information.
2019-10-08 03:44:40 FOTA[2195]: fota_api_curl.c, get_http_response_code, 167:
2019-10-08 03:44:40 FOTA[2195]: iHttp_code=200.
2019-10-08 03:44:40 FOTA[2195]: fota.c, query_latest_firmware_info, 116:
2019-10-08 03:44:40 FOTA[2195]: QUERY the latest firmware information success.
2019-10-08 03:44:40 FOTA[2195]: fota.c, send_event_notification_to_server, 240:
2019-10-08 03:44:40 FOTA[2195]: Now send EVENT notification to the server.
2019-10-08 03:44:41 FOTA[2195]: fota_api_curl.c, get_http_response_code, 167:
2019-10-08 03:44:41 FOTA[2195]: iHttp_code=200.
2019-10-08 03:44:41 FOTA[2195]: fota.c, send_event_notification_to_server, 273:
2019-10-08 03:44:41 FOTA[2195]: Send EVENT notification to the server success.
2019-10-08 03:44:41 FOTA[2195]: fota.c, select_firmware_version, 442:
2019-10-08 03:44:41 FOTA[2195]: Now CHOOSE a viable firmware version.
2019-10-08 03:44:41 FOTA[2195]: fota.c, check_enforced_version, 411:
2019-10-08 03:44:41 FOTA[2195]: Now check enforced version.
2019-10-08 03:44:41 FOTA[2195]: fota.c, check_enforced_version, 425:
2019-10-08 03:44:41 FOTA[2195]: 'pEnforced_exist' is null pointer.
2019-10-08 03:44:41 FOTA[2195]: fota.c, select_firmware_version, 488:
2019-10-08 03:44:41 FOTA[2195]: Select upgrade stable firmware.
2019-10-08 03:44:41 FOTA[2195]: fota.c, select_firmware_version, 502:
2019-10-08 03:44:41 FOTA[2195]: No newer firmware is available.
2019-10-08 03:44:41 FOTA[2195]: fota.c, main, 1366:
2019-10-08 03:44:41 FOTA[2195]: The value of 'iRet' is not OK.
2019-10-08 06:29:13 [RC]: Wan(eth3) Disconnect
2019-10-08 06:29:13 ipsec_setup: ...Openswan IPsec stopped
2019-10-08 06:29:14 [RC]: Wan(eth3) connect Success , Current Wan ip is 192.168.1.145
2019-10-08 06:29:17 ipsec_setup: ...Openswan IPsec stopped
2019-10-08 06:29:18 FOTA[24891]: fota_config.c, fota_init_config, 322:
2019-10-08 06:29:18 FOTA[24891]: CA certificate is not set, use default file: /etc_ro/cacert.pem.
2019-10-08 06:29:18 FOTA[24891]: fota_config.c, fota_init_config, 335:
2019-10-08 06:29:18 FOTA[24891]: firmware encryption flag is on.
2019-10-08 06:29:18 FOTA_CONFIG[24911]: mtk/fota_generate_config.c, main, 1060:
2019-10-08 06:29:18 FOTA_CONFIG[24911]: Execute config ACTION: config.
2019-10-08 06:29:18 FOTA_CONFIG[24911]: mtk/fota_generate_config.c, action_config, 779:
2019-10-08 06:29:18 FOTA_CONFIG[24911]: Now start generating the configuration file.
2019-10-08 06:29:18 FOTA_CONFIG[24911]: mtk/fota_generate_config.c, main, 1068:
2019-10-08 06:29:18 FOTA_CONFIG[24911]: Done.
2019-10-08 06:29:18 FOTA[24891]: fota.c, main, 1357:
2019-10-08 06:29:18 FOTA[24891]: Execute ACTION: query.
2019-10-08 06:29:18 FOTA[24891]: fota.c, query_latest_firmware_info, 83:
2019-10-08 06:29:18 FOTA[24891]: Now check with the server for the latest firmware information.
2019-10-08 06:29:19 FOTA[24891]: fota_api_curl.c, get_http_response_code, 167:
2019-10-08 06:29:19 FOTA[24891]: iHttp_code=401.
2019-10-08 06:29:19 FOTA[24891]: fota.c, query_latest_firmware_info, 106:
2019-10-08 06:29:19 FOTA[24891]: Http code: 401, Error code: 111, error message: Invalid access token..
2019-10-08 06:29:19 FOTA[24891]: fota_api.c, refresh_access_token, 214:
2019-10-08 06:29:19 FOTA[24891]: Now REFRESH the access token.
2019-10-08 06:29:20 FOTA[24891]: fota_api_curl.c, get_http_response_code, 167:
2019-10-08 06:29:20 FOTA[24891]: iHttp_code=200.
2019-10-08 06:29:20 FOTA[24891]: fota_api.c, refresh_access_token, 248:
2019-10-08 06:29:20 FOTA[24891]: REFRESH the access token success.
2019-10-08 06:29:20 FOTA[24891]: fota.c, query_latest_firmware_info, 83:
2019-10-08 06:29:20 FOTA[24891]: Now check with the server for the latest firmware information.
2019-10-08 06:29:21 FOTA[24891]: fota_api_curl.c, get_http_response_code, 167:
2019-10-08 06:29:21 FOTA[24891]: iHttp_code=200.
2019-10-08 06:29:21 FOTA[24891]: fota.c, query_latest_firmware_info, 116:
2019-10-08 06:29:21 FOTA[24891]: QUERY the latest firmware information success.
2019-10-08 06:29:21 FOTA[24891]: fota.c, select_firmware_version, 442:
2019-10-08 06:29:21 FOTA[24891]: Now CHOOSE a viable firmware version.
2019-10-08 06:29:21 FOTA[24891]: fota.c, check_enforced_version, 411:
2019-10-08 06:29:21 FOTA[24891]: Now check enforced version.
2019-10-08 06:29:21 FOTA[24891]: fota.c, check_enforced_version, 425:
2019-10-08 06:29:21 FOTA[24891]: 'pEnforced_exist' is null pointer.
2019-10-08 06:29:21 FOTA[24891]: fota.c, select_firmware_version, 488:
2019-10-08 06:29:21 FOTA[24891]: Select upgrade stable firmware.
2019-10-08 06:29:21 FOTA[24891]: fota.c, select_firmware_version, 502:
2019-10-08 06:29:21 FOTA[24891]: No newer firmware is available.
2019-10-08 06:29:21 FOTA[24891]: fota.c, main, 1393:
2019-10-08 06:29:21 FOTA[24891]: The value of 'iRet' is not OK.
2019-10-08 12:29:14 [RC]: Wan(eth3) Disconnect
2019-10-08 12:29:14 ipsec_setup: ...Openswan IPsec stopped
2019-10-08 12:29:15 [RC]: Wan(eth3) connect Success , Current Wan ip is 192.168.1.205
2019-10-08 12:29:18 ipsec_setup: ...Openswan IPsec stopped
2019-10-08 12:29:19 FOTA[11034]: fota_config.c, fota_init_config, 322:
2019-10-08 12:29:19 FOTA[11034]: CA certificate is not set, use default file: /etc_ro/cacert.pem.
2019-10-08 12:29:19 FOTA[11034]: fota_config.c, fota_init_config, 335:
2019-10-08 12:29:19 FOTA[11034]: firmware encryption flag is on.
2019-10-08 12:29:19 FOTA_CONFIG[11054]: mtk/fota_generate_config.c, main, 1060:
2019-10-08 12:29:19 FOTA_CONFIG[11054]: Execute config ACTION: config.
2019-10-08 12:29:19 FOTA_CONFIG[11054]: mtk/fota_generate_config.c, action_config, 779:
2019-10-08 12:29:19 FOTA_CONFIG[11054]: Now start generating the configuration file.
2019-10-08 12:29:19 FOTA_CONFIG[11054]: mtk/fota_generate_config.c, main, 1068:
2019-10-08 12:29:19 FOTA_CONFIG[11054]: Done.
2019-10-08 12:29:19 FOTA[11034]: fota.c, main, 1357:
2019-10-08 12:29:19 FOTA[11034]: Execute ACTION: query.
2019-10-08 12:29:19 FOTA[11034]: fota.c, query_latest_firmware_info, 83:
2019-10-08 12:29:19 FOTA[11034]: Now check with the server for the latest firmware information.
2019-10-08 12:29:20 FOTA[11034]: fota_api_curl.c, get_http_response_code, 167:
2019-10-08 12:29:20 FOTA[11034]: iHttp_code=401.
2019-10-08 12:29:20 FOTA[11034]: fota.c, query_latest_firmware_info, 106:
2019-10-08 12:29:20 FOTA[11034]: Http code: 401, Error code: 111, error message: Invalid access token..
2019-10-08 12:29:20 FOTA[11034]: fota_api.c, refresh_access_token, 214:
2019-10-08 12:29:20 FOTA[11034]: Now REFRESH the access token.
2019-10-08 12:29:21 FOTA[11034]: fota_api_curl.c, get_http_response_code, 167:
2019-10-08 12:29:21 FOTA[11034]: iHttp_code=200.
2019-10-08 12:29:21 FOTA[11034]: fota_api.c, refresh_access_token, 248:
2019-10-08 12:29:21 FOTA[11034]: REFRESH the access token success.
2019-10-08 12:29:21 FOTA[11034]: fota.c, query_latest_firmware_info, 83:
2019-10-08 12:29:21 FOTA[11034]: Now check with the server for the latest firmware information.
2019-10-08 12:29:22 FOTA[11034]: fota_api_curl.c, get_http_response_code, 167:
2019-10-08 12:29:22 FOTA[11034]: iHttp_code=200.
2019-10-08 12:29:22 FOTA[11034]: fota.c, query_latest_firmware_info, 116:
2019-10-08 12:29:22 FOTA[11034]: QUERY the latest firmware information success.
2019-10-08 12:29:22 FOTA[11034]: fota.c, select_firmware_version, 442:
2019-10-08 12:29:22 FOTA[11034]: Now CHOOSE a viable firmware version.
2019-10-08 12:29:22 FOTA[11034]: fota.c, check_enforced_version, 411:
2019-10-08 12:29:22 FOTA[11034]: Now check enforced version.
2019-10-08 12:29:22 FOTA[11034]: fota.c, check_enforced_version, 425:
2019-10-08 12:29:22 FOTA[11034]: 'pEnforced_exist' is null pointer.
2019-10-08 12:29:22 FOTA[11034]: fota.c, select_firmware_version, 488:
2019-10-08 12:29:22 FOTA[11034]: Select upgrade stable firmware.
2019-10-08 12:29:22 FOTA[11034]: fota.c, select_firmware_version, 502:
2019-10-08 12:29:22 FOTA[11034]: No newer firmware is available.
2019-10-08 12:29:22 FOTA[11034]: fota.c, main, 1393:
2019-10-08 12:29:22 FOTA[11034]: The value of 'iRet' is not OK.