# Everything works wonderful, but rnsh crashs very often

_Help · started by Rudi Mentaire on Sat, Nov 7, 2026 6:57 PM_

---

## Original post

**Rudi Mentaire** · Sat, Nov 7, 2026 6:57 PM

Hi,

I've been doing a lot of things with rnid, rncp, nomadnet, rnsh, etc, and I'm more and more impressed the more I experiment and learn.

Only one thing is a pity: rnsh crashes every minute or so. I'm using it between two Debian laptops sitting behind the same router (so rnsh should use a 0 hop link (or path?) via auto interface). But at apparently random moments, the rnsh process on the client side just terminates. The logs don't seem to offer anything useful. Doesn't even correlate to any actions (key presses) or redisplay occuring.

If anybody has any hints for me...I'm all ear.

---

## Reply 1

**Mark** · Sun, Nov 8, 2026 1:11 PM

Hmm, that's interesting. Could you bump up the loglevel on the listener side to DEBUG, and check if there's anything in `.rnsh/logfile` next time it disconnects?

Also, does it actually fully *crash* (the listener process), or does it just disconnect, and you can then connect again?

---

## Reply 2

**Rudi Mentaire** · Sun, Nov 8, 2026 6:52 PM

> Hmm, that's interesting. Could you bump up the loglevel on the
> listener side to DEBUG, and check if there's anything in
> .rnsh/logfile next time it disconnects?

I tried, but today it just worked flawlessly for several hours! Dunno what made the difference.

> Also, does it actually fully crash (the listener process), or does
> it just disconnect, and you can then connect again?

The listener never crashed, no. The client process terminated, but I was always able to connect again.

---

## Reply 3

**Rudi Mentaire** · Mon, Nov 9, 2026 11:05 AM

Oh, and let me add that I also might not really have a 0 hop link connection. I have to investigate. The connection does use the Auto Interface but AFAICT it is multi-hop nonetheless (when the second computer is the second laptop - for the smartphone I do get 0 hops). I don't understand the difference yet.

---
