Upgrade RADVD for IoT on Raspberry Pi 2

The RADVD deamon in Raspberry pool is version 1.8.5 (up to Raspberry 2015-02-16).

root@raspberrypi:~/radvd# apt-cache policy radvd
radvd:
  Installed: 1:1.8.5-1
  Candidate: 1:1.8.5-1
  Version table:
 *** 1:1.8.5-1 0
        500 http://mirrordirector.raspbian.org/raspbian/ wheezy/main armhf Packages
        100 /var/lib/dpkg/status

Latest RADVD at the time of writing is 2.11, with many updates after 1.8.5:

http://www.litech.org/radvd/

Below are simple steps to build the latest RADVD natively on Raspberry Pi 2.

  • Get build essential if it’s not there yet

apt-get install build-essential –y

  • Get bison and flex

apt-get install bison flex –y

  • Get the source code

http://www.litech.org/radvd/dist/radvd-2.11.tar.gz

NOTE the git cloned version misses a few configuration files so please use the tar ball.

git clone https://github.com/reubenhwk/radvd.git

  • Run configure

./configure --prefix=/usr/local --sysconfdir=/etc --mandir=/usr/share/man

See configure --help for additional command line arguments.

  • Run 'make' and 'make install'.