There seems a little confusion on this around the net, so here’s an easy way to do it, after all it’s free money so you might as well, as it currently stands BTG is worth about $130/coin. Currently there’s only a wallet on an android device for BTG called Coinomi so this is the way I’m going to claim mine, but I don’t have an Android phone, so what do I do? I use an Android Emulator on my mac. Firstly you need to secure your coins, and separate it from the block that has your BTG. So we do this by making a new wallet, that has new private keys. Send the contents of your existing wallet to this wallet address, this will be your new wallet. Now to claim the BTG. Close your new wallet, open the old one and extract the private keys. For example […]
An easy way of making your Pi that little bit more secure is to remove the default user, Pi. So when setting up a new Pi installation this is one of the first things I do which is very simple. SSH into your Pi as usual:
Switch to the root user:
Create a new user:
Will result in the below, add a decent password when asked and then repeat it:
Adding user `puk' ...
Adding new group `puk' (1001) ...
Adding new user `puk' (1001) with group `puk' ...
Creating home directory `/home/puk' ...
Copying files from `/etc/skel' ...
Enter new UNIX password: <REDACTED>
Retype new UNIX password: <REDACTED>
passwd: password updated successfully
Changing the user information for puk
Enter the new value, or press ENTER for the default
Full Name : Puk
Room Number :
Work Phone :
Home Phone :
Is the information correct? [Y/n] Y
Add the new user to the sudo group:
adduser puk sudo
Adding user `puk' to group `sudo' ...
Adding user puk to group sudo
Quit the Pi by typing exit a couple of times, first to log out as root then to leave SSH. Log back into the PI with SSH using your new username/password:
Now to delete the old Pi user:
sudo deluser pi
Will give you an output, add the user Pi’s password when asked:
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
[sudo] password for puk:
Removing user `pi' ...
Warning: group `pi' has no more members.
Finally change the default password of the root account, use a new pass […]
I wanted a secure way of accessing my home network whilst away. Not only for my Home Assistant installation but to access files, photos, be able to work on scripts and the like. I did some research into various ways but kept coming back to a VPN. I found other reasons for using a VPN too, mainly to secure usage of public wifi, prevent region locking, and to use my PiHole DNS advert blocker. For instance, if I’m using public wifi at a cafe/shopping center I can connect via my VPN to secure any passwords/bank details that I enter. If you don’t realise anyone sharing the same wifi network can gain access to your passwords or data that you enter, scared? Have a read how they do it here. This same Pi is running an instance of PiHole for DNS level advert blocking, when I’m connected to my VPN, I’ll […]
Ive got a new toy! Well, a second hand new toy! An Evolve gen 2, esk8 board. The specs look pretty cool, top speed 38kmh, range of 30km. Albeit a little less since the lion battery is now 18months old. But it was cheap, like the budgie! This variation is the Bustin limited edition series, but is based on the Bamboo GT. I haven't been on a skateboard for twenty years so it took me a few kms to get use to even being on a board again. I remember that I skate goofy but it feels weird so I may try regular tomorrow, perhaps absence has changed my style. This thing is so quick. I've mainly used the low speed setting, the fast speed is like a rocket! The brake is surprisingly effective too, and the motor regenerates the battery on braking, great! These boards were nearly £1300 new so […]
With Amazon only supporting a few countries with Alexa, being the UK, Germany and the USA, you may get timeouts on the java app with an error of: java.util.concurrent.TimeoutException It’s a pain when this happens as you have to login with VNC and click the OK button to reset the application. To help prevent it, you can alter the timeout threshold in the java file located at: /home/pi/Desktop/alexa-avs-sample-app/samples/javaclient/src/main/java/com/amazon/alexa/avs/http/AVSClient.java#L69 You can edit this with: sudo nano /home/pi/Desktop/alexa-avs-sample-app/samples/javaclient/src/main/java/com/amazon/alexa/avs/http/AVSClient.java You’re after line 69, it looks like this, alter the timeout as below: Restart your Alexa and job done!
In this post I’m continuing my Home Automation and Home-Assistant journey. I already have an Xbox-One with a kinect so routinely say “Xbox on” which turns on the TV, SoundBar and Foxtel (cable) box. This also accepts volume up/down, change of channel, record, Netflix and games. So I’m moving to a completely voice driven household with using Alexa or Siri to operate the lights. But how do I go further? What else is there in the house that I can’t talk to, what remote controls do I still use? There are several things in my apartment that cannot be controlled via wifi, I live in a typical late 90s midcity Australian apartment and have the ubiquitous through house aircon/heating unit with buttons on a wall and a remote control in the living room and vents to each room in the apartment. So since my apartment reaches dizzying temps in the […]
I find WP a help and a hindrance at times. It’s a pretty good platform, albeit a little slow and bloated so I try and keep the plugins few and far between. I recently found I couldn’t upload pictures via the WordPress app, and got an error of “The corresponding HMAC for this file does not match”. After some googling, it would appear this is because of the max upload file size. I tried a couple of different routes to fix this, firstly .htaccess file, secondly wp_config.php updating, using a plugin. None worked. The easiest way I found was simply to create a file called php.ini in your /wp_admin/ with these two lines in it:
upload_max_filesize = 32M
post_max_size = 32M