Skip to content

Instantly share code, notes, and snippets.

@jtryan
Last active August 29, 2015 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jtryan/1210900075135d586e68 to your computer and use it in GitHub Desktop.
Save jtryan/1210900075135d586e68 to your computer and use it in GitHub Desktop.
---------------------------------------------------------------------------------------------------
Turn off power down on time out
Turn off power down on lid close
$ sudo stop powerd
---------------------------------------------------------------------------------------------------
Open port 22 for ssh
$ sudo iptables -A INPUT -p tcp --dport ssh -j ACCEPT
---------------------------------------------------------------------------------------------------
Set hostname
$ sudo hostname <new-hostname>
---------------------------------------------------------------------------------------------------
Remount sdcard for exec, suid
$ sudo mount -i -o remount,exec,suid /media/removable/<sd-card-directory>
---------------------------------------------------------------------------------------------------
Open TTY terminal (text mode)
CTRL-ALT-F2 (F2=Forward button)
---------------------------------------------------------------------------------------------------
Return to UI mode (Chrome) from TTY
CTRL-ALT-F1 (F1=Back button)
---------------------------------------------------------------------------------------------------
Is there any way to manage the brightness manually on an ARM chromebook?
$ sudo vi /sys/class/backlight/pwm-backlight.0/brightness
How to find max brightness value?
$ cat /sys/class/backlight/pwm-backlight.0/max_brightness
---------------------------------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment