SOWN @ Anywhere

From SOWNWiki
(Redirected from SOWN(at)Anywhere)
Jump to: navigation, search

logo-yellow.png

Work in Progress
This page is a work in progress.

This page will one day be a guide for how to set up a SOWN node on a rooted Android device. For now it is something more akin to a todo list...

This work has been allocated to [[allocated to::Schmendrick]].

  • Create node with <mac address> through sown-auth2.ecs.soton.ac.uk.

<installer_cert> should be in here: sown-auth2:/home/package_build/data/etc/sown/installer

Installer script: sown-auth2:/home/package_build/data/usr/sbin/install_sown

sown-auth2:/home/package_build/data/etc/sown/configure_scripts/available/credentials

https://auth2.sown.org.uk/package/config/backfire/


  • request <node_certificate> using <installer_cert> & <mac_address>
  • get <node_config> using <node_certificate>
  • pars the <node_config> into <pi_config>
  • win

Actual Stuff

On sown-auth2:

wget --certificate=/home/package_build/data/etc/sown/installer/client.crt \ 
--private-key=/home/package_build/data/etc/sown/installer/client.key  \
--post-data="mac=<MAC_ADDRESS>" https://auth2.sown.org.uk/package/config/backfire/sown_openwrt_core/0.1.78/credentials \
-O creds.tar.gz
tar -xzf creds.tar.gz
wget --certificate=creds/client.crt --private-key=creds/client.key \
https://auth2.sown.org.uk/package/config/backfire/sown_openwrt_core/0.1.78/uci_config_network -O network-config
wget --certificate=creds/client.crt --private-key=creds/client.key \
https://auth2.sown.org.uk/package/config/backfire/sown_openwrt_core/0.1.78/uci_config_wireless -O wireless-config
wget --certificate=creds/client.crt --private-key=creds/client.key \
https://auth2.sown.org.uk/package/config/backfire/sown_openwrt_core/0.1.78/uci_config_system -O system-config
wget --certificate=creds/client.crt --private-key=creds/client.key \
https://auth2.sown.org.uk/package/config/backfire/sown_openwrt_tunnel/0.1.78/uci_config_openvpn -O openvpn-config
... more about "SOWN @ Anywhere"
This page will one day be a guide for how to set up a SOWN node on a rooted Android device. For now it is something more akin to a todo list... +