Tell us your story
Tell us your story
How has offline Wikipedia affected you? The Wikimedia Foundation (the non-profit that supports Wikipedia) is looking for personal, diverse and inspiring stories about how offline Wikipedia affects the world. If you have a personal story that you would like to share, please contact: Thank you!

Hotspot Demo Configuration

From Kiwix
Revision as of 14:16, 18 June 2018 by Reg (talk | contribs)
Jump to: navigation, search


  • internet on: enp0s20f0 (IP
  • domain (*
  • demo private network:
  • dedicated user: qdemo
  • bridge iface: br0
  • bridge IP:

Available images


  • domain:
  • tunnel: tap0
  • IP:
  • SSH port: 5022


  • domain:
  • tunnel: tap1
  • IP:
  • SSH port: 5122

Add new image

  • add new tap
  • add tap to bridge and enable it
  • Edit /root/
  • Edit /etc/hosts: add private IP and corresponding hosts
  • Create /home/qdemo/plugdemo_XXX (change IP address)
  • Create /etc/nginx/sites-{available,enabled}/
  • Create /usr/local/bin/img_run_XXX (change last number with TAP number)
  • edit this document and add new image details

Setup image

# start QEMU
img_run_XXX /path/to/image.img

# wait until boot. log-in (pi/raspberry)
> sudo systemctl start ssh && exit

# once SSH is enabled (adjust suffix and SSH port)
scp -P 5022 ~/plugdemo_edupi-fr pi@localhost:/usr/local/bin/plugdemo
scp -P 5022 ~/ pi@localhost:
ssh pi@localhost: -p 5022 "sh ~/"