{"id":15,"date":"2013-05-31T19:13:30","date_gmt":"2013-05-31T19:13:30","guid":{"rendered":"http:\/\/gencarelle.com\/blog\/?p=15"},"modified":"2013-07-23T14:00:20","modified_gmt":"2013-07-23T14:00:20","slug":"running-hamachi-on-a-beaglebone-black","status":"publish","type":"post","link":"https:\/\/gencarelle.com\/blog\/2013\/05\/31\/running-hamachi-on-a-beaglebone-black\/","title":{"rendered":"Running Hamachi on a Beaglebone Black"},"content":{"rendered":"<p>*** I have created an updated Ubuntu image with Hamachi baked right in. Grab it from <a title=\"Download new beaglebone Ubuntu image\" href=\"http:\/\/gencarelle.com\/public_files\/ubuntu-13.04-special\/ubuntu-3.8.13-special.img.gz\" target=\"_blank\">here\u00a0<\/a>***<\/p>\n<p>After hunting around for a long time I wasn&#8217;t able to find instruction on getting Logmein Hamachi working on the Beaglebone Black running Ubuntu 13.04. It turns out Ubuntu dropped support for a armel package that&#8217;s required to install some for the necessary dependencies\u00a0to run armel on armhr hardware. Here is how I finally got it running.<\/p>\n<p><strong>If you want to save some time I have posted all the files to:\u00a0<a title=\"public files\" href=\"http:\/\/www.gencarelle.com\/public_files\" target=\"_blank\">http:\/\/www.gencarelle.com\/public_files<\/a><\/strong><\/p>\n<p dir=\"ltr\">1. Download Ubuntu 13.04 image.<br \/>\n<strong><a href=\"http:\/\/s3.armhf.com\/debian\/raring\/bone\/ubuntu-13.04-armhf-minfs-3.8.12-bone17.img.xz\">http:\/\/s3.armhf.com\/debian\/raring\/bone\/ubuntu-13.04-armhf-minfs-3.8.12-bone17.img.xz<\/a><\/strong><\/p>\n<p>2. Download and install 7-zip.<br \/>\n<a href=\"http:\/\/www.7-zip.org\/download.html\"><strong>http:\/\/www.7-zip.org\/download.html<\/strong><\/a><\/p>\n<p>3. Uncompress Ubuntu image file using 7-zip.<\/p>\n<p dir=\"ltr\">4. Download and install Image Writer for Windows.<br \/>\n<a href=\"http:\/\/sourceforge.net\/projects\/win32diskimager\/files\/latest\/download\"><strong>http:\/\/sourceforge.net\/projects\/win32diskimager\/files\/latest\/download<\/strong><\/a><\/p>\n<p>5. Write the Ubuntu image to the SD memory module.<\/p>\n<p>6. If the SD module is larger than 2 Gigs you should expand the root partition. I used gparted on Linux.<\/p>\n<p dir=\"ltr\">7. Boot the beaglebone with the boot button pressed &#8211; required to boot from SD. Login name and password is ubuntu. Use \u201csudo su\u201d to switch to the root user. Password is ubuntu.<\/p>\n<p>8. Update the Ubuntu package repository.<br \/>\n<strong>apt-get update<\/strong><\/p>\n<p>9. Install packages (and package requirements).<br \/>\n<strong>apt-get install &#8211;fix-missing &#8211;no-install-recommends\u00a0lsb lsb-core aptitude libc6-armel libc6-armel-cross linux-libc-dev-armel-cross<\/strong><\/p>\n<p>11. Make a directory to hold the downloaded packages.<br \/>\n<strong>mkdir \/root\/packages<\/strong><\/p>\n<p>12. Change to the new package directory.<br \/>\n<strong>cd \/root\/packages<\/strong><\/p>\n<p>13. Download the armel libs.<br \/>\n<strong>aptitude download libstdc++6-armel-cross libgcc-4.7-dev-armel-cross \u00a0libgcc1-armel-cross libgomp1-armel-cross libc6-dev-armel-cross<\/strong><\/p>\n<p>14. There is no gcc-4.7-arm-linux-gnueabi-base package for this version of Ubuntu. Force Install the armel libs we have.<br \/>\n<strong>dpkg -i &#8211;force-all *.deb<\/strong><\/p>\n<p>15. Tell the system where to find the libs hamachi needs. Edit the \/etc\/ld.so.conf and add this path at the bottom.<br \/>\n<strong>\/usr\/arm-linux-gnueabi\/lib<\/strong><\/p>\n<p>16. Update the library cache.<br \/>\n<strong>ldconfig<\/strong><\/p>\n<p>17. Download the hamachi package.<br \/>\nwget\u00a0<a href=\"https:\/\/secure.logmein.com\/labs\/logmein-hamachi_2.1.0.101-1_armel.deb\" rel=\"nofollow\">https:\/\/secure.logmein.com\/labs\/logmein-hamachi_2.1.0.101-1_armel.deb<\/a><\/p>\n<p dir=\"ltr\">18. Install the hamachi package. I got a python error during the install but it didnt seem to cause a problem.<br \/>\n<strong>dpkg &#8211;force-architecture -i logmein-hamachi_2.1.0.86-1_armel.deb<\/strong><\/p>\n<p>\u00a0You can now safely remove the \/root\/packages directory.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>*** I have created an updated Ubuntu image with Hamachi baked right in. Grab it from here\u00a0*** After hunting around for a long time I wasn&#8217;t able to find instruction on getting Logmein Hamachi working on the Beaglebone Black running &hellip; <a href=\"https:\/\/gencarelle.com\/blog\/2013\/05\/31\/running-hamachi-on-a-beaglebone-black\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,2],"tags":[],"_links":{"self":[{"href":"https:\/\/gencarelle.com\/blog\/wp-json\/wp\/v2\/posts\/15"}],"collection":[{"href":"https:\/\/gencarelle.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gencarelle.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gencarelle.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gencarelle.com\/blog\/wp-json\/wp\/v2\/comments?post=15"}],"version-history":[{"count":11,"href":"https:\/\/gencarelle.com\/blog\/wp-json\/wp\/v2\/posts\/15\/revisions"}],"predecessor-version":[{"id":61,"href":"https:\/\/gencarelle.com\/blog\/wp-json\/wp\/v2\/posts\/15\/revisions\/61"}],"wp:attachment":[{"href":"https:\/\/gencarelle.com\/blog\/wp-json\/wp\/v2\/media?parent=15"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gencarelle.com\/blog\/wp-json\/wp\/v2\/categories?post=15"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gencarelle.com\/blog\/wp-json\/wp\/v2\/tags?post=15"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}