Friday, October 25, 2019

OpenVPN on Chromebooks with ovpn-file


Although the network settings in chrome-O/S allow for VPN settings, it seems cumbersome to get a simple ovpn-file of a private VPN server to work on Chromebooks.

Somewhere on the net, I've found bits and bytes on this matter and found this way to work the best for my needs.

Let's say you have a VPN server set up somewhere on a VPS. In my case, it is running as a docker container on a droplet with Digital Ocean. On there I've created an ovpn-file named "laptop.ovpn". but it can be named any way you like of course.

How to connect to the VPN on a Chromebook?


  1. open a shell screen (CTRL + ALT + T) to open Crosh terminal,
    and then type shell (+enter) to access a shell
  2. at the prompt type: sudo stop shill  (+enter)
  3. then:  sudo start shill BLACKLISTED_DEVICES=tun0 (+enter)
  4. load ovpn file: sudo openvpn /path/to/ovpn-file/laptop.ovpn (+enter)

At this point, your network connection should be routed through your Private VPN server. 

Saturday, July 14, 2018

Urban Terror 4.3 on Ubuntu 18.04 / amd64



The default installation of 64 bit version does not provide the extra's for running old 32Bit apps.

to enable this, you need to add it as follows: 


dpkg --add-architecture i386
sudo apt install --reinstall libsdl1.2debian

Optionally you might have to install the new quake engine too: download here



Sunday, February 12, 2017

Join AVCHD.mts files without re-encoding into one m2ts-file

Camera

Canon LEGRIA HFR16


Goal

Join all the separate recordings from your memory card ("00001.MTS, 00002.MTS....") into one result file without re-encoding into another format so there won't be any deterioration of quality. 


I have been using all kinds of software to do this, but there is always something I didn't like. Mostly the time it would consume. 



The following 6 steps do the trick for me: 


  1. Copy all the *.MTS files you want to combine into a folder. 
  2. Open terminal screen (CTRL + T)
  3. Execute at the prompt:

    cd /path 2 the folder with all the mts files/  (enter)

    ls >> combine.txt
  4. Open an editor (I use Gedit) and replace all the newline characters (\n) with |
    (turn off wrap around too)
  5. now insert the following at the beginning of the text:

    ffmpeg -i "

    and add the next line at the end of the text:

    " -c copy filename.m2ts

    save the file if you want to keep it for later use.
  6. copy the whole text and paste it in the terminal screen, and execute.
    (sample with 10 mts files, but I've done it with 100+ files too without a problem)
    It should look like this:

    ffmpeg -i "concat:00000.MTS|00001.MTS|00002.MTS|00003.MTS|00004.MTS|00005.MTS|00006.MTS|00007.MTS|00008.MTS|00009.MTS|00010.MTS" -c copy filename.m2ts


Hope this helps.