The Chrome OS has a Developer Mode that gives you root access to the operating system of your Chromebook.
Install nmap if you don't already have it on your Linux computer. Run "sudo apt-get install nmap" on Ubuntu, or "sudo dnf ...