Linux - NetworkingThis 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.
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.
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?
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;
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.