Boris, the BeagleBoard Logo MascotI initially bought an Edimax EW-7811Un Dongle for use with my BeagleBone Black (BBB), but after a lof of fiddling and frustration I gave up on it. Turns out that I may have been using the wrong setting in the interfaces file, but after some research I found many instances of people complaining about the Edimax dongles in general, so I started looking for solutions that others were having good luck with.
Along with a lot of email threads I found WiFi Adapter http://www.elinux.org/Beagleboard:BeagleBoneBlack#WIFI_Adapters recommendations on the Embedded Linux Wiki BBB page. http://www.elinux.org/Beagleboard:BeagleBoneBlack After searching Amazon for the listed adapters I chose the NETGEAR N150 Wi-Fi USB Adapter (WNA1100) http://www.amazon.com/gp/product/B0036R9XRU/ref=oh_details_o00_s00_i00?ie=UTF8&psc=1 for $17.50, not the cheapest of the bunch but it comes with a "Desktop Dock" that is basically an USB extension cable which sounds good to me as it will let me place the adapter a distance away from the BBB to get the best WiFi signal.
With the latest build of Debian I was able to get the WNA1100 adapter to work just by editing the interfaces file and rebooting the BeagleBone. Pretty awesome!
Steps
Plugged the BBB into the computer with a USB cable and plugged in a power supply.
Logged into the BBB with the root account with my “fish” "ssh [email protected]"
# sudo nano /etc/network/interfaces and edited the "WiFi Example" to match my network ID and password
This is what the finished WiFi part of the file looks like:
# WiFi Example
auto wlan0
iface wlan0 inet dhcp
wpa-ssid "ssid"
wpa-psk "password"
And BANG! it worked. I am now enjoying WiFi with my BeagleBone Black!
Larry Correia knocks it out of the park yet again with his tale of war in a fantasy setting full of technology mingled with magic. For the first time I really enjoyed a story full of steampunk motifs and hard sci-fi based war.
It appears that this story is set in a WarMachine, WarHammer, Iron Kingdoms miniature gaming setting. Normally this would not work for me, I took a look at some of the WarHammer books awhile back and they are not the type of book I would read. But Larry Correia has brought this type of story to a new level.
Into the Storm is character driven with lots of insight into the drives and desires of the characters who are all doing their best to fight for what they believe in. Great stuff.
The narration by Ray Porter is very good, his voice easily transitions from a gravely old man to a young soldier bringing all of the characters to life.
I bought this audiobook on Audible and listened to it using the Audible app on my iPhone.
From the publisher:
A knight of Cygnar follows a strict moral code. His integrity is beyond reproach. He holds himself to the highest standards whether dealing with friend or foe. And he values honor above all.
The year is 606 AR, and Cygnar has been sorely pressed by its enemies both at home and abroad. In Caspia, the conflict with the Protectorate is about to erupt into full war with the looming invasion of Sul. The Cygnaran military is desperate for soldiers with the skill, strength, and bravery to take up the devastating galvanic weaponry of the new Storm Division. In this climate, every soldier is valuable, even those fallen from the honor expected of a Storm Knight. A group of such men – thieves, drunkards, and worse – comprise the Sixth Platoon. All they need is someone to lead them.
Lieutenant Hugh Madigan, a peerless warrior knighted during the reign of deposed King Vinter IV, has spent years in obscurity, punished for his loyalty to the former king. Now he has been ordered back to the front and given command of the Sixth, his task to turn a platoon of miscreants into elite soldiers fit to be called Storm Knights. Time is short, and war is coming. One way or another, Lieutenant Madigan must lead his men into the storm….
I rate Into the Storm an 8 out of 10 and recommend it to fans of books based on miniature gaming universes and anyone who needs a little more Larry Correia in their life.
Unable to Connect to BeagleBone Black via Ethernet
Everything works fine when the BeagleBone Black is connected to a computer via USB but when connected to the network via Ethernet it does not work. I ran into this issue when I first started using my BeagleBone Black out-of-the-box and again when I updated the OS to Debian.
Here is the solution:
Connect the BBB to your computer via USB and give it time to boot
In a web browser open the Cloud9 IDE by going to http://192.168.7.2:3000/. You may be prompted to choose some settings, I like the defaults.
Create a new file, paste in the script below, and run it
var fs = require("fs");
var destroyed_key_file = "/etc/dropbear/dropbear_rsa_host_key";
fs.readFile(destroyed_key_file, function (err, data) {
if (err) throw err;
if( data===null || data.length===0 )
{
console.log("we have a corrupted host key file... try do delete it");
fs.unlink(destroyed_key_file, function (err) {
if (err) throw err;
console.log("successfully deleted " + destroyed_key_file);
console.log("you should now reboot your beaglebone.");
console.log("the /etc/init.d/dropbear script will create a new rsa host key file for you.");
console.log("after the reboot you should be able to login over ssh");
});
} else {
console.log("it seems that you have another problem, sorry");
}
});
Now shutdown, I like to sudo shutdown -hP now, the USR lights will all go out when it is shut down
Now you can unplug the BBB from USB and plug in an Ethernet cable and power adapter.
You should now be able to access the BBB from anywhere on your network using http://beaglebone.local or ssh beaglebone.log.
After updating the operating system to Debian and plugging in your BeagleBone Black via USB you may receive the error message: WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
This is normal as the RSA key has changed when you updated the OS.
The easiest way to fix it is to run ssh-keygen -R then try connecting again.
When connected via USB ssh-keygen -R 192.168.7.2 ssh [email protected]
When connected via Ethernet ssh-keygen -R beaglebone.local ssh [email protected]
You should then be asked to add the new fingerprint to your "known hosts", say yes and you should then be asked for your Debian password who’s default is temppwd.
After reading the Gray Man series of books I still had a desire for more spy action. In one of the review of Dead Eye Vince Flynn was mentioned so I looked him up and found the Mitch Rapp series. The first book in the series is American Assassin so I picked it up from Audible and gave it a listen.
American Assassin is the first novel in the Mitch Rapp series written by Vince Flynn. This is a traditional superagent spy novel with more action than intrigue. I think it would make for a fantastic movie, especially if shot like the spy action-thriller movies of the 70’s. Mitch Rapp is a likable character with flaws that make him human.
The narrator George Guidall is such an amazing talent. His style with this book is different from many of the other books I have listened to recently, instead of acting out the story it feels more like having someone reading a bedtime story. It has taken some adjusting, but I like it well enough.
I look forward to listening to more Mitch Rapp novels.
From the publisher:
Before he was considered a CIA superagent, before he was thought of as a terrorist’s worst nightmare, and before he was both loathed and admired by the politicians on Capitol Hill, Mitch Rapp was a gifted college athlete without a care in the world… and then tragedy struck.
Two decades of cutthroat, partisan politics has left the CIA and the country in an increasingly vulnerable position. Cold War veteran and CIA Operations Director Thomas Stansfield knows he must prepare his people for the next war. The rise of Islamic terrorism is coming, and it needs to be met abroad before it reaches America’s shores. Stansfield directs his protégé, Irene Kennedy, and his old Cold War colleague, Stan Hurley, to form a new group of clandestine operatives who will work outside the normal chain of commandmen who do not exist.
What type of man is willing to kill for his country without putting on a uniform? Kennedy finds him in the wake of the Pan Am Lockerbie terrorist attack. Two-hundred and seventy souls perished that cold December night, and thousands of family and friends were left searching for comfort. Mitch Rapp was one of them, but he was not interested in comfort. He wanted retribution.
Six months of intense training has prepared him to bring the war to the enemy’s doorstep, and he does so with brutal efficiency. Rapp starts in Istanbul, where he assassinates the Turkish arms dealer who sold the explosives used in the Pan Am attack. Rapp then moves onto Hamburg with his team and across Europe, leaving a trail of bodies. All roads lead to Beirut, though, and what Rapp doesnt know is that the enemy is aware of his existence and has prepared a trap. The hunter is about to become the hunted, and Rapp will need every ounce of skill and cunning if he is to survive the war-ravaged city and its various terrorist factions.
This post is about installing Debian (BeagleBone Black – 2GB eMMC) 2014-03-27 and Flashing the eMMC using a Mac running OSX 10.9 Mavericks.
I decided to get a head start on using Debian with the BBB which is soon to tbe the default OS installed on them.
These are the steps I used today to get up and running:
Download image from http://beagleboard.org/latest-images
– BBB-eMMC-flasher-debian-7.4-2014-03-27-2gb.img.xz
Use Unarchiver to extract disk image
– BBB-eMMC-flasher-debian-7.4-2014-03-27-2gb.img
Download PiFiller to copy the disk image to the SD card
– http://ivanx.com/raspberrypi/ WARNING: Do not insert the SD card yet, PiFiller will tell you when
Run PiFiller and follow the directions
Choose the disk image
Insert the SD card
Verify that PiFiller has found the correct device
Some more verifying, click OK a couple of times
Now wait awhile, it took about 20 minutes on my MacBook Pro Holy Cow! The dialog box opening and closing gets really annoying to watch!
All set when you get the “Your SD card is ready” message
Eject the SD from the Mac OS then remove it from the computer
With the BBB unplugged, no network, USB, video, power cables, insert the SD card into the BBB WARNING: The SD card pokes out of the back of the BBB enough that it is easy to bump it and cause it to eject. Especially when plugging in a USB or HDML cable. It pays to be slow and patient when manipulating the BBB with an SD card in place.
Get ready: When plugging in the BBB you will need to hold down the Boot button until all 4 USR lights turn on
– While holding down the Boot button insert a 5V 2A power supply, release the Boot button when all 4 USR lights turn on
Now the USR buttons should start blinking in a seemingly random pattern, this should go on for 20 to 60 minutes depending on the OS and SD card
When the USR lights all light-up again the eMMC has been flashed with Debian
Remove the power adapter
Remove the SD card
You are now ready to plug-in the devices you want to work with and enjoy Debian
These academic things always have such ridiculously long titles <sigh>, the full title is " The Art of Conflict Management: Achieving Solutions for Life, Work, and Beyond ".
I was looking for a non-fiction book to give a listen-to and I always give The Great Courses on Audible a look when searching for such a thing. I have listened to some of the Great Course lectures that I did not enjoy but a couple of them have been surprisingly good, so I am always willing to give them a try.
At 12 hours and 20 minutes this is one of the shorter lectures in the Great Courses, and that is a good thing. This course get right to the point and does a good job of keeping on track. The amount of self referential babble is minimal compared to most other lectures. I do not understand the need to constantly tell the listener about what will be talked about in later lectures, it is distracting and counter productive.
Professor Michael Dues does a great job presenting the material. I found his voice easy to listen to, easy to understand, and he kept my attention throughout the lectures.
I enjoyed the way that multiple styles of conflict management were presented instead of trying to propose a one-size fits-all approach.
I bought this audiobook from Audible and listened to it using the Audible app on my iPhone.
From the publisher:
In 24 lectures brimming with practical tips, tools, and techniques everyone can use to better manage conflict in his or her professional and personal lives, gain the essential skills of conflict management. As presented by Professor Dues, these lectures will show you how to effectively deal with conflicts of all kinds, using the “win-win” model that has dominated the field for the past six decades.
You’ll gain effective techniques for handling conflicts in your workplace, other organizational settings, or your personal life, whether you’re dealing with supervisors, coworkers, acquaintances, close friends, or family members. You’ll learn the best ways to analyze conflicts and work through the steps toward resolving them, including clarifying goals, handling difficult emotions, and negotiating agreements. And you’ll grasp the fundamental tricks of the trade that experienced negotiators have long used to deal with even the most seemingly intractable moral and cultural conflicts.
While drawing on the latest groundbreaking research, Professor Dues has designed these lectures to be as practical as possible. Requiring no background in conflict management, negotiation, or psychology, they offer you not just knowledge, but strategies and tactics you can put to work in your own life right now. Best of all, you’ll be able to see those strategies and tactics in action through 70 professionally acted dramatizations that illustrate different conflict situations at home and in the workplace.
You don’t have a choice about becoming involved in conflict. You do, however, have a choice about learning to manage it successfully by using the invaluable tools these lectures can give you.
BeagleBone Black is a $45 MSRP community-supported development platform for developers and hobbyists. Boot Linux in under 10 seconds and get started on development in less than 5 minutes with just a single USB cable.
I recommend the book as a good starting point, it does a great job of introducing the basics of the board and using Python and JavaScript to program it. There aren’t many other books out there, but I am not sure there needs to be.
I also bought a power supply, a very cool case, and a wi-fi dongle from Amazon.
The case is pretty awesome. It is very well made and lets you see right into the board with risers for the buttons that make it much easier to press them. The BegaleBone Black should ship with a case like this. It looks like Laser Goodies has pulled their products from Amazon, or maybe they are just out of stock, here is the page on their website Beaglebone Black Slim Case – Clear
Laser Goodies Beaglebone Black Slim Case – Clear
Why I Bought It
I regularly attend the wonderful Atlanta JavaScript Meetup group and a couple of weeks ago Tim Kadom of Thoughtworks showed us his Telepresence robot built with a BeagleBone black and an iPhone. All of the code was written on the BBB with the Cloud9 IDE in JavaScript. I was seriously intrigued.
I have been playing with Ardunio microcontrollers for awhile now and really like them. But they require that you program in their own C like language which I can muddle through but don’t really like. And it is not easy getting an Ardunio on a network, the code to make Ethernet, Wi-Fi, or Bluetooth to work doesn’t leave much space for your own ideas.
The Rasberry Pi on the other hand just doesn’t speak to me. I am more interested in them now that I have spent some time with a BeagleBoard, but I still don’t think I have much of a use for a Rasberry Pi right now.
With the BeagleBone it appears that I get all of the inputs and outputs of an Arduino while having all of the network abilities of a Rasberry Pi that I can program using JavaScript. That really gets me excited!
In the coming weeks I will be posting more about the BeagleBone Black and the project I am working towards.
While waiting for the BBB to arrive I started reading the book on Safari Books Online and ended up never reading more than a couple of pages from the printed book. I was more comfortable reading the book on an iPad using the Safari Books Online app.
This is a very good “Getting Started” book. Its purpose is to build familiarity and confidence for someone who has not used a BBB before, and it does that very well. So well that even before I was done with it I had a ton of plans for my BBB including updating the OS from Angstrom to Debian, adding an NTP server, and a lot more.
Now I am planning on creating a remote home automation system for our garage doors.
From the publisher:
Many people think of Linux as a computer operating system, running on users’ desktops and powering servers. But Linux can also be found inside many consumer electronics devices. Whether they’re the brains of a cell phone, cable box, or exercise bike, embedded Linux systems blur the distinction between computer and device.
Many makers love microcontroller platforms such as Arduino, but as the complexity increases in their projects, they need more power for applications, such as computer vision. The BeagleBone is an embedded Linux board for makers. It’s got built-in networking, many inputs and outputs, and a fast processor to handle demanding tasks. This book introduces you to both the original BeagleBone and the BeagleBone Black and gets you started with projects that take advantage of the board’s processing power and its ability to interface with the outside world.
I rate Getting Started with BeagleBone a 10 out of 10 and recommend it to anyone as a first exposure to the BBB.
This book has many more thoughtful moments than the first book of the series but is still chock-full of action and a bit of suspense. Jay Snider returns as narrator and does a great job once again, I can’t imagine anyone else being the voice of Court Gentry.
I don’t have a lot more to say about On Target, it is a very good spy/assassin story and it left me wanting more, much more.
I bought this audiobook from Audible and listened to it using the Audible app on my iPhone.
From the publisher:
Court Gentry, aka the Gray Man, is back – and once again on the run from old friends and foes.
Four years ago, Gentry was betrayed by his handlers in the CIA. Now, an old comrade, Russian arms merchant Sidorenko, returns to force him on a mission against his will: kill Sudan’s President Abboud, the supposed trigger for the Darfur genocide. But the CIA has its own plans for Abboud. With his ruthless employers on one side, his blackmailing former friends on the other, and a doomed mission ahead, Gentry would kill just to get out of this one alive.
Every bit as thrilling, informed, and addictive as The Gray Man, and once again skillfully narrated by Jay Snyder, On Target is sure to hit the mark for thriller fans.
The Gray Man novels begin with Court Gentry on the outs with the CIA and working as a killer for hire with a conscious. If that sounds familiar and derivative it is because it is. But the Gray Man is his own character with is own emotions and beliefs.
This is Mark Greaney’s first novel and it is a winner, full of action, intrigue, and twists Gray man does not disappoint.
Jay Snyder’s narration is wonderful; he brings both Gentry and the other characters to life. I very quickly cannot imagine any other voice as being Court Gentry.
This book is not about thinking, it is not literature, it is fast-paced action that doesn’t require much work on the reader’s imagination, but it was just what I was looking for.
There are now 4 books in the Gray Man series and I can’t wait to listen to them all.
I bought this audiobook on Audible and listened to it with the Audible app on my iPhone.
From the publisher:
Get ready for white-knuckled listening. Greaney’s debut novel – and future feature film – introduces the enigmatic and elusive Court Gentry, a former CIA operative and a legendary hired gun. With a terrifying ability to vaporize targets and a strict moral code, he stalks the gray margins of the world, moving silently from job to job, accomplishing the impossible, then fading away. When his government and former employers turn on him, there is no safehouse to run to, no way to lie low. In a constant state of escape and pursuit, Gentry tears through the Middle East and Europe in a riveting life-or-death race against time.
Written and set in the 1980’s, Footfall is a science fiction novel about the Earth being attacked by aliens from Space. Larry Niven and Jerry Pournelle do an amazing job of story telling, character development, and language.
A big part of the story is the language used by the aliens; which is something I generally do not like in science fiction books. A bit of foreign language or difficult slang is ok for flavor, but a lot of it just makes a story very hard to read and follow. If I had bought this book as a paperback and tried to read it, there is a good chance I would not have made it all the way through, but as an audiobook it was fantastic.
MacLeod Andrews does an amazing job narrating the story and bringing both the earthlings and aliens to life. He gives them all unique voices and really brings their emotions to life.
I enjoyed this book immensely and look forward to listening to more Niven/Pournelle books.
I bought this book from Audible and listened to it using the Audible app on my iPhone.
From the publisher:
They first appear as a series of dots on astronomical plates, heading from Saturn directly toward Earth. Since the ringed planet carries no life, scientists deduce the mysterious ship to be a visitor from another star. The world’s frantic efforts to signal the aliens go unanswered. The first contact is hostile: the invaders blast a Soviet space station, seize the survivors, and then destroy every dam and installation on Earth with a hail of asteriods. Now the conquerors are descending on the American heartland, demanding servile surrender – or death for all humans.
For a 39-year-old story this one holds up pretty well and it is fun to see the origin of many of the themes in more modern science fiction stories.
I really enjoyed the idea that every time they get in a ship and head off to war they return hundreds of years later; it is an intriguing idea. So after one battle they return to find earth a very different place and the most experience veterans in the war even though they do not feel like it.
I think any fan of science fiction should take the time to read the classics of the genres and understand more about the origins of the themes and plot elements that we take for granted today. And the Forever War is one of those classics that every fan should take the time to read.
George Wilson’s voice has such a classic storyteller timbre to it; he really brought the story to life for me.
I bought The Forever War audiobook from Audible and listened to it using the Audible app on my iPhone.
From the publisher:
When it was first published over 20 years ago, Joe Haldeman’s novel won the Hugo and Nebula awards and was chosen Best Novel in several countries. Today, it is hailed a classic of science fiction that foreshadowed many of the futuristic themes of the 1990s: bionics, sensory manipulation, and time distortion.
William Mandella is a soldier in Earth’s elite brigade. As the war against the Taurans sends him from galaxy to galaxy, he learns to use protective body shells and sophisticated weapons. He adapts to the cultures and terrains of distant outposts. But with each month in space, years are passing on Earth. Where will he call home when (and if) the Forever War ends?
Narrator George Wilson’s performance conveys all the imaginative technology and human drama of The Forever War. Set against a backdrop of vivid battle scenes, this absorbing work asks provocative questions about the very nature of war.
Roadside Picnic is a collection of stories, they contain the same characters, but they happen at different times, sometimes decades apart. They are great stories, great beginnings of larger stories…
I would love to read a much longer story about Red Schuhart, he is such a great character and his story in this universe is so appealing to me.
Robert Forster does a great job narrating the audiobook.
I bought this audiobook from Audible and listened to it using the Audible app on my iPhone.
From the publisher:
Red Schuhart is a stalker, one of those young rebels who are compelled, in spite of extreme danger, to venture illegally into the Zone to collect the mysterious artifacts that the alien visitors left scattered around. His life is dominated by the place and the thriving black market in the alien products. But when he and his friend Kirill go into the Zone together to pick up a "full empty", something goes wrong. And the news he gets from his girlfriend upon his return makes it inevitable that he’ll keep going back to the Zone, again and again, until he finds the answer to all his problems.
Man-o-man, I like me some Bill Bryson. I think I would buy audio recordings of his compilations of the nightly news…
Oh wait, I think I just did.
"One Summer" really does feel like a compilation of newspaper articles from around 1927 sprinkled with insights and ideas that only come from hindsight.
If you enjoy learning about history, about the United States, and about trivia then I think you will love this book. Bill Bryson does a wonderful job narrating the book, bringing history to life, and making it interesting.
From the publisher:
One of the most admired nonfiction writers of our time retells the story of one truly fabulous year in the life of his native country – a fascinating and gripping narrative featuring such outsized American heroes as Charles Lindbergh, Babe Ruth, and yes Herbert Hoover, and a gallery of criminals (Al Capone), eccentrics (Shipwreck Kelly), and close-mouthed politicians (Calvin Coolidge). It was the year Americans attempted and accomplished outsized things and came of age in a big, brawling manner. What a country. What a summer. And what a writer to bring it all so vividly alive for us in this certain best-seller.