SNTP does not work in bridged mode
-
- Posts: 6
- Joined: Wed Aug 12, 2015 2:21 pm
SNTP does not work in bridged mode
I use my Billion 7800 as a PPPOE to PPPOA bridge. The billion 7800 has an IP of 192.168.0.1/29. My PPPOE client has IP of 192.168.0.2/29. The PPPOE client (linux box) also runs a NTP server, so the NTP server is available on 192.168.0.2. The billion 7800 boots up with a time set to Sat Jan 1 2000, but does not query the NTP server. The web interface is configured correctly for SNTP, but on inspection of the exported config, the settings in the web panel are not in the config. If I manually edit the config <SNTPCfg> section to be correct and restore the config, it still doesn't work and the setting do not show in the web panel. Other stuff works on this mini LAN such as DHCP and I even have the 7800 logging to the linux box on 192.168.0.2 via syslog however of course the date/time is always wrong in the log! If I telnet into the router and type:
sntp -s 192.168.0.2 -t "Greenwich Mean Time: Dublin, Edinburgh, Lisbon, London" then it thinks about it for a while but no query is generated on the LAN and the time is not updated.
Device Information
Model Name BiPAC 7800
Host Name 810720.hengwm.ateb
System Up-Time 19 min(s)
Current Time Sat Jan 1 00:19:38 2000
Hardware Version Annex A
Software Version 1.06h.dt2
MAC Address 60:03:47:0c:f7:60
LAN IPv6 Address fe80::6203:47ff:fe0c:f760/64
sntp -s 192.168.0.2 -t "Greenwich Mean Time: Dublin, Edinburgh, Lisbon, London" then it thinks about it for a while but no query is generated on the LAN and the time is not updated.
Device Information
Model Name BiPAC 7800
Host Name 810720.hengwm.ateb
System Up-Time 19 min(s)
Current Time Sat Jan 1 00:19:38 2000
Hardware Version Annex A
Software Version 1.06h.dt2
MAC Address 60:03:47:0c:f7:60
LAN IPv6 Address fe80::6203:47ff:fe0c:f760/64
-
- Posts: 5383
- Joined: Tue Jul 19, 2011 4:30 pm
Re: SNTP does not work in bridged mode
It won't work as the 7800 is not connecting to the internet to obtain a WAN IP, it needs to obtain a WAN IP to update the via SNTPscuttleclun wrote:I use my Billion 7800 as a PPPOE to PPPOA bridge. The billion 7800 has an IP of 192.168.0.1/29. My PPPOE client has IP of 192.168.0.2/29. The PPPOE client (linux box) also runs a NTP server, so the NTP server is available on 192.168.0.2. The billion 7800 boots up with a time set to Sat Jan 1 2000, but does not query the NTP server. The web interface is configured correctly for SNTP, but on inspection of the exported config, the settings in the web panel are not in the config. If I manually edit the config <SNTPCfg> section to be correct and restore the config, it still doesn't work and the setting do not show in the web panel. Other stuff works on this mini LAN such as DHCP and I even have the 7800 logging to the linux box on 192.168.0.2 via syslog however of course the date/time is always wrong in the log! If I telnet into the router and type:
sntp -s 192.168.0.2 -t "Greenwich Mean Time: Dublin, Edinburgh, Lisbon, London" then it thinks about it for a while but no query is generated on the LAN and the time is not updated.
Device Information
Model Name BiPAC 7800
Host Name 810720.hengwm.ateb
System Up-Time 19 min(s)
Current Time Sat Jan 1 00:19:38 2000
Hardware Version Annex A
Software Version 1.06h.dt2
MAC Address 60:03:47:0c:f7:60
LAN IPv6 Address fe80::6203:47ff:fe0c:f760/64
-
- Posts: 6
- Joined: Wed Aug 12, 2015 2:21 pm
Re: SNTP does not work in bridged mode
Hi, thanks for the reply.
Why couldn't it use SNTP over the LAN? If in bridged mode then it ought to assume that there could be something else on the LAN that has access to 'Internet Time'? It just accepts IP addresses in the SNTP fields, so why do SNTP queries not just use the internal routes to be directed out of the right interface?
Why couldn't it use SNTP over the LAN? If in bridged mode then it ought to assume that there could be something else on the LAN that has access to 'Internet Time'? It just accepts IP addresses in the SNTP fields, so why do SNTP queries not just use the internal routes to be directed out of the right interface?
-
- Posts: 5383
- Joined: Tue Jul 19, 2011 4:30 pm
Re: SNTP does not work in bridged mode
It's programed to use SNTP servers once a WAN IP is obtained on the device it self, to update the time, either by ADSL or EWAN connection only. (if you are using the device in Bridge mode, the device doesn't obtain a WAN IP)scuttleclun wrote:Hi, thanks for the reply.
Why couldn't it use SNTP over the LAN? If in bridged mode then it ought to assume that there could be something else on the LAN that has access to 'Internet Time'? It just accepts IP addresses in the SNTP fields, so why do SNTP queries not just use the internal routes to be directed out of the right interface?
-
- Posts: 6
- Joined: Wed Aug 12, 2015 2:21 pm
Re: SNTP does not work in bridged mode
So... is there any way *at all* to set the time on these devices when in bridged mode so that the logs are accurate? A command via telnet perhaps?
thanks
thanks
-
- Posts: 5383
- Joined: Tue Jul 19, 2011 4:30 pm
Re: SNTP does not work in bridged mode
Telnet in, then follow the commands below to set the date time and year for this example I used 14/08/2015 11:55amscuttleclun wrote:So... is there any way *at all* to set the time on these devices when in bridged mode so that the logs are accurate? A command via telnet perhaps?
thanks
Adjust using the follow format month/date/time/year
1. Type 'sh' and press 'enter'
2. Type 'date 081411552015'
3. Press 'enter'
4. The time should be adjusted
-
- Posts: 6
- Joined: Wed Aug 12, 2015 2:21 pm
Re: SNTP does not work in bridged mode
Excellent, thank you!
-
- Posts: 5
- Joined: Sun Jan 17, 2016 9:21 pm
Re: SNTP does not work in bridged mode (8800NL)
Hello,
I have a 8800NL in bridge mode. I understand that it does not get a WAN IP & therefore does not auto sync date & time.
However, I use the timed auto restart function to resync my SNR setting, as my SNR improves in early morning.
Is their any way for it to auto update the date & time after restart ? (even querying the router which it is bridged with)
Incidentally - 1. Type 'sh' and press 'enter' - Works.
2. Type 'date 081411552015' - gives "date: invalid date '081411552015'"
Thanks in Hope,
G
I have a 8800NL in bridge mode. I understand that it does not get a WAN IP & therefore does not auto sync date & time.
However, I use the timed auto restart function to resync my SNR setting, as my SNR improves in early morning.
Is their any way for it to auto update the date & time after restart ? (even querying the router which it is bridged with)
Incidentally - 1. Type 'sh' and press 'enter' - Works.
2. Type 'date 081411552015' - gives "date: invalid date '081411552015'"
Thanks in Hope,
G
-
- Posts: 5383
- Joined: Tue Jul 19, 2011 4:30 pm
Re: SNTP does not work in bridged mode (8800NL)
Gerry123 wrote:Hello,
I have a 8800NL in bridge mode. I understand that it does not get a WAN IP & therefore does not auto sync date & time.
However, I use the timed auto restart function to resync my SNR setting, as my SNR improves in early morning.
Is their any way for it to auto update the date & time after restart ? (even querying the router which it is bridged with)
Incidentally - 1. Type 'sh' and press 'enter' - Works.
2. Type 'date 081411552015' - gives "date: invalid date '081411552015'"
Thanks in Hope,
G
Try the following command
1. Telnet in
2. Type 'sh' and press enter
3. Type 'date -R 2016.02.29-09:39
4. Press enter
-
- Posts: 5
- Joined: Sun Jan 17, 2016 9:21 pm
Re: SNTP does not work in bridged mode
Great Thanks, Now how can I automate this, so it corrects the time or "resyncs" after a restart ?