Site Tools



Vagrant setup

pacaur -S vagrant-libvirt
CONFIGURE_ARGS='with-ldflags=-L/opt/vagrant/embedded/lib with-libvirt-include=/usr/include/libvirt with-libvirt-lib=/usr/lib' \
  GEM_HOME=~/.vagrant.d/gems GEM_PATH=$GEM_HOME:/opt/vagrant/embedded/gems PATH=/opt/vagrant/embedded/bin:$PATH \
  vagrant plugin install vagrant-libvirt
sudo systemctl restart libvirtd
cd ~/ansible-picloud
vagrant up

Deluge in a VPN container

pacman -S arch-install-scripts
mkdir delugecontainer
sudo pacstrap -d delugecontainer
sudo sed -e '/ s/^#*/#/' -i delugecontainer/etc/pam.d/login
sudo mv delugecontainer /var/lib/machines/
sudo systemctl start systemd-nspawn@delugecontainer
machinectl login

Compile custom kernel

tar xvf fsimx6-V3.0.tar.bz2
cd fsimx6-V3.0/toolchain
tar xvf fs-toolchain-5.2.0-armv7ahf.tar.bz2
cd ../sources
tar xvf linux-4.1.15-fsimx6-V3.0.tar.bz2
cd linux-4.1.15-fsimx6-V3.0
export PATH=$PATH:../../toolchain/fs-toolchain-5.2.0-armv7ahf/bin
export ARCH=arm
export CROSS_COMPILE=arm-linux-
make fsimx6_defconfig
make menuconfig

Ufw firewall support:

[*] Networking support  --->
        Networking options  --->
            [*] Network packet filtering framework (Netfilter)  --->
                Core Netfilter Configuration  --->
                    <*>   NetBIOS name service protocol support
[*] Networking support  --->
        Networking options  --->
            [*] Network packet filtering framework (Netfilter)  --->
                IPv6: Netfilter Configuration  --->
                    <*>   "rt" Routing header match support
                    <*>   "HL" hoplimit target support
    File systems  --->
        <*> Btrfs filesystem support

Systemd-nspawn support

    General setup  --->
        -*- Namespaces support  --->
            [*]   User namespace
    Device Drivers  --->
        Character devices  --->
            Enable TTY  --->
                Unix98 PTY support  --->
                    [*] Support multiple instances of devpts
make -j4 LOADADDR=0x10800000 uImage

Tipp: Merge default config with FS changes:

make menuconfig
cat arch/arm/configs/fsimx6_defconfig >> .config


pacaur -S inwx_update_dyndns
 The commands to fetch the current IPv4/IPv6
ipv4_cmd = ["curl", "--fail", "-s", "-S", "-4", ""]
ipv6_cmd = ["curl", "--fail", "-s", "-S", "-6", ""]

# Check if the ip has changed after 10 seconds.
# Note that this script is not going to send a new HTTP request every
# sleep_interval seconds, instead, it will run the command mentioned above. If
# the IP has not changed, no new HTTP request is sent.
sleep_interval = 1800

# Set this to false if no IPv6 should be sent to INWX.
ipv6_enabled = true

# Your accounts are listed at -> Nameserver -> DynDNS
username = "picloud"
password = "onny2003"

# If you have more than one account, just add additional [[account]]s like so:
# [[account]]
# username = "another username"
# password = "confidential"
systemctl restart inwx_update_dyndns
systemctl enable inwx_update_dyndns

LinkLocalAddressing = no
IPv6AcceptRA = no


pacaur -S jellyfin
systemctl enable --now jellyfin
projects/picloud.txt · Last modified: 2019/02/28 15:24 by 2a01:4f8:191:327:bca5:89ff:fe25:538d