October 5th, 2019

Install Ubuntu 18.04 on Thinkpad T560

Install synaptic:
sudo apt install synaptic

install pCloud from pcloud.com
Add synced directory pCloudDrive/sync -> ~/pcloud-sync

Download the KeePassX 0.4 .DEB from https://launchpad.net/ubuntu/xenial/amd64/keepassx/0.4.3+dfsg-0.1ubuntu1
sudo dpkg -i keepassx_0.4.3+dfsg-0.1ubuntu1_amd64.deb
sudo apt --fix-broken install
To prevent it from being upgraded to version 2, in Synaptic, select keepassx and, from the menu, select “Package” -> “Lock Version”. Also make sure Software Updater isn’t set to automatically install updates, as it does not respect the version lock.

Sign in to Firefox. If the menu is missing, hit F10 and select View -> Toolbars -> Menu Bar and Bookmarks Toolbar.

Use Synaptic to load these packages:
vim-gnome
gkrellm
kvpm (replaces system-config-lvm, which is not available for Ubuntu 18)
cifs-utils
gnucash
gimp
darktable
gnome-raw-thumbnailer (to view .CR2 file thumbnails, also view in Files with zoom of 150%)
git

Copy the /etc/group entry for ds411p2 from another machine that already has it.

Add an entry for the NAS to /etc/hosts, of the form:
192.168.123.123 ds411p2

Install NAS credentials
From another NAS-connected machine, copy the NAS authorization file:
/etc/ds411p2pwd. Set permissions to u=rw,go=. Repeat for ~/.ds411p2pwd.

Set up NAS mounts
As root, edit /etc/fstab and add these lines, substituting your username for {me}:

//ds411p2/video /mnt/ds411p2-public-video cifs vers=1.0,rw,suid,gid=ds411p2,credentials=/etc/ds411p2pwd 0 0
//ds411p2/music /mnt/ds411p2-public-music cifs vers=1.0,rw,suid,gid=ds411p2,credentials=/etc/ds411p2pwd 0 0
//ds411p2/photo /mnt/ds411p2-public-photo cifs vers=1.0,rw,suid,gid=ds411p2,credentials=/etc/ds411p2pwd 0 0

//ds411p2/home /home/{me}/ds411p2 cifs vers=1.0,user,uid={me},gid={me},rw,suid,credentials=/home/{me}/.ds411p2pwd 0 0
//ds411p2/video /home/{me}/ds411p2-public-video cifs vers=1.0,user,uid={me},gid={me},rw,suid,credentials=/home/{me}/.ds411p2pwd 0 0

Note the option vers=1.0 is newly required for Ubuntu 18.04 and the DS411+II NAS.
As root, create the above directories in /mnt. You can (as root) mount them now.

Add support for the fingerprint reader:
sudo apt install libpam-fprintd
Register your fingerprint (run as user, not root):
fprintd-enroll
Set sudo to use fingerprint scanner:
sudo pam-auth-update

Install Dot Files

Install xsane

Set up HP LaserJet MFP M477fdn with hp-setup

Uncategorized

Comments (0)

Permalink

Local network DNS on Linux

From within a local network, you have to use hostname.local rather than hostname for name resolution to work.

See https://en.wikipedia.org/wiki/.local

Uncategorized

Comments (0)

Permalink