Common Whonix ™ CLI Commands
From Whonix
Introduction[edit]
There are a number of common command line operations that are performed by users of all skill levels in the Whonix ™ environment. This wiki page is intended to serve as a quick and handy reference guide for locating these, but it is not a substitute for reading relevant wiki entries that provide detailed instructions for various activities. [1] Additional, useful commands will be added here over time.
Whonix-Gateway[edit]
Table: Whonix-Gateway ™ Common Commands
Category | Commands |
---|---|
Change Keyboard Layout |
|
Circumvent uwt Wrapper Use [2] |
|
Connection Wizard (Enable/Disable Tor) |
|
Default Username and Password [3] |
|
Important Configuration Files / Folders |
|
Important Logs |
|
Nyx: Tor Command Line Monitor [4] |
nyx
|
OS Updates |
|
Switch to Clearnet User [5] |
|
sdwdate |
sudo /usr/lib/sdwdate/restart_fresh
|
Time |
date -u
sudo date -s "17 FEB 2019 24:00:00" && sudo hwclock -w
|
Tor |
sudo service networking restart
sudo service tor restart
sudo systemctl stop tor@default
anon-info
anon-verify
sudo -u debian-tor tor --verify-config
|
Virtual Consoles |
|
VM Operations |
sudo reboot
sudo poweroff
|
whonixcheck |
whonixcheck
|
Whonix Version |
cat /etc/whonix_version
|
Whonix-Workstation[edit]
Table: Whonix-Workstation ™ Common Commands
Category | Commands |
---|---|
Change Keyboard Layout |
|
Circumvent uwt Wrapper Use [2] |
|
Default Username and Password [3] |
|
DNS Resolution Functionality Test |
|
GnuPG (OpenPGP) |
sudo apt-key adv --fingerprint A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89
gpg --verify tor-browser-linux64-8.5_en-US.tar.xz.asc tor-browser-linux64-8.5_en-US.tar.xz
|
HexChat |
hexchat-reset
|
Important Configuration Folders and Logs |
|
Leak Test [8] |
|
Network Restart |
|
OS Updates / Software Installation |
sudo apt-get install package-name
sudo apt-get -t buster-backports install package-name
|
Time |
sudo date -s "17 FEB 2019 24:00:00" && sudo hwclock -w
|
Tor Browser |
Note: Tor Browser can only be started when a graphical desktop environment (DE) such as XFCE is running (Whonix ™ XFCE). At time of writing Tor Browser cannot be run without a running DE (Whonix ™ CLI without a custom installed DE). However, graphical applications such as Tor Browser can be started from command line when a DE is running. [9]
torbrowser
~/.tb/tor-browser/Browser/start-tor-browser --debug
update-torbrowser
|
Virtual Consoles |
|
VM Operations |
sudo reboot
sudo poweroff
|
whonixcheck |
whonixcheck
|
Whonix Version |
cat /etc/whonix_version
|
Footnotes[edit]
- ↑ This entry has been inspired by the relatively unknown
whonix
command, which already lists common Whonix ™ command line operations. - ↑ 2.0 2.1 Experts / debugging only!
- ↑ 3.0 3.1 For both Whonix-Gateway ™ and Whonix-Workstation ™.
- ↑ This is a Tor Controller which runs as a console application.
- ↑ The
whonix
DNS notes state:Check if DNS resolution is functional:
- Experts only!
- This is only a summary.
- You normally do not need to manually resolve DNS on Whonix-Gateway.
- Whonix has by default a feature to hide the fact, that you are a Whonix user.
- This will NOT hide the fact that you are a Tor user from your ISP!
-- Hiding the fact, that you are a Tor user, is available as an optional configuration.
- Whonix-Workstations traffic goes through Tors Socks-, Dns- or TransPorts.
- Whonix-Gateway can only send traffic through Tor as well.
-- Whonix-Gateway has no longer a Trans- or DnsPort.
-- For example, apt-get will actually call the uwt wrapper /usr/bin/apt-get.
-- The apt-get uwt wrapper will with help of uwt and torsocks force also Whonix-Gateways traffic through Tor.
-- Thus hiding the fact, that you are a Whonix user.
- Only as either,
- as clearnet user or
- after activation of transparent proxying for Whonix-Gateway
- in /etc/whonix_firewall.d/ or
- after allowing Whonix-Gateways root sending non-Tor traffic in /etc/whonix_firewall.d/
- nslookup check.torproject.org
- Experts only!
- ↑ A non-zero exit codes signifies an error, while
0
means it succeeded. - ↑ Also see:
man clock-random-manual-gui
man clock-random-manual-cli
- ↑ See: Leak Tests
- ↑ https://forums.whonix.org/t/tor-browser-on-whonix-workstation-cli/10020/8 [archive]
- ↑ Additionallly in Whonix-Workstation ™, notifications are made regarding OS updates, the Whonix ™ version and news.
Whonix ™ is Supported by Evolution Host DDoS Protected VPS. Stay private and get your VPS with Bitcoin or Monero.
Search engines: YaCy | Qwant | ecosia | MetaGer | peekier | Whonix ™ Wiki
Want to help create awesome, up-to-date screenshots for the Whonix ™ wiki? Help is most welcome!
This is a wiki. Want to improve this page? Help is welcome and volunteer contributions are happily considered! Read, understand and agree to Conditions for Contributions to Whonix ™, then Edit! Edits are held for moderation. Policy of Whonix Website and Whonix Chat and Policy On Nonfreedom Software applies.
Copyright (C) 2012 - 2020 ENCRYPTED SUPPORT LP. Whonix ™ is a trademark. Whonix ™ is a licensee [archive] of the Open Invention Network [archive]. Unless otherwise noted, the content of this page is copyrighted and licensed under the same Freedom Software license as Whonix ™ itself. (Why?)
Whonix ™ is a derivative of and not affiliated with Debian [archive]. Debian is a registered trademark [archive] owned by Software in the Public Interest, Inc [archive].
Whonix ™ is produced independently from the Tor® [archive] anonymity software and carries no guarantee from The Tor Project [archive] about quality, suitability or anything else.
By using our website, you acknowledge that you have read, understood and agreed to our Privacy Policy, Cookie Policy, Terms of Service, and E-Sign Consent. Whonix ™ is provided by ENCRYPTED SUPPORT LP. See Imprint, Contact.