Skip to content

Instantly share code, notes, and snippets.

@ra
Created March 30, 2011 14:42
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ra/894523 to your computer and use it in GitHub Desktop.
Save ra/894523 to your computer and use it in GitHub Desktop.
crosh commands, limited shell on Cr-48
crosh> help
enterprise_ca_approve [--allow-self-signed] <url>
Approve an enterprise certificate authority. The <url> option should be
an http or https url to your enterprise Certificate Authority in PEM
format. This CA will be used to validate the signature of an enterprise
policy extension.
If the --allow-self-signed option is provided, then you may provide a self
signed CA. Use this only if you are certain of the source of the CA.
enterprise_ca_disapprove
Remove a previously approved enterprise certificate authority.
exit
Exit crosh.
ff_debug [<tag_expr>] [--help] [--list_valid_tags] [--reset]
Add and remove flimflam debugging tags.
gobi_fw <command> [args...]
Manipulate Qualcomm Gobi 3000 firmware.
help
Display this help.
modem <command> [args...]
Interact with the 3G modem. Run "modem help" for detailed help.
modem_set_carrier carrier-name
Configures the modem for the specified carrier.
network_logging <wifi | cellular | ethernet>
A function that enables a predefined set of tags useful for
debugging the specified device.
network_diag
A function that performs a suite of network diagnostics. Saves a copy
of the output to your download directory.
ping [-c count] [-i interval] [-n] [-s packet-size] [-W wait-time] <destination>
Send ICMP ECHO_REQUEST packets to a network host. If <destination> is "gw"
then the next hop gateway for the default route is used.
route [-n]
Display the routing tables.
secure_certificates [on|off]
Enables TPM-wrapped secure certificate storage in Chrome. This is off by
default and is currently a lab feature.
set_apn [-n <network-id>] [-u <username>] [-p <password>] <apn>
Set the APN to use when connecting to the network specified by <network-id>.
If <network-id> is not specified, use the network-id of the currently
registered network.
set_apn -c
Clear the APN to be used, so that the default APN will be used instead.
ssh
Starts the ssh subsystem.
ssh_forget_host
Remove a host from the list of known ssh hosts. This command displays
a menu of known hosts and prompts for the host to forget.
top
Run top.
tracepath [-n] <destination>[/port]
Trace the path/route to a network host.
wpa_debug [<debug_level>] [--help] [--list_valid_level] [--reset]
Set wpa_supplicant debugging level.
crosh>
crosh>
Chrome OS 0.12.433.38 (Official Build) beta-channel x86-mario
@pookaa
Copy link

pookaa commented Jan 27, 2018

help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment