#Fixes the ntpdate[31447]: no server suitable for synchronization found error tos maxdist 2.5

Interesting problem causing all the local machines syncing with ntp to fail. This was after an upgrade to wheezy but think it may have been there before.

Anyhow fix config is:

# /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help

driftfile /var/lib/ntp/ntp.drift

#Fixes the ntpdate[31447]: no server suitable for synchronization found error
tos maxdist 2.5

# Enable this if you want statistics to be logged.
statsdir /var/log/ntpstats/

statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable

# Access control configuration; see /usr/share/doc/ntp-doc/html/accopt.html for
# details. The web page
# might also be helpful.
#
# Note that “restrict” applies to both servers and clients, so a configuration
# that might be intended to block requests from certain clients could also end
# up blocking replies from your own upstream servers.
#restrict -4 default kod notrap nomodify nopeer noquery
#restrict -6 default kod notrap nomodify nopeer noquery

#Block unauthrorized access
restrict default ignore
restrict -6 default ignore

# Local users may interrogate the ntp server more closely.
restrict 127.0.0.1
restrict -6 ::1

server ntp.bbeyond.nl iburst
restrict ntp.bbeyond.nl mask 255.255.255.255 nomodify notrap nopeer noquery

server 0.europe.pool.ntp.org iburst
restrict 0.europe.pool.ntp.org mask 255.255.255.255 nomodify no trap nopeer noquery

server 1.europe.pool.ntp.org iburst
restrict 1.europe.pool.ntp.org mask 255.255.255.255 nomodify notrap nopeer noquery

server 2.europe.pool.ntp.org iburst
restrict 2.europe.pool.ntp.org mask 255.255.255.255 nomodify notrap nopeer noquery

server 3.europe.pool.ntp.org iburst
restrict 3.europe.pool.ntp.org mask 255.255.255.255 nomodify notrap nopeer noquery

restrict 192.168.150.0 mask 255.255.255.0 nomodify notrap nopeer
restrict 192.168.130.0 mask 255.255.255.0 nomodify notrap nopeer
restrict 192.168.160.0 mask 255.255.255.0 nomodify notrap nopeer

# If you want to provide time to your local subnet, change the next line.
# (Again, the address is an example only.)
#broadcast 192.168.0.0

# If you want to listen to time broadcasts on your local subnet, de-comment the
# next lines. Please do this only if you trust everybody on the network!
#disable auth
#broadcastclient





Subnet Mask Cheat Sheet

Subnet Mask Cheat SheetSee also RFC 1878. Addresses Hosts Netmask Amount of a Class C/30 4 2 255.255.255.252 1/64/29 8 6 255.255.255.248 1/32/28 16 14 255.255.255.240 1/16/27 32 30 255.255.255.224 1/8/26 64 62 255.255.255.192 1/4/25 128 126 255.255.255.128 1/2/24 256 254 255.255.255.0 1/23 512 510 255.255.254.0 2/22 1024 1022 255.255.252.0 4/21 2048 2046 255.255.248.0 8/20 4096 4094 255.255.240.0 16/19 8192 8190 255.255.224.0 32/18 16384 16382 255.255.192.0 64/17 32768 32766 255.255.128.0 128/16 65536 65534 255.255.0.0 256Guide to sub-class C blocks/25 — 2 Subnets — 126 Hosts/SubnetNetwork # IP Range Broadcast.0 .1-.126 .127.128 .129-.254 .255

via Subnet Mask Cheat Sheet.




Maintaining your XFS with XFS Filesystem Reorganiser xfs_fsr to defrag | Thushan Fernando Uncut

I found a fair useful article on defragmenting big xfs filesystems.

Whats useful here is that xfs allows you to defrag whilst the machine is running !

Maintaining your XFS with XFS Filesystem Reorganiser xfs_fsr to defrag | Thushan Fernando Uncut.

tardis:~# xfs_db -c frag -r /dev/cciss/c1d0p1
actual 1004877, ideal 541345, fragmentation factor 46.13%
tardis:~# xfs_fsr -t 25200 /dev/cciss/c1d0p1 -v


tardis:~# xfs_db -c frag -r /dev/cciss/c1d0p1

and ill run this tomorrow see what happens


Python 3 without the hassle

Working in python

Using python and switching between versions is fairly easy here is how i did it

pip install virtualenv
apt-get install python3
mkdir programming
virtualenv -p /usr/bin/python3 programming/
cd programming/
. bin/activate

Now you can have a python 3 session without destroying your defualt version that most of the OS installation relies on!


Amazing what you find on the internet

50 MHz / 6m
Never more than 10W into a quarterwave, at no more than 13 feet above ground (tip of antenna).
You can see how quickly I gave up!

call. yyyy-mm-dd notes

2E1BMT 1993-06-10
9A1CCY 1992-07-20 JN85oo, QSL YU2CCY Sasha, 930 miles 098 deg
9A2MP 1993-06-10 Croatia
9A3AQ 1993-06-10 JN75
CT1WW 1993-06-10 IN61ge, 613 miles 207 deg
DJ1ZU 1992-07-20 JN68

From: PE1RAY@PI8HGL.#ZH1.NLD.EU
To : ATV@EU

Received: from pe1ray by pi1hgl with SMTP
id AA3832 ; Mon, 20 May 96 21:55:02 MES
Received: (from pe1ray@localhost) by pe1ray (8.6.12/8.6.9) id UAA00410 for atv%eu%pi8hgl.bbs@pi1hgl; Mon, 20 May 1996 20:34:10 +0100
From: Simon Quantrill Message-Id: <199605201934.UAA00410@pe1ray>
Subject: newbie atv question ?
To: atv%eu%pi8hgl.bbs@pi1hgl
Date: Mon, 20 May 1996 20:33:59 +0100 (GMT+0100)

+———————————————————+
! pe1ray@pe1ray.ampr.org Simon Quantrill !
! PE1RAY@PI8HGL.#ZH1.NLD.EU quans@mbh.org !
! !
! 73 De Simon LaakWartier Den Haag Nederlands !
+———————————————————+
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 416

Hello All,
I am relatively new to ATV, and require information on equipment ( (fast scan
television not sstv), I have a Uniden sat recevier to use as a receiver, and
I intend to build the transmitter, I need info on amps and arials.
I have never worked up this high before so my logbook contains not
circuit snippets arial designs etc. Any help at all is welcome, info, circuits
ideas ANYTHING

Thanks in advance..