-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DHCP Option 2 - Time Offset #18
Comments
From the manual:
So for an offset of plus one hour use Settings file looks like this:
There is additional info on option 2 here. |
Hi JonnyTech, thanks for the reply. See attached image below. I had a Wireshark trace running on the Windows10 PC, I included what the trace showed for the Option (2) Time Offset. Then I moved the "very' same IP phone from the closed network to my office network (where we have a Windows Server 2016 DHCP running) and the phone got an IP from the office DHCP and "also" got the time offset and correct time. Based on my testing, I believe the option (2) Tiem Offset on the TFTP62 program is "not" working. Any ideas ? |
So, you are looking to get a -4H offset. Just tested with a value of EDIT: I just noticed a typo in my previous post, there needs to be a space between the prefix and the value, ie |
Hi JonnyTech, The PC (Windows10) time is 15:49 Thanks again for your help. |
I am now away from my office so I cannot check until at least tomorrow, but... this smells of a timezone issue. To which timezone is the Windows computer set to? Is it UTC or other? According to Section 3.4 of RFC 2132:
So if Windows time is 15:49 and the phone time obtained is 19:49, which is +4h, but your settings file shows that is should be -4h from UTC, then is your computer set to +8h from UTC? Please try setting everything to UTC to see if offsets work correctly then look for which item is incorrectly interpreting the timezone offset in its calculations. Reread and interpret the RTC again: "specifies the offset of the client's subnet from UTC". I suspect that you have a server misconfiguration somewhere that the Windows DHCP server is aware of and compensates but TFTPD64 assumes otherwise. |
Hi JonnyTech, The Open DHCP server, sent the to the Grandstream phone, option (2) Time offset: Length (4) Time offset: 2 hours (7200) The TFTP64, sent the to the Grandstream phone, option (2) Time offset: Length (4) Time offset: 6235 days 32 minutes (358705920) |
Hello there,
Does anyone have a list with the "correct" syntax on how to enter the different time zones that TFTP32/64 DHCP Server support for the Additional option (2) Time offset.
Thanks in advanced for your help.
The text was updated successfully, but these errors were encountered: