-
Notifications
You must be signed in to change notification settings - Fork 3
How‐to
Namekianchowmein edited this page Nov 30, 2023
·
1 revision
wayne-os-dev or wayne-os-test versions
Open shell in Wayne OS device then try the following steps.
$ { sudo bash -c 'echo "fast safe" > /mnt/stateful_partition/factory_install_reset' ;} && sudo reboot
or
$ { echo "fast safe" | sudo tee -a /mnt/stateful_partition/factory_install_reset ;} && sudo reboot
Wayne OS and Chromium OS derivates use Upstart.
To check job list.
$ sudo initctl list
To control the job.
sudo initctl start/stop/restart/status ${JOB}
- cat /proc/*
- cat /etc/*release
- lscpu
- lsusb
- sudo lspci
- mount
- uname
- ifconfig
- top
- free
- vmstat
- netstat
- df
- du
- lsof
- uptime
- ps
- pmap
- sudo ss
- ipcs
- sudo dmidecode
- sudo hdparm
- lsblk
- sudo dmesg
You can send the shell commands from remote device to Wayne OS device via ssh.
ssh chronos@${IP} -t "COMMAND" # This will ask pw again if the COMMAND includes sudo.
ssh root@${IP} "COMMAND" # This is available only in Wayne OS test version.
- Force powerwash to Wayne OS device.
$ ssh chronos@192.168.100.200 -t "{ echo "fast safe" | sudo tee -a /mnt/stateful_partition/factory_install_reset ;} && sudo reboot"
- Force to restart UI (logout user graphic session) on Wayne OS device.
$ ssh root@192.168.100.200 "initctl restart ui"
- Getting process information from Wayne OS device.
$ ssh chronos@192.168.100.200 -t "top -n 1 -b" > proc_list.txt