sandromonte55 Posted May 12, 2017 Report Share Posted May 12, 2017 Hi to all, i'm a snomONE mini user from about 4 years. All worked well in my office, but a couple of days ago, after a power failure, when my Snom mini started up,it didn't work properly. I saw that in it showed a wrong date and hour, and exactly 1-1-1970, hour 00:00 I supposed it needed a little of time to refresh that date but it did't happen. Can anyone help me to understand this and resolve the problem ? below a screenshot of status page.. Thanks in advance -sandro Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted May 12, 2017 Report Share Posted May 12, 2017 Is there a way you can log in through SSH? The PBX takes the time from the operating system, maybe there is a NTP server set up that does not exist any more. Quote Link to comment Share on other sites More sharing options...
sandromonte55 Posted May 12, 2017 Author Report Share Posted May 12, 2017 Hi, yes, i could log in from one of my Mac on the local network.. can you give me some instructions ? thanks Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted May 12, 2017 Report Share Posted May 12, 2017 I don't quite remember but at the end of the day the mini is just a Linux computer there (there is plenty information out there on how to do this on Linux computer). You might have to edit the /etc/ntp.conf file. Quote Link to comment Share on other sites More sharing options...
sandromonte55 Posted May 12, 2017 Author Report Share Posted May 12, 2017 Ok, many thanks.. by the way, looking into the file pbx-config, that I found inside a configuration backup, i have seen the following rows: <timezone>CET</timezone> <ntp_host>pool.ntp.org</ntp_host> So it seems that the NTP Server is "Pool.ntp.org" and this server seems to be active Any ideas ? Quote Link to comment Share on other sites More sharing options...
Support Posted May 12, 2017 Report Share Posted May 12, 2017 Hi, Given that you have a linux PBX server. Please check this link out and see if it works out for you. http://www.pool.ntp.org/en/use.html Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted May 12, 2017 Report Share Posted May 12, 2017 What is in the PBX config file is just used to provision the phones, the PBX itself still takes the time from the OS. Quote Link to comment Share on other sites More sharing options...
sandromonte55 Posted May 12, 2017 Author Report Share Posted May 12, 2017 The strange thing is that until yesterday it was working properly. After the power failure i had that issue.. Is there a buffer battery to save date and time into the snom mini ? Quote Link to comment Share on other sites More sharing options...
sandromonte55 Posted May 13, 2017 Author Report Share Posted May 13, 2017 Hi, i 'm trying to connect via ssh to the snomONE but i have a"Permission denied" I type the followig command ssh admin@192.168.0.11 it ask me the password;: i type administrator pw (nome utente admin, password snomONE) but the response is "Permission denied" what is the error ? do I need to type something else (i.e port number) ? -sandro Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted May 13, 2017 Report Share Posted May 13, 2017 There is no battery. Did you also restart the PBX before? Anything has changed? In the newer versions the root password is the same like for the super-admin password in the web interface. Did you try that one? Quote Link to comment Share on other sites More sharing options...
sandromonte55 Posted May 14, 2017 Author Report Share Posted May 14, 2017 Hi, i tried restarting the snomMini several times, via software and also removing power cable (POE cable). The only test I didn't was the reset to default values. I tried with many user name and password but it denied permission. Do I have to tell the PBX what door to use? below the command i used..... Last login: Sun May 14 08:09:24 on ttys000 MacMini-Server:~ server$ ssh admin@192.168.0.11 admin@192.168.0.11's password: snomONE Permission denied, please try again. admin@192.168.0.11's password: snomone Permission denied, please try again. admin@192.168.0.11's password: blank Permission denied (publickey,password). MacMini-Server:~ server$ ssh root@192.168.0.11 root@192.168.0.11's password: snomONE Permission denied, please try again. root@192.168.0.11's password: blank Permission denied (publickey,password). Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted May 14, 2017 Report Share Posted May 14, 2017 SSH should be on the standard port. The username is "root" and the password is the password that you are using in the web interface of the PBX. Quote Link to comment Share on other sites More sharing options...
sandromonte55 Posted May 14, 2017 Author Report Share Posted May 14, 2017 Hi, I did exactly what you suggest. In my case i used "root" as username, and the web administrator pw that is "snowONE" but as you can see in the previous post, i do not have the permission.. Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted May 14, 2017 Report Share Posted May 14, 2017 Hmm. There is no magic back door here. If you don't have the SSH password then you cannot log in... I know that in the newer versions the root password was written when you write a new admin password from the web interface. I am not sure when that feature was introduced. But maybe we get distracted by trying to get into the system by SSH. If the system was able to get the time before, it should be able to get the time now. I remember that the snom devices were shipped with a NTP server pointing to ntp.snom.com, which does not seem to work properly any more: xx:~$ ntpdate -d ntp.snom.com 14 May 07:41:01 ntpdate[6808]: ntpdate 4.2.8p4@1.3265-o Wed Apr 5 13:28:09 UTC 2017 (1) Looking for host ntp.snom.com and service ntp 188.40.67.131 reversed to hedgehog.snom.net host found : hedgehog.snom.net transmit(188.40.67.131) receive(188.40.67.131) transmit(188.40.67.131) receive(188.40.67.131) transmit(188.40.67.131) receive(188.40.67.131) transmit(188.40.67.131) receive(188.40.67.131) 188.40.67.131: Server dropped: strata too high server 188.40.67.131, port 123 stratum 16, precision -23, leap 11, trust 000 refid [188.40.67.131], delay 0.18391, dispersion 0.00903 transmitted 4, in filter 4 reference time: 00000000.00000000 Thu, Feb 7 2036 1:28:16.000 originate timestamp: dcc2c0d2.f97e6f3f Sun, May 14 2017 7:41:06.974 transmit timestamp: dcc2c0d3.b3e478bb Sun, May 14 2017 7:41:07.702 filter delay: 0.18576 0.24048 0.18391 0.23187 0.00000 0.00000 0.00000 0.00000 filter offset: -0.81079 -0.83555 -0.80983 -0.83128 0.000000 0.000000 0.000000 0.000000 delay 0.18391, dispersion 0.00903 offset -0.809833 14 May 07:41:07 ntpdate[6808]: no server suitable for synchronization found Quote Link to comment Share on other sites More sharing options...
sandromonte55 Posted May 14, 2017 Author Report Share Posted May 14, 2017 Done ! I have changed the pw ,as you said, and now i can access the snomOne mini (see below) Now can i try to set the NTP server ? Last login: Sun May 14 13:21:44 on ttys000 MacMini-Server:~ server$ ssh root@192.168.0.11 root@192.168.0.11's password: Linux snomonemini 2.6.33.6 #4 PREEMPT Thu Dec 8 03:18:43 EST 2011 armv5tel The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Thu Jan 1 00:00:59 1970 from 192.168.0.2 root@snomonemini:~# Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted May 15, 2017 Report Share Posted May 15, 2017 Ok, we should be close to solving this mystery. On my mini here the /etc/ntp.conf shows a line # You do need to talk to an NTP server or two (or three). server 188.40.67.131 which is actually the IP address of ntp.snom.com. Change it e.g. to pool.ntp.org and restart the PBX... Quote Link to comment Share on other sites More sharing options...
sandromonte55 Posted May 15, 2017 Author Report Share Posted May 15, 2017 excuse, but can you tell me what i need to type into the terminal once i have logged ,to do that you suggest me? be patient, please, i' m not an expert on this...... i tried what you can see below to see what was the ntp server settings, but it don' t work, sure i typed wrong..... TIA Last login: Thu Jan 1 16:58:55 1970 from 192.168.0.64 root@snomonemini:~# /etc/ntp.conf -bash: /etc/ntp.conf: Permission denied root@snomonemini:~# etc/ntp.conf -bash: etc/ntp.conf: No such file or directory root@snomonemini:~# Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted May 15, 2017 Report Share Posted May 15, 2017 There is a editor called vi on that system; so you should be able to use vi /etc/ntp.conf to edit this. Check out https://ss64.com/vi.html on how to use vi. Before you do that, make a copy e.g. cp /etc/ntp.conf /etc.ntp.conf.old so that you still have the old file. Quote Link to comment Share on other sites More sharing options...
sandromonte55 Posted May 16, 2017 Author Report Share Posted May 16, 2017 Hi, used vi editor (with some difficult..) to modify /etc/ntp.conf file and changed ntp.snom.con to pool.ntp.org as you can see below in the attachment, saved file, exit. I restarted the PBX, but seeing in status window i have again uptime 1970/1/1 ...... help ! Quote Link to comment Share on other sites More sharing options...
sandromonte55 Posted May 16, 2017 Author Report Share Posted May 16, 2017 hi, updating: problem resolved, the PBX needed a few minutes for synchronization, now it works properly, date and time correct ! ! many thanks for the help ! -sandro Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.