1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!

AIProtection service not loading at startup

Discussion in 'Asuswrt-Merlin' started by Iwakan, Jun 13, 2018 at 4:09 AM.

  1. Iwakan

    Iwakan Regular Contributor

    Joined:
    Feb 3, 2015
    Messages:
    65
    Since a few releases I’m having troubles with AIProtection Service not starting at router startup. It’s completely aleatory, sometimes I can see IDPfw is ready in log and sometimes not and it’s easy to know if AIProtection is loaded looking to RAM consumption (if around 42% not loaded and if about 49% loaded).

    My questions are: someone else with this behavior? And how can I force IDPfw to load at the end of router startup using a script?

    Another point is that this happens only if OpenVPN service is enabled because if not IDPfw service is always loaded at router startup.

    Thank you in advance.
     
  2. Please support SNBForums! Just click on this link before you buy something from Amazon and we'll get a small commission on anything you buy. Thanks!
  3. martinr

    martinr Very Senior Member

    Joined:
    Nov 27, 2014
    Messages:
    1,222
    Location:
    United Kingdom
    Which router do you have?

    Which firmware version? When did you update to this version and which firmware were you running beforehand, which leads on to when was a factory reset carried out and was it done according to the instructions?
     
  4. Iwakan

    Iwakan Regular Contributor

    Joined:
    Feb 3, 2015
    Messages:
    65
    Sorry.

    AC68u with Merlin 384.5 but problem is present with latest firmwares not only the latest one.

    Already performed a factory reset several times and started to configure all from scratch with same result. Maybe something different from a standard configuration is that I’m using a preconfigured ISP profile (Movistar Triple Vlan)

    Regards.
     
  5. martinr

    martinr Very Senior Member

    Joined:
    Nov 27, 2014
    Messages:
    1,222
    Location:
    United Kingdom
    Forgive me for asking but after the factory resets did you manually restore your settings or did you restore from a backup?

    Are you running OpenVPN Client or the Servers?
     
  6. Iwakan

    Iwakan Regular Contributor

    Joined:
    Feb 3, 2015
    Messages:
    65
    Yes. Manually restored and OpenVPN running as server.

    This is the error log when IDPfw fails to load:

    Code:
    Jun 13 11:28:32 crond[334]: time disparity of 697528 minutes detected
    Jun 13 11:28:42 kernel: tdts_udb: Unknown parameter `136'
    Jun 13 11:28:42 kernel: tdts_udbfw: Unknown symbol udb_shell_ct_event_handler (err 0)
    Jun 13 11:28:42 kernel: tdts_udbfw: Unknown symbol udb_shell_update_devid_un_bootp (err 0)
    Jun 13 11:28:42 kernel: tdts_udbfw: Unknown symbol udb_shell_policy_match (err 0)
    Jun 13 11:28:42 kernel: tdts_udbfw: Unknown symbol udb_shell_usr_msg_handler (err 0)
    Jun 13 11:28:42 kernel: tdts_udbfw: Unknown symbol udb_shell_wan_detection (err 0)
    Jun 13 11:28:42 kernel: tdts_udbfw: Unknown symbol dev_wan (err 0)
    Jun 13 11:28:42 kernel: tdts_udbfw: Unknown symbol mode (err 0)
    Jun 13 11:28:42 kernel: tdts_udbfw: Unknown symbol udb_shell_unregister_qos_ops (err 0)
    Jun 13 11:28:42 kernel: tdts_udbfw: Unknown symbol udb_shell_get_action (err 0)
    Jun 13 11:28:42 kernel: tdts_udbfw: Unknown symbol udb_shell_update_devid_un_http_ua (err 0)
    Jun 13 11:28:42 kernel: tdts_udbfw: Unknown symbol udb_shell_do_fastpath_action (err 0)
    Jun 13 11:28:42 kernel: tdts_udbfw: Unknown symbol udb_shell_update_qos_data (err 0)
    Jun 13 11:28:42 kernel: tdts_udbfw: Unknown symbol udb_shell_register_qos_ops (err 0)
    Jun 13 11:28:42 kernel: tdts_udbfw: Unknown symbol udb_shell_reg_func_find_ct (err 0)
    Jun 13 11:28:46 rc_service: ip-up 515:notify_rc start_firewall
    Jun 13 11:28:46 rc_service: ip-up 515:notify_rc stop_vpnserver1
    
    For example, I restarted the router four times and the module load failed one of the four times.
     
  7. martinr

    martinr Very Senior Member

    Joined:
    Nov 27, 2014
    Messages:
    1,222
    Location:
    United Kingdom
    Do you have anything plugged into your usb ports?

    The advanced OpenVPN server settings are default ones? Do you have both servers running? If so, you could try shutting each down separately to see if that helps.
     
  8. Iwakan

    Iwakan Regular Contributor

    Joined:
    Feb 3, 2015
    Messages:
    65
    Hi.

    I don’t have any devices connected to USB ports. Only OpenVPN server 1 enabled with blank advanced settings.

    Regards
     
  9. martinr

    martinr Very Senior Member

    Joined:
    Nov 27, 2014
    Messages:
    1,222
    Location:
    United Kingdom
    I inderstand that by “blank” you mean default. Probably a complete waste of time but is it worth trying shutting down Server 1 and setting up Server 2?

    When you have this problem are there any useful error messages on the OpenVPN Server page in yellow?
     
Please support SNBForums! Just click on this link before you buy something from Amazon and we'll get a small commission on anything you buy. Thanks!