Geek News: Latest Technology, Product Reviews, Gadgets and Tech Podcast News for Geeks



Tag: Linux

AKiTiO MyCloud Mini Review

Posted by geeknews at 10:28 PM on May 8, 2012

Over the past couple of weeks I have had a AKiTiO MyCloud mini plugged into my network, and when I say mini its small but packs an amazing punch. The AKiTiO MyCloud Mini is essentially a mini customized Linux server that surprisingly has a lot of standard Linux server features, that can become it’s own NAS device which then can be used as a file server. It is made to serve up media, documents, images files locally or remotely.

Managing the tiny device is done so though a web browser which is served from the device itself. My son who is 15 became quite enamored with it, and I let him manage it. The first thing he did was attach an external eSata drive that I let him borrow, and started pulling in video clips to the device that he subsequently accessed via his Xbox 360.

The MyCloud Mini supports streaming to media devices that supports UPNP and DNLA, like the Xbox 360, iTunes, Windows 7 and a variety of other devices.

I think my son became the geek of the week, when he showed his buddies at school his remote file server and how he could access files on it from his mobile phone.  There is an associated Android and iPhone app for the device which makes it easy to access your content while remote.

My concern was security and I ran a variety of test against the device internally and externally and could not find any reason to be concerned about placing media and files on the device to be accessed remotely.

What surprised me was how quickly my son got the hang of managing it. I did have to explain some very basic things to him like how he could manage it with a web browser. For the price which runs close to a $100.00 a small business or home owner could use this device to manage there media.  I never know whats going to be shipped to me to review and form the get go I knew the team that designed put a lot of thought into the design and management of the device.

I have only touched the surface of what this server can do and amazed what it does at the price point. For more info visit AKiTiO.com for more details.

A Slice Of Raspberry Pi

Posted by AndrewH at 2:00 PM on March 27, 2012

Image Couresty of The Raspberry Pi Foundation

The long-awaited U.S. release of Raspberry Pi hit snag this month when the folks behind the pint-sized PC (credit card-sized, actually) realized the units were manufactured with non-magnetic jacks. “No magnetics means no network connection,” a blog post stated on the Raspberry Pi site earlier this month.

Tech folks have been buzzing about this British non-profit start-up (The Raspberry Pi Foundation is a UK registered charity) since it announced it was taking pre-orders for its Raspberry Pi and demand outstripped supply within minutes. Originally designed to provide a cheap, versatile and powerful little PC for young people to learn programming with, Raspberry Pi has instead captured attention from the entire programming world – many of whom (myself included) are waitlisted for the $25 to $35 dollar machine (probably more like $50 after taxes/shipping).

The draw is threefold – it’s inexpensive, versatile and small. Essentially, it’s a little Linux machine on a RM11-based Broadbom BCM2835 200MHz ARM processor with up to 256MB of SDRAM, composite and HDMI outputs, USB and memory card slots. No case, no bells, whistles, etc. They have a pretty extensive FAQ – it will answer all of your technical inquiries and then some.

Sounds pretty cool – a neat little PC that programmers both novice and pro can push and pull in many directions. The Raspberry Pi team has already taken to testing this little wallet-sized computer to the max, like running Quake 3 on it with minimal issues.

Outside of the technical impressiveness and the attractively cheap price, it’s the goal of this project that deserves the most respect. From the Raspberry Pi team – “We want to see cheap, accessible, programmable computers everywhere; we actively encourage other companies to clone what we’re doing. We want to break the paradigm where without spending hundreds of pounds on a PC, families can’t use the internet. We want owning a truly personal computer to be normal for children. We think that 2012 is going to be a very exciting year.”

They’ve got the buzz. They’ve got the mission. Now, all they need is magnetic jacks. Stay tuned.

Ubuntu Linux Heads for Smartphones and Tablets

Posted by Andrew at 5:01 PM on October 30, 2011

ZDNet is reporting that Canonical is intending to make the next release of Ubuntu, 12.04, a LTS (Long Term Support) release with intention of then expanding Ubuntu beyond desktops and laptops into smartphones, tablets and smart TVs, with a target of 2014 for an all-platform release.

Mark Shuttleworth, founder of Canonical, in an interview said, “This is a natural expansion of our idea as Ubuntu as Linux for human beings. As people have moved from desktop to new form factors for computing, it’s important for us to reach out to out community on these platforms. So, we’ll embrace the challenge of how to use Ubuntu on smartphones, tablets and smart-screens.” The full announcement is expected at the Ubuntu Developer Summit, which starts tomorrow and runs for a week in Orlando, Florida.

Having already been in discussions with partners for around 18 months, it seems that this is more than wishful thinking, but one can’t help feel that the whole Palm-HP-WebOS debacle bodes badly for any company wanting to get in on the smartphone and tablet space. If HP can’t make it happen with a solid OS and Zen of Palm, what hope has Canonical? When quizzed about this, Shuttleworth said that he saw “Android as its primary competitor…..We’ve also already heard from people who are already shipping tablets that they want Ubuntu on the tablet.” And of course, “Ubuntu already has a developer and customer base.”

While there’s no doubt that the mobile space is still maturing and there’s plenty of change still to come,  I have a hard time seeing Ubuntu on anything but a small niche of tablets and an even smaller niche of smartphones. iOS and Android have their foothold and Microsoft will be a solid third if Windows Phone 7 continues to deliver and Windows 8 delivers as expected. A fourth player is going to have difficulty making inroads, especially one as relatively unknown as Canonical and Ubuntu.

Smart TVs are a more plausible destination as the internal software is of less concern to the consumer. Most people buying a TV are looking at the exterior brand such as Sony, Samsung or LG, and not what’s inside, although this may change if a “Powered by Roku” or “Google TV inside” campaign runs. Plenty of change to come in this space too.

I wish Ubuntu every success.

Check File Copies with Linux Scripts

Posted by Andrew at 6:22 AM on October 17, 2011

OpenSuSE logoFor several years, I’ve had an original Buffalo LinkStation NAS as my main fileserver. Being on 24×7, it’s gone through several fans and at least one hard disk, but it’s now time to retire it in favour of a LinkStation Duo which will give me more space, RAID capabilities and faster transfer speeds.

Naturally, as my main fileserver, it’s backed up. However when I copy the files to the new Duo, how do I know that they’ve all copied correctly and none have been missed? There are hundreds of thousands of files and checking each one by hand would be pointless.

Linux has lots of tools that tell me how much disk space is used, such as du, df and filelight, but they don’t always report back consistently between filesystems. Mostly for reasons of speed, they report the total size of the file blocks used to store a file and as block sizes can vary between filesystems, the total number of blocks used for a set of files will be different. For example, I have two folder sets that I know are identical and du -s on one reports 210245632 and on the other 209778684.

Fortunately, there’s an extra command line flag that will change the behaviour to take longer and sum the actual bytes. In this case, du -sb will return 214813009920 bytes on both filesystems. On the whole, I can be reasonably confident that if the total number of bytes used is the same between two filesystems, then all the files have copied correctly.

But what if the total number of bytes don’t match? How can I find the missing or truncated file? After thinking and tinkering, what I want is to get a list of files with each filesize from the old and new filesystems and then compare the two. And here’s how you do it (each section here goes on one line).

find /home/old_folder -type f -printf '%s %p\n' |
sed 's/\/home\/old_folder\///' | sort > old.txt
find /home/new_folder -type f -printf '%s %p\n' |
sed 's/\/home\/new_folder\///' | sort > new.txt
diff -wy --suppress-common-lines old.txt new.txt

If you aren’t used to Linux, this can look a bit scary, but it’s not really. The first two lines create the text files with all the files and the third line compares the two. The the first two lines are much the same in that they do the same commands but on different filesystems. There are three sections, find to list all the files, sed to chop the directory path off, and sort to get all the files in some sort of order. Here are some explanations.

find – finds files
/some/folder – where to start finding files
-type f – only interested in files (not directories or links)
-printf ‘%s %p\n’ – only print the filesize (%s) and the full pathname (%p) on each line (\n)

sed – processes text
‘s/x/y/’ – means replace x with y. In our instance, it’s replacing the leading folder path with nothing. It looks worse than it is because the slashes in the path need to be escaped by a preceeding backslash, so you get these \/s everywhere.

sort – sorts text
> file.txt – copy everything into a text file.

One of the clever things about Unix-like operating systems is that you can pass information from one command to another using a pipe. That’s represented by the | symbol, so the find command gets the information on files and files sizes, passes it to sed to tidy up which then in turn passes it on to sort before sending it to a file.

After running this set of commands on the old and new filesystems, all that needs done is to compare the files. Let’s look at the third and final command.

diff – compares files line-by-line
-w – ignore whitespace (spaces and tabs)
-y - compare files side-by-side
–suppress-common-lines – ignore lines that are the same
old.txt new.txt – the two files to compare

So what might the output of the diff be? If all the files copied correctly, you’d get absolutely nothing. Other possibilities are that the file partially copied or didn’t copy at all. Here’s what the output might be like.

598 i386/compdata/epson3.txt | 500 i386/compdata/epson3.txt
598 i386/compdata/onstream.txt <

The numbers at the beginning of the entry are the number of bytes, so the first line shows that the epson3.txt is only 500 bytes long in the new file but 598 in the old. The second line shows that onstream.txt is present in the old file but not in the new, as the arrow points to the old file.

To close the story, did I find that I had lost any files? Yes, I did. I discovered a couple of small files that hadn’t copied at all because of non-standard characters in their filenames. The filenames were acceptable to Windows but not Linux and I’d used my Linux PC to do the copying. Fortunately, the files were saved and all the scripting was worth it.

Read more on Linux at Geek News Central.

Five Backup Solutions to the Cloud for Your Computer

Posted by MikeBaine at 11:30 AM on September 21, 2011

In this computer day and age, you want to make sure pictures, documents and more are backed up on a daily basis. Especially with hard drives that fail every day and notebooks that get stolen every day. Even if you get your stolen computer back, the thieves might have done damage like wiping the hard drive or dropping the machine altogether.

I back up my machines to different sources. I have 2 home backups and one cloud backup. The cloud backup can also be a great way to share pictures through an iPhone, Android or iPad application. Nonetheless, if my computer drive dies, if there is fire or water damage, if someone steals my computer, I don’t lose the data.

Advantages to Cloud Based Backup

  • Off-site data retention
  • access to data from multiple computers or mobile devices
  • software that will start backing up files when computer is idle
  • High encryption on backup
  • Cloud based service runs their own backups – Your data gets backed up by them, too!
  • Prices are low – There are some services that are free to a certain level.
So here are Five cloud backup solutions you can employ now:

MyPCBackup

My PC Backup

My PC Backup

MyPCBackup was ranked #1 by Top 10 Online Backups. With unlimited backup, you can make sure all your pictures, documents and more are safe. They have an option to sync multiple computers through a folder on the machine.  They also offer a money back option and full customer support.

Mac users won’t be able to use this program, which is a major downfall to this program. The “1 PC, 1 Mac” per household ratio is growing. There is also no mobile application so you can view your backup files.

Carbonite Online Backup

Carbonite Online Backup

Carbonite Online Backup

One of the more popular online backup systems is Carbonite, this unlimited backup lets you view your files from any computer, or through an iPhone, Blackberry or Android application.  Carbonite also has accidental deletion option, which means if you delete a file that was backed up, you have 30 days to restore it.

Carbonite also works on PC and Mac systems. Therefore, you could backup all your items from the old computer, switch the program to Mac and download the files. There is full customer support if needed.

Mozy Online Backup

Mozy Online Backup

Mozy Online Backup

Mozy online backup is also a PC or Mac backup. You can access your data from an iPhone and Android (no Blackberry) application. They also offer on-site backup, which means you can set up a USB hard drive and Mozy will backup to that as well. Full support and they also offer the ability to restore a file up to 30 days after deleted.

Mozy does not offer unlimited backup, though. $5.99 /month  for 50 GB and $9.99 for 125 GB. For a standard computer, you might not fill that spot – unless you take tons of pictures or create video like myself.

DropBox

Dropbox

Dropbox

You might not think of Dropbox as a online backup. However, with their open API, there are a lot of things that Dropbox can become. You can use it to sync with other computers, so it’s a great collaborative tool.

Keep in mind, it doesn’t tout itself as an online backup. You do get some great options, like short-term backup recovery.

They do have a free service for the first 2 GB, then pricing options after.

iBackup

iBackup

iBackup

iBackup is a backup for not only PCs and Macs, but also Servers. You can also back up your MySQL, Linux box Exchange, Oracle and iPhone. Therefore, it’s a full corporate backup solution. It gets pricey fast, but if you need 1.5 Terabytes of data that has to be backed up, this is a great solution.

They also have a “30 version” backup – If you change a document 29 times, then realize you need to start from the beginning, you can go into your account and pull up the first version. That can help if someone messes up a document and you don’t realize it right away.

There are  other online backup options, too. This includes items like PogoPlug or Drobo, where the files are stored at your home site. Elephantdrive, Livedrive, KeepIT are some other online backup tools.

Since it’s your data, you should research each program and see if it’s right for you. But if you have important data and need to back it up, then these options might help you with that solution.

There are also some great software solutions if you want to backup your computer to another computer. If you are on a Mac, then Time Machine is a feature you can set. Everything from backing up folders to making a full image of your computer to restore at a moments notice.

Most important – Back it up now, because you never know if you’ll get a chance to back it up later.

GNC-2011-04-08 #661 Insane O-Meter

Posted by geeknews at 1:14 AM on April 8, 2011

Win a Prize, watch “The Gadget Professor” sign up for the newsletter and send Don some feedback on this new show. You can win a Dymo Label Printer. Lots of parts in Motion. We demo CueToo.com our new media on demand site. New ads campaigns starting next week as well. Next show will be from the Geek on the road.

Sponsored by:

"New GoDaddy Customers" save 25% off on your entire order use promo code 25MAY3
GNC GoDaddy Promo Code save you money See Full List Here!

Subscribe Today: Audio | Video | iTunes | Zune
Download the Show File

Follow @geeknews on Twitter
Geek News Central Facebook Page
Purchase GNC gear from the Ohana Store!
Show Hotline 24/7 1-619-342-7365 or e-mail geeknews@gmail.com

Listener Links
Twitter Branded Pages.
3D Capable Dell Laptop.
www.flavoralchemy.com

Show Notes:
Firefox Release Schedule!
AT&T and Verizon told to Share!
iPad O’Scope.
BitTorrent grows up.
Microsoft and Toyota.
Robot gets Shot?
F35 Ejection Seat Test.
Computer Screen Chapstick.
UK Seizing Domains!
China says no more Time Travel?
Tethering stealing?
Fed Gov’t Shutdown?
Want Bonus get Social.
Chrome to add Malware detection.
Google Travel only if Feds can Monitor?
Samsung 1 Million to Schools.
64 Bug Fixes on Patch Tuesday!
Signal Phone Boosters to get Regulated.
Hacker says he was working with Feds.
Windows Phone 7 Update Cautions.
81 Billion Light Year Explosion.
Space Shuttle Images.
ISS Gateway to Mars.
Jailbreak it?
Vulkano TV Streamer.
Websites for iPad.
MPAA loves to Sue and little else.
Seizing Domains to Continue.
Verizon keeping iPhone users connected.
2 Million iPad 2′s.
Facebook Open Source Servers.
Sushi Blocks.
Topener!
Mini Coffee Machine.
New Fire Extinguisher.
Dish + Blockbuster = Store Fronts.
March Madness digital results!
YouTube Organizing!
ESPN Goes Live!
Vortexbox!
Vending Box
HitPad customized news.
Gmail Updates.
GoFlex Sim Review.
100 Atari Games for Ios
Homeland Security Updated via Facebook?
Time Warner off to Court.
WHS 2011 Available.
Pandora spying on you?
LinkedIn and Android.
Skype Linux Update.
Bing iPad App.
Nook Apps?
Verizon 2yr contracts only!

PlayPlay

Network Switches and Data Transfer Speeds

Posted by Andrew at 5:17 PM on March 27, 2011

I recently upgraded my home network from 100 Mb/s to 1 Gb/s by replacing the switches. The main house switch is an unmanaged 1U rack-mounted switch, with a second desktop switch. Out of pure interest, I took the opportunity to do a little bit of speed testing to see how much of a difference upgrading the switches made in terms of actual data transfer speeds.

A few basics to avoid confusion  – b/s is bits per second and B/s is bytes per second. All of the reported figures will be in MB, so converting b/s to B/s:
Fast Ethernet = 100 Mb/s = 12.5 MB/s
Gigabit Ethernet = 1 Gb/s = 125 MB/s

100 Mb/s and 1 Gb/s refer to the speed of the underlying technology but data transfers at these rates are never achieved because of protocol overheads and such. As a baseline, if I write a large file (8 GB) to my PC’s local disk, I get a data transfer of between 50-55 MB/s.

On my network, I have two Buffalo Linkstation NAS devices, one with a Fast Ethernet interface and one with a Gigabit Ethernet interface. 2 GB’s worth of data would be written to each of these devices with different Ethernet switches in place to see what actual data transfer speeds would be achieved. The following Linux command was used five times in each situation and the result averaged.

time dd if=/dev/zero of=testfile bs=16k count=16384
Switch Model Data Rate to Fast NAS Data Rate to Gigabit NAS
1U Rack
Dynamode SW240010-R(Fast) 6.2 MB/s 8.6 MB/s
TP-Link TL-SG1016 (Gigabit) 6.4 Mb/s 21.4 MB/s
Desktop
D-Link DES-1008D (Fast) 6.2 MB/s 8.6 MB/s
Netgear GS605 (Gigabit) 6.5 MB/s 21.1 MB/s

I also carried out two further tests:

  1. With Gigabit Ethernet only, I wrote to both NAS devices at the same time. The data transfer speeds were unaffected.
  2. I connected the two Gigabit Ethernet switches in series and wrote to the NAS. Transfer speeds were reduced by 1 MB/s on the Gigabit NAS to 20 MB/s. The change on the Fast Ethernet NAS was minimal.

There are several things that can be deduced from the information shown in the table above and the other tests.

  1. Actual data transfer rates are considerably less than the theoretical maximums.
  2. There’s no performance difference between rack-mounted and desktop switches.
  3. The write speed of the NAS can be a limiting factor.
  4. Gigabit Ethernet switches give large improvements with Gigabit Ethernet devices.
  5. Gigabit Ethernet switches give small improvements even with Fast Ethernet devices.
  6. Keep the number of switches in the network path to a minimum.