Jump to content

Setting Time and Date on CS 410 Appliance


cwernstedt

Recommended Posts

Hi,

 

I have installed a CS 410 for a client. A problem is that the unit does't indicate the proper time and date in logs.

 

I have tried using the date command over an SSH session, but that setting doesn't take into account that summer time changes, and time is not retained over restarts.

 

How do I set the time and date and how do I make the CS 410 retain proper settings over restarts, and how will the appliance account for summer time and winter time? (Is this documented somewhere?)

 

/Christian

Link to comment
Share on other sites

There is a program ntpclient at http://www.pbxnsip.com/cs410/ntpclient that you can use for this purpose. We will include it in future releases, feel free to use it now.

 

This tool will set the file system more or less to "now" (at least, GMT). The PBX itself is able to deal with different timezones (at the same time, because every extension may be in a different time zone). This is configured in the timezone.xml file, http://wiki.pbxnsip.com/index.php/Localization#Time_Zones.

Link to comment
Share on other sites

There is a program ntpclient at http://www.pbxnsip.com/cs410/ntpclient that you can use for this purpose. We will include it in future releases, feel free to use it now.

 

This tool will set the file system more or less to "now" (at least, GMT). The PBX itself is able to deal with different timezones (at the same time, because every extension may be in a different time zone). This is configured in the timezone.xml file, http://wiki.pbxnsip.com/index.php/Localization#Time_Zones.

 

How do I install and configure the ntpclient? Are there instructions somewhere?

 

Christian

Link to comment
Share on other sites

How do I install and configure the ntpclient? Are there instructions somewhere?

 

Well just SSH into the box, download it and start it. It is a deban computer...

 

We will include this in the next batch, for those who need this they need to manually download and start it. If you always want to start it, include a line in hte /etc/pbxnsip file - before starting everything else.

Link to comment
Share on other sites

Well just SSH into the box, download it and start it. It is a deban computer...

 

How do I download to the box with the http-protocol?

 

To which directory should the file go?

 

How do I start it?

 

(No, I'm not particularly familiar with linux.)

 

We will include this in the next batch, for those who need this they need to manually download and start it. If you always want to start it, include a line in hte /etc/pbxnsip file - before starting everything else.

 

Is it safe to FTP transfer the /etc/pbxnsip file to a desktop computer for editing, and then transfer it back (replacing the original)? Do I need to check and/or reset permissions?

 

I want to make sure that I don't break anything because this unit is in production, and I'm at an ocean's distance.

 

Christian

Link to comment
Share on other sites

Well, there is some information on http://wiki.pbxnsip.com/index.php/Appliance_Update_Checklist. I guess you can use ncftpget also with the http protocol, otherwise you need to have a ftp server somewhere.

 

You can edit the /etc/pbxnsip file locally using vi, or you can also edit it on PC bu then make sure that it is not inserting CRLF (keep it Unix-Style).

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...