Vyatta is a software-based router OS, built on Debian-based Linux distribution. As such, you can install many standard Debian software packages on a Vyatta-powered router. For example, I wanted to install dhcpdump on my Vyatta router to monitor DHCP traffic.
In order to install a Debian package on Vyatta, first check the version of Vyatta that you are running.
Version: VC6.4-2012.05.31 Description: Vyatta Core 6.4 2012.05.31 .....
For Vyatta with version 6.0 or above, you should use Debian Squeeze (6.0) repositories to install packages from. The rest of the guide assumes that your Vyatta has version 6.0 and higher.
To set up Debian Squeeze repository on Vyatta:
$ set system package repository squeeze components 'main contrib non-free'
$ set system package repository squeeze distribution 'squeeze'
$ set system package repository squeeze url 'http://mirrors.kernel.org/debian'
Optionally, if your Vyatta router is connected behind an http proxy, you need to configure proxy setting on Vyatta in order to be able to install packages via the proxy. To do that:
Acquire::http::proxy "http://your_proxy.com:port_number/"; Acquire::https::proxy "http://your_proxy.com:port_number/";
Now you can use apt-get command to install Debian packages on Vyatta.
$ sudo apt-get install dhcpdump
Subscribe to Xmodulo
Do you want to receive Linux FAQs, detailed tutorials and tips published at Xmodulo? Enter your email address below, and we will deliver our Linux posts straight to your email box, for free. Delivery powered by Google Feedburner.
Did you find this tutorial helpful? Then please be generous and support Xmodulo!