Why are people so stubborn?
November 14th, 2018
I’m sure I’m not the only security expert to say this but WHY do people simply ignore the most basic advice!? I was just talking to a friend over SMS and he asked me a couple of personal questions and some deep security questions, when I suggested he went on to Signal (and yeah he does understand IT privacy) he acted like I was suggesting he crash his car into a tree.
That’s why I’m writing my next book, a book of all the advice people just refuse to take – like decent passwords and screensaver locks.
It baffles me – people seem to enjoy fearing hackers and government surveillance but at the same time don’t want to do anything to stop them.
Windows server time sync fix for vmware
August 22nd, 2018
Configure a Windows NTP Client for Network Clock Synchronization
The clocks of all servers on the vSphere network must be synchronized. You can configure a Windows NTP client as a source for clock synchronization on Windows servers.
Use the registry editor on the Windows server to make the configuration changes.
1 Enable NTP mode.
a Go to the registry setting HKEY_LOCAL_MACHINE\ SYSTEM\ CurrentControlSet\ Services\ W32Time\ Parameters
b Set the Type value to NTP.
2 Enable the NTP client.
a Go to the registry setting HKEY_LOCAL_MACHINE\ SYSTEM\ CurrentControlSet\ Services\ W32Time\ Config
b Set the AnnounceFlags value to 5.
3 Enter the upstream NTP servers to synchronize from.
a Go to the registry setting HKEY_LOCAL_MACHINE\ SYSTEM\ CurrentControlSet\ Services\ W32Time\ TimeProviders.
b Set the NtpServer value to a list of at least three NTP servers.
For example, you might set the value to 0x1 1.pool.ntp.org,0x1 2.pool.ntp.org,0x1 3.pool.ntp.org.
4 Specify a 150-minute update interval.
a Go to the registry setting HKEY_LOCAL_MACHINE\ SYSTEM\ CurrentControlSet\ Services\W32Time\ TimeProviders\ NtpClient,
b Set the SpecialPollInterval value to 900.
5 Restart the W32time service for the changes to take effect.
From VMware blog
MacBook Pro Camera on Fedora
March 6th, 2018
From Mark Knowles – mknowles.com.au – Thanks Mark!
Getting the Camera to Work in Fedora 25 on the Macbook Pro 13″Posted on January 19, 2017
by Mark Knowles
The Macbook Pro 13″ (otherwise known by the codename MacbookPro12,1), has pretty good Linux support for a Macbook. The hardware is beautiful and everything works now that the camera is supported. Here are the steps needed to make it work.
The information for this article has primarily come from the FacetimeHD (Broadcom 1570) project instructions. This article focuses on Fedora, so if you want instructions for another distro, look on the project page.
First, check you have the correct hardware:
[email protected]:/usr/src/bcwc_pcie ★ dmidecode | grep -i “Product Name” Product Name: MacBookPro12,1 Product Name: Mac-E43C1C25D4880AD6 It should say MacbookPro12,1 above. If it says anything else, don’t continue (unless you know the laptop has the “FaceTime HD” camera.
1. Install kernel development package:dnf install kernel-devel 2. Download the driver source (safely)Note that we’re not doing this as root. It’s poor practice to git clone or build anything as root. It’s just unneccessary.
cd /usr/src sudo mkdir bcwc_pcie sudo chown $(whoami):$(whoami) bcwc_pcie git clone https://github.com/patjak/bcwc_pcie.git 3. Extract the firmwarecd bcwc_pcie/firmware make sudo make install 4. Build the driver sourcecd /usr/src/bcwc_pcie/ make The next command might generate some errors. These can be safely ignored as long as you don’t care about secure boot or driver signing. The errors are:
At main.c:158: – SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175 – SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:182 sign-file: certs/signing_key.pem: No such file or directory Keeping this in mind, install and initiate the drivers:
sudo make install sudo depmod sudo modprobe facetimehd 5. TestI like to use the application called “cheese” to test webcams:
dnf install cheese cheese
Swap Nautilus to Nemo as Ubuntu 14.04 File Manager
December 18th, 2014
Some people (like me) prefer the old school file manager look to the new Gnome/Ubuntu look. I like having a folder tree in the left pane rather than a bunch of Windows like “Libraries”
It’s a simple set of commands to achieve this.
First make sure you have nemo installed
sudo apt-get install nemo
Then change the defaults to nemo:
xdg-mime default nemo.desktop inode/directory application/x-gnome-saved-search
gsettings set org.gnome.desktop.background show-desktop-icons false
gsettings set org.nemo.desktop show-desktop-icons true
Test it with this, it should answer “nemo.desktop”
xdg-mime query default inode/directory
Steps to install VMware Tools on Kali Linux
December 8th, 2014
Just a quick post. You might have trouble installing VMware Tools on Kali but these steps should fix it all.
echo cups enabled >> /usr/sbin/update-rc.d
echo vmware-tools enabled >> /usr/sbin/update-rc.d
apt-get install gcc make linux-headers-$(uname -r)
ln -s /usr/src/linux-headers-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-headers-$(uname -r)/include/linux/
Missing Kernel Source?
November 1st, 2014
apt-get install linux-headers-`uname -r`
Setting up Epson Printers on Ubuntu 14.04
August 7th, 2014
It seems at the time of writing there is a problem with detecting some Epson printers on the new Ubuntu.
I found the best way to do it is to download the .deb file from the link below and install the driver using any one of Ubuntu’s installers. Then when you try and detect the printer it won’t go online searching for the driver it will already have it and all will be good.
It looked to me like there was a problem in converting an rpm version of the driver to .deb format. I’m not sure why the automatic programs try and do this though as Epson release .deb drivers!