-
-
Notifications
You must be signed in to change notification settings - Fork 0
Razpass Commands
When you are logged into the razpass device, you can execute some useful commands to control the razpass linux system.
So, at first you log into the razpass with a terminal program (ssh) from your computer or mobile:
joe@sourcehost:~$ ssh p@razpass
p@razpass's password:
Linux razpass 6.1.0-rpi7-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24) aarch64
Last login: Mon Feb 26 12:03:59 2024 from 192.168.1.42
Please wait...
[p] by Jens Heine <binbash@gmx.net> version: 2024.02.25
Database filename : /home/p/p/p.db
Logical database name : razpass
Enter database password : ***********
Access granted.
[razpass] pshell>
From this point on you can execute the following commands.
With !addconnection you can announce a wifi network to the razpass. Razpass will then log into this network prior to starting the razpass Hotspot wifi network.
[razpass] pshell> !addconnection <SSID>
Example:
[razpass] pshell> !addconnection 'Fritz Box 7299'
Note that you have to use single ticks or double ticks if your wifi SSID contains spaces.
With !deleteconnection you can remove a wifi connection from the razpasss device.
[razpass] pshell> !deleteconnection <SSID>
Example:
[razpass] pshell> !deleteconnection 'Fritz Box 7299'
Note that you have to use single ticks or double ticks if your wifi SSID contains spaces.
With !halt you stop the razpass device. It will shutdown.
[razpass] pshell> !halt
With this command you can update the razpass scripts from github to the latest version.
[razpass] pshell> !razpass_update
With !passwd command you can change the password of the "p" user of your razpass device.
[razpass] pshell> !passwd
With !reboot you restart the razpass device. It will shutdown and start up again.
[razpass] pshell> !reboot
With !scanwifi you scan the environment for other wifi networks and show them up.
[razpass] pshell> !scanwifi
With !showconnections you show all configured network devices of the razpass.
[razpass] pshell> !showconnections
With this command you can change the password of the "root" user of your razpass device.
[razpass] pshell> !sudo passwd
razpass - the secure password hardware for the cautious user by Jens Heine binbash@gmx.net