If you are in a foreign country, away from home, staying at a hotel, chances are you have horrible data roaming. Whether it is speed or cost, you want to get connected to a wifi hotspot as soon as possible. Security problems aside, one of the issues with paid (or given as a pre-paid voucher […]
Category Archives: Linux
Home Network Storage With Point and Click ZFS!
I’ve kind of forgotten to post about my “new” NAS, which sort of replaced my old Buffalo Link Station Live 3Tb. I had somewhat of a complicated relationship with the Link Station – on one hand it “did what it was supposed to”, but on the other hand it didn’t do anything else. Yes, it […]
How to import the OWASP Broken Web Applications virtual machine in VirtualBox
Step 1 Download the OWASP BWA files: https://www.owasp.org/index.php/OWASP_Broken_Web_Applications_Project Step 2 Create a folder and extract all files there. Probably a good idea to put the folder right next to your other virtual machines, if you have any. This folder shouldn’t move around. Step 3 Open VirtualBox and create a new machine named OWASP BWA (or […]
How to Restore OwnCloud Password Without an Email
Forgetting your password can be tiresome, especially if you’re the (only) administrator. Owncloud allows you to reset your password via the user-supplied email address, but this does of course only work if you have an email associated with your account. Furthermore, the system needs to have a mail server configured. Perhaps you don’t, because of […]
Configure SSH to Use Keyfiles Automatically
If you have multiple SSH-keys, perhaps a different one to each server, this can make your life a lot easier. Less typing is better. Or perhaps you are configuring a remote git repository, or access through some other software. Go ahead and nano ~/.ssh/config And add Host example.com IdentityFile ~.ssh/yourkey Change the domain and filename […]
Stop Apache2 from listening on port 80
I assume you have enabled SSL so the site is accessible via HTTPS. Assuming you haven’t changed the configuration, go ahead and type unlink /etc/apache2/sites-enabled/000-default This would remove the symlink named 000-default, which points to the default vhost found in sites-available. If you have altered the config, make sure to remove any vhost listening on […]
Enable HTTPS on Apache2
This would be a quick way to enable HTTPS (SSL) on Apache2. cd /etc/apache2/sites-enabled ln -s 001-ssl ../sites-available/default-ssl nano 001-ssl Make sure that the vhost configuration is valid. By default it is configured to /var/www. You might want to have some other directory as your document root. Then run a2enmod ssl service apache2 restart Do […]
Raspberry Pi – Transmit FM Radio
Did you ever want to play your own music on that unintelligent stereo? Well, apparently, now you can! I stumbled across a nice guide on how to transmit FM radio with a Raspberry Pi, containing everything you need to set up your own radio station. Speaking of radio stations, do note that you need a […]