ssh
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| ssh [2026-11-23 04:12 UTC (5 days ago)] – rm dongle payload exposition (tangential, and does not match actual PROXdongl3 payload) doof | ssh [2026-11-23 04:14 UTC (5 days ago)] (current) – suggest manual stick creation as default (our audience is sophisticated enough to format a USB stick manually; less is more), and offer make_dongle.py as alternative doof | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| - An '' | - An '' | ||
| - | The USB route is the easiest. | + | The USB route is the easiest. |
| - | + | ||
| - | < | + | |
| - | ./ | + | |
| - | </ | + | |
| - | + | ||
| - | With no arguments it lists removable disks and keys. The non-interactive form: | + | |
| - | + | ||
| - | < | + | |
| - | ./ | + | |
| - | </ | + | |
| - | + | ||
| - | '' | + | |
| - | + | ||
| - | By hand, the same stick is: | + | |
| - | + | ||
| - | < | + | |
| - | diskutil eraseDisk FAT32 MP_SD MBRFormat / | + | |
| - | + | ||
| - | sudo parted -s /dev/sdX mklabel msdos # Linux | + | |
| - | sudo parted -s /dev/sdX mkpart primary fat32 1MiB 100% | + | |
| - | sudo mkfs.vfat -F 32 -n MP_SD /dev/sdX1 | + | |
| - | + | ||
| - | cp usb/autorun.sh | + | |
| - | cp ~/ | + | |
| - | </ | + | |
| - | + | ||
| - | The one MBR partition matters. The unit mounts partition 1, and a default GPT layout makes that an empty EFI partition, so the payload never finds the script. | + | |
| - | + | ||
| - | Without a PROXdongl3, put the same script on the init SD card as '' | + | |
| - | + | ||
| - | ===== Access | + | |
| - | + | ||
| - | Put a public key next to the script as '' | + | |
| <code bash> | <code bash> | ||
| Line 66: | Line 33: | ||
| The stock config is saved as '' | The stock config is saved as '' | ||
| + | |||
| + | A [[https:// | ||
| ===== Copying files ===== | ===== Copying files ===== | ||
| Line 75: | Line 44: | ||
| </ | </ | ||
| - | ===== Watchdog ====== | ||
| - | |||
| - | nx feeds the PIC32 watchdog. If the script leaves nx stopped, add NxExe watchdog 0; the stock [TestMode] path already does. See [pic32] and [nx]. | ||
| - | < | ||
| - | NxExe watchdog 0 | ||
| - | </ | ||
| - | |||
| - | The stock '' | ||
ssh.1795407144.txt.gz · Last modified: by doof
