Google Earth on Ubuntu 14.04

Even if your system is 64-bit, you should use 32-bit Google Earth at this time.

On some installs, typing in terminal
google-earth
gives the error
./googleearth-bin: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file or directory
and libSM.so.6, etc.

This is remedied by typing:

sudo apt-get install libfontconfig1:i386 libX11-6:i386 libxrender1:i386 libxext6:i386 libsm6:i386

If you get errors about libGL.so.1, try:

sudo apt-get install libglu1-mesa:i386 libgl1-mesa-glx:i386

If you still get errors about libGL.so.1, try:

find /usr -name "libGL.so.1"

let’s assume you found it in /usr/lib/i386-linux-gnu/mesa
Then type

ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib

Connecting to Boston University’s 802.1x Wifi from a Linux device

If you don’t have a graphical desktop, BU’s Enterprise Wifi requires the following manual settigns. The settings below are from BU’s recommended settings.  Their webpage has now been updated per my suggestion.


# nano /etc/wpa_supplicant/wpa_supplicant.conf

paste at the end
network={
ssid=”BU (802.1x)”

key_mgmt=WPA-EAP
pairwise=CCMP TKIP
eap=TTLS PEAP MSCHAPV2
identity=”Your BU login”
password=”your Kerberos Password: be aware others can read this file!”
phase2=”auth=MSCHAPV2″
}

Then

# reboot

This results in the feedback upon successful connection:

# wpa_cli -i wlan0 status

ssid=BU (802.1x)
id=2
mode=station
pairwise_cipher=CCMP
group_cipher=TKIP
key_mgmt=WPA2/IEEE 802.1X/EAP
wpa_state=COMPLETED
ip_address=155.41.65.23
Supplicant PAE state=AUTHENTICATED
suppPortStatus=Authorized
EAP state=SUCCESS
selectedMethod=21 (EAP-TTLS)
EAP TLS cipher=DHE-RSA-AES256-SHA
EAP-TTLSv0 Phase2 method=MSCHAPV2

Matlab R2014b: X11 forwarding and OpenGL

The new plotting engine in Matlab R2014b has caused some hangups and reduced quality plots for people using Matlab over X11 forwarding.

Consider starting Matlab this way:

matlab -nosoftwareopengl

figure
set(gcf,'renderermode','manual','renderer','painters')
plot(randn(100,1))

If you can’t start Matlab with the -nosoftwareopengl open, omit that open and try plotting with the

set(gcf….’painters’) line as shown above for each figure.

 

AGI STK in Virtualbox on Linux

AGI STK (Systems Tool kit) does not currently run under WINE for version 10 of STK.
However, you can run STK from VirtualBox using Windows guest virtual machine.
Currently (with VirtualBox 4.3.16) you may find that STK crashes upon opening a scenario. Shutdown your virtual machine and try disabling 3D acceleration, enabling 2D acceleration, and setting video memory to at least 64MB. This “worked for me”

SpectraVue 3.3 on WINE Linux

NOTE: As of Wine 1.7, there still was not USB support for ANY devices without some substantial hacking work. This process is just to test Spectravue processing recorded data files.  Note the comment from Andy- G3TDY that starts siqs-ftdi then connects SpectraVue to that server–thanks Andy!

SpectraVue 3.30 and newer changed to using Visual Studio 2010. As a result, you will need to install:

winetricks vcrun2010

then you will be able to run SpectraVue 3.30 and newer under WINE on Ubuntu and other Linux. (Tested with WINE 1.6.2).

 

————————————

Error messages (before this fix):

err:module:import_dll Library mfc100.dll (which is needed by L"C:\\SpectraVue\\IOModule.dll") not found
err:module:import_dll Library IOModule.dll (which is needed by L"C:\\SpectraVue\\SpectraVue.exe") not found
err:module:import_dll Library mfc100.dll (which is needed by L"C:\\SpectraVue\\SpectraVue.exe") not found

802.1x wireless WPA2-Enterprise without certificate: Ubuntu 14.04

NetworkManager in Ubuntu 14.04 has an issue with 802.1x networks that don’t require the laptop to have a .cert file. A bug report has been launched in regards to this.

Note: the following discussion can subject your laptop to “man-in-the-middle” attacks by disregarding the need for a .cert file. However, if your network IT dept. doesn’t provide you a .cert file and their policy is not to, you might discuss with them if the following is an appropriate solution.

1) find the name of the wireless network you want to connect to by typing in Terminal:
ls /etc/NetworkManager/system-connections
let’s assume your network SSID is “sortOfSecureWifi”.
Then type
sudo nano /etc/NetworkManager/system-connections/softOfSecureWifi
and it will look like (note the ?yourdata? is specific to your PC, don’t change it)

Note: In particular, if there is a line system-ca-certs=true, change it to

system-ca-certs=false

WARNING: This configuration can impact network security. Discuss this with the responsible network admins for your network FIRST! However, many networks don’t currently use certificates, yet Ubuntu 13.04/13.10/14.04 keep trying to look for a certificate via NetworkManager

[ipv6]
method=ignore

[connection]
id=?yourdata?
uuid=?yourdata?
type=802-11-wireless

[802-11-wireless-security]
key-mgmt=wpa-eap

[802-11-wireless]
ssid=?yourdata?
mode=infrastructure
mac-address=?yourdata?
security=802-11-wireless-security

[802-1x]
eap=peap;
identity=?yourdata?
phase2-auth=mschapv2
password-flags=2

[ipv4]
method=auto

then reboot and see if you can connect. A sign that system-ca-certs=true is happening is by:

grep "TLS: Certificate verification failed, error 19 (self signed certificate in certificate chain)" /var/log/syslog

GoToMeeting.com Windows client under Wine / Linux

So far, the webcam doesn’t work, but the send/receive audio does work on a test call. I didn’t test receiving video.

NOTE: in an actual conference, I wasn’t able to get sound, and so had to use a telephone. I have also seen problems with this for people using Windows and Mac at a large conference–leading the remote speaker to call in.

I personally avoid using GoToMeeting and would recommend using Google Hangouts or Skype instead of GoToMeeting for desktop sharing, video and audio between Mac/Linux/Windows/Android/iOS.

I tested this on Ubuntu 14.04 with wine 1.7.18. Again, this ultimately failed in a real conference. I don’t recommend GoToMeeting at this time for Linux or any operating system where you have a lot of people counting on it actually working..

Installation:
1) Get the latest MSI file for GoToMeeting — I used V6.2.1 build 1350 from

http://support.citrixonline.com/en_us/gotomeeting/all_files/gtm020012

2) in Terminal, type
wine msiexec /i ~/Downloads/G2MSetup6.2.1350_IT.msi
3) You may not have sound by default. To fix this, start GoToMeeting, right-click the flower toolbar icon, select Preferences, Audio, and select the Pulseaudio device for each.
Uncheck the “Automatically adjust my system mixer settings” and “Use automatic volume and noise processing” boxes.

Matlab R2013b C++ MEX on Ubuntu 14.04

Ubuntu 14.04 comes with GCC 4.8, but Matlab R2013b wants GCC 4.8.
The error you will get includes.
Warning: You are using gcc version ‘4.8.2’. The version of gcc is not supported.

Note that Matlab R2014a uses a new system for MEX configuration. You should not use this process for R2014a and newer. For Matlab R2014a I don’t have a solution for specifying gcc-4.7 besides taking the output of mex -v and editing the commands to use gcc-4.7 manually. Yikes!

http://www.mathworks.com/matlabcentral/answers/67521-32bit-and-64bit-compilations#comment_216789

http://www.mathworks.com/help/matlab/release-notes.html

This example is for R2013b and OLDER

Resolution:
sudo apt-get install gcc-4.7 g++-4.7

cp /usr/local/MATLAB/R2013b/bin/mexopts.sh ~/.matlab/R2013b/mexopts.sh

chmod 644 ~/.matlab/R2013b/mexopts.sh

nano ~/.matlab/R2013b/mexopts.sh
there will be one instance each of:
CC=’gcc’ change to –> CC=’gcc-4.7′
CCX=’g++’ change to –> CCX=’g++-4.7′
5) restart Matlab