Warning
Follow the commands in this guide with guidance from a Linewize Support Engineer.
School Manager has a two-part Command Line Interface (CLI): SphireOS (a proprietary product of Linewize) and Bash. You may be familiar with Bash if you have used a Linux terminal. However, the implementation of Bash for School Manager is limited, with most standard Linux/Unix utilities removed.
Accessing the CLI
Access to the CLI is local only and requires you to connect to the appliance with a keyboard and mouse. Alternatively, SSH access is available to School Manager, provided it has been preconfigured via the cloud interface in Advanced Configuration.
- On boot, the School Manager will provide a login prompt to the SphireOS CLI.
- Press Enter to log in.
- If you want to get straight to Bash, type system debug exec bash to switch across.
- From Bash, type exit to switch back to SphireOS.
Warning
School Manager may get stuck in a start-up check mode if cloud connectivity is unavailable, where it will reboot every few minutes to establish a connection. If the device is in this state, you can break out of the start-up checks by entering Ctrl + Alt + Delete.
SphireOS Command Reference
Warning
Only use the commands in this guide with guidance from a Linewize Support Engineer.
Description | Command |
---|---|
Launch the configuration wizard |
|
Check for updates |
|
Update the School Manager |
|
Lock SphireOS version to prevent rollback |
|
To force downgrade/rollback |
|
Reboot the School Manager |
|
Shutdown the School Manager |
|
Reset all settings |
Warning There is no confirmation for config reset. |
Launch a Bash shell |
|
Bounce an interface |
|
Generate debug logs |
|
Generate a coredump Warning Do not use this command unless instructed by Linewize support. |
|
Show the available commands |
|
Go up a level |
|
Exit Bash |
|
Bash Command Reference
Description | Command |
---|---|
Show the status of the network adapters |
|
Clear an interface configuration |
Example ip addr del 192.168.1.1/24 dev eth1 |
Show the current routes |
|
Reset the routing table |
|
Show the routes for the device (from bash) |
|
Set a default route |
Example ip r add default via 172.20.0.1 dev eth3 |
Remove a default route |
Example ip r del default via 172.20.0.1 dev eth3 |
Obtain the last few syslog messages |
|
Follow and retry syslog messages |
Info Continues to display log messages as they are available. |
Look for a word in the syslog |
Example tail /var/log/syslog | grep cloud |
Force upload logs |
|
Look for issues in the syslog |
|
Show the content of a URL |
Example curl https://ifconfig.io/ |
Check ping Google's DNS IP address |
|
Check ping Google's DNS IP address (with a limit of four packets) |
|
Check ping Linewize domain |
|
Check DNS |
|
Check you can go to google.com |
Basic Check:
|
Check for upstream inspection |
|
Check the path to Linewize |
|
Check the date and time |
|
Check the interfaces |
|
Obtain command history |
|
Obtain current connections |
|
Read the configuration of the device |
|
Further Support
For further support on installing your Linewize appliance, please contact Linewize Support.
Comments
0 commentsPlease sign in to leave a comment.