Created
February 6, 2022 11:32
-
-
Save atarp/d082c6a3d70d4dec75b2faea71e29d7c to your computer and use it in GitHub Desktop.
File Transfer to ancient Win95 Laptop via serial connection
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# On the W95 client start Hyperterminal and configure COM1: to 115200 Baud 8N1 no handshake | |
# from the menue choose 'receive files' and select ZMODEM and the desired destination folder | |
# on linux start | |
picocom -b 115200 -s "sz -vv" /dev/ttyS0 | |
# press ctrl-A ctrl-S to open a file dialog ***file: and select the file to transmit | |
# to leave picocom type ctrl-A ctrl-S | |
## possible pitfalls: | |
## to avoid permission dinied error or starting picocom as root | |
## sudo usermod -a -G dialout username | |
## | |
## picocom error after selecting the file: | |
## exec: No such file or directory | |
## *** exit status: 126 *** | |
## lrzsz is missing | |
## sudo apt-get install lrzsz | |
## |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment