Sunday, 24 February 2019

Boinc on Cosmic 18.10

I'm sufering from OPENCL failures on Ubuntu 18.10 running Boinc so will try these third party drivers:

https://linuxconfig.org/how-to-install-amd-radeon-drivers-on-ubuntu-18-10-cosmic-cuttlefish-linux

Saturday, 5 January 2019

Retroarch does not recognise my controller

Despite have autoconfig setup for input device, the Retroarch snap on Ubuntu 18.04 would not work with my cheap PS3 like controller.

Turns out this is a disconnect between the snap and USB gamepad\joystick support:
https://forums.libretro.com/t/retroarch-does-not-recognize-my-usb-controller-solved/16985

You need to connect the controls to the snap using:

  • sudo snap connect retroarch:raw-usb
  • sudo snap connect retroarch:joystick
Thanks hunterk!

Friday, 28 December 2018

Windows 10 unable to access SYSVOL and NETLOGON on 2008 R2 Domain Controllers


I found some help here:
Looks like the SMB security needs to be weakened to allow Windows 10 to access these shares.
Enable the following policy:
  • Computer -> Administrative Templates -> Network -> Network Provider -> Hardened UNC Paths
You can either put the following in "Show Values":
  • \\*\NETLOGON    RequireMutualAuthentication=0,RequireIntegrity=0,RequirePrivacy=0
  • \\*\SYSVOL    RequireMutualAuthentication=0,RequireIntegrity=0,RequirePrivacy=0
Or put an entry for each DC:
  • \\DCNAME    RequireMutualAuthentication=0,RequireIntegrity=0,RequirePrivacy=0

Wednesday, 26 December 2018

Linux Mint 19.1 as guest on Virtualbox 60

Same steps as this post, but no need to add repos:
https://blog.thefoleyhouse.co.uk/2018/10/ubuntu-1804-bionic-beaver-as-virtualbox.html

Essentially:

  • sudo apt update
  • sudo apt install virtualbox-guest-utils virtualbox-guest-dkms dkms linux-headers-generic build essential

Monday, 3 December 2018

Geo-location with Wireshark and Geolite2

Turns out Wireshark has built in ASN, City and Country geo-location using Geoip products. You can purchase a (presumably) more accurate version, or use the free version from here:
https://dev.maxmind.com/geoip/geoip2/geolite2/

More details on the Wireshark Wiki (GeoIP link appears broken):
https://wiki.wireshark.org/HowToUseGeoIP

You can get endpoint statistics:

And in capture:


Thursday, 25 October 2018

Move Windows 10 notifications to top of screen

Chrome seems to alert on everything it has now and the notifications\toasts were covering access to items in the system tray that I sometimes needed to exit on login to Windows.

Creating the following registry with a value of 0 will move the toasts to the top of the screen instead:

HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer
    DWORD DisplayToastAtBottom 0x000000000 (0)

Thanks to Winaero:
https://winaero.com/blog/move-notification-toasts-to-top-or-bottom-of-the-screen-in-windows-10/

Monday, 15 October 2018

Ubuntu 18.04 Bionic Beaver ntp inactive dead


Having installed ntp services on Ubuntu 18.04, we had to manually start manually on any reboot  using:
               sudo service start ntp


It turns out that in Ubuntu 18.04, systemd has an in-built timesync service that fires on boot called systemd-timesyncd. I believe this service was clashing with ntp and causing ntp to fail to start.


I’ve carried out the following to disable systemd-timesyncd on all three time servers, and to replace it with ntp:
sudo systemctl stop systemd-timesyncd
sudo systemctl disable systemd-timesyncd
sudo systemctl status systemd-timesyncd
sudo systemctl enable ntp
suso systemctl start ntp
sudo systemctl status ntp

All timeservers now appear to start ntp correctly.

Ubuntu 18.04 Bionic Beaver as Virtualbox Guest

Virtualbox guest utilities are available in the 'Multiverse' repo.
Testing on server gives the following in /etc/apt/sources.list after initial install:

  • deb http://archive.ubuntu.com/ubuntu bionic main
  • deb http://archive.ubuntu.com/ubuntu bionic-security main
  • deb http://archive.ubuntu.com/ubuntu bionic-updates main


You may be using a different ftp/http location, but just adding 'multiverse' to each line should achieve the same result. I ended up with:

  • deb http://archive.ubuntu.com/ubuntu bionic main multiverse
  • deb http://archive.ubuntu.com/ubuntu bionic-security main multiverse
  • deb http://archive.ubuntu.com/ubuntu bionic-updates main multiverse


I then ran the following commands to update and install the required modules:
  • sudo apt update
  • sudo apt install virtualbox-guest-utils virtualbox-guest-dkms dkms linux-headers-generic build essential