Difference between revisions of "Mesh/Build An OpenWRT Image"

Jump to navigation Jump to search
Line 58: Line 58:


To use the proxy:  
To use the proxy:  
Download the build proxy source from... (urls pending)
Download the build proxy source from... (urls pending)
copy sudomesh-bin/* into ~sudomesh/bin/
copy sudomesh-bin/* into ~sudomesh/bin/
copy sudomirror-bin/* into ~sudomirror/bin/
copy sudomirror-bin/* into ~sudomirror/bin/
As sudomesh, check out the OpenWRT firmware (before the firewall is up!)
As sudomesh, check out the OpenWRT firmware (before the firewall is up!)
run firewall.sh as root.
run firewall.sh as root.
As sudomirror, prep-cloneserver.sh
As sudomirror, prep-cloneserver.sh
As sudomirror, start ~/bin/build-proxy.py and ~/bin/cloneserver.py
As sudomirror, start ~/bin/build-proxy.py and ~/bin/cloneserver.py
As sudomesh, cd to the openwrt-firmware dir and run ./prepare
As sudomesh, cd to the openwrt-firmware dir and run ./prepare


CRITICAL NOTE: These assume that git and svnsync do not ever execute code
CRITICAL NOTE: These assume that git and svnsync do not ever execute code
downloaded from the remote.  I do not know if this is true.
downloaded from the remote.  I do not know if this is true.