FRR Install from Github

The goal is install FRR under a Raspian Distro

Here, each step to download and install FRR.

Source: http://docs.frrouting.org/en/latest/installation.html

git clone https://github.com/FRRouting/frr.git

Here my script running througt a cron.

#!/bin/bash

#Changement de repository
cd /home/pi/gitclone/frr
# update du Git
git pull

# Build de l'Autoconf
./bootstrap.sh

#Processing du build
./configure --enable-exampledir=/usr/share/doc/frr/examples/ --localstatedir=/var/run/frr --sbindir=/usr/lib/frr --sysconfdir=/etc/frr --enable-vtysh --enable-isisd --enable-pimd --enable-watchfrr --enable-ospfclient=yes --enable-ospfapi=yes --enable-multipath=64 --enable-user=frr --enable-group=frr --enable-vty-group=frrvty --enable-configfile-mask=0640 --enable-logfile-mask=0640 --enable-rtadv --enable-fpm --enable-ldpd --with-pkg-git-version --with-pkg-extra-version=-MyOwn
FRRVersion

make
make check
sudo make install <<< *******

Raspberry Wifi Setup HeadLess

After installing Raspbian on your new Micro SD Card.

Connect the SDCard to your laptop using a adpater MicroSD to SD Adapter or using an MicroSD to USB adapter.

Under the terminal on your MacOSX, go to the boot mount point

cd /Volume/boot
vi wpa_supplicant.conf

After add in the new file

country=FR
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
scan_ssid=1
ssid="YourSSID" psk="yourkey" key_mgmt=WPA-PSK }

If you need ssh (sure you need) in the same directory

/Volume/boot/# touch ssh

Sources: https://www.raspberrypi.org/documentation/configuration/wireless/headless.md