nicnicknicky / pimp-my-raspbian Goto Github PK
View Code? Open in Web Editor NEWCustomize your Raspbian: EZ MODE
Customize your Raspbian: EZ MODE
Like executing iwconfig wlan0 power off
to make sure Pi doesn't disconnect Wifi on inactivity
I'm currently inserting this command into /etc/rc.local
Which rasbian image is this tested on?
I think will be helpful to put it in the README.
Please allow customisation of shutdown crontab through raspberry_boot_mod.conf
so that users can choose whether they want the pi to shutdown.
ability to set shutdown time.
/etc/docker/daemon.json
Sample steps to install docker and docker-compose
curl -sSL https://get.docker.com | sh
sudo usermod -aG docker pi
sudo pip install docker-compose
Sample daemon.json
{
"insecure-registries": [ "192.168.1.2:5000" ]
}
pi
Currently CHROMIUM_URL
and CHROMIUM_FLAGS
are defined in raspberry_boot_mod.conf
but are not applied to kiosk_startup.sh.
Not so sure whether its really stucked, but at the least the logs for these 3 commands are not shown in terminal when running ./setup
.
Not so sure whether its affected by the last part 1> /dev/null
got extra space.
DEBIAN_FRONTEND=noninteractive apt-get --yes update 1>/dev/null
DEBIAN_FRONTEND=noninteractive apt-get --yes upgrade 1>/dev/null
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --yes apt-transport-https 1> /dev/null
https://github.com/nicnicknicky/pimp-my-raspbian/blob/master/setup#L65
For example, appending the following to /etc/dhcpcd.conf
interface wlan0
static ip_address=192.168.1.2/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1
static domain_search=
running this line $INSTALL_DIR/install $RPI_DEV_GROUP
----------------------------------
Mon Apr 9 08:43:33 UTC 2018 [INFO] Installing 1-default
----------------------------------
Mon Apr 9 08:43:33 UTC 2018 [TRACE] Installing curl packages
Mon Apr 9 08:43:36 UTC 2018 [TRACE] Installing usb-modeswitch packages
Mon Apr 9 08:43:39 UTC 2018 [TRACE] Installing usb-modeswitch-data packages
Mon Apr 9 08:43:42 UTC 2018 [TRACE] Installing usbutils packages
Mon Apr 9 08:43:46 UTC 2018 [TRACE] Installing man-db packages
Mon Apr 9 08:43:48 UTC 2018 [TRACE] Installing less packages
Mon Apr 9 08:43:51 UTC 2018 [TRACE] Installing more packages
E: Unable to locate package more
Mon Apr 9 08:43:52 UTC 2018 [ERROR] Installing 1-default failed
# launch chromium kiosk on startup
./install: line 19: $KIOSK_URL=www.google.com: command not found
./install: line 20: $CHROMIUM_FLAGS=--test-type --no-default-browser-check --no-first-run --disable-infobars --disable-session-crashed-bubble --ignore-certificate-errors --start-fullscreen: command not found
(process:21761): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
[21761:21761:0409/084501.638251:ERROR:desktop_window_tree_host_x11.cc(1155)] Not implemented reached in virtual void views::DesktopWindowTreeHostX11::InitModalType(ui::ModalType)
./install: line 22: EOF: command not found
Mon Apr 9 08:45:22 UTC 2018 [ERROR] Installing chromium-kiosk failed
----------------------------------
Mon Apr 9 08:46:06 UTC 2018 [INFO] Installing network
----------------------------------
./install: line 10: syntax error in conditional expression
./install: line 10: syntax error near `;'
./install: line 10: `if [[ ! -z $SSID ]] && [[ ! -z $WPA_PSK ]; then'
Mon Apr 9 08:46:07 UTC 2018 [ERROR] Installing network failed
Mon Apr 9 16:47:36 +08 2018 [TRACE] Adding ufw rules
./install: line 12: ./ufw-default-rules: Permission denied
./install: line 15: ./ufw-add-rules: Permission denied
Mon Apr 9 16:47:36 +08 2018 [ERROR] Installing z-ufw failed
Mon Apr 9 16:47:36 +08 2018 [INFO] โก๏ธ Package Installation Complete โก๏ธ
$INSTALL_DIR#!/bin/bash
https://github.com/nicnicknicky/pimp-my-raspbian/blob/master/setup#L1
No documentation of how to use and what are the things that will be configured.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.