We have upgraded the community system as part of the upgrade a password reset is required for all users before login in.

How to cancel the automatic time synchronization with the server on Omega2?



  • How to cancel the automatic time synchronization with the server on Omega2?



  • @CAP-33 Take a gander at /etc/config/system. I see the following:

    config system
            option timezone 'GMT0'
            option ttylogin '0'
            option log_size '64'
            option urandom_seed '0'
            option cronloglevel '8'
            option hostname 'Omega-D769'
    
    config timeserver 'ntp'
            option enabled '1'
            option enable_server '0'
            list server '0.lede.pool.ntp.org'
            list server '1.lede.pool.ntp.org'
            list server '2.lede.pool.ntp.org'
            list server '3.lede.pool.ntp.org'
    
    config led
            option name 'On'
            option default '0'
            option sysfs 'omega2p:amber:system'
            option trigger 'default-on'
    

    I would imagine timeserver option enabled to '0' would do it. Perhaps a process would need to be restarted.

    Sorry for the half an answer, but in the midst of other O2+ stuff at the moment. I'll take a shot at it later and post unless you beat me to it. ;^)

    take care!
    Bill



  • @William-Scott
    Thank you



  • @CAP-33 I really forgot how to do this. As such I re-learned. Thought I may as well post the "proper" way to make the change instead of editing the config files directly.

    root@Omega-D769:/etc/config# cat /etc/config/system
    
    config system
            option timezone 'GMT0'
            option ttylogin '0'
            option log_size '64'
            option urandom_seed '0'
            option cronloglevel '8'
            option hostname 'Omega-D769'
    
    config timeserver 'ntp'
            list server '0.lede.pool.ntp.org'
            list server '1.lede.pool.ntp.org'
            list server '2.lede.pool.ntp.org'
            list server '3.lede.pool.ntp.org'
            option enabled '1'
            option enable_server '0'
            option enable '0'
    
    config led
            option name 'On'
            option default '0'
            option sysfs 'omega2p:amber:system'
            option trigger 'default-on'
    
    root@Omega-D769:/etc/config# grep enabled system
            option enabled '1'
    root@Omega-D769:/etc/config# uci set system.ntp.enabled='0'
    root@Omega-D769:/etc/config# uci commit
    root@Omega-D769:/etc/config# grep enabled system
            option enabled '0'
    root@Omega-D769:/etc/config# uci set system.ntp.enabled='1'
    root@Omega-D769:/etc/config# uci commit
    root@Omega-D769:/etc/config# grep enabled system
            option enabled '1'
    root@Omega-D769:/etc/config#
    

    I hope this helps.
    Bill


Log in to reply
 

Looks like your connection to Community was lost, please wait while we try to reconnect.