Enable periodic updates
Edit the file:
vim /etc/apt/apt.conf.d/10periodic
And check that it as follow:
APT::Periodic::Update-Package-Lists "1"; APT::Periodic::Download-Upgradeable-Packages "0";
Edit the file:
vim /etc/apt/apt.conf.d/10periodic
And check that it as follow:
APT::Periodic::Update-Package-Lists "1"; APT::Periodic::Download-Upgradeable-Packages "0";
The goal is to setup a secured tunnel to allow road warriors to securely access our home LAN with Android native client.
Install strongswan IPsec server :
sudo apt-get install strongswan libcharon-extra-plugins libstrongswan-extra-plugins
Continue reading IPsec XAuth VPN server on Raspberry Pi behind a NAT
Now that the server is ready, let’s switch on the client side !
Install OpenVPN :
sudo apt-get install openvpn
Copy the client configuration sample in the working directory :
sudo cp /usr/share/doc/openvpn/examples/sample-config-files/client.conf /etc/openvpn/
Install OpenVPN and Easy-RSA :
apt-get install openvpn easy-rsa
Copy the sample configuration file :
gunzip -c /usr/share/doc/openvpn/examples/sample-config-files/server.conf.gz > /etc/openvpn/server.conf
After setting up the OS on the memory card, you should have 2 partitions mounted from your memory card :
– Boot partition
– Root partition
~$ mount | grep mmc /dev/mmcblk0p1 on /media/ron/boot type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2) /dev/mmcblk0p2 on /media/ron/8a9074c8-46fe-4807-8dc9-8ab1cb959010 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
On the root partition, edit the wpa supplicant configuration file :
~$sudo vi /media/ron/8a9074c8-46fe-4807-8dc9-8ab1cb959010/etc/wpa_supplicant/wpa_supplicant.conf
And add the following lines at the end of the file :
network={ ssid="your-network-ssid-name" psk="your-network-password" }
Adjust the SSID and password, and you’re done.
Nextcloud is an open source, self-hosted file sync and share and communication app platform. Access & sync your files, contacts, calendars and more.
Installation on a OVH server (Kimsufi) for testing purpose. Continue reading Nextcloud 11 on Debian Jessie with Nginx / PHP / MySQL
Create a file for your credentials in your home folder :
touch ~/.smbcredentials
Keep it private :
chmod 600 ~/.smbcredentials
Then fill it :
vi ~/.smbcredentials
Using the following content :
username=myUsername password=myPassword
Since November 2016, SSH server on Raspbian is disabled by default. On the first boot, you’ll find a closed door :
Permission denied, please try again.
Continue reading Raspbian Jessie : Re-activate SSH by default
We’ll assume that your OS (Raspbian) is installed and the network is configured.
Update your system and install some software that we’ll need later (to compile) :
sudo apt-get update sudo apt-get upgrade sudo apt-get install git cmake libusb-1.0-0-dev build-essential lsof
Continue reading Feed Flightradar24 and Flightaware concurrently with Dump1090
POCSAG is an asynchronous protocol used to transmit data to pagers.
The family of POCSAG protocols can operate at three speeds, 512 bits per second (the original specification speed) is the base standard.
Continue reading Decoding POCSAG on Ubuntu with a RTL-SDR dongle