I bought a 3D printer

I finally did it! I bought a Tevo Tarantula 😀


Cisco Packet Tracer on Ubuntu 16.04 LTS

When you’re trying to download Cisco Packet Tracer, you’ll notice it says “Ubuntu 14.04” only. Well it works on 16.04 LTS as well with a little addition.

Here are all the steps to installing Cisco Packet Tracer:

  1. Download the Ubuntu version of Cisco Packet Tracer
  2. Extract and run “install” script
  3. If you run packettracer now it will say “Starting…” but it won’t actually run.
  4. You need to download this package, libicu52_52.1-3ubuntu0.8_amd64.deb. If you google that you’ll find various mirrors. I found it here: http://mirrors.kernel.org/ubuntu/pool/main/i/icu/libicu52_52.1-3ubuntu0.8_amd64.deb
  5. Install it via “sudo dpkg -i libicu52_52.1-3ubuntu0.8_amd64.deb”
  6. Run packettracer from terminal
  7. Voila!


Wireshark on Kali Linux 2008

If you encounter this issue running Wireshark on Kali Linux:


Perform the following:

  1. Edit /usr/share/wireshark/init.lua with your favourite editor
  2. Find the line (near the top) which has “disable_lua = false”
  3. Change it to “disable_lua = true”
  4. Save and close the editor
  5. Voila 🙂

FPGA Editor

If you’re trying to run the FPGA Editor on Ubuntu 16.04.03 then you’ll encounter these errors, and how to fix them.

/opt/Xilinx/14.7/ISE_DS/ISE/bin/lin64/_fpga_editor: error while loading shared libraries: libXm.so.3: cannot open shared object file: No such file or directory

Navigate to https://launchpad.net/ubuntu/xenial/amd64/libmotif4/2.3.4-8ubuntu1 and download the .deb file.

sudo dpkg -i libmotif4_2.3.4-8ubuntu1_amd64.deb

During this process it will complain abot not having libmrm4, libuil4, and libxm4 in that order.

Now simply run the following command to fix the unmet dependencies:

sudo apt-get -f install
sudo apt-get install libXp

/opt/Xilinx/14.7/ISE_DS/ISE/bin/lin64/_fpga_editor: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory

Navigate to https://packages.ubuntu.com/trusty/amd64/libxp6/download and download the .deb file.

sudo dpkg -i libxp6_1.0.2-1ubuntu1_amd64.deb
sudo apt-get install libstdc++5

Wind/U Error (193): X-Resource: DefaultGUIFontSpec (-*-helvetica-medium-r-normal-*-14-*) does not fully specify a font set for this locale

sudo apt-get install xfonts-100dpi xfonts-75dpi

reboot your computer

Cannot register service: RPC: Unable to receive; errno = Connection refused
unable to register (registryProg, registryVers, tcp)
Wind/U Error (248): Failed to connect to the registry on server ise-VirtualBox

sudo apt-get install rpcbind portmap


Binary Counter (updated)

Here’s a simple binary counter using the onboard LEDs on the Mojo V3:


Source code: https://github.com/coytar/Snippets/tree/master/Lucid/BinaryCounter

I found an even simpler code:


Source code: https://github.com/coytar/Snippets/tree/master/Lucid/BinaryCounterV2

ISE 14.7 + Mojo V3

I wanted to play with FPGAs so I bought a Mojo V3 board (https://embeddedmicro.com/products/mojo-v3). (FYI I got cheaper from another site). To use this board you need the Xilinx ISE software which is available for free. Xilinx provides two methods:
1) Download a pre built VM with the ISE software already installed
2) Download the install files and do it your self.

The obvious choice I thought would be option 1. I download the VM from here (https://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/design-tools/14_7-windows.html).

Here’s my quick review of the VM:

  • It uses Oracle Linux 6.4 running Kernel 2.6-32.358 which can’t interface with the Mojo
  • Despite my best efforts I couldn’t change enough settings to make it interface with the Mojo V3. Oracle Linux kept loading the Mojo as ttyUSB0 instead of ttyACM0, and I couldn’t change that.

After that experience I decided to build my own VM but this time use Ubuntu as the base system. I used Ubuntu 16.04 and everything worked beautifully!