Dell Chromebook 13 3380 Chromebook 11 3380 Disassembly and Reassembly Guide - - Page 69

CROSH commands

Page 69 highlights

CROSH commands The table below lists the available commands in Chrome Shell (CROSH). Table 16. Help commands Command exit help help_advanced ping ssh ssh_forget_host top Purpose Exits the CROSH Shell. Displays this help. Displays the help for more advanced commands, used for debugging. [-c count] [-i interval] [-n] [-s packetsize] [-W waittime] - Sends ICMP ECHO_REQUEST packets to a network host. If is "gw", then the next hop gateway for the default route is used. It works just like the ping command on other operating systems. Press + to stop the ping process or halt any other command in CROSH. [optional args...] - Starts the ssh subsystem if invoked without any arguments. "ssh ", "ssh ", "ssh< user>@". or "ssh @ " connect without entering the subsystem Removes a host from the list of known ssh hosts. This command displays a menu of known hosts and prompts for the host to forget. Sets the chaps debug logging level. No arguments start verbose logging Table 17. Advanced help command Command Purpose battery_test[] Tests the battery discharge rate for a given number of seconds. No argument defaults to a 300 s test. bt_console [] Enters a Bluetooth debugging console. The Optional argument specifies the capability of a pairing agent the console provides; see the Bluetooth Core specification for valid options. chaps_debug [start|stop|] Sets the chaps debug logging level. No arguments will start verbose logging. connectivity Shows connectivity status. experimental_storage Enables or disables experimental storage features. ff_debug [] [--help] [--list_valid_tags] [--reset] Adds and removes flimflam debugging tags. memory_test Performs extensive memory testing on the available free memory. modem [args...] Interacts with the 3G modem. Run modem help for detailed help. modem_set_carrier carrier-name Configures the modem for the specified carrier. network_diag[--date] [--link] [--show-macs] [--wifi] [--help] [--wifi- Performs a suite of network diagnostics and saves a copy of the mon] output to your download directory network_logging Enables a predefined set of tags useful for debugging the specified device. p2p_update [enable | disable] Enables or disables the peer-to-peer (P2P) sharing of updates over the local network. This will both attempt to get updates from other Diagnostics and Troubleshooting 69

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76

CROSH commands
The table below lists the available commands in Chrome Shell (CROSH).
Table 16. Help commands
Command
Purpose
exit
Exits the CROSH Shell.
help
Displays this help.
help_advanced
Displays the help for more advanced commands, used for
debugging.
ping
[-c count] [-i interval] [-n] [-s packetsize] [-W waittime] — Sends
ICMP ECHO_REQUEST packets to a network host. If is "gw", then
the next hop gateway for the default route is used. It works just like
the ping command on other operating systems. Press
<Clrt> + <C>
to stop the ping process or halt any other command in CROSH.
ssh
[optional args...] — Starts the ssh subsystem if invoked without any
arguments. "ssh <user> <host>", "ssh <user> <host> <port>", "ssh<
user>@<host>". or "ssh <user>@<host> <port>" connect without
entering the subsystem
ssh_forget_host
Removes 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
Sets the chaps debug logging level. No arguments start verbose
logging
Table 17. Advanced help command
Command
Purpose
battery_test
[<test length>]
Tests the battery discharge rate for a given number of seconds. No
argument defaults to a 300 s test.
bt_console
[<agent capability>]
Enters a Bluetooth debugging console. The
Optional
argument
specifies
the capability of a pairing agent the console provides; see
the
Bluetooth Core
specification
for valid options.
chaps_debug
[start|stop|<log_level>]
Sets the chaps debug logging level. No arguments will start verbose
logging.
connectivity
Shows connectivity status.
experimental_storage
<status|enable|disable>
Enables or disables experimental storage features.
ff_debug
[<tag_expr>] [--help] [--list_valid_tags] [--reset]
Adds and removes
flimflam
debugging tags.
memory_test
Performs extensive memory testing on the available free memory.
modem
<command> [args...]
Interacts with the 3G modem. Run
modem help
for detailed help.
modem_set_carrier carrier-name
Configures
the modem for the
specified
carrier.
network_diag
[--date] [--link] [--show-macs]
[--wifi]
[--help]
[--wifi-
mon]
<host>
Performs a suite of network diagnostics and saves a copy of the
output to your download directory
network_logging
<wifi|cellular|ethernet>
Enables a
predefined
set of tags useful for debugging the
specified
device.
p2p_update
[enable | disable]
Enables or disables the peer-to-peer (P2P) sharing of updates over
the local network. This will both attempt to get updates from other
Diagnostics and Troubleshooting
69