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

Updates for the Edison image #30

Closed
3 tasks done
cxbrooks opened this issue Feb 17, 2017 · 10 comments
Closed
3 tasks done

Updates for the Edison image #30

cxbrooks opened this issue Feb 17, 2017 · 10 comments
Assignees

Comments

@cxbrooks
Copy link

cxbrooks commented Feb 17, 2017

Below are some updates I'd like to see in the Edison Image:

  • Install Node and npm. Node 6.9.5 is preferred. See Edison Node Notes. Accessors will require Node.

  • Set the date. When I installed the default Intel-provided image, it seemed like the date was set properly, or at least close to the current time. I ran into problems using wget and npm because the date was set to 1/1/2000 and the certs were not valid.

  • Set up a sbuser with the appropriate keys, see Set up the sbuser account on the Edison. Downloading accessors requires the sbuser account.

There is no big rush on these, just when we get around to updating the Edison image, it would be good to consider these.

@nealjack
Copy link
Member

nealjack commented Feb 17, 2017 via email

@ppannuto
Copy link
Member

ppannuto commented Feb 19, 2017

These, in order:

  • apt install python3 python3-pip
  • apt install libffi-dev libssl-dev
  • pip3 install --upgrade pip
  • pip3 install --upgrade setuptools
  • pip3 install python-periphery cryptography

@ppannuto
Copy link
Member

ppannuto commented Feb 19, 2017

  • apt install nfs-common

Related: mounting my machine's dev folder over nfs while working on the python edison stuff has made for a really nice working setup. This is just the client side and won't mount anything by default, so should be a perfectly sane/reasonable thing to include

@ppannuto
Copy link
Member

ppannuto commented Feb 19, 2017

  • give the edison user access to the I2C device

I recommend:

sudo chgrp netdev /dev/i2c-*
sudo chmod g+rw /dev/i2c-*

@cxbrooks
Copy link
Author

cxbrooks commented Feb 19, 2017

  • (Optional) Write documentation about how the image was created.
  • (Very optional) Create script that creates the image.

nealjack added a commit that referenced this issue Feb 20, 2017
Note that default user/pass has changed: see README.md
This is a cloned image - see cloning process in clone.md
@nealjack
Copy link
Member

@cxbrooks in README.md there is a link to the process for building a debian image for the Intel Edison.

@nealjack
Copy link
Member

nealjack commented Feb 20, 2017

  • udev rule for user i2c
  • erpc dependencies
  • erpc repo
  • erpc service
  • 4908 airwaves default

@ppannuto
Copy link
Member

ppannuto commented Feb 20, 2017

@ppannuto
Copy link
Member

ppannuto commented Feb 22, 2017

  • apt install links

This is a text based browser that will give people a fighting chance of being able to navigate a captive portal.

@ppannuto
Copy link
Member

ppannuto commented Mar 1, 2017

The only unchecked boxes are erpc stuff, but pretty sure @nealjack said that made it in - while it may need some love at some point in the future, that feels like a separate issue. The edison image as it currently stands is in a pretty good place.

@ppannuto ppannuto closed this as completed Mar 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants