Category: Documentation

18/05/17

Permalink 12:47:46 pm, by Greg, 22 words, 19 views   English (CA)
Categories: Documentation; Mins. worked: 0

Keyman keyboards on Linux

Placeholder for info on using Keyman keyboards on Linux using KMFL framework provided by SIL. A full tutorial will be added eventually.

06/03/17

Permalink 12:38:43 pm, by Greg, 164 words, 140 views   English (CA)
Categories: Documentation, Announcements; Mins. worked: 0

Nougat on tablet

CyanogenMod has been replaced by LineageOS, and there is an unofficial Nougat ROM available.
To install it, hold the power, volume up AND volume down buttons simultaneously until you see the Google boot logo, then release the buttons.
Once you see the little droid dude lying down with his guts open, use the power button to select Recovery Mode and boot the tablet in to TWRP.

Once in TWRP, plug it in to your computer. It should find the tablet and mount it. Copy the zip file containing the ROM to the root of the drive (labelled 'Internal Storage'). Also copy in any other stuff that you can/must flash (like GApps).

In TWRP, select 'Install' and choose the ROM zip file and use the slider to indicate that you're serious.
Once flashed, run the 'Clear Dalvik cache' and go 'up' and run the install again, this time on the GApps image.
You should be able to boot in to the new OS now.

14/02/17

Permalink 05:04:29 pm, by mholmes, 70 words, 50 views   English (CA)
Categories: Servers, R & D, Activity log, Documentation; Mins. worked: 30

Issue with CCAP AtoM

JA called to report that the config on the CCAP db had been hosed by the visit of a robot to a specific URL, which triggered something completely unexpected and unwanted. He was able to recover it, and add protection against a similar event both on CCAP and on LOI. The AtoM documentation is apparently not working properly so we can't find anything on their site about this particular "feature".

09/02/17

Permalink 12:13:06 pm, by Greg, 134 words, 52 views   English (CA)
Categories: Labs, Activity log, Documentation; Mins. worked: 2400

Lab rebuild

The lab is now running Ubuntu 16.04.

One new thing is that I had expected PXE booting to 'just work', but it's been a bit hit-and-miss. I have no clear understanding why, but I might be able to find out by comparing UEFI/BIOS settings on the machines to find out what the differences are between machines that CAN PXE boot and those that CAN'T.

The machines have two distinct motherboards (ASUS H81I-plus and ASUS H97I-plus), and there are slight differences between the models' UEFI/BIOS.

Machines that can PXE boot:
Saga (H81I+)
Salander (H97I+)
Smilla (H81I+)
Sherlock (H81I+)
Cadfael (H97I+)
Rumpole (H81I+)
Poirot (H81I+)
Morse (H97I+)
Marple (H97I+)

NOTE: F8 should boot the machines to a boot menu that contains UEFI network booting.

17/01/17

Permalink 02:28:59 pm, by Greg, 68 words, 42 views   English (CA)
Categories: R & D, Documentation, Documentation; Mins. worked: 0

SVN problems on recently upgraded Mac

Those of you that have recently upgraded to a new version of Mac OS may see an error the next time you use SVN:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
It should be resolved by running the following in the terminal:
sudo xcode-select --reset
As it's a sudo command you'll need to provide an admin password.

10/09/15

Permalink 10:43:06 am, by pat, 167 words, 208 views   English (CA)
Categories: Labs, Documentation, Documentation; Mins. worked: 0

OS X 10.10.5 LDAP UVic binding script

Greg and I have been working on a way to automate adding an OS X workstation's binding to UVic's LDAP server. This would avoid the very finicky GUI application Directory Utility, which is frankly poorly designed and time consuming.

The goal

Auto magically do the following:

Bind to UVic's ldap server at ldap1p.uvic.ca with the following search base suffix:

  • ou=People,dc=uvic,dc=ca

Configure Search and Mapping setting with the following customization from a modified RFC2307 template:

  • Users > NFSHomeDirectory > #/Users/Netlink/$uid$
  • Users > UserShell > #/bin/bash
Current Progress:

So the script found here and then modified by removing the plist for installs older OS X 10.7 partially works. It binds to ldap1p.uvic.ca but does not configure the search and mappings listed above. The Record Types and Attributes remain blank.

Moving forward we believe that dscl likely holds the key for completing the script and adding the necessary customization to the .plist.

This post will be updated as I move forward.

22/04/15

Permalink 10:45:06 am, by Greg, 75 words, 274 views   English (CA)
Categories: Documentation; Mins. worked: 0

Eduroam on Linux (April 2015)

How I connected to UVic's eduroam wireless network using Ubuntu 14.10

Security: WPA2 Enterprise
Authentication: PEAP
CA Certificate: /etc/ssl/certs/Thawte_Premium_Server_CA.pem
PEAP Version: Automatic
Inner Authentication: MSCHAPv2
Username: netlink@uvic.ca

Note that the cert above may be a symlink to
/usr/share/ca-certificates/mozilla/Thawte_Premium_Server_CA.crt

Whatever file you point to, the md5sum of the cert that works is
13565a277532df79f7a1f758dba288f1

16/04/14

Permalink 10:23:09 am, by Greg, 119 words, 379 views   English (CA)
Categories: Labs, Documentation; Mins. worked: 0

Linux keyboards

In anticipation of getting rid of the iMacs in the lab, I was considering how to provide decent non-English character maps. The little applet I have doesn't allow you to insert combinations, so it's ultimately not the tool we need.

A little research turned up two very useful things: KeyboardLayoutEditor and LanguageGeek's keyboard layouts.

With them we should be able to construct custom keyboards that address the needs of projects like the Moses dictionary. Alternatively, and perhaps more forward-looking, we could write some xslt to convert MacOS .keylayout files to xkb format. MacOS keyboards are easier to find (e.g. languagegeek.com has MacOS keyboards for all listed languages), and written in XML, so it should be relatively easy-ish.

04/02/14

Permalink 10:11:21 am, by Greg, 186 words, 407 views   English (CA)
Categories: Labs, Activity log, Documentation; Mins. worked: 50

LDAP tuning on lab machines

I've noticed some auth.log entries that suggest that lab machines are constantly connected to the ldap server and other entries that suggest that there is a problem with the apparmor configuration (entries that include apparmor=DENIED and refer to mkdor and telepathy). I believe I've sorted it out, though.

In the first case I've discovered that nslcd DOES stay connected to the server. So, I've added a line to /etc/nslcd.conf that says:

idle_timelimit 60

which should close the ldap connection after 60 seconds. There are other timeouts in the same class that I may need to use, but this looks like the best first choice.

In the second case, there are 'tunables' in apparmor that should be adjusted in cases like ours - specifically, using non-standard home directory locations. In the file '/etc/apparmor.d/tunables/home' I've edited the line that looks like this:

@{HOMEDIRS}=/home/

to look like this:

It appears that both problems have gone away, at least so far. Fingers croseed.

@{HOMEDIRS}=/home/ /home/netlink/

refs:
https://wiki.ubuntu.com/DebuggingApparmor#Adjusting_Tunables
http://arthurdejong.org/nss-pam-ldapd/nslcd.conf.5

26/11/13

Permalink 11:46:50 am, by Greg, 290 words, 646 views   English (CA)
Categories: Labs, Documentation; Mins. worked: 0

Java settings for LibreOffice

Per-profile settings for Java in LibreOffice can be provided by adding a file here: /etc/skel/.config/libreoffice/4/user/config/javasettings_Linux_X86_64.xml

The file should look like this:

<?xml version="1.0" encoding="UTF-8"?>
<java xmlns="http://openoffice.org/2004/java/framework/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<enabled xsi:nil="true"/>
<userClassPath xsi:nil="true"/>
<vmParameters xsi:nil="true"/>
<jreLocations xsi:nil="true"/>
<javaInfo xsi:nil="false" vendorUpdate="2013-05-02" autoSelect="true">
<vendor>Oracle Corporation</vendor>
<location>file:///usr/lib/jvm/java-7-openjdk-amd64/jre</location>
<version>1.7.0_25</version>
<features>0</features>
<requirements>1</requirements>
<vendorData>660069006C0065003A002F002F002F007500730072002F006C00690062002F006A0076006D002F006A006100760061002D0037002D006F00700065006E006A0064006B002D0061006D006400360034002F006A00720065002F006C00690062002F0061006D006400360034002F007300650072007600650072002F006C00690062006A0076006D002E0073006F000A002F007500730072002F006C00690062002F006A0076006D002F006A006100760061002D0037002D006F00700065006E006A0064006B002D0061006D006400360034002F006A00720065002F006C00690062002F0061006D006400360034002F0063006C00690065006E0074003A002F007500730072002F006C00690062002F006A0076006D002F006A006100760061002D0037002D006F00700065006E006A0064006B002D0061006D006400360034002F006A00720065002F006C00690062002F0061006D006400360034002F007300650072007600650072003A002F007500730072002F006C00690062002F006A0076006D002F006A006100760061002D0037002D006F00700065006E006A0064006B002D0061006D006400360034002F006A00720065002F006C00690062002F0061006D006400360034002F006E00610074006900760065005F0074006800720065006100640073003A002F007500730072002F006C00690062002F006A0076006D002F006A006100760061002D0037002D006F00700065006E006A0064006B002D0061006D006400360034002F006A00720065002F006C00690062002F0061006D006400360034000A00</vendorData>
</javaInfo>
</java>

When a new user profile is created it will generate this preference file in the user's home directory/.config...

:: Next Page >>

Maintenance

This blog is the location for all work involving software and hardware maintenance, updates, installs, etc., both routine and urgent, in the server room, the labs and the R&D rooms.

Reports

XML Feeds