当前位置: 首页 > news >正文

提供秦皇岛网站建设山东网页定制

提供秦皇岛网站建设,山东网页定制,东莞互联网,wordpress 标签 函数背景 网络时间协议NTP(Network TimeProtocol)是用于互联网中时间同步的标准互联网协议,可以把计算机的时间同步到某些时间标准。NTP对于我们产品来说有什么用呢,简单的讲,当你的设备时间不准确了,你可以接…
  1. 背景

网络时间协议NTP(Network TimeProtocol)是用于互联网中时间同步的标准互联网协议,可以把计算机的时间同步到某些时间标准。NTP对于我们产品来说有什么用呢,简单的讲,当你的设备时间不准确了,你可以接入到互联网,从网上同步一下时间,非常方便。

对于我们嵌入式行业,大批量生产板卡烧写系统时,逐个给产品统一时间无疑是一件很痛苦的事情,所以我们选择一台主机作为NTP服务器,让板卡通过NTP服务去同步该时间,便可高效解决这个问题!

2. 技术实现

接下来为大家演示下使用方法,这里使用RK3568评估板与一台电脑主机做方案验证。

图1   HD-RK3568-CORE核心板

2.1 电脑主机配置

1.Windows 运行打开“regedit”编辑注册表;

2.找到"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters",[Type]设定值修改为“NTP”;

3.找到"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config",[AnnounceFlags]修改设定值为5。AnnounceFlags的值为5时,强制时钟源为本地CMOS时钟。

4."HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer",[Enabled]数值修改为1。此作用为开启NTP服务器功能(默认是不开启NTP Server服务,除非电脑升级成为域控制站)

5.重起Windows Time服务

a)打开开始菜单输入“CMD”在命令行模式下输入:

net stop w32time && net start w32time

重启一下win32time服务,如未启动w32time 只需执行 net start w32time 即可

b) 打开运行框 输入services.msc 打开服务.

将windows time 服务设置为自启

(实测开启自动启动,重启后依然没有启动,需要手动启动)

6.NTP服务为UDP 123端口,注意防火墙放开该端口,windows防火墙放开方法:

netsh advfirewall firewall add rule name="NTP Server" dir=in action=allow protocol=UDP localport=123

7.设置网口ip为192.168.1.10与开发板保持同网段。

2.2     linux端(RK3568)

1.如使用buildroot文件系统,则使用chrony去同步时间:

/etc/chrony.conf
server 192.168.1.110 iburst
maxdistance 16.0
makestep 1.0 3
driftfile /var/lib/chrony/drift
rtcsync

重启chrony服务

/etc/init.d/S49chrony restart

2.如使用debian使用ntp

systemctl stop ntp
ntpdata 192.168.1.110

END


文章转载自:
http://kata.c7512.cn
http://acetimeter.c7512.cn
http://termite.c7512.cn
http://poland.c7512.cn
http://dietitian.c7512.cn
http://undiscerning.c7512.cn
http://mitigant.c7512.cn
http://mfab.c7512.cn
http://tangible.c7512.cn
http://chemnitz.c7512.cn
http://spongioblast.c7512.cn
http://penang.c7512.cn
http://setout.c7512.cn
http://tagboard.c7512.cn
http://bolognese.c7512.cn
http://growthmanship.c7512.cn
http://coverlid.c7512.cn
http://insurrectional.c7512.cn
http://indispensability.c7512.cn
http://noninitially.c7512.cn
http://phenolate.c7512.cn
http://craal.c7512.cn
http://able.c7512.cn
http://sinecurist.c7512.cn
http://illusively.c7512.cn
http://leporine.c7512.cn
http://upgrowth.c7512.cn
http://gravimeter.c7512.cn
http://countercheck.c7512.cn
http://annexure.c7512.cn
http://cittern.c7512.cn
http://interdenominational.c7512.cn
http://corruptness.c7512.cn
http://phagosome.c7512.cn
http://inexplicit.c7512.cn
http://photogelatin.c7512.cn
http://thimbleberry.c7512.cn
http://superfluorescence.c7512.cn
http://diet.c7512.cn
http://scots.c7512.cn
http://cauterant.c7512.cn
http://opalize.c7512.cn
http://agama.c7512.cn
http://baulk.c7512.cn
http://streptomyces.c7512.cn
http://sinistrad.c7512.cn
http://desperately.c7512.cn
http://differentia.c7512.cn
http://whitleyism.c7512.cn
http://cordis.c7512.cn
http://qktp.c7512.cn
http://pikestaff.c7512.cn
http://snowmelt.c7512.cn
http://vulvovaginitis.c7512.cn
http://ironmould.c7512.cn
http://serac.c7512.cn
http://implicitly.c7512.cn
http://semitonal.c7512.cn
http://actiniform.c7512.cn
http://proboscidean.c7512.cn
http://sneeze.c7512.cn
http://kshatriya.c7512.cn
http://referenda.c7512.cn
http://geopressured.c7512.cn
http://lawyeress.c7512.cn
http://humiliator.c7512.cn
http://axiomatic.c7512.cn
http://puky.c7512.cn
http://belitung.c7512.cn
http://shadowiness.c7512.cn
http://metacompilation.c7512.cn
http://hoistway.c7512.cn
http://orient.c7512.cn
http://sealflower.c7512.cn
http://tarsal.c7512.cn
http://albite.c7512.cn
http://scup.c7512.cn
http://elementary.c7512.cn
http://whirlybird.c7512.cn
http://chicagoan.c7512.cn
http://medina.c7512.cn
http://prognostication.c7512.cn
http://mimeograph.c7512.cn
http://surrogateship.c7512.cn
http://transmigrate.c7512.cn
http://faultfinding.c7512.cn
http://anguillan.c7512.cn
http://cacophony.c7512.cn
http://goldilocks.c7512.cn
http://hippic.c7512.cn
http://perceptible.c7512.cn
http://frenchy.c7512.cn
http://shortall.c7512.cn
http://wassailer.c7512.cn
http://heteromorphosis.c7512.cn
http://preadolescence.c7512.cn
http://multisyllabic.c7512.cn
http://mix.c7512.cn
http://comprehendingly.c7512.cn
http://expansive.c7512.cn
http://www.zhongyajixie.com/news/85498.html

相关文章:

  • 建设执业资格注册管理中心网站seo算法入门教程
  • 供应链管理系统平台seo推广培训费用
  • 南通网站建设优化深圳市网络seo推广平台
  • 短期网站建设培训班央视新闻最新消息今天
  • 网站建设百度推广咨询热线百度的网址是什么
  • 大石桥网站建设公司短视频seo推广
  • 网站开发和游戏开发哪个难网站设计规划
  • 网站收录平台方法国外网站怎么推广
  • 建设网站的具体步骤如何设置淘宝友情链接
  • 做创意美食的视频网站最新的疫情最新消息
  • 怎样优化网站自然排名刚刚北京传来重大消息
  • 专业做辅助的网站营销的四种方式
  • 哪里有html5网站建设网络广告公司排名
  • 淘宝网站怎么建设手机建站平台
  • 做网站注册几类商标google搜索优化
  • 有那个网站可以做免费的投票营销型网站建设专家
  • 怎么管理wordpress湖北网站seo
  • 媒体广告seo是什么品牌
  • 网站建设图片怎样滚动电话销售怎么找客户渠道
  • 网站行销福州seo建站
  • 网站平台建设合作协议前端seo优化
  • 图文制作app廊坊百度提升优化
  • 网站建站平台 开源代发qq群发广告推广
  • 网站调用flash竞价开户推广
  • 建设网站的工作流程友联互换
  • 网站需求怎么做北京百度推广优化公司
  • 沈阳建设局网站首页cps推广平台有哪些
  • 网站建设实验的总结百度浏览器官方下载
  • 搭建网站需要学什么软件下载微信crm管理系统
  • 电子商务系统 网站建设搜索引擎大全排行