Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lipkowski.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, SPF_PASS,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.0 X-Spam-DCC: EATSERVER: mailn 1166; Body=2 Fuz1=2 Fuz2=2 Received: from post.thorcom.com (post.thorcom.com [195.171.43.25]) by lipkowski.org (8.14.4/8.14.4/Debian-8+deb8u2) with ESMTP id v7BJOtiP009077 for ; Fri, 11 Aug 2017 21:24:56 +0200 Received: from majordom by post.thorcom.com with local (Exim 4.14) id 1dgFUO-0006Gu-Uz for rs_out_1@blacksheep.org; Fri, 11 Aug 2017 20:20:56 +0100 Received: from [195.171.43.32] (helo=relay1.thorcom.net) by post.thorcom.com with esmtp (Exim 4.14) id 1dgFUO-0006Gl-IO for rsgb_lf_group@blacksheep.org; Fri, 11 Aug 2017 20:20:56 +0100 Received: from porthos.netcom.co.uk ([217.72.171.73]) by relay1.thorcom.net with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1dgFUL-0001Qz-Q5 for rsgb_lf_group@blacksheep.org; Fri, 11 Aug 2017 20:20:55 +0100 X-DKIM-Result: Domain=abelian.org Result=Signature OK DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=abelian.org ; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:To:Subject:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=wIRBdzvJHcSZ4zH6ErnB5gpx5XTyf4Ke/foELLK4+Mc=; b=vzVYbaLW+Y1OmVN+dRahpVAkZB lU2+ge7nCCP0vkxpPoAgkdy5YIryMvGqvPKORz5NcrdM9YRwaZ47N8zFGCtmi3HlD496nzbvSzBqW eo+roEmZYakRTGWTvv8iGM67e9bwb/8jurXVgvEkwsu3zfwImd+1djtApCYwLWZeTeVw=; Received: from i-194-106-52-83.freedom2surf.net ([194.106.52.83]:36153 helo=pn.abelian.org) by porthos.netcom.co.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1dgFUL-0003ex-7p for rsgb_lf_group@blacksheep.org; Fri, 11 Aug 2017 20:20:53 +0100 Received: from [127.0.0.1] (localhost [127.0.0.1]) by pn.abelian.org (Postfix) with ESMTP id C4DE240073E for ; Fri, 11 Aug 2017 19:20:50 +0000 (UTC) To: rsgb_lf_group@blacksheep.org References: <15db2643c6f-5f13-23c2@webprd-m101.mail.aol.com> <5986259C.8020409@posteo.de> <59864218.1030605@posteo.de> <75b1b001-f17e-35b0-bcb4-6535fe67fc38@sky.com> <59886FDE.20509@posteo.de> <983eafc2-82df-d307-07d8-0070762b99bb@sky.com> From: Paul Nicholson Message-ID: <7b4a865e-4408-2ff2-5d02-02e50df8cbed@abelian.org> Date: Fri, 11 Aug 2017 19:20:50 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <983eafc2-82df-d307-07d8-0070762b99bb@sky.com> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - porthos.netcom.co.uk X-AntiAbuse: Original Domain - blacksheep.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - abelian.org X-Get-Message-Sender-Via: porthos.netcom.co.uk: authenticated_id: catchall@abelian.org X-Authenticated-Sender: porthos.netcom.co.uk: catchall@abelian.org X-Scan-Signature: ce0e5a4ae990e5a63db3ab7aea21191b Subject: Re: LF: vlfrx tools question Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SA-Exim-Scanned: Yes Sender: owner-rsgb_lf_group@blacksheep.org Precedence: bulk Reply-To: rsgb_lf_group@blacksheep.org X-Listname: rsgb_lf_group X-SA-Exim-Rcpt-To: rs_out_1@blacksheep.org X-SA-Exim-Scanned: No; SAEximRunCond expanded to false X-Scanned-By: MIMEDefang 2.75 Status: RO X-Status: X-Keywords: X-UID: 12363 Terry wrote: > still no sign of gps synchronisation As root or with sudo, killall gpsd to stop the daemon, then have a look to see if the GPS is sending data: stty -F /dev/ttyACM0 -echo cat /dev/ttyACM0 Should give you regular bursts of NMEA messages. Look out for the $GPGLL and $GPRMC which contain date and time respectively. Now try gpsd in foreground gpsd -bnN -D3 /dev/ttyACM0 which should print bunches of stuff as each burst of NMEA packets is processed by gpsd. Leave it running in foreground and open up another shell. ntpd is probably already running, so in the other shell run ntpq -p After a short period of time you should have remote refid st t when poll reach ... ====================================================== ... *SHM(0) .GPS. 0 l 1 16 377 ... where the * in front of SHM shows that ntpd is getting the time from gpsd via some shared memory variables. The 'when' value will be counting up. In ntp.conf I'm using server 127.127.28.0 minpoll 4 maxpoll 4 fudge 127.127.28.0 time1 0.051 refid GPS The 0.051 is probably not correct, it was just a cut-and-paste from somewhere else. When you get it working you might want to tweak the 0.051 for your actual comms latency. -- Paul Nicholson --