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

Sunday, 16 September 2018

Unable to run Etherape on Ubuntu 18.04

Etherape would not start as a root or non-root user on Ubuntu 18.04 with the error message:

GLib-GObject-WARNING **: invalid cast from ‘GtkLabel’ to ‘GnomeCanvas’

I found the answer as to why on the Parrot security forums:
https://community.parrotsec.org/t/etherape-not-working-since-last-update/813/5
This missing library was added with the command:

sudo apt-get install libgnomeui-0

Tuesday, 21 August 2018

How to generate a Battery Report in Windows 10

Useful post on how to generate a battery report in Windows 10:
powercfg /batteryreport /output c:\Temp\Battery_Report.html

See the post here:
https://www.windowscentral.com/generate-battery-report-windows-10

Sunday, 27 May 2018

Parrot 4 will not start LDM in Virtualbox

It seems that Parrot 4.0.1 does not contain a version of Virtualbox tools compatible with kernel 4.16. As a consequence, X will not start due to the lack of supported Kernel modules.

The fix, to install modules from the VirtualBox ISO, is detailed by Pavel at the following link:

Failed to start light display manager? - Community - Parrot Community:



When you obtain the failure message about lightdm, simply press ALT+F1 and log in there. then:
  • sudo apt-get update
  • sudo apt-get upgrade
  • sudo apt-get install build-essential module-assistant
  • sudo m-a prepare
Insert Guest Additions ISO
  • mount /media/cdrom
  • sudo sh /media/cdrom/VBoxLinuxAdditions.run
Reboot

Sunday, 11 March 2018

How to install VirtualBox Guest Additions in a Debian virtual machine - Unix & Linux Stack Exchange

How to install VirtualBox Guest Additions in a Debian virtual machine - Unix & Linux Stack Exchange:

For Debian 9, enable backports with contrib repository to /etc/apt/sources.list
  • deb http://ftp.uk.debian.org/debian stretch-backports main contrib

Then update and install:
  • sudo apt update
  • sudo apt install virtualbox-guest-utils virtualbox-guest-x11 virtualbox-guest-dkms dkms linux-headers-amd64 build-essential

'via Blog this'

Monday, 1 January 2018