Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
03-18-2009, 06:00 AM
|
#1
|
|
LQ Newbie
Registered: Oct 2008
Location: Manchester - UK
Distribution: Debian (Lenny)
Posts: 18
Rep:
|
dhcp server and ntp server help required (Debian)
Hi Guru's
I have a few IP phones (SIP) running off a Debian box. All is working fine, except that I can't find out how to set their time zone via. DHCP or NTP.
The phones get an address and the time with no problems. It's just this "option 2" thing  .
Can anyone help (assuming you understand the above)?
cheers
|
|
|
|
03-19-2009, 04:59 PM
|
#2
|
|
Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 11,808
|
Quote:
Originally Posted by Raffles666
Hi Guru's
I have a few IP phones (SIP) running off a Debian box. All is working fine, except that I can't find out how to set their time zone via. DHCP or NTP.
The phones get an address and the time with no problems. It's just this "option 2" thing  .
Can anyone help (assuming you understand the above)?
cheers
|
No, can't understand it, aside from you running Debian. How about telling us what kind of software you're driving the phones with? Lots of different options there, and all of them have different 'option 2's, and configure things differently.
|
|
|
|
03-20-2009, 02:09 AM
|
#3
|
|
LQ Newbie
Registered: Oct 2008
Location: Manchester - UK
Distribution: Debian (Lenny)
Posts: 18
Original Poster
Rep:
|
Oops - sorry.
OK - the full story. I have various SIP hardphones (Aastra, Grandstream etc.) that all have their own internal option for setting the phones time zone (usually set to US). I am in the UK - so I have to change everyone manually (can be a pain with more than 10 phones). However, there is an option to "Override time zone with DHCP option 2".
I have Debian, dhcp3-server and ntp (added using apt-get) and the phones all pick up an IP address and set the time with no problems. The troubles is that the time on the phones is correct - if you live in the US. Changing the time zone to UK (again, via the phone itself) puts it in my local time.
My question is : How do I add a setting to dhcpd.conf that will set the phones time zone to UK automagically?
Thanks.
|
|
|
|
04-27-2009, 07:59 AM
|
#4
|
|
LQ Newbie
Registered: Apr 2009
Distribution: Kubuntu 8.10 x64
Posts: 2
Rep:
|
Quote:
Originally Posted by Raffles666
Oops - sorry.
OK - the full story. I have various SIP hardphones (Aastra, Grandstream etc.) that all have their own internal option for setting the phones time zone (usually set to US). I am in the UK - so I have to change everyone manually (can be a pain with more than 10 phones). However, there is an option to "Override time zone with DHCP option 2".
I have Debian, dhcp3-server and ntp (added using apt-get) and the phones all pick up an IP address and set the time with no problems. The troubles is that the time on the phones is correct - if you live in the US. Changing the time zone to UK (again, via the phone itself) puts it in my local time.
My question is : How do I add a setting to dhcpd.conf that will set the phones time zone to UK automagically?
Thanks.
|
You need to add a new option to your /etc/dhcp3/dhcpd.conf. Something like:
Code:
# e.g. time offset offset of -6h (=-21600 seconds) to UTC
option time-offset -21600;
|
|
|
|
04-27-2009, 08:00 AM
|
#5
|
|
LQ Newbie
Registered: Apr 2009
Distribution: Kubuntu 8.10 x64
Posts: 2
Rep:
|
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:35 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|