Thursday, November 27, 2014

Introduction to Chromebooks (and Chromeboxes)

I'm going to cover "Chromebooks" (and the related Chromeboxes) on this blog entry, to provide information on whether purchasing a Chromebook could be right for you. There is no better time than now: Until the 5th of January, any new purchase of a Chromebook or Chromebox has an offer of 1 terabyte of Google Drive space free for two years.

The ASUS Chromebox model I bought for $180 is now available in specials below $120. My Chromebook is a Lenovo (the brand that bought the PC side of IBM), whom say that they will produce a Chromebook with a Chinese CPU for around $100 USD. It's very possible to take advantage of the Drive offer without spending much at all.

If you are able to do your computer tasks from within a web browser, you are exactly suited for a Chromebook. Especially since Google Drive provides an ability to do compose documents in a wordprocessor, spreadsheet, or as a presentation. Chromebooks are most-heavily utilized in the education sector, with each student in some districts issued a managed Chromebook.

As Systems Administrator for Western New Mexico Communications, I am able to easily accomplish more than 90% of my tasks with the Chrome OS. I can remote into my Windows 7 system for the occasional program I need to run from that environment, but my Chromebook is even able to pull up a "Secure Shell" console session on our core router unassisted. No external programs can be installed (so the Chrome OS also avoids computer viruses and "malware" as well), only Chrome "extensions" from the "Web Store" (currently there are thousands of "apps" available, more than Android apps in the Google "Play Store".

How do you know when it is a good product? When competitors like Microsoft jump in the market with Windows RT, and offer Office 365 access free for a year. Chromebooks have a community of volunteers to provide assistance (I am one of them). Issues that are deeper still have access to a Chromebook "agent" that will typically call YOU within minutes of opening a case. Setup and the possible "powerwash" (which reverts the Chromebook to factory settings in less than a minute) are easily accomplished.

Since the Chrome OS is so optimized for its minimalist approach, it boots up in seconds (a video I made below shows the process completing in less than 20 seconds, outside of me typing my password to log in). The system can be locked with a single keystroke. A second display can be connected to display another desktop (even to an HDTV of the last several years, with an HDMI interface), Chromeboxes are designed to run dual displays, in any orientation, straight out of the box.

However, any device operating from that native Internet connectivity depends on it. Chromebooks and Chromeboxes can do some tasks without being online (Google Drive can be set in an "offline" mode), but if the Internet connection is down it will be an impact. My Chromebook (as most models) only has wireless capability, the Chromebox has an Ethernet connection in addition to wireless. The Chrome OS has most items you would expect in a mini-laptop: USB, webcam, internal speakers and microphone. Although a Chromebox is just the main system without peripherals, common devices of mice and keyboards, headsets, and USB webcams are recognized.

My Chromebook booting up in 20 seconds

Both of my Chrome OS systems are based on an Intel Celeron - the Chromebook has a 1.83GHz CPU (with four cores), and 4Gb of RAM, but my Chromebox runs well even at 1.4GHz (two cores) and 2Gb of RAM (ASUS has other models that increase the RAM to 4Gb, and with i3 and i5 CPUs, and able to run new "4K" displays). Any other modern operating system wouldn't run well at those levels, but the Chrome OS does.

Ask any questions you have in the comments, and I will try to answer everything...

Thursday, November 13, 2014

Software Settings: Launch a website as an app from a Chromebook

I'm preempting my 7.1 audio channel construction to provide my first blog post about software rather than hardware. Well, it is about hardware in one particular way, in that I will be showing a feature that can be set up on a "Chromebook" or "Chromebox", a minimalistic computer system running Google's "Chrome OS" (Operating System). Chrome OS is a scenario that your Chrome web browser is the operating system of the computer. It connects you online, to "the Cloud" (like Google Drive and web-based applications) to do your work.

It's important to note, that even though Windows has a "Chrome App Launcher" that can be installed, the following procedure cannot be initiated on a Windows-based computer in the manner I am showing. The website "app" shortcut you create on your Chromebook / Chromebox will be synced to your Chrome App Launcher in Windows, but you can't do this procedure unless you have a device running Chrome OS. This topic also debuts the video recording I am doing on my Chrome OS systems, to be profiled in a later topic on its own.

I will now go into the convention of saying "Chromebook" (being the more known device running Chrome OS) when the same steps can also be done on a "Chromebox" (a Chromebook is a laptop/tablet running Chrome OS, a Chromebox is less portable, and needs display(s), keyboard, and mouse connected to make the complete equivalent basic system). On a Chromebook, certain features (deemed "experimental", or that could be possibly changed or withdrawn later) are activated by "flags", a software selection that you want to enable that feature or function. In a Chrome tab on your Chromebook, go to the internal address "chrome://flags/#enable-streamlined-hosted-apps" and click on the word "Enable". Re-start your Chromebook completely. Now when you are on a website that you want to create an "app" shortcut in the App Launcher, click on the "hamburger" or "hotdog" (the three short horizontal lines in the upper-right corner of Chrome to access the menu items) and select the heading "More tools". A sub-menu becomes visible, and you would select "Add a shortcut to this website...". In the dialog that appears, click on the "Add" button after you have shortened or chosen a name that is descriptive for that icon in the App Launcher.

If you have enabled "Voice Search" on your Chromebook (meaning that you can speak commands after saying "Ok Google" in a search window or the App Launcher), the "app" (website link) can be launched by voice. As an example, I navigated to the live streaming page of the IT Pro TV website ("itpro.tv/live"), and added the "app" shortcut named "IT Pro TV". When I say (shown in the video) "Ok Google, IT Pro TV" it launches the website in its own window. That seemed to be a more-productive example, but I did also add an "app" for Facebook in the same way. If you have any questions or comments about this process, please post them below.

 The Chrome OS App Launcher

Setting the flag to enable an "app" website shortcut

video
Video demonstration of launching a website link "app" by voice command


Monday, October 27, 2014

"Thin Client" Usage

In addition to the modern "thin client" platforms of Chromebook and Chromebox (a laptop or small system running the Chrome operating system), I have a number of older thin clients running Windows CE (Compact Edition). A thin client is a small system designed without much processing power, which connects or remotes over the network to larger, more capable computer system(s) where the work is done. The WYSE (now owned by Dell) "WinTerm" (Windows Terminals) I will demonstrate here usually used the Remote Desktop Protocol to connect into a Windows workstation or server.

The WYSE terminals are running Windows CE from a "disk-on-a-chip", meaning there is no fan or other moving parts. They are powered by 12VDC, drawing slightly over an amp of current when running. For connections there is a VGA port for video, PS/2 ports for the keyboard and mouse, two serial ports, and a parallel port. VGA video is able to display up to 1280 x 1024 pixels, but just as importantly, 640 x 480 pixels that small economical LCD screens can have as input.

In the workplace, I've set up four WT3125SE units for provisioning DSL modems. A basic version of Internet Explorer 6 is in Windows CE, and there is an additional TELNET program that has the ability to run scripted commands. In short, providing everything needed for the task, with no extras. The WT3125SE has a Geode 1 CPU running at 266MHz, and 64Mb RAM. USB ports are version 1.1, and there is only a speaker jack for external sound output.

I have more of an expanded version that really improved upon the 3125, the WT3150SE. The Geode 2 CPU operates at 400MHz, and it has double the RAM at 128Mb. USB ports are the faster version 2.0, and both a stereo output jack and a microphone input are present.  The terminal software is able to establish an SSH connection, so I use one of them in my office to connect to our core router, as well as console cables from the serial ports to configure smaller network equipment.

In later posts I will cover an intended use as an environmental sensor host in a room, interconnected through the house, most likely also trying to use it as an intercom system. Since the terminals are connected to an Ethernet network, they can be remotely powered on by what is called a "Wake on LAN" signal. For now, here are some pictures of the units I have in my office (sharing the same keyboard, mouse, and monitor through a KVM switch, the WT3125SE has the yellow power button).




Friday, October 17, 2014

20 Volt DC Expansion

Now that we have covered 5 and 12 volt DC power applications over USB and Ethernet, this post will be about 20 volt DC expansion. This voltage is very common for laptops and Chromebooks/Chromeboxes. It is important to note that some name-brand manufacturers will have a third 'sense' wire in the power cable, to ensure that a no-name or incorrect wattage power supply is not used with their systems.

A good example is my Dell Precision 6500, which has a comparatively large (and more expensive) power supply for a standard-sized laptop/dock. A more-common Dell laptop power supply has the same plug, but I am warned that the wattage is not sufficient if I use anything other than the 210 watt unit that is designed for it. At 20 volts, that wattage means more than 10 amps of current, a phenomenal amount that I do not have the answer as to why the laptop needs so much (the battery, with nice LED level indicators, has always lasted me about two hours of use away from the dock).

I have an extra supply, that had its cord cut by my boss of the time, thinking that the unit was bad. As you've learned by now, I then think of ways to put it back into use. You should also know that I have too much of my Dad's blood in me, and that we never thrown an item away in the hope that we can fix it later.

My ASUS Chromebox in the office is also 20 volts DC, a power supply that is half as large. It has a very-common 5.5mm x 2.5mm (the same dimensions of the power plug for older Roku units) plug for power, without any 'sense' line. In addition my Lenovo 11e Chromebook and my wife's Lenovo convertible laptop/tablet also have 20VDC power supplies, a fifth of the size of that of my Precision. I have an adapter plugs set that I should have covered in earlier posting, in that they have the common 5.5mm x 2.1mm jack inputs, and convert it into all of the plugs I will use on this project.

Here are the pictures:










Sunday, October 12, 2014

Security Camera and DVR Installations

For this article, I will provide some information about the four-camera DVR security systems I've installed at both my parents' residence and my home. I'm not going into details of where each picture is, save that both locations always are recording, able to run during a power outage, can easily provide playback, and are remotely accessible. In the case of the DVR for my house and office (which is an "IP Camera", which will be covered in a separate article), I am able to view live content from my smartphone.

Several months ago, Google bought out a camera manufacturer, which they likely will be promoting later. From what I previewed, despite the ability to save video to your Google Drive, each camera was a separate system, and more expensive than what is available elsewhere. I've taken the route of an inexpensive DVR that has enough functionality, able to use common exterior cameras with infrared capability (meaning no additional lighting for grayscale video at night).

The power requirements for the DVRs and cameras (I will say that the unit my parents have doesn't have the smartphone capabilities mine does, nor is it needed there, although brand is the same) is 12-volts DC, which as you know has a common ring for the other equipment I have. There are common terabyte drives on the DVRs, able to record full-time for over a month with four cameras. Playback is easy to do, by just selecting the segment you want to view, either locally or remote over the Internet (access is password-protected, and generally only older Internet Explorer browsers can be used if they do not have the DVR software installed).

If you have an area beyond 20 feet that needs to covered at night, I've also set up additional IR assemblies to add night illumination. The IR LEDs do not give visible light, someone within 25 feet only sees red dots on the camera or additional lamps. A sensor turns on the IR LEDs in low-lighting situations automatically.

Here are a few pictures, exterior camera (and additional IR LED lamp), a dome camera (the comparable IR LED unit looks the same as the camera), and a wall plate close to one of the DVRs, carrying power to the cameras, an Ethernet link back to the DSL modem, and BNC connections for each of the four cameras. In a later article I'll show the cables commonly used and more details.






Friday, October 10, 2014

Power over USB


In addition to PoE (Power over Ethernet), I commonly power 5VDC devices from an Anker 5-port USB charger. This has the benefit of very stable voltage supply that replaces up to five separate "wall-wart" supplies. I use one both in the office and at home, and have powered Roku players of different generations (the Roku 3 needs a 12VDC supply, but all of the others are 5VDC), Chromecasts, HDMI switches, Harmony hubs, and USB speakers (I charge my cell phone from a stand on my office desk that has the USB sync cable plugged into the VisionNet M505N DSL modem).

Here are photos showing the Anker charger, an adapter cable I found necessary for the earlier Rokus (they use a 5.5mm x 2.5mm power jack), and a volt/current meter for seeing how much power a USB device is using. The older Anker chargers I have are fuse-protected. If you blow a port out, Anker will provide you a free replacement, the new design has auto-resetting breakers.





Thursday, October 9, 2014

DIY (Do It Yourself) PoE (Power over Ethernet)

I've used this so far to supply power to remote devices like VisionNet modems re-purposed into Wireless Access Points (WAPs), DSL modems, and IP cameras. A basic voltmeter is helpful, as it allows you to troubleshoot and calculate voltage drop across the Ethernet links you set up. Of course I'm going to say the standard disclaimer, what you do is at your own risk, if you aren't careful you will release the "magic smoke" out of your device.

I like working with these parts because it is non-standard PoE voltages (12V DC instead of 48 volts), and has conventional connectors that are easy to source. In fact, I am in the process of setting up a 12 volt "rail" at my house (more on that in a later article) for powering all the Internet access equipment and my security cameras and DVR. The 12 volt supply is battery-backed (no, not a car battery, though it could be) so it operates for a time even if the AC power is out at my residence.

The first picture is the components for a single PoE cable to power one device. "Barrel" connectors used for device power are standard 5.5mm OD (outside diameter) / 2.1mm ID (inside diameter). Many devices, including the BEC DSL modems, VisionNet M505, and M505N modems use that connection for power, however you may need an adapter if your equipment uses something different.

Your power adapter is plugged into the connection on the lower left of the picture, the Ethernet connection above it plugs into the Ethernet switch or modem that is the data source. On the right of that lower cable assembly you have an Ethernet cable plugged in that runs to your device. Keep that cable as short as possible (even though many power supplies actually provide more voltage than needed) so that the voltage drop isn't too significant (I've used lengths of 25 to 50 feet which can easily carry 12 volts).

The upper cable assembly in the photo is at the device, your Ethernet cable plugs into the end on the left-hand side. Connections on the right plug into the device. You may want to rig up a cable lead (at the device) that is able to check the voltage level when the equipment is powered up when first installed. You will probably need one of the upper cable assemblies (they are sold as a set, and I haven't found a source that sells the ends individually) for the next component I will describe: PoE powering up to four devices of the same voltage.

The second picture shows that component, although it isn't marked there for the connections (the far side Ethernet ports are to your LAN / switch, towards the front are to the devices being powered by PoE). On the board itself it wasn't marked for the blue connection for optional power (I use it for equipment local to the board that are also 12VDC), the most inboard terminal is typically positive (most "barrel" power connections have the center pin as positive, and as shown there is a 5.5mm/2.1mm barrel connection on the board for that easier use), and the outboard terminal is your power supply ground.

Make sure you have a power supply for the summed current of all connected devices (each modem or device powered by 12VDC is usually an amp of current, and it will be marked on a label on the device). In the office I have an 8 amp supply, and my 12 volt rail at home will be able to supply at least that as well. As I said, you will need one half of the cable assemblies at the other end to break out the power to the device.