Monday, August 19, 2013

How to do network Ping and Trace Routes from your Chromebook

Chromebook

How to do a ping or trace on a chromebook using crosh.

Press Ctrl-Alt-T this will open a chromebook shell.

tracepath -n 198.109.184.2

ping merit.edu

ping [-c count] [-i interval] [-n] [-s packetsize] [-W waittime]
 Send ICMP ECHO_REQUEST packets to a network host.  If is "gw"
 then the next hop gateway for the default route is used.

ssh [optional args...]
 Starts the ssh subsystem if invoked without any arguments.
 "ssh ", "ssh ", "ssh @",
 or "ssh @ " connect without entering the subsystem.

Here is a command to find more help.
help_advanced
 
Display the help for more advanced commands, mainly used for debugging.

ping [-c count] [-i interval] [-n] [-s packetsize] [-W waittime]
 Send ICMP ECHO_REQUEST packets to a network host.  If is "gw"
 then the next hop gateway for the default route is used.

ssh [optional args...]
 Starts the ssh subsystem if invoked without any arguments.
 "ssh ", "ssh ", "ssh @",
 or "ssh @ " connect without entering the 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.

crosh> help_advanced

battery_test []
 Tests battery discharge rate for given number of seconds. No argument will
 default to 300s test.

bt_console []
 Enters a Bluetooth debugging console. Optional argument specifies the
 capability of a pairing agent the console will provide; see the Bluetooth
 Core specification for valid options.

chaps_debug [start|stop|]
 Sets the chapsd logging level.  No arguments will start verbose logging.

connectivity
 Shows connectivity status.  "connectivity help" for more details

experimental_storage < status | enable | disable >
 Enable or disable experimental storage features.

ff_debug [] [--help] [--list_valid_tags] [--reset]
 Add and remove flimflam debugging tags.

memory_test
 Performs extensive memory testing on the available free memory.

modem [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_diag [--date] [--flimflam] [--link] [--show-macs] [--wifi] [--help]
  [--wifi-mon]
 A function that performs a suite of network diagnostics.  Saves a copy
 of the output to your download directory.

network_logging
 A function that enables a predefined set of tags useful for
 debugging the specified device.

rlz < status | enable | disable >
 Enable or disable RLZ.

route [-n] [-6]
 Display the routing tables.

set_apn [-n ] [-u ] [-p ]
 Set the APN to use when connecting to the network specified by .
 If 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.

set_arpgw
 Turn on extra network state checking to make sure the default gateway
 is reachable.

sound
 Low level sound configuration.  Can be used to play/record audio samples
 and enable beam forming on Pixel.
 "sound beamforming " will enable/disable the feature.
 "sound record [duration]" will start recording.
 "sound play " will play the recorded audio samples.

storage_status
 Reads storage device SMART health status, vendor attributes, and error log.

storage_test_1
 Performs a short offline SMART test.

storage_test_2
 Performs an extensive readability test.

syslog
 Logs a message to syslog.

tpcontrol {status|taptoclick [on|off]|sensitivity [1-5]|set }
tpcontrol {syntp [on|off]}
 Manually adjust advanced touchpad settings.

tracepath [-n] [/port]
 Trace the path/route to a network host.

wpa_debug [] [--help] [--list_valid_level] [--reset]
 Set wpa_supplicant debugging level.

xset m [acc_mult[/acc_div] [thr]]
xset m default
 Tweak the mouse acceleration rate.

xset r rate [delay [rate]]
 Tweak autorepeat rates.  The delay is the number of milliseconds before
 autorepeat starts.  The rate is the number of repeats per second.
xset r [keycode]
 Turn autorepeat on/off.  If keycode is specified, it affects only that
 key.  If not specified, it affects global behavior.

Here is a command to find more help.
help  Display this help.

help_advanced
 Display the help for more advanced commands, mainly used for debugging.

ping [-c count] [-i interval] [-n] [-s packetsize] [-W waittime]
 Send ICMP ECHO_REQUEST packets to a network host.  If is "gw"
 then the next hop gateway for the default route is used.

ssh [optional args...]
 Starts the ssh subsystem if invoked without any arguments.
 "ssh ", "ssh ", "ssh @",
 or "ssh @ " connect without entering the 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.


No comments: