LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 03-18-2009, 06:00 AM   #1
Raffles666
LQ Newbie
 
Registered: Oct 2008
Location: Manchester - UK
Distribution: Debian (Lenny)
Posts: 18

Rep: Reputation: 0
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
 
Old 03-19-2009, 04:59 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,577

Rep: Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557
Quote:
Originally Posted by Raffles666 View Post
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.
 
Old 03-20-2009, 02:09 AM   #3
Raffles666
LQ Newbie
 
Registered: Oct 2008
Location: Manchester - UK
Distribution: Debian (Lenny)
Posts: 18

Original Poster
Rep: Reputation: 0
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.
 
Old 04-27-2009, 07:59 AM   #4
dokc
LQ Newbie
 
Registered: Apr 2009
Distribution: Kubuntu 8.10 x64
Posts: 2

Rep: Reputation: 1
Quote:
Originally Posted by Raffles666 View Post
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;
 
Old 04-27-2009, 08:00 AM   #5
dokc
LQ Newbie
 
Registered: Apr 2009
Distribution: Kubuntu 8.10 x64
Posts: 2

Rep: Reputation: 1
DHCP option numbers you can find here:

http://www.networksorcery.com/enp/pr...tp/options.htm
 
  


Reply

Tags
debian, dhcp, ntp


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse server not responding after syncing with NTP Server vipin123 Suse/Novell 2 09-04-2008 03:56 PM
Debian DHCP Server initialdrifteg6 Linux - Networking 7 03-04-2008 06:26 PM
Debian: Can't reach internet with through DHCP-Server vsoemlio Linux - Networking 6 05-18-2007 11:15 AM
Problems concerning DHCP-server on my Debian 3.0r2 server spaceuser Linux - Networking 9 10-17-2004 12:30 PM
Is samba required to connect to a Windows Advanced server from RedHat 8.0 server? NemesisStar Linux - Hardware 1 10-20-2003 12:32 AM


All times are GMT -5. The time now is 05:17 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration