Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Using NetBSD-7 on a RPiB+



On 04/03/15 17:18, John Klos wrote:
As my 1st (probably of many) pilot error, I was trying to add some stuff to the /etc/ntp.conf file using cat. Unfortunately I used '>' instead of '>>' & wiped out the rest of the default file :-/ .... Would anyone have a pointer/URL to the original, unmodified ntp.conf file for this configuration so I can begin anew configuring ntp :-) ? TIA & have a nice day.

If you don't care about the comments, here's everything in that file:

pidfile        /var/run/ntpd.pid
driftfile    /var/db/ntp.drift
logconfig    -syncstatus
tos        minsane 2
mdnstries    0
restrict default kod nopeer noquery
restrict 127.0.0.1
restrict ::1
server        0.netbsd.pool.ntp.org
server        1.netbsd.pool.ntp.org
server        2.netbsd.pool.ntp.org
server        3.netbsd.pool.ntp.org

Although your filesystem is almost certainly journaled, it'd be a good idea to boot in to single user mode and do an fsck -fy to be sure that your crash using vi isn't due to filesystem corruption. Do you get a traceback in your dmesg buffer when it happens?

John


Actually it didn't crash the whole system, just the login, nothing in /var/run/dmesg.boot that I noticed ....

--

	William A. Mahaffey III

 ----------------------------------------------------------------------

	"The M1 Garand is without doubt the finest implement of war
	 ever devised by man."
                           -- Gen. George S. Patton Jr.



Home | Main Index | Thread Index | Old Index