wobble - 2007.05.21: muscovy ducklings at my work

'blog > search

Search Chir.ag 'Blog


Search Results

Search text: "router" found in 5 'blog entries.

Call Me MaybeFri, 2nd Jun '23, 11:40 pm::

Juliet doesn't always keep her phone or smartwatch nearby when she is home. Normally it is not a problem since she does not get any urgent calls from the kids' schools or doctors, as those go to me. But I get pretty annoyed if I try to call her when I'm away from home and get her voicemail instead.

Not anymore! Thanks to the wonders of technology, I have figured out the perfect way to annoy her back and have her call me immediately. I hooked up a Sonos to the dozen in-wall speakers we have throughout our house and can use Spotify to blast a song at full volume no matter where I am in the world. Naturally, my song of choice is Call Me Maybe by Carly Rae Jepsen.

Who needs a landline when you have Sonos?! Surprisingly, just as I was typing this, I realized that we do have a landline! It's the emergency line for the elevator via Ooma. I know landlines are a thing of the past and pretty boring in general but Ooma's tech and pricing is pretty cool. You buy the equipment online and they give you a phone number and service for free, with the only monthly payment being taxes and FCC charges (around $7 for my location). Their equipment is well-designed and cleverly solves the reliability vs. reach problem.

So here's the problem I needed to solve: The elevator's emergency phone line required an old-school landline connection over an RJ-11 phone cord. I cannot easily get a standard landline where I live so my only choice was cellphone or internet-based phone. Cellular phones do not have RJ-11 ports and even if I found one that did, cell service is not dependable indoors, at least not for life-and-death matters. This left internet-based phone service as my only option, but most VOIP (voice-over-internet) services offer phones that connect to standard Ethernet (RJ-45) and there's no cheap "adapter" to go from one to the other, at least not stably for an emergency phone. Additionally, the elevator's control box where the phone line would plug in, is far from my router. Now while I do have good wi-fi all over the house and even the yard, VOIP over wi-fi may work for casual usage but I would not recommend it for emergency phones.

That's why after looking online for months, I was elated to come across Ooma. They offer a base-station ($50 refurbished on Amazon) that plugs into your router with an Ethernet cord and a compatible wireless phone jack with a RJ-11 port (another $50 on Amazon) that can talk to the base-station over RF, without using your home wi-fi. This means I could keep the base-station in my network cabinet, mount the wireless phone jack right next to the elevator's control box, and get reliable phone service without pulling a new RJ-11 cable all across the house. And that's exactly what I did and it works great. It even has a dial-tone with pulse-dialing!

If blasting Carly doesn't work out next time, I might have to call our elevator's emergency line to get Juliet's attention!

Building an awesome home surveillance systemTue, 1st Apr '14, 12:10 am::

During the first year of moving into our house, we focused on function: fix what's broken, replace what can't be fixed, and make everything work as best as possible. The second year we focused on necessary furnishing and organization: bedroom sets, dining table, floor mats and so on. The third year we're splitting the upgrades - Juliet's in charge of paintings and decor and I'm geeking out on home automation and surveillance. I'm quite happy with the technical decisions I've made so far and would like to share what's worked for me:

Home Network: The cheapest, easiest, and most reliable way of controlling all the different systems in your home is over the good ol' LAN. Since every system in my house was going to be controlled via the LAN, the first thing I did was buy a powerful router: Netgear WNDR4500. In addition to having 4 Gigabit ports, the WNDR4500 supports dual band WiFi at 2.4ghz (usually 802.11g - good: long range, every WiFi device supports it; bad: all your neighbors use it, microwaves interfere with it) and 5ghz (usually 802.11n - good: better speed, less noise; bad: shorter range, only supported on latest devices). Connected to the router is my cable modem, couple of TP-LINK Gigabit switches and a TP-LINK Gigabit Power-Over-Ethernet (PoE) switch. If you want a solid home network, make sure all your core switches support 10/100/1000mbps and only use CAT5e or CAT6 cables. All my wired devices are connected to the TP-LINK Gigabit switches. The TP-LINK Gigabit PoE switch is connected to all of my wireless access points.

Wireless Access Points: Even though my router has very good WiFi connectivity, it does not cover my entire house and definitely not the yard. We installed four EnGenius EAP600 units around the house and porch so that almost every corner of my house gets blanketed with perfect signal strength. The EAP600 gets power from the Ethernet so mounting it on the ceiling is a very simple step if you have easy attic access. The best thing about EAP600 is that in addition to supporting dual-band WiFi at 2.4ghz and 5ghz, it supports band steering, "a technology that detects whether or not the wireless client is dual-band capable, and if it is, it will push the client to connect to the less congested 5GHz network." This means my iPad and laptops that support 5ghz automatically connect on that frequency while my older devices continue to work on 2.4ghz. The best part is that there is a single wireless network (SSID) to connect to. Having a good wireless network is necessary if you want to view the surveillance videos from anywhere in the house on any device.

Devices: Speaking of devices, I am absolutely in love with my iPad Mini Retina and highly recommend it as the remote control for your entire house. I find the regular iPad too bulky and the iPhone/iPod too small to operate. I can't speak for or against any Android or Windows tablets as I don't know if the software I use is available on those platforms. As for the hardware to record my 12 camera feeds, I went with something unconventional - an Acer Travelmate P6 laptop that was on sale! I set it up to never go to sleep, operate with the lid closed, and removed all unnecessary software since it was going to use a lot of CPU/RAM 24/7. Believe it or not, a modern laptop with Core i3 and Gigabit Ethernet is more than capable of recording 12+ cameras. Best part is I can hide the laptop somewhere inconspicuous for added security and not worry about it being a target itself. Only problem with a laptop is storage. While 500 GB ought to be enough for a week's worth of video for 4 cameras, it barely records two days worth from my 12 cameras.

Storage: I attached the Acer laptop to my Synology DS211J NAS. I cannot profess my love for the Synology brand enough. I've bought, setup, maintained, and troubleshooted probably 30 different brands of network-attached-storage devices in the last decade and absolutely NOTHING comes even close in performance, price, quality, and robustness to Synology - not even products 3-5x more expensive. Even the low-end DS211J version is very reliable and works great for home backups, media sharing, and in this case, recording video footage. Pop-in a couple of 2TB drives, create a shared folder, map the shared folder in Windows, and drive S: is now ready to store two weeks of videos!

Software: Before I arrived at the current laptop, storage, and software solution, I spent months trying out various software (both free and commercial) and hardware (plug PCs, mini PCs, even VMs). My requirements were pretty fixed from the start: (1) Must work on iPad and iPhone (2) Must work from inside and outside the house (3) Must support at least 12 cameras (4) Cost under $500 in software/device licenses (5) Must allow real-time video and easy playback of recorded footage. While I came across many different solutions, the one that worked best is the free-for-personal-use video monitoring software Genius Vision NVR. It only took minutes to install on the Acer laptop and barely 30 minutes to configure to record all footage from all 12 cameras. It has companion apps for the iPad and iPhone and has decent security to make sure nobody can access my cameras without the right credentials. When adding the cameras to Genius, make sure you name each camera channel properly because there's no way to change them later and the iOS apps automatically sort the cameras based on the channel name. Since you cannot rearrange the cameras on the iOS apps, you really want to get the order correct beforehand. I prefixed my camera channels with 01, 02 etc. to get my desired sort order. Once Genius was configured properly, I opened a random port on my WNDR4500 firewall and made it point to the laptop's IP and Genius port 3557. On the iPad and our iPhones, I added two NVRs (a) At Home (b) Away from Home. The At Home connection points to the internal LAN IP of the Acer and Away from Home points to my WAN IP. Since my ISP rarely changes that, it is not a big deal for me to update that if necessary. I could've used a dynamic DNS service but oddly enough, most of the popular ones are no longer free and the ones that are, I don't know well enough to trust.

Video Surveillance - IP Cameras: Having used many different IP cameras in the past, I knew this was going to be difficult. I wanted 12 identical cameras that worked perfectly in day and night, in full brightness and pitch dark. Nearly all of my cameras face East or West and so it was critical that as daylight fades away the infrared mode kick in automatically and vice versa at sunrise. Additionally I wanted outdoor PoE cameras that could handle moderate rain, high humidity and temperature changes. Weeks of research led me to try out Dahua IPC-HFW2100 (IP66) and I can honestly say that I am pleasantly surprised at how well they work and meet all of my requirements. I must add that configuring them was a pain times twelve and that without this Amazon review, I would not have been able to setup the RTSP stream necessary for Genius Vision NVR. Make sure you get an IP camera that supports NTP and point it to pool.ntp.org or another NTP server so that you never have to worry about the camera's internal clock, which is usually displayed on every stream. If you setup the camera to overlay the current time on the stream, you can immediately tell if any camera stream is frozen by just looking at the on-screen clock.

PoE Switch: I highly recommend getting PoE cameras so that you only need a single cable to the camera instead of power adapter and electric sockets everywhere. In terms of performance and reliability, PoE will always beat WiFi + power adapter. Problem with PoE is that the switches are usually expensive. Most PoE switches with 8 ports only have 4 PoE ports. I did not want to buy 3-4 PoE switches and instead got a BV Tech 16 port / 100Mb PoE switch. I was originally quiet worried about having just a single 100 Megabit cable connect all of my 12 cameras but believe it or not, it has worked quiet well. Even if all of my cameras are streaming at 4Mb/s, that is still under 50Mb/s, well below the theoretical capacity of a 100Mb switch. The best part is that since this device has individual switches to turn on/off the power to each port, I can use it to reboot any camera without unplugging the Ethernet cable.

It has taken me a good six months to plan, budget, purchase, test, and deploy all of the above and finally I feel content with it. I would like to setup Genius Vision NVR to record on motion detection instead of bulk 24/7 recording but that will take a lot of tweaking for each camera. Regardless, we now have a system that we can access from anywhere in the world and it works as well as any professionally installed solution that would cost 4x as much.

Other than the surveillance project, I've also replaced all of our regular A/C thermostats with CyberStat WiFi thermostats that Juliet and I can control from our phones. No more wondering if we left the bedroom heating on while we go on a weekend trip - we can check it and change it from anywhere with Internet access! Next up, I'm thinking of installing electric switches that can be controlled from the Internet and of course in person. And then some day, I plan on writing an algorithm to control colored LED lights in our living room based on a variety of factors.

Signing over my soul to Big BanksThu, 31st Jan '02, 1:10 pm::

Right now I'm in the Douglas Library on campus. I forgot that my class starts at 2:50 pm on Thursdays and NOT at 1:10 pm! So I've got a lot of time to just chill out and do nothing :)

Anyways what a weird day (in a good way) this has been so far. I woke up in the morning thinking this will be yet another gloomy boring day but turns out things have turned out quite the opposite. I went to Walmart and I found this great workout bench at a much much lower price than I expected. The guy working there was pretty nice and showed me 10 different benches before I picked the one that would suit me. He ordered it for me and said I should be getting it within a week :) Yay!

Then I went to the First Union Bank near our store to open an account with them. I've been there many times and like the service they provide so I thought it'd be great if I can get things like online-banking, credit-card-payments-online, atm service, direct deposit etc., for a fee of like $10-$15 per month. Guess what? The girl there told me that since I am a college student... I can get ALL of the above... for... $0 !!! Yup! It's all free. There is no minimum balance, there are no monthly or yearly fees, there are no transaction fees, no charge for anything! I asked her specifically... umm... what exactly do you guys make for giving me all these free services? She said: Nothing. We just hope that when you start working, you will extend your account and get a full checking/savings account with us. I think that's only fair.

She instantly added me to the bank-database and I deposited $50 :) Now within 3-4 days I'll be getting my debit card (which I can use like a normal credit card) and so finally I can buy all the cool stuff online! Yay!!! There are sooooo many things I need to buy... Ah... The list is endless :) The cool thing is that this is a debit card and not a credit card. So I don't have to pay up stuff at the end of the month and blah blah paperwork stuff. If there's money in my bank account, I can use each and every cent to buy stuff online and if I don't, then the transaction won't take place. So I don't even have to worry about someone finding my card no. and using it to buy a $350,000 Aston Martin with it, since well... my account won't have $350,000 in it (atleast not in the immediate future... hehe).

Anyways after I got out of the bank feeling really great, I went to buy some computer parts (D-link Router, 256MB RAM etc.) since someone I know needs it. Guess what? The guy gave me 10% discount on everything! Whoa! This day is going great! Haha... Then I went back to our store, got on the bus and came to college, thinking I have a 1:10 class.. but turns out my class is at 2:50! Doh!

Sat, 12th Jan '02, 5:15 pm::

Contrary to my yesterday's claims about having fixed my router problems, I find that my internet connection still disconnects after some random time, but now it's better... like 40 mins - 1 hour. I'm still fixing this and unless it's done, I won't sleep! Haha.

Fri, 11th Jan '02, 6:45 pm::

As a numer of you already know, my internet connection has been acting really strange lately. I think I found the culprit: my Dlink DI-804 Router. Oddly enough, the company doesn't even sell this product anymore, meaning, they found out that it was a piece of worthless poopoo. Anyways, I've spent the last 2 hours upgrading/downgrading/configuring it and now *hopefully* my internet connections will be smoother and no more icq, aim, yahoo, or msn disconnections :)