Showing posts with label wifi. Show all posts
Showing posts with label wifi. Show all posts
Monday, 26 January 2015
re-booting the house for the Internet of Things
At least my tee-shirt still works.
They tell us all about the Internet of Things, but we still all need to read the small print.
Here at rashbre central we often utilise low serial number products, although this can sometimes create a few hiccups.
A recent case in point is the change to our internet connectivity. The man from Openreach connected up the new box and made sure that a single internet connection was working. Job done for him, and I'd already reconfigured everything else to plug back in.
It raised an interesting point about the way we're already using the Internet of Things.
As quick examples, the heating here is internet enabled, with separate ZigBee connections to the smoke detectors. Then there's the television. That has an internet connection for Sky+HD. Oh, and another one for the DVD player. And one for the Apple TV. Come to think of it the amplifier is connected to the internet. And the remote control uses a wifi hub. That's the same hub that controls the fireplace ignition.
I could go on about the lighting dimmers or the energy monitoring system (622kW right now).
The thing is, modern stuff is progressively adding Internet of Things components which are a hybrid of wifi and IEEE 802.15.4, but it's still somewhat unpredictable.
The manufacturers are tinkering to get the technology to work and do things like creating ad-hoc wifi networks (like from a smoke alarm) which is then used to configure the device. In 2015 it's okay if you know what you are doing, but I can see it becoming more impenetrable unless these systems are somehow standardised.
There are still many loose ends: They don't tell you that our BT Home Hub struggles to pass DHCP through a bridge after a certain loading. They don't tell you that multiple wifi nodes can confuse some of the Zigbee products. The antivirus and firewall software loves to play a cheeky part in blocking things unexpectedly. And some of the IoT devices don't behave quite as one would expect on a LAN for the purposes of keep-alive and renewal of IP leases.
The stuff in rashbre central works fine, but it's partly because of random knowledge of the weird bits. I suppose it can start a whole extra home industry when the repair man starts to get called out to fix things. It starts to get beyond just switching it off and on again.
I'm waiting to hear about the first 'reboot home' buttons. Like something out of a space movie, perhaps, but without the reference manual.
Wednesday, 14 January 2015
Running BT HomeHub 5 with Apple Airport Extreme
A technical post today. I seem to remember that one of the very early uses for blogging was as a sort of technical diary, and that's why I drop occasional posts about technical setups into the flow.
I've already mentioned that I'm now using a BT-installed Home Hub 5, which introduced a couple of challenges to the previous setup. The most obvious was that the master phone socket wasn't the one in the office. It was another one downstairs and close to the front door.
BT's Infinity 2 is actually FTTC VDSL (Fibre to the cabinet, Very-high-bit-rate digital subscriber line) - which means it is still delivering the 'last mile' over copper wires.
The change to a filtered master socket meant that the router now needed to be closer to that socket rather than upstairs in the office, which would have needed a, say, 30 metre ethernet cable run along walls etc. The same style police that administer Christmas Tree inspections would have embargoed stapling that to the walls.
So, was the HomeHub wi-fi signal powerful enough to be used alone? Short answer, No. It would work 'downstairs' in the general neighbourhood of the phone line, but didn't reach to the upper floor well enough.
Finding the signal strength
I use the Mac's own wifi tool to check the signal strengths. Simply 'Option-Click' on the wifi signal in the top bar on a Mac and another little App called Wireless Diagnostics starts up.
Go to it's menu list, select Scan, and it will fire up the wifi network scanner. Jolly useful on a laptop for some quick signal strength checking.
The utility will give suggestions about the best wifi channels but, importantly, will also give the signal strengths, specified as RSSI (Received Signal Strength Indicator).
As a guide anything better than -70db is good, although feeble signals will be as poor as -90db. Remember a 10db drop is ten times weaker. The screenshot above is an anonymised replica of part of my indoor scan, which has even more channels listed in the full version, created by overspill from neighbours etc.
I scrolled down to find the BT Hub's own wi-fi signal hovering at -70db (borderline) and -83db (intermittent) when upstairs in the office. Not good enough for reliable service.
Adding the Airport Extremes
I have some Airport Extremes and Time Capsules, so I thought I'd use them to create a stronger wifi signal. I also decided to keep the HomeHub 5 wi-fi signal separate as a kind of backup, especially when setting it up.
The biggest single lesson I remember from using Airport Extremes and Time Capsules is to reset them before creating a new network. Push a paperclip into the reset for about 15 seconds and sure enough we'e back on factory wifi settings (data on the time capsules is preserved, however).
1) Create a network master
I selected an Airport Extreme to have as the master. I connected it to the router via an Ethernet cable, into one of the LAN connectors (i.e. not the WAN connector). This would extend the router's capability into the Airport Extreme.
Then access the Airport Extreme via its temporary wifi network (something like 'Airport Extreme ab123'). It'll ask how you want to configure it, and I followed the step by step guide, which set it up as a master, with its IP address allocated by the BT HomeHub Router. This is important, because I'm using the router as the main DHCP server for the whole network.
2) Extend the network
Then it was a case of plugging in the other Airport Extremes where they were required and performing a similar operation, connect via temporary wifi, follow the configuration instructions but set them up as 'extend network' instead of 'create network'.
3) Measure the difference
The wi-fi signal difference was incredible. In the office it jumped from a best of borderline -70db to -23db, which is generally classified as exceptional. Even on the generally weaker 5Ghz signal jumped from -87db to -33db (also classed as exceptional).
Simplified version of the final configuration
Schematically the configuration is:
Home Hub 5, including DHCP and its own wi-fi
[ethernet connection to]
Airport Extreme 1, set as Create wifi Network - (lounge/dowstairs) nothing else ethernet attached. Used for laptops etc.
[airgap]
Airport Extreme 2, set as Extend wifi Network - (office/upstairs) also includes ethernet attached wired 1Gb ethernet 24 way switch
[airgap]
Airport Extreme 3, set as Extend wifi Network - (entertainment) includes TV related things like Sky+ and Onkyo sound system
There's a few additional airport expresses and apple TVs sprinkled around, but they are set up as 'join' to the main wifi. Everything gets its IP address nominally from the BT HomeHub.
As a useful tip to reduce latency, I added the DNS server addresses to the Extremes and hard coded their IP addresses, as served from the DHCP in the BT HomeHub.
I seem to now have the place bathed in high performance wifi, as well as a 24-way gigabit switch for the office and its various bits and pieces.
Excuse me if I glow a bit from all the Gigahertz.
Labels:
Airport Extreme,
apple,
BT,
FTTC,
HomeHub,
Infinity 2,
scanner,
VDSL,
VDSL2,
wifi
Friday, 27 January 2012
less bait and more switch?
I had a sort of flashback to ye olden days of Windows computing today.
The situation was simple enough. I'd unpacked a fresh new laptop to be used for a specific purpose and naively plugged it in to get it working.
This was straight from the carton and the only taxing thing I wanted it to do was be able to connect with the internet. I won't go into the background use here, suffice to say it wouldn't work.
"No wi-fi connection," announced the shiny Windows 7 interface.
"Silly me," I thought - "I need to press Fn 8 to switch on the Wi-fi."
But it didn't work. It said I needed to flick the hardware switch "on the surface of the computer - or underneath it" - to make the Wi-fi work.
I looked around the unit. No switch. I pressed the Fn 8 a few more times. Still nothing.
A moment of mild panic as I wondered bizarrely if this shiny new 2012 device didn't have Wi-fi included.
I read the carton and even the user instructions. Yes, of course there was Wi-fi included.
So I found an ethernet cable and plugged it in to get internet access via a direct connection instead. Yes, that worked - but is not so useful on a laptop computer, which is supposed to be portable.
Then I accessed the supplier website - and guess what - I'm not the only one with this problem. There's plenty of other people playing 'hunt the switch'. And there isn't a switch.
Then I remembered this was a Windows computer. Inevitably there would be new drivers to replace the factory installed ones.
Sure enough, I found a long set of instructions which were not for the faint-hearted. It explained I needed to download three new sets of drivers. I must make sure they are the 64 bit ones, not the 32 bit variants. Then uninstall the WLAN driver, reboot, uninstall the TVAP drivers and programs, re-boot, run a registry cleaner called CCregistry. Reinstall the replacement WLAN driver. Reinstall the dozen or so utilities included in the 175Mb download of the TVAP drivers. Reboot. Test the WLAN driver and it should all work.
It did.
I now had a Windows laptop with Wifi. Like the one I thought was in the carton I'd opened, several hours earlier.
I reminded myself that I must really, really, really want to use the particular Windows program that this PC will support. And I hope that someone re-examines the meaning of 'Plug and Play' before Windows 8 gets released.
The situation was simple enough. I'd unpacked a fresh new laptop to be used for a specific purpose and naively plugged it in to get it working.
This was straight from the carton and the only taxing thing I wanted it to do was be able to connect with the internet. I won't go into the background use here, suffice to say it wouldn't work.
"No wi-fi connection," announced the shiny Windows 7 interface.
"Silly me," I thought - "I need to press Fn 8 to switch on the Wi-fi."
But it didn't work. It said I needed to flick the hardware switch "on the surface of the computer - or underneath it" - to make the Wi-fi work.
I looked around the unit. No switch. I pressed the Fn 8 a few more times. Still nothing.
A moment of mild panic as I wondered bizarrely if this shiny new 2012 device didn't have Wi-fi included.
I read the carton and even the user instructions. Yes, of course there was Wi-fi included.
So I found an ethernet cable and plugged it in to get internet access via a direct connection instead. Yes, that worked - but is not so useful on a laptop computer, which is supposed to be portable.
Then I accessed the supplier website - and guess what - I'm not the only one with this problem. There's plenty of other people playing 'hunt the switch'. And there isn't a switch.
Then I remembered this was a Windows computer. Inevitably there would be new drivers to replace the factory installed ones.
Sure enough, I found a long set of instructions which were not for the faint-hearted. It explained I needed to download three new sets of drivers. I must make sure they are the 64 bit ones, not the 32 bit variants. Then uninstall the WLAN driver, reboot, uninstall the TVAP drivers and programs, re-boot, run a registry cleaner called CCregistry. Reinstall the replacement WLAN driver. Reinstall the dozen or so utilities included in the 175Mb download of the TVAP drivers. Reboot. Test the WLAN driver and it should all work.
It did.
I now had a Windows laptop with Wifi. Like the one I thought was in the carton I'd opened, several hours earlier.
I reminded myself that I must really, really, really want to use the particular Windows program that this PC will support. And I hope that someone re-examines the meaning of 'Plug and Play' before Windows 8 gets released.
Subscribe to:
Posts (Atom)