Log

Anton looking after Quintessence

Anton got Quintessence back to town between October and November. This was the journey he did.

Summary

This is a trip of 14 miles, 4¼ furlongs and 10 locks from Broxbourne Bridge No 51 to Marshgate Bridge No 15.

This will take 6 hours and 48 minutes.

From Broxbourne Bridge No 51 travel south on the Lee and Stort Navigation (River Lee) for 4 miles, 1¾ furlongs and 4 locks to Waltham Town Lock No 11, then travel south on the Lee and Stort Navigation (River Lee: commercial section) for 10 miles, 2½ furlongs and 6 locks to Marshgate Bridge No 15.

Route

Lee and Stort Navigation (River Lee)
From Broxbourne Bridge No 51 (Broxbourne, half a mile northwest. Also known as Crown Bridge) to:
Aqueduct Lock No 8 [see navigational note 1 below] 1 mile, 4½ furlongs, 0 locks
Waltham Town Lock No 11 2 miles, 5 furlongs, 4 locks
Lee and Stort Navigation (River Lee: commercial section)
From Waltham Town Lock No 11 to:
Rammey Marsh Lock No 12 [see navigational note 2 below]

BW key needed to operate the gates / windlass for the paddles
5 furlongs, 0 locks
Enfield Lock No 13 [see navigational note 3 below] 6½ furlongs, 1 lock
Stonebridge Lock No 16 [see navigational note 4 below] 4 miles, 7½ furlongs, 3 locks
Tottenham Lock No 17 [see navigational note 5 below] 5¼ furlongs, 1 lock
Marshgate Bridge No 15

B112
3 miles, 2½ furlongs, 1 lock

Totals

Total distance is 14 miles, 4¼ furlongs and 10 locks Today’s travel includes at least 1 small aqueduct or underbridge.

This is made up of 10 miles, 2½ furlongs of commercial waterways; 4 miles, 1¾ furlongs of small rivers; 4 broad locks; 6 large locks.

This will take 6 hours and 48 minutes

Standard
Research

Wireless Access Point

Setting a wireless access point for the beaglebone black

It should be easy if we get the right usb dongle. So far we have tried 2 different realtek types and they fail miserable with the existing open kernel drivers. Not going to compile crap kernel modules and use hacked ancient versions of hostap, thanks

Our last purchase which is a “TP-Link TL-WN722N” should hopefully be an atheros chipset which we always had great experiences with.

Well the previous two we bought were supposed to be atheros but only until version 3. The ones we received where version 4…

If this works it will be great. It also has external antenna connection.

 ***UPDATE***
 And it does work out of the box ...



setup

Assuming that a bridge is setup already with the wired interface in it and something like dnsmasq is serving ip addresses all needed for it to work is:

1
aptitude install  hostapd  haveged firmware-atheros

Haveged is a daemon that helps providing entropy for our wpa ap.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  egrep -v '(^#|^\s*$)' /etc/hostapd/hostapd.conf
  interface=wlan0
  bridge=br0
  driver=nl80211
  ctrl_interface=/var/run/hostapd
  ssid=boat
  hw_mode=g
  channel=1
  wpa=2 # This sets the security settings to WPA2
  wpa_passphrase=hackme
  wpa_key_mgmt=WPA-PSK
  wpa_pairwise=TKIP
  rsn_pairwise=CCMP
  beacon_int=100 # This sets how often the WiFi will send a beacon out.
  auth_algs=3
  wmm_enabled=1

Start the services

1
2
service haveged start
service hostapd start

We also need a couple of iptables rules for NAT:

1
2
3
4
5
6
7
8
9
10
11
12
#!bin/bash
iptables -t nat -F
iptables -F
echo 1 > /proc/sys/net/ipv4/ip_forward
LAN='br0'
WAN='usb0'
iptables -t nat -A POSTROUTING -o $WAN -j MASQUERADE
iptables -A FORWARD -i usb0 -o $LAN -m state --state RELATED,ESTABLISHED -j ACCEPT
iptables -A FORWARD -i $LAN -o $WAN -j ACCEPT

ip route del default
dhclient $WAN

The $WAN interface could be anything that the internet is plugged in. In our case a 4g usb dongle on usb0. We add this to /etc/rc.local before the exit 0 line at the end if it exists.

1
2
3
...
sh /root/bin//masq.sh
...
Standard