Coyote Linux & BrazilFW Add-ons - How-to install package remotely

How-to Install packages remotely to Coyote Linux or BrazilFW

Coyote Linux & BrazilFW firewalls are based on modular system of packages. You can download and install aditional packages and configure system to suit your needs. There are many packages available out there. Through time i have also created some packages which are available in packages section of this website. Every package has to be installed before using it. If you use floppy based distribution maybe it's easier to install packages locally as you can see in Local package install How-to.

You can remotely install packages to your Coyote Linux router of BrazilFW firewall and router systems through many different ways. Each option is further discussed in details...

1. Install packages directly from internet over HTTP

You can install packages to your Coyote Linux and BrazilFW router directly from the internet. It's also possible to install packages using this method from www server on local network.

What you will need

Package installation over HTTP

First we will mount our boot device on Coyote router, so we can copy files to it. You can use predefined mt command to mount boot device...

brazilfw# mt

Or you can do it manually (i'm asssuming in this tutorial you are using HDD based router with system installed on primary master HDD, if you use floppy distribution the boot device will be probably /dev/fd0).

brazilfw# mount /dev/fd0 /mnt

Now you can download package to your Coyote Linux or BrazilFW router.

brazilfw# cd /mnt
brazilfw# wget http://dolly.czi.cz/coyote/binary/packages/224/rrdtool.tgz

In case you need to connect to the internet using proxy-server, then follow these instructions...

brazilfw# cd /mnt
brazilfw# export http_proxy=http://proxyserver.url:8080
brazilfw# wget --proxy=on http://dolly.czi.cz/coyote/binary/packages/224/rrdtool.tgz

Now you can unmount the boot device and reboot Coyote router

brazilfw# umount /mnt
brazilfw# reboot

2. Install over ssh (scp)

Package installation over ssh file copy (scp) is usefull if you have packages on your local windows computer and no local FTP server is available. With this option you can install packages directly from your local system to Coyote Linux or BrazilFW router & firewall.

What you will need

SSH package installation

First we will mount our boot device on Coyote router, so we can copy files to it. You can use predefined mt command to mount boot device...

brazilfw# mt

Or you can do it manually (i'm asssuming in this tutorial you are using HDD based router with system installed on primary master HDD, if you use floppy distribution the boot device will be probably /dev/fd0).

brazilfw# mount /dev/fd0 /mnt

Now we will copy package from our windows system to Coyote Linux (BrazilFW) boot device. If you are curious the following commands are described in Secure Copy tutorial. I have putty installed in c:\#programs\putty\ directory and packages prepared in c:\#packages directory, my router IP address is 192.168.0.1 and i'm installing scp.tgz package. Your configuration is probably different, so you have to alter following commands to suit your enviroment. Start command prompt from windows start menu and type the following command...

c:\Program Files>c:\#programs\putty\pscp.exe c:\#packages\scp.tgz root@192.168.0.1:/mnt/scp.tgz

output:
root@192.168.0.1's password:
scp.tgz                  |          10 kB |   4.5 kB/s | ETA: 00:00:00 | 100%

Now you can unmount the boot device and reboot Coyote router

brazilfw# umount /mnt
brazilfw# reboot
Created by Dolly 2004, hosted by CZI s.r.o.