Skip to content

Install

Rolando Islas edited this page Feb 6, 2017 · 13 revisions

This install guide is for Debian. For Ubuntu see Install - Ubuntu.

Dependencies

Log in as root and install via apt.

Backend

wpa_supplicant_drc and wpa_cli_drc

You may need to compile wpa supplicant and cli if there is not a compatible package available to you on this repo.

Adding repo to system

Using this method will allow updates to the wpa tools and allow you to install via apt.

apt install curl
curl -s https://packagecloud.io/install/repositories/rolandoislas/drc-sim/script.deb.sh | bash
apt update && apt install wpasupplicant-drc

Installing deb with dpkg

Download the deb package you wish to install and run the following as root (replace the path with the real one):

dpkg -i /path/to/pacakage.deb && apt-get install -f

Other Dependencies (apt)

apt install \
python2.7 python2.7-dev python-pip libffi-dev zlib1g-dev libjpeg62-turbo-dev net-tools wireless-tools sysvinit-utils \
psmisc libavcodec-dev libswscale-dev rfkill

firmware-ralink

You will need to have the non-free repo enabled.

Edit /etc/apt/sources.listand the non-free repo. In the example line below, change the URL to the mirror your other repos use and change jessie to the appropriate release.

deb http://ftp.us.debian.org/debian/ jessie contrib non-free

Then run:

apt update && apt install firmware-ralink

Frontend

# -- // . ; TODO

Optional (QoL):

git

Getting drc-sim

git clone https://github.com/rolandoislas/drc-sim.git

or

Download an archive of the repo and extract.

Install drc-sim

Change to the root directory of drc-sim. It should contain setup.py.

python2 setup.py install

If you are using a virtualenv be sure to run the virtualenv python.

/path/to/virtualenv/bin/python setup.py install

Drc-sim is now installed. View connecting.

Clone this wiki locally