Installing GNS3 for my Cisco studies on my company laptop.. let’s make use of that 16 Gigs of RAM they gave me :]
Continue reading
Fedora 23
Aaaaand once again I grew tired of Ubuntu and wanted a new Fedora install… Seriously, if this continues like this I will start using Arch…
Here is my install log with caveats and tweaks.
Continue reading
openVPN server ubuntu
For those moments when you can’t trust the WLAN.. wherever that may be.
Let’s tunnel the connection using openVPN and get some security / bypass the nosey operator of the WLAN
(using Ubuntu server 14.04 here…)
the client side will be using network-manager
DISCLAIMER: we will be breaking some conventions here – the idea is that I will be the only user most of the time and there will be only one instance of openvpn running. Will adjust later if needed :)
ubuntu 14.04/15.10 minecraft
minecraft recommends oracle’s java engine so let’s do this the right way
1) download minecraft.jar
2) install oracle’s jre
3) create a launcher > in fact there is an easier way > the launcher will get the binaries :)
Continue reading
Minecraft LAN play
if you run a server in offline mode you can change client’s username like this:
Linux:
in your homedir in .minecraft
for Windows:
C:\Users\andreas\AppData\Roaming\.minecraft\
open launcher_profiles.json
and change
“displayName”: “YOUR_NAME”,
take care not to go online with this
automated plex backup to NAS
this is an automated backup approach to save the plex config and metadata away to a NAS every day at 4:30
also will rsync the media directories to the NAS
(cp for the config because.. because.. of this guy!)
SDcard format
when you need to format a sdcard for windows (phone) in linux:
sudo mkdosfs /dev/sdc1 -s 64 -F 32
-F is filesystem (32 is vfat/FAT32)
-s is the allocation size multiplier (for disks < = 16 GB it's usually based on a sector size of 512byte)
how to find out sector size? fdisk!
root@lando:~# fdisk -l /dev/sdc1
Disk /dev/sdc1: 1.9 GiB, 1973416448 bytes, 3854329 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000
root@lando:~#
16×512 = 4K allocation size (standard for small cards)
64×512 = 32K allocation size (Lumia Phones from 4 – 32 GB)
(larger cards (64 GB and up) need exFAT and 128 kB allocation size for Lumia)
NOTE: for larger sector sizes you have to change the formula accordingly
5 things for better security
following the Snowden events here is what everyone can do to increase privacy/security and prevent man-in-the-middle attacks:
– tor
– otr encryption / GPG email / chatsecure / signal
– password manager and a strong password policy
– 2-factor authentication
– full-disk encryption
ampache server
let’s set up an ampache server now we have a NAS mounted as NFS :)
Continue reading
steam OS running plex (or plex running steam?)
so I tried to build a steam box that runs plex and dual boots to steamOS or launches the Steam app. but why not go the whole way and run steamOS and launch plexhometheater from there?
either way is cool and I will try them both. currently running ubuntu and default boot to plex home theater. (which is a PITA, too…)