Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

2. Install Raspberry Pi

synox edited this page Jan 29, 2016 · 2 revisions

Install Raspbian according to: https://www.raspberrypi.org/documentation/installation/installing-images/README.md

Connect a monitor, keyboard and network with the Pi and boot it up. Make the following settings on first boot. You can also configure it later with: sudo raspi-config

  • Expand Filesystem
  • Change User Password
  • in Boot Options select B1 Console & in Wait for Netwerok at Boot select Fast Boot & In 9 Advanced Options activate SSH

static IP address

The ATA should be able to reach asterisk with a static ip IPv4 address.

Edit the file /etc/network/interfaces an.

auto eth0
allow-hotplug eth0
iface eth0 inet manual

# telewall static ip address:
auto eth0:0
allow-hotplug eth0:0
iface eth0:0 inet static
    address 192.168.15.50
    netmask 255.255.255.0

SSH

You may disconnect your screen and keyboard and work over ssh now.

Timezone and languages

Run: sudo dpkg-reconfigure tzdata and select “Europe”, “Zurich”.

You may configure more languages with sudo dpkg-reconfigure locales.

Copy the python scripts and configs

Copy the files from the folder telewall to /telewall.

sudo mkdir -p /telewall
sudo chown -R pi:pi /telewall
git clone https://github.com/synox/telewall.git /telewall