Skip to main content

Posts

Manually configure a network interface to get an IP from a DHCP server

Got an Ubuntu 13.10 machine with one network interface. Added another one to test internal networking. To make this new network interface get IP address from DHCP server, we need to modify /etc/network/interfaces , like: auto eth1 iface eth1 inet dhcp Reference(s): https://help.ubuntu.com/10.04/serverguide/network-configuration.html Keywords: network interface IP Ubuntu

QNX Momentics throws a lot of error on start up after install in Ubuntu 13.10 64-bit

tldr; Reboot the machine. When starting up QNX Momentics 6.5.0 on Ubuntu 13.10 64-bit, it throws a lot of errors, like below. 'Initial state verification' has encountered a problem. An internal error has occured. [Details>>] [OK] There is an error in the QNX Configuration settings. Either the QNX_CONFIGURATION environment variable is not defined correctly or the location it points to is not accessible. Exit the IDE and fix the error? [No] [Yes] There is an error in the QNX compiler settings. Either the QNX compiler is not defined or compiler definition directory is not accessible. You should exit the IDE and fix the error immediately. Exit the IDE and fix the error? [No] [Yes] And what is the workaround? Reboot the machine. Guessing that the environment variables are not yet set after install, reboot picks up the new configuration. Keywords: QNX Momentics Ubuntu

Fixing QNX Momentics Gtk themes warning on Ubuntu 13.10 64-bit

You might observe the following Gtk warnings when running QNX Momentics 6.5.0 on Ubuntu 13.10 64-bit. (qde:9636): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine", (qde:7229): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (qde:7229): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks", To fix, run the following command. $: sudo apt-get install gtk2-engines-murrine:i386 gtk2-engines-pixbuf:i386 gtk2-engines:i386

Xamarin Studio: F# project does not work with message "Build failed. MSBuild operation failed"

Followed installation instruction from  http://fsharp.org/use/windows/  to install F# using option #2. Installation was not smooth (could be because of my internet connection). Retried several times with few workarounds (delete corrupted files, install files manually, etc). Tried to create a new F# project with all default values, running it failed with the message Build failed. MSBuild operation failed Build: 1 error, 0 warnings Took me several days (tried several minutes a day to check logs, tweak settings, etc). Finally found a workaround. In Project | [project] Options | Main Settings , ensure that " Use MSBuild build engine (recommended for this project type) is unchecked . Tags: F# Xamarin Studio Windows 8.1

Starting Virtualbox guest shows VERR_SSM_LOAD_CONFIG_MISMATCH

The host machine experienced a power failure, when a guest machine was started up it failed with error message below. Failed to open a session for the virtual machine MACHINENAME. ahci#0: The target VM is missing a device on port 0. Please make sure the source and target VMs have compatible storage configurations [ver=6 pass=final] (VERR_SSM_LOAD_CONFIG_MISMATCH). It seems like Virtualbox virtual machine configuration was corrupted. Looking at the virtual machine settings noticed that the virtual HD attached to the SATA port was gone. To workaround this case, re-attached the latest snapshot to the VM. Use Virtual Media Manager to determine the correct UUID.