{"id":267,"date":"2019-03-13T22:43:41","date_gmt":"2019-03-13T22:43:41","guid":{"rendered":"https:\/\/oshablue.com\/bsides\/?p=267"},"modified":"2019-03-14T19:21:10","modified_gmt":"2019-03-14T19:21:10","slug":"installing-and-running-lattice-semi-icecube2-on-64-bit-ubuntu-18-04-lts-on-vmware-fusion-11-0-running-on-mac-os-x","status":"publish","type":"post","link":"https:\/\/oshablue.com\/doc\/installing-and-running-lattice-semi-icecube2-on-64-bit-ubuntu-18-04-lts-on-vmware-fusion-11-0-running-on-mac-os-x\/","title":{"rendered":"Installing and Running Lattice Semi iCEcube2 on 64-bit Ubuntu 18.04 LTS on VMWare Fusion 11.0 running on Mac OS X"},"content":{"rendered":"\n<p style=\"background-color:#9da74b\" class=\"has-background has-small-font-size\">Legal Note: Dear Lattice Semi: If you dislike the screenshot being here or if this somehow violates your terms, please forgive me\/us.  The idea is that by providing these notes here, it will help your business by giving a quick start for others who are trying to install this.  Just get in touch if you need something removed.  Thanks.<\/p>\n\n\n\n<p>So far, installation and running the software work.  If you&#8217;re ok with installing this sort of thing on your Linux system.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Gotchas:<\/h4>\n\n\n\n<p>Here is a summary of gotchas that could save you a bit of time:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Setup: Setup needs stuff that gets installed for 32-bit (i386) Java. MultiARCH needed.<\/li><li>Licensing: iCEcube2 is hardcoded to look for the matching MAC of &#8220;eth0&#8221;<\/li><\/ol>\n\n\n\n<!--more \"Read more-->\n\n\n\n<h4 class=\"wp-block-heading\">Solutions<\/h4>\n\n\n\n<p>Issue #1: Setup: add 32-bit Java<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ubuntu$ sudo apt-get install default-jre:i386<br><\/pre>\n\n\n\n<p>Now, actually and initially, the fixes started by watching each missing library notification and manually checking that is was installed and\/or installing the i386 version using things like:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ubuntu$ apt-file search libXrandr.so.2<br>ubuntu$ sudo apt-get install libxrandr2:i38<\/pre>\n\n\n\n<p>which was time consuming, but did lead to manual installation by download and local apt-get package installation using a Xenial i386 libpng12 package.  So, it&#8217;s not known here at the moment if the 32-bit JRE installation will do it.  But maybe.  Either way, these were the steps.<\/p>\n\n\n\n<p>Issue #2: Licensing and Ethernet Interface naming<\/p>\n\n\n\n<p>On Ubuntu Bionic (18.04.02 in this writing), ours running in VMWare Fusion, the Ethernet interface (just one here) is renamed to &#8220;ens33&#8221; while the iCEcube2 software looks for &#8220;eth0&#8221; (hardcoded, per their FAQ) to check the license.<\/p>\n\n\n\n<p>So <a href=\"https:\/\/serverfault.com\/questions\/910406\/persistently-rename-a-linux-network-interface-without-udev-reboot\">this Stack Overflow solution<\/a> was used to add the needed line to:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/etc\/udev\/rules.d\/70-persistent-net.rules<\/pre>\n\n\n\n<p>(The added line was:)<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">SUBSYSTEM==\"net\", ACTION==\"add\", ATTR{address}==\"my:ma:ci:dh:er:e!\", NAME=\"eth0\"<\/pre>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"560\" height=\"263\" src=\"https:\/\/oshablue.com\/bsides\/wp-content\/uploads\/2019\/03\/image-8.png\" alt=\"\" class=\"wp-image-272\" srcset=\"https:\/\/oshablue.com\/doc\/wp-content\/uploads\/2019\/03\/image-8.png 560w, https:\/\/oshablue.com\/doc\/wp-content\/uploads\/2019\/03\/image-8-300x141.png 300w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><figcaption>ifconfig output showing the renamed eth interface &#8211; it used to be called ens33<\/figcaption><\/figure><\/div>\n\n\n\n<p><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Legal Note: Dear Lattice Semi: If you dislike the screenshot being here or if this somehow violates your terms, please forgive me\/us. The idea is that by providing these notes here, it will help your business by giving a quick start for others who are trying to install this. Just get in touch if you &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/oshablue.com\/doc\/installing-and-running-lattice-semi-icecube2-on-64-bit-ubuntu-18-04-lts-on-vmware-fusion-11-0-running-on-mac-os-x\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Installing and Running Lattice Semi iCEcube2 on 64-bit Ubuntu 18.04 LTS on VMWare Fusion 11.0 running on Mac OS X&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":268,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[26,25,4,30,29,27,28],"tags":[],"class_list":["post-267","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-icecube2","category-lattice-semi","category-linux","category-mac-os-x","category-quick-hint-how-tos-and-reminders","category-ubuntu-18-04-lts-bionic","category-vmware-fusion","entry"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/oshablue.com\/doc\/wp-content\/uploads\/2019\/03\/image-6.png","_links":{"self":[{"href":"https:\/\/oshablue.com\/doc\/wp-json\/wp\/v2\/posts\/267","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oshablue.com\/doc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oshablue.com\/doc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oshablue.com\/doc\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oshablue.com\/doc\/wp-json\/wp\/v2\/comments?post=267"}],"version-history":[{"count":5,"href":"https:\/\/oshablue.com\/doc\/wp-json\/wp\/v2\/posts\/267\/revisions"}],"predecessor-version":[{"id":278,"href":"https:\/\/oshablue.com\/doc\/wp-json\/wp\/v2\/posts\/267\/revisions\/278"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oshablue.com\/doc\/wp-json\/wp\/v2\/media\/268"}],"wp:attachment":[{"href":"https:\/\/oshablue.com\/doc\/wp-json\/wp\/v2\/media?parent=267"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oshablue.com\/doc\/wp-json\/wp\/v2\/categories?post=267"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oshablue.com\/doc\/wp-json\/wp\/v2\/tags?post=267"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}