Relearn 2017 The server is configured in the following way: prosody virtual server both on the IP adress (192.168.73.188) and on the avahi adress (complex.local) for now install mod_listusers found via (https://groups.google.com/forum/#!topic/prosody-users/SNW9jgbpgzY ) on /var/lib/prosody/modules . Now we can prosodyctl mod_listusers to dump a user list crontab -e 0 * * * * /usr/bin/prosodyctl mod_listusers > /var/www/html/xmpp_users.txt avahi etherpad as user etherpad in /home/etherpad/etherpad-lite, also as a service it is on port 9001 etherdump (adapted from http://observatory.constantvzw.org/etherdump/etherbox.md.raw.html) System wide installation of etherdump Install deps: sudo apt install python-pip python-dev sudo pip install python-dateutil jinja2 html5lib Install from repo: git clone http://murtaugh@gitlab.constantvzw.org/aa/etherdump.git cd etherdump sudo python setup.py install ### Setup the folder cd /home/etherpad mkdir etherdump cd etherdump etherdump init Type in: http://192.168.73.188:9001/ And paste the API key. (Look at: /home/etherpad/etherpad-lite/API-KEY.txt) ### styles.css + versions.js scp styles.css versions.js pi@etherbox.local:etherdump/lib The URLs of these files are options to the etherdump pull command and should match. ### etherdump.sh + cron Make the script that runs automatically. nano etherdump.sh #!/bin/bash # PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games cd /home/etherpad/etherdump etherdump pull --all --pub /home/etherpad/etherdump etherdump index *.meta.json > index.html chmod+x etherdump.sh And set it to run every 5 minutes crontab -e PATH=/home/pi/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin # m h dom mon dow command */5 * * * * /home/pi/etherdump.sh > /home/pi/cron.log.txt 2>&1 The PATH is important. It can also be in the etherdump.sh but basically should match what you see when you "echo $PATH" (for the script to run in the same way as for the etherpad user). ## usefull ips server: 192.168.73.188 etherdump site: 192.168.73.188/etherdump complex: 192.168.73.188:9001/p/complex.local fritz box: http://192.168.73.1/ devolo box: http://192.168.73.25/ wdr3600 wan: 192.168.73.83 ???? wdr3600 lan: 192.168.1.1 printer HP_Color_LaserJet_8550: 192.168.73.254 autonomousarchive: 192.168.73.61 ## wifi passwords ### TP-LINK WDR3600 (the black one = downstairs) ssid: relearn2017 pwd: relearn2017 ### TP-LINK (the white one = upstairs) ssid: relearn ~~pwd: no password~~ (former pwd: poortgebouw) < ### ICIDU (ruben's = downstairs) ssid: ICIDU ~~pwd: no password~~ ## config router (OpenWrt) schema Internet <---> WAN : main router (A) : LAN <---> WAN : your router (B) - WIFI <---> computer(s) connect router (B) wan with cable to main router (A) lan connect router (B) lan with cable to computer ssh to router sudo ssh root@192.168.1.1 or via gui 192.168.1.1 edit /etc/config/network and config wan and bridge config interface 'wan' option ifname 'eth0.2' option proto 'dhcp' option type 'bridge' edit /etc/config/wireless and create SSID access point config wifi-iface option device 'radio0' option mode 'ap' option network 'wan' option encryption 'psk2' option key 'relearn2017' option ssid 'relearn2017 commit changes or reboot router it should bridge the new access point/SSID to wan connect via wifi to access point with your computer ping something ## config router (ICIDU (Ruben's)) not under OpenWrt but seems to bridge wlan to wan by default so it's working ## printer 1 is HP_Color_LaserJet_8550 @ 92.168.73.254 tray 1 (bypass) : a4 (buggy / jam )) tray 2: a4 (working !) tray 3: a3 (working ?) output 1: (buggy / jam ?) output 2: (working !) the output 2 is set by default on the printer so it's ok (normally) you need to use tray 2 (a4) or tray 3 (a3) (tray 1 as paper input when you print printer driver : see open printing https://www.openprinting.org/printer/HP/HP-Color_LaserJet_8550 Set up wifi as desired: networkname and password. Based on: https://wiki.openwrt.org/doc/recipes/bridgedap config interface lan option ifname eth0 option type bridge option proto static option ipaddr 192.168.73.[ap-ip] option netmask 255.255.255.0 option gateway 192.168.73.1 option dns 192.168.73.1 config wifi-iface option device wifi0 option network lan /* Change this line !!! */ /etc/init.d/dnsmasq disable ifup wifi wifi