MAPS PureData
- make a directory for pd libraries in the home directory
mkdir -p $HOME/.local/lib
- unzip pd libraries to the newly created dir
unzip -q $HOME/suda-git/art/maps/pd.zip -d $HOME/.local/lib
- copy pd and MAPS scripts and config files to their places
cp -r $HOME/suda-git/art/maps/ $HOME/
cp $HOME/suda-git/config/.pdsettings $HOME/.pdsettings
- use sed to setup PD users, passwords and IPs to the Icecast server
sed -i "s/user/$USER/g" $HOME/.pdsettings
- get the local ip by issuing the route command to the FSF (209.51.188.174)
ip=$(ip -o route get to 209.51.188.174 | sed -n 's/.*src \([0-9.]\+\).*/\1/p')
- use sed to setup PD users, passwords and IPs to the Icecast server
sed -i "s/https\:\/\/suda\.hacklab01\.org\:8443/http:\/\/$ip:8080/g" $HOME/suda-git/noVNC-1.3.0/index.html
sed -i "s/hackme/$secret/g" $HOME/maps/MAPS.pd
sed -i "s/changeme/$ip/g" $HOME/maps/MAPS.pd
Everything is configured for local (ethernet) use,use. go
Reboot and open your suda IP in a browser andto test if everything should work.works.