Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install script to setup a new SumoCHIP #10

Open
artizirk opened this issue Aug 27, 2016 · 0 comments
Open

Install script to setup a new SumoCHIP #10

artizirk opened this issue Aug 27, 2016 · 0 comments

Comments

@artizirk
Copy link
Contributor

artizirk commented Aug 27, 2016

Install script should do following things:

  • Set chip hostname to sumochip-<wifi-mac> where is replaced with last 4 octets form the wifi interface mac
  • Update and install all the necessary software
apt update
apt full-upgrade
apt install git python-pip python-dev python-systemd hostapd dnsmasq avahi-autoipd
pip install sumochip
  • Copy sumochip config to /etc/sumorobot/sumorobot.ini
  • Configure hostapd to broadcast a wifi network with sumochip hostname as wifi name
  • Configure dnsmasq to give out dhcp addresses and also resolve all DNS queries to SumoCHIP ip
  • Run self test sumochip_test
  • Start webservice systemctl start sumochip
  • Maybe autostart sumochip service on boot systemctl enable sumochip

If all that is done then we can close issue #5

@artizirk artizirk changed the title Install script to setup a new sumoCHIP Install script to setup a new SumoCHIP Aug 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants