標準ファームへの依存を減らし、 追従の必要を減らす形でハックキットを作り直したので、 インストールしてテストする。
続いて
時刻同期。
nino:~# apt-get install ntp Reading package lists... Done Building dependency tree... Done The following extra packages will be installed: perl perl-modules Suggested packages: ntp-doc libterm-readline-gnu-perl libterm-readline-perl-perl Recommended packages: perl-doc The following NEW packages will be installed: ntp perl perl-modules 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 6067kB of archives. After unpacking 24.6MB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://ftp2.jp.debian.org etch/main perl-modules 5.8.8-7etch1 [2314kB] Get:2 http://ftp2.jp.debian.org etch/main perl 5.8.8-7etch1 [3412kB] Get:3 http://ftp2.jp.debian.org etch/main ntp 1:4.2.2.p4+dfsg-2 [342kB] Fetched 6067kB in 6s (889kB/s) Selecting previously deselected package perl-modules. (Reading database ... 10170 files and directories currently installed.) Unpacking perl-modules (from .../perl-modules_5.8.8-7etch1_all.deb) ... Selecting previously deselected package perl. Unpacking perl (from .../perl_5.8.8-7etch1_arm.deb) ... Selecting previously deselected package ntp. Unpacking ntp (from .../ntp_1%3a4.2.2.p4+dfsg-2_arm.deb) ... Setting up perl-modules (5.8.8-7etch1) ... Setting up perl (5.8.8-7etch1) ... Setting up ntp (4.2.2.p4+dfsg-2) ... Starting NTP server: ntpd. nino:~#
nino:~# cd /etc
nino:/etc# mv ntp.conf ntp.conf.orig
nino:/etc# cp ntp.conf.orig ntp.conf
nino:/etc# ls -l ntp.conf*
-rw-r--r-- 1 root root 1582 Jan 20 21:53 ntp.conf
-rw-r--r-- 1 root root 1582 Mar 4 2007 ntp.conf.orig
nino:/etc# vi ntp.conf
:
:
nino:/etc# diff -c ntp.conf.orig ntp.conf
*** ntp.conf.orig Sun Mar 4 22:58:52 2007
--- ntp.conf Sun Jan 20 21:57:17 2008
***************
*** 11,25 ****
# You do need to talk to an NTP server or two (or three).
#server ntp.your-provider.example
# pool.ntp.org maps to more than 300 low-stratum NTP servers.
# Your server will pick a different set every time it starts up.
# *** Please consider joining the pool! ***
# *** ***
! server 0.debian.pool.ntp.org iburst
! server 1.debian.pool.ntp.org iburst
! server 2.debian.pool.ntp.org iburst
! server 3.debian.pool.ntp.org iburst
# By default, exchange time with everybody, but don't allow configuration.
# See /usr/share/doc/ntp-doc/html/accopt.html for details.
--- 11,28 ----
# You do need to talk to an NTP server or two (or three).
#server ntp.your-provider.example
+ server ntp3.jst.mfeed.ad.jp
+ server ntp2.jst.mfeed.ad.jp
+ server ntp1.jst.mfeed.ad.jp
# pool.ntp.org maps to more than 300 low-stratum NTP servers.
# Your server will pick a different set every time it starts up.
# *** Please consider joining the pool! ***
# *** ***
! #server 0.debian.pool.ntp.org iburst
! #server 1.debian.pool.ntp.org iburst
! #server 2.debian.pool.ntp.org iburst
! #server 3.debian.pool.ntp.org iburst
# By default, exchange time with everybody, but don't allow configuration.
# See /usr/share/doc/ntp-doc/html/accopt.html for details.
nino:/etc#
nino:/etc# /etc/init.d/ntp restart
Stopping NTP server: ntpd.
Starting NTP server: ntpd.
nino:/etc# ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
ntp3.jst.mfeed. 210.173.160.86 2 u 5 64 1 12.264 -1.413 0.015
ntp2.jst.mfeed. 210.173.160.86 2 u 4 64 1 26.031 -7.925 0.015
ntp1.jst.mfeed. 210.173.160.86 2 u 3 64 1 12.464 -1.266 0.015
nino:/etc#
そのうち同期するでしょう。
|
|
← 新型 LS-GL に ハックキット 2.1(4)追加パッケージのインストール |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ 新型 LS-GL に ハックキット 2.1(6)Windows 向けファイルサーバ |