Commit 779fa676 authored by Arturo Filastò's avatar Arturo Filastò
Browse files

Launch oonid by default and add notes on how to use the web UI

parent c81d7fec
Loading
Loading
Loading
Loading
+7 −2
Changes for Vagrantfile: 7 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -31,8 +31,12 @@ make lists 2>&1 > /dev/null
# https://code.google.com/p/pypcap/issues/detail?id=27
# pip install pydnet pypcap

echo Login using 'vagrant ssh', and dont forget to run ooniprobe as root.
echo First run: 'sudo su; cd /usr/share/ooni; ./bin/ooniprobe -i decks/before_i_commit.testdeck'
/ooni/bin/oonid
echo "You may now visit http://localhost:8042/ to start running some ooniprobe tests"
echo ""
echo "Or if you are a bit more h4x0r you can ssh into the box and use the ooniprobe CLI"
echo "Login using 'vagrant ssh', and dont forget to run ooniprobe as root."
echo "First run: 'sudo su; cd /usr/share/ooni; ./bin/ooniprobe -i decks/before_i_commit.testdeck'"

SCRIPT

@@ -42,4 +46,5 @@ SCRIPT

Vagrant.configure("2") do |config|
    config.vm.provision :shell, :inline => $script
    config.vm.network :forwarded_port, guest: 8042, host: 8042
end
+3 −3
Changes for data/ooniprobe.conf.sample: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ advanced:
    #interface: wlan0
    # If you do not specify start_tor, you will have to have Tor running and
    # explicitly set the control port and SOCKS port
    start_tor: false
    start_tor: true
    # After how many seconds we should give up on a particular measurement
    measurement_timeout: 30
    # After how many retries we should give up on a measurement
@@ -49,8 +49,8 @@ advanced:
    data_dir: /usr/share/ooni/
    oonid_api_port: 8042
tor:
    socks_port: 9050
    #control_port: 9051
    socks_port: 9001
    control_port: 9002
    # Specify the absolute path to the Tor bridges to use for testing
    #bridges: bridges.list
    # Specify path of the tor datadirectory.