Router project: Dallaley

I have launched my routerproject on github. I have named it: Dallaley What is it? It is a ansible playbooks that works under a Ubuntu, this will setup all your needs for a homerouter solution. It sports presetup of IPv4, DHCP, DNS, NTP, iptables, and a web interface via Cockpit. Upcomming features are: Traffic shaping …

Continue reading ‘Router project: Dallaley’ »

Persistent network tunnel with autossh

Purpose an explanation: This guide will help setup a reverse tunnel from one host behind a firewall, where you can not open a port to. With a little help from autossh connection will be persistant, even if connection breaks, autossh will make sure tunnel is reconnected.You will be able to connect to the normally unreachable …

Continue reading ‘Persistent network tunnel with autossh’ »

Ubuntu – Select Primary network interface

Sometimes you want to have a default primary interface or network configured. Most modern Linux distributions, like ubuntu today uses Network-Manager. You can control that from the terminal using either nmcli og nm-tui To display current connections configured, with priority: nmcli -f NAME,UUID,AUTOCONNECT,AUTOCONNECT-PRIORITY c To display the primary route to the internet route -n You …

Continue reading ‘Ubuntu – Select Primary network interface’ »

Ansible Windows client + chocolatey

set-executionpolicy remotesigned winrm enumerate winrm/config/listener @powershell -NoProfile -ExecutionPolicy Bypass -Command “iex ((new-object net.webclient).DownloadString(‘https://github.com/ansible/ansible/raw/devel/examples/scripts/ConfigureRemotingForAnsible.ps1’))” @”%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe” -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command “iex ((New-Object System.Net.WebClient).DownloadString(‘https://chocolatey.org/install.ps1’))” && SET “PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin” @”%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe” -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command “iex ((New-Object System.Net.WebClient).DownloadString(‘http://darkrouter/prepwin.ps1’))”   Suggest packages: teamviewer skype picasa adobereader libreoffice firefox javaruntime spotify vlc 7zip k-litecodecpackfull wget malwarebytes thunderbird itunes windirstat

Adding launcher/menu shortcut to Linux

Sometimes you want a shortcut in/on the desktop launcher of your DE. This is pretty simple, create a .desktop file with entry as shown below. Remember, you must have the [Desktop Entry], Name, Exec, Type. If it is a script with some kind of interaction, select Terminal=True. It can also be a good idea to …

Continue reading ‘Adding launcher/menu shortcut to Linux’ »

Convert files to Lightworks from Gnome Files

So working in lightworks can be a pain, if you use the wrong file format as inputfiles. Lightworks has a transcoding tool to import files, but this sometimes fails. To eliviate this problem, I have made a script, where you can right click on a media file, and it converts the file to more Lightworks digestable …

Continue reading ‘Convert files to Lightworks from Gnome Files’ »

Fedora 25 – Virtual Machine Manager

If you need a virtual machine environment on your Fedora box, there are serveral choices to choose from. The one soulution I like the best, is KVM that is builtin in the kernel, and with “Virtual machine Manager” for gui management. Only large drawbacks are; If you enable network bridging, you can not connect to guest …

Continue reading ‘Fedora 25 – Virtual Machine Manager’ »

Multimonitor GDM/Fedora – GDM/Ubuntu

Updated April 2019 This guide helps you choose on which screen, your loginscreen is displayed on in GDM/Fedora 25 & Ubuntu 18.04 + GDM i the new era uses Wayland, therefore config file must be Wayland compatible. Solutions is partly gui based, and partly terminal based. Login with your user, with Wayland session, select with …

Continue reading ‘Multimonitor GDM/Fedora – GDM/Ubuntu’ »