I wanted to build something that is simple to use for the purpose of installing a browser, adding it to the pocket-home screen, and install ssh (but disable it from running automatically).
wget https://raw.githubusercontent.com/SteveMcGrath/chipbuild/master/pocket_builder.sh bash pocket_builder.sh
wget https://bit.ly/buildpchip bash buildpchip
wget -O- https://bit.ly/buildpchip | bash
This will update the repositories, then install the requisite packages (currently the browser is
dwb) and replace the help icon with the web browser icon. Further as it’s installing ssh, I added a couple of aliases to help there:
sshon- Turns the SSH Daemon on.
sshoff- Turns the SSH Daemon off.
getip- Returns the IPv4 and IPv6 addresses currently assigned to the PocketCHIP.
ll- ls -al
pgr- pf -ef | grep
sagi- sudo apt-get install
sagu- sudo apt-get update
sags- sudo apt-cache search
NOTE: SSH will be turned on at the end of this script in case there is an issue. If everything looks ok after exiting the shell, just open a new shell and type
sshoff to turn it off.
I would recommend that you take a look at dwb’s manpage, however the basics are right here:
- D-Pad - scrolling around the page
- o - Open URL
- H - Back a page
- L - Forward a page
NOTE Case Sensitivity here is important.
The code for everything is located in this GitHub repo
(updated) I have also posted a blog entry detailing how to manually run through all of these actions on my site, stevemcgrath.io.