nwa5123-ac have smth like schedule-run cli command?

vrb_dst
vrb_dst Posts: 3  Freshman Member
edited March 2018 in WirelessLAN
Hi, all.
I'm using NWA5123-AC with V5.20(AAZY.3) firmware on it.
Can't find any "scheduler" on web-interface(and in CLI) to run script.

Any thoughts where is it?

#Biz_WLAN_February

Accepted Solution

  • Zyxel_Sally
    Zyxel_Sally Posts: 32  Zyxel Employee
    Accepted Answer

    @vrb_dst

    Thanks for you choosing Zyxel product.

    There are two way introduce how to  configure scheduler for you refer:

    Here is SSID scheduler via WEB GUI.

    Please go to CONFIGURATION -> Object -> AP Profile -> SSID -> edit the profile -> Enable Schedule SSID.

    If you want to configure it via CLI, here it is.

    Router> configure terminal

    Router(config)# wlan-ssid-profile < ssid profile name>

    Router(config-wlan-ssid default)# ssid-schedule

All Replies

  • vrb_dst
    vrb_dst Posts: 3  Freshman Member
    That's great, but i wana use a script for reboot with scheduler. So seems that's not what i need.
  • Zyxel_Sally
    Zyxel_Sally Posts: 32  Zyxel Employee
    @vrb_dst

    Please follow the below steps to enable the schedule to reboot the device regularly.

    1. Create a shell script

        Open a notepad file, and key in “reboot”. Save it as reboot.zysh.

          

    2. Upload the file to MAINTENANCE -> File Manager -> Shell Script

            

    3. Apply the CLI via console or SSH.

        Please refer to the KB. Here is the link.
        http://kb.zyxel.com/KB/searchArticle!viewDetail.action?articleOid=014180&lang=EN
        Router> configure terminal
        Router(config)# schedule-run 1 <script file (*.zysh)> <daily, monthly, weekly> <time,HH:MM>        Router(config)# write

           

            No schedule run.

            Router(config)# no schedule-run 1

  • vrb_dst
    vrb_dst Posts: 3  Freshman Member

    there is no schedule command )
  • Nekan
    Nekan Posts: 1
    I'm digging up an old post. i had the same problem i solved it by creating a bash script :

    #!/bin/bash

    USER=your_username
    PASS=your_password
    ADDR=nwa_address

    timeout 30 sshpass -p $PASS ssh -oStrictHostKeyChecking=no [email protected]$ADDR << EOF
    reboot
    EOF

    # End of script

    It only remains to add the script to the crontab.

    Example :

    # reboot at 2am
    0 2 * * * root /path/to/the/script

    Enjoy :)




  • samuel07
    samuel07 Posts: 1
    edited January 25
    Nekan said:
    I'm digging up an old nj post. i had the same problem i solved it by creating a bash script :

    #!/bin/bash           

    USER=your_username
    PASS=your_password
    ADDR=nwa_address

    timeout 30 sshpass -p $PASS ssh -oStrictHostKeyChecking=no [email protected]$ADDR << EOF
    reboot
    EOF

    # End of script

    It only remains to add the script to the crontab.

    Example :

    # reboot at 2am
    0 2 * * * root /path/to/the/script

    Enjoy :)




    Hey thanks @nekan buddy,

    I was getting the same issue and have resolved my issue through your scripts.
  • @vrb_dst

    Thanks for you choosing Zyxel product.

    There are two way introduce how to  configure scheduler for you refer:

    Here is SSID scheduler via WEB GUI.

    Please go to CONFIGURATION -> Object -> AP Profile -> SSID -> edit the profile -> Enable Schedule SSID.

    If you want to configure it via CLI, here it is.

    Router> configure terminal

    Router(config)# wlan-ssid-profile < ssid profile name>

    Router(config-wlan-ssid default)# ssid-schedule

    Hi, all.
    I'm using NWA5123-AC with V5.20(AAZY.3) firmware on it.
    Can't find any "scheduler" on web-interface(and in CLI) to run script.

    Any thoughts where is it?

    #Biz_WLAN_March 
  • arya98
    arya98 Posts: 1
    thanks for helping me regarding this issue please contact me for further issues like this lets resolve 

    Paradise PD Season 2

Sign In to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click on this button!

Community News