Useful SSH Commands For MiSTer?
Posted: Sun Jul 24, 2022 4:11 pm
Useful SSH Commands For MiSTer?
The online community for MiSTer FPGA enthusiasts
https://misterfpga.org/
Useful SSH Commands For MiSTer?
Code: Select all
cd /media/fat/Scripts
wget https://raw.githubusercontent.com/MiSTer-devel/Scripts_MiSTer/master/security_fixes.sh
Code: Select all
echo "ethaddr=${MAC_ADDRESS^^}" > /media/fat/linux/u-boot.txt
Code: Select all
echo "ethaddr=${MAC_ADDRESS^^}" >> /media/fat/linux/u-boot.txt
No need to ssh into the box at all, just execute the script via ssh. For example:Bits n Stuff wrote: ↑Sun Jul 24, 2022 4:11 pm ssh root@xxx.xxx.x.xxx
cd /media/fat/Scripts; ./update_all.sh
Code: Select all
mount --bind /media/fat/opt /opt
Code: Select all
cd /media/fat
borg create -s -v -C lz4 -e "_CIFS" -p /media/fat/_CIFS/Borg::$(date +%s) .
Code: Select all
#!/bin/sh
screen -R htty
I don't think you can, SCP is purpose-built for linear file transfer whereas games require random access. You can of course SCP to a temporary folder, and set up a script to clear it at boot.
How does one install Entware?Natrox wrote: ↑Wed Aug 24, 2022 2:45 am For example, I have done this:To be able to install Entware generic armv7 binaries. I don't recommend you do this unless you understand Linux well enough, but installing Entware stuff gives you a package manager (opkg) allowing you to install many standard tools.Code: Select all
mount --bind /media/fat/opt /opt
I've installed GCC, mosh-server (nice SSH alternative), btrfs-progs, and most importantly, borg.