macOS Mojave was released to the public on Monday. As I’m still suffering under terrible problems with macOS High Sierra Updates, I’ve decided to give my Mac a chance and to download Mojave.
I’ve started the download from the Mac App Store and the download speed was really slow. I’m using a 50MBit VDSL connection provided by the Deutsche Telekom. All other Downloads are fast and saturate the connection at about 5,5MB/s.
The Download from the Mac App Store is terribly slow at around 200kB/s. After searching for problems with Deutsche Telekom and slow App Store speeds, I’ve stumbled over this page.
The solution to my slow download rates seem to be the used DNS server. Even if you use the DNS from Quad9 or the one from Google, you will have slow downloads.
The recommended IPv4 DNS server are quite fast. I’ve setup a new Network Profile with these DNS server and I have now the full download speed again.
You can switch your network profile afterwards to your local DNS server.
I’ve intended to disable all comment or trackback functionality to avoid having spam and dealing with it in form of anti-spam plugins like Akismet. While I already had comments disabled, Trackbacks were still active.
Even when you disable Trackbacks in the WordPress settings via „Settings / Discussion“ under „Allow link notifications from other Weblogs (Pingbacks and Trackbacks)“, your existing pages needs manual update to take effect.
Connect to your MySQL database of your blog (e.g. with PHPMyAdmin) and execute these two queries:
I’m currently trying to build a Hackintosh. I had some troubles with bootloaders and modified BIOS, as they weren’t able to detect my existing Windows 10 installation. Windows 10 was installed in legacy BIOS mode, which means you have a traditional boot layout using a Master Boot Record (MBR) instead of GPT (which is also used by Mac OS).The Windows 10 installation would be visible if I could somehow change it from MBR to GPT.
Normally you would do a reinstall and would create a new installation of Windows 10, but this time you would select the Installer as UEFI Installer and it would suggest to reformat the disk with GPT.
However, I don’t want to reinstall everything so I searched for a solution. With one of the recent Windows 10 updates Microsoft added support for a tool called MBR2GPT. This tool can update your existing installation to GPT.
WARNING: The following assumes that you’ve created a working backup of your installation and that your computer supports booting via UEFI.
The necessary steps are:
Start your computer, so that Windows 10 is loaded.
Did you ever wonder how you can make a clean install on your Mac with High Sierra without being forced to use APFS? Well, I just reinstalled my mac using this method and want to explain how I acomplished this:
First of all, you’ll need to boot from a Mac OS Version below 10.13 High Sierra. Otherwise you’ll get an error message „Helpertool crashed“. So in my case I booted from a 10.12 Sierra USB stick.
You can now use the Disk Utility of the recovery OS you currently booted from to clean you complete disk. Format the volume HFS+ journaled and choose a simple name without spaces like „internal“ (which I used for my internal SSD). Attach the USB stick which contains the High Sierra installer. You can create this installer following these instructions.
Now exit Disk Utility and open a Terminal. Go to the Volume of your attached High Sierra USB Stick.
cd /Volumes/“Install macOS High Sierra“
Start the installation of High Sierra to the freshly formatted HFS+ volume mounted as „internal“. This clean installation will also create the Recovery HD partition.
„Install macOS High Sierra.app“/Contents/Resources/startOsInstall –agreetolicense –converttoapfs NO –volume /Volumes/internal
More information can be found here. A video of the process and more details are here. If you execute the startOsInstall command with –usage you’ll get a list of available parameters.
I own a Xiaomi Robot Vacuum. This robot can be controlled by the Xiaomi app, however, I don’t like it very much. The idea is to control this robot over HomeKit. To use HomeKit, I use an old Raspberry Pi 1B. The software will be HomeBridge.
Use Etcher to write the image to the SD card. Remount that SD card and add a file called „ssh“ in the root of the mounted partition. This will enable SSH from the beginning so that you can login directly to the Pi. I don’t want to attach a screen or keyboard to that machine so it will only be reachable over the network. Now boot your Pi from this SD card.
Identify the Pi’s IP (e.g. by looking at the network overview in your router). Now connect to that IP with user „pi“. The default password is „raspberry“. Please change the password now with passwd and assign a new user password.
Update everything with apt:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get clean
Install nodejs 8.9.4
According to Wojtek only this version works currently with HomeBridge. I did not test any other version so I’m just describing what I did on my machine:
Download nodejs for the PI into your users homefolder, e.g. with wget https://nodejs.org/dist/v8.9.4/node-v8.9.4-linux-armv6l.tar.xz
Unpack the file with tar -xvf node-v8.9.4-linux-armv6l.tar.xz
sudo cp -R * /usr/local/
add export PATH=$PATH:/usr/local/bin to e.g. ~/.bashrc
node should be now available
Install the necessary libraries: sudo apt-get install libavahi-compat-libdnssd-dev
Install HomeBridge with npm: sudo npm install -g --unsafe-perm homebridge
open /etc/default/homebridge and safe it with this content:
# Defaults / Configuration options for homebridge
# The following settings tells homebridge where to find the config.json file and where to persist the data (i.e. pairing and others)
# If you uncomment the following line, homebridge will log more
# You can display this via systemd's journalctl: journalctl -f -u homebridge
open /etc/systemd/system/homebridge.service and safe it with this content:
open ~/.homebridge/config.json and safe it with this content:
Generate a new MAC address separated by : using this website. You’ll need the IP address of your Xiaomi robot as well as the token. There are several ways to get the token. I’ve extracted mine from the iOS backup. Instead of uploading the token I’ve used this command on the token taken from the sqlite database:
Check if everything is working by starting homebridge for the first time. It should show a QR code. If it does, cancel the process with ctrl+c
Automate HomeBridge startup
sudo systemctl daemon-reload
sudo systemctl enable homebridge
sudo systemctl start homebridge
sudo systemctl status homebridge
Adding the HomeBridge to iOS devices
Install the Home app, if you’ve removed it from your device. You can reinstall it from the App store.
Open the Home app and add a new device
If you’ve give the app access to your camera, you can scan the QR code you’ve seen earlier. However, HomeBridge is now running as a daemon in the background so you won’t see that QR code. You can add the bridge manually by using the PIN you’ve set in the config.