Month: August 2017

  • Chrome browser in Ubuntu

    Chrome browser in Ubuntu

    Follow the instruction for installation: Add Key: wget -q -O – https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add – Set repository: sudo sh -c ‘echo “deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main” >> /etc/apt/sources.list.d/google-chrome.list’ Install package: sudo apt-get update sudo apt-get install google-chrome-stable

  • PXE Server on Existing Network

    Many thanks to Sebastian Krysmanski’s original post! The Goal At the end of this article you’ll have a working PXE server that lets you boot memtest86+ over a network. The goal is to have a simple but working solution. This is why I’m using memtest. It consists of just one file and thus is easy to…

  • Change linux hostname

    How to change the hostname of the system sudo hostname (new hostname) Change old hostname also in the following file: sudo nano /etc/hosts

  • OpenVPN shortcut

    This script will show your current WAN IP address before and after connecting to your VPN. VALID_IP=”123.123.123.123″ #this is the correct IP you should be connected to myip=”$(dig +short myip.opendns.com @resolver1.opendns.com)” echo “My current WAN/Public IP address: ${myip}” echo “Starting OpenVPN connection” sleep 1 sudo openvpn –config ~/path/to/VPNConfig.ovpn –daemon echo “Establishing connection…” sleep 8 myip=”$(dig…

  • Add user to sudo- ers file

    Open the sudoers file: sudo visudo will open the /etc/sudoers file in the editor defined in $EDITOR (probably GNU nano – set the variable if it’s not what you want, eg export EDITOR=”nano” and try sudo visudo again). Add the below line to the end of the file. username ALL=(ALL) ALL # Change the user…

  • OpenVPN running in background

    Simply run the following command in terminal: sudo openvpn –config ~/Documents/path-to/VPNConfig.ovpn –daemon It is not nescessary to leave the terminal open! To kill the connection, stop the process. Identify the correct process ID number. ps aux | grep openvpn Kill the process. sudo kill [id-number]

  • Raspberry Pi Static ip address

    Edit /etc/dhcpcd.conf sudo nano /etc/dhcpcd.conf Add the following rows add the bottom of the text. Leave the default text intact. interface eth0 static ip_address=192.168.1.99 interface wlan0 static ip_address=192.168.1.100 static routers=192.168.1.1 static domain_name_servers=202.62.64.3 8.8.8.8 Reboot