Live data from Hacker News

ESP32 SSH Server – Connect to Tx/Rx Pins on ESP32 UART via Remote SSH

github.com

1–10 of 13 posts

Re: ESP32 SSH Server – Connect to Tx/Rx Pins on ESP32 UART via Remote SSH

#3

Is it possible to run some kind of OS that can run `busybox` on ESP32?

Someone had managed to run Linux on ESP32 in 2021 [0][1]. But that's more of a proof-of-concept rather than a usable thing. Not much information besides that so far I think.

Update:

From the post [0]: someone also managed to run Ubuntu 9.04 on the board in 2020 [2].

[0] https://www.cnx-software.com/2021/07/18/linux-5-0-esp32-proc...

[1] https://www.esp32.com/viewtopic.php?t=2681

[2] https://old.reddit.com/r/esp32/comments/dtlj7n/booting_linux...

Re: ESP32 SSH Server – Connect to Tx/Rx Pins on ESP32 UART via Remote SSH

#4
post #3

Is it possible to run some kind of OS that can run `busybox` on ESP32?

Someone had managed to run Linux on ESP32 in 2021 [0][1]. But that's more of a proof-of-concept rather than a usable thing. Not much information besides that so far I think. Update: From the post [0]: someone also managed to run Ubuntu 9.04 on the board in 2020 [2]. [0] https://www.cnx-software.com/2021/07/18/linux-5-0-esp32-proc... [1] https://www.esp32.com/viewtopic.php?t=2681 [2] https://old.reddit.com/r/esp32/com…

Is that also emulating a small arm core, like the guy who got linux booting on an avr chip?

Re: ESP32 SSH Server – Connect to Tx/Rx Pins on ESP32 UART via Remote SSH

#5
post #4
post #3

Earlier quoted context omitted.

Someone had managed to run Linux on ESP32 in 2021 [0][1]. But that's more of a proof-of-concept rather than a usable thing. Not much information besides that so far I think. Update: From the post [0]: someone also managed to run Ubuntu 9.04 on the board in 2020 [2]. [0] https://www.cnx-software.com/2021/07/18/linux-5-0-esp32-proc... [1] https://www.esp32.com/viewtopic.php?t=2681 [2] https://old.reddit.com/r/esp32/com…

Is that also emulating a small arm core, like the guy who got linux booting on an avr chip?

It's emulating a RISCV machine. IIRC there is an extensa port of Linux.

Re: ESP32 SSH Server – Connect to Tx/Rx Pins on ESP32 UART via Remote SSH

#6

Is it possible to run some kind of OS that can run `busybox` on ESP32?

NuttX runs on the ESP32[1] which provides a rather featureful shell[2] as well as a file system.

[1] https://nuttx.apache.org/docs/latest/platforms/xtensa/esp32/...

[2] https://nuttx.apache.org/docs/latest/applications/nsh/index....

Re: ESP32 SSH Server – Connect to Tx/Rx Pins on ESP32 UART via Remote SSH

#7
Interesting... lots of devices (industrial control, PBXs, even smart thermostats, etc.) have debug Tx/Rx pins with no authentication at all.

We have very small ESP32 boards so plug those in, find a power pin (most controllers will have a 5v/3.3v with headroom enough for esp32 to work) and bam, you're in.

Reminds me of the Raspberry Pi in a thermostat episode from Mr. Robot (but that needed a lot more power and was physically larger)

Re: ESP32 SSH Server – Connect to Tx/Rx Pins on ESP32 UART via Remote SSH

#9
Wow, this is great! I needed a device like this last week to connect remotely to an old PBX. Ended up setting up a Debian laptop and SSHing into it, then accessing the serial port using tio. I was thinking about getting some pi-adjacent device if I needed to do this long-term, but an ESP32 would be even better.

Re: ESP32 SSH Server – Connect to Tx/Rx Pins on ESP32 UART via Remote SSH

#10
Nice for all those vintage Unix boxes that never had ethernet ports, but had bunches of RS-232's...

I wonder if someone already did the opposite and hung one of these tiny things on a classic Mac serial port and used it to ssh into other computers. I know there are a couple of wifi modem emulators using tiny modules like this.

Post reply on HN