news:s87lcf$a22$1...@dont-email.me...
> The "proper" solution is to connect all the Wifi nodes via Ethernet, and
> use a router that manages the client connections, directing the node with
> the strongest signal to connect to the client and changing the setting
> when the client moves about. All the nodes could use PoE and be powered
> from a UPS, so the power outage problem goes away. Also useful if you get
> any VoIP phones.
>
> Difficult if running Ethernet cables is politically impossible.
Yes, the "SWMBO (Rumpole)" test ;-)
Before we thought of a true mesh network, I'd considered using the router's
wifi to cover one part of the house, and then running a long Ethernet cable
in the loft to the other leg where I'd put one (or maybe two) access points.
But it would have involved the age-old problem of how to run a Cat 7 cable
(even one of the new flat ones) up the wall and through the ceiling into the
loft, without disturbing the decoration by chasing a groove into the wall
and then having a hole in the ceiling, a couple of inches from the corner
because of the diameter of the drill chuck. And then work out how to get the
cable through a floor-to-ceiling breezeblock firebreak wall which divides
one part of the loft from another (maybe when different parts of the house
were added on). And cope with the fact that there are some very
awkwardly-placed diagonal beams in the loft, where a smaller internal roof
has been enveloped in a larger one as the house was extended. Oh, and avoid
stepping through the ceiling because the strips of loft insulation don't
just run *between* the rafters, but another layer has been laid at right
angles *across* the rafters, so it's very difficult to see the damn things
when stepping from one rafter to the next. And a collection of access points
wouldn't have been as seamless when roaming around the house: with the Velop
I can be playing a video on my Win 10 laptop, accessed by SMB from another
computer on the network. And as I roam around the house, going out of range
of one node and into range of another, the video plays seamlessly. The
handoff between nodes is pretty impressive. Not that walking around the
house streaming video is an every day occupation, but I have sometimes
started a large download of an installation file from the internet while my
laptop is in the bedroom and then taken the laptop through to my study, and
it's nice when this doesn't break the download.
In the ideal world, I agree: mesh nodes linked by Ethernet rather than 5 GHz
would be a good idea. Occasionally I've seen data transfer rates over wifi
fall from around 200-300 Mbps to about 20 Mbps, and when I look, I see that
the node which my laptop is connected to is itself connected to the primary
via one or two other nodes (daisy-chaining) rather than directly. Assuming
that all the backhaul links are on different on-overlapping channels (and
with 5 GHz that's easy to achieve) does multi-hop
PC-node1-node2-node3-node4-server run any slower than PC-node1-node4-server?
Are there overheads for receiving and then retransmitting on a different
channel?
> Some mesh devices use a private radio channel to implement the backhaul
> between themselves and the master device. Does the Velop do this?
Yes they do. Therein lies the problem. The backhaul uses 5 GHz for extra
speed. But this has a shorter range than 2.4 GHz, so the nodes must be
fairly close together - close enough that the 2.4 GHz signals from several
nodes overlap. When the devices start up, they auto-negotiate which 2.4 and
5 GHz channels they will use to avoid interfering with each other. And they
have filled the whole 2.4 GHz spectrum from Ch 1 to Ch 14. That is why nodes
sometimes remain in the flashing-red "negotiating" phase permanently if they
are all started simultaneously - eg after a power cut. I know now to turn
them all off, turn on just the primary, then one of them, then (after the
first is happy) the next, and so on. The only things that *must* use 2.4 are
the security cameras (unless they are within Ethernet distance of a node);
apart from those, I could disable 2.4 altogether and probably eliminate the
startup hassle. But it would be nice to be able to turn on 2.4 on a per-node
rather than a per-network level, so I could have the node that covers the
garden able to use 2.4 GHz for extra range at the expense of (maybe) lower
transfer rate at the fringes.
What I really *should* do [being facetious] is erect a 20 m mast on the
patio, where the whole house can see it, and crank up the power way beyond
the permitted limits for wifi. ;-) No need for mesh or Ethernet around the
house - just dig a channel under the patio stones for its Ethernet feed. As
if...
>>> So how does the Velop's WAN interface know what IP to use for the >>
>>> router? Surely it expects to find a DHCP server to tell it?>> I got
> it slightly wrong: I left DHCP on at the router, and configured a >
> reserved 192.168.1.x address for the primary Velop (identified by its >
> MAC).
> That makes much more sense.
>
> [snip about double-nat]
>
>>
>> Yes, our security cameras come with a lifetime subscription to dynamic
>> DNS service, but this won't work via double-NAT.
>
> In theory you could use the DDNS subscription in your router. But some
> routers don't support DDNS or are limited as to the the DDNS servers they
> can use.
>
> You then have to port-forward traffic through both routers - probably
> impossible for what you need
Ah, port forwarding... Yes, that was fun!
I have a couple of security cameras which can be accessed for live video by
web interface. And port-forwarding allows this to be done from outside the
LAN. With the old single-router config, it was fairly easy to map
<public-IP>:81 -> <camera1>:80 and <public-IP>:82 -> <camera2>:80. When I
added the Velops, I had to have a two-stage port forwarding:
<public-IP>:81 -> <router's IP>:81 and <public-IP>:82 -> <router's IP>:82
(at the router), and then (at the Velop) <router's IP>:81 -> <camera1>:80
and <router's IP>:82 -> <camera2>:80. In other words, the Velop is
port-fowarding not from a WAN IP but from a 192.168.1.x address used for
comms between Velop and router. Took a bit of working out how to configure
it in the UIs for the two devices. since Velop FAQs were a bit vague.
But the lack of DDNS is a pain.
I had wondered about configuring one of the Pis as a DNS server, and had
come to the conclusion that it needs to run DHCP as well and that the two
programs need to talk to each other as they share a common list: MAC-IP and
IP-hostname. It would be interesting to try and get it working, as a class
exercise, even if I don't use it. But I'd need to make up my own private LAN
for testing, otherwise as soon as I disabled the Velop's DHCP server I run
the risk of new computers not being able to get IP addresses, until I've got
the Pi DHCP/DNS working.
I've looked at the DNS cache of my Windows 7 PC, and other LAN PCs are not
listed in it, even though the PC can web-browse to all others and RealVNC
client can access the Pis directly (not via cloud) using hostname. So it
looks as if NetBIOS is being used by Windows as the name service for general
name-IP mapping, not just the SMB access for which it was originally
designed.
But there's more. I have an SMB client app (Network Browser, Brandon
Stecklein - from Android App Store) on my Android phone. And after using it
to look at the shares on my Pis, to see if that still worked, name-to-IP
mapping for web browsing and RealVNC client started to work again. I imagine
that the SMB client announced itself on NetBIOS and got replies from all the
SMB-capable computers on the network from which NetBIOS was able to build
its own list. But I'm not going to rely on that. I've modified browser
shortcuts and RealVNC client configs to refer to LAN computers by IP address
rather than hostname, for added resilience.
The strange thing is not that it's failed now, but that it ever worked
reliably in the past without me explicitly (and unwittingly!) make the
phone's NetBIOS force a LAN-wide poll.