0

I'm running Ubuntu 24.04.1 on a desktop computer with a GPU. I'm setup to ssh into the Ubuntu machine to initiate deep learning exercises on the GPU. If I plug the Ubuntu machine directly into my wireless router, it stays accessible by ssh for days. If I physically disconnect from the router and use wifi, or plug the ethernet cable into a wifi extender, it is reachable by ssh for 1 hour, then goes offline. I'd like to have it stay reachable, without having to physically interact with it, while connect by wifi or ethernet to the wifi extender. Where my router must be located is not an ideal location for the computer, otherwise I'd just leave it plugged into the router. I don't know why the computer behaves differently when connected physically to the router, vs peripherally, and I can't find any information on how to configure it to behave as desired with a wifi or ethernet-to-extender connection.

matt
  • 1

1 Answers1

0

Wifi has a power save mode, which you may need to turnoff.

The way wifi works is less stable than a cable connection, most of the time you wouldn't notice when browsing, but an ssh connection may timeout or get disconnected when the underlaying link is gone.

For my always-on raspberry, far away from the wifi ap, I'm using the script I found here. He goes deeper into how to disable the powersave function too https://www.dzombak.com/blog/2023/12/Maintaining-a-solid-WiFi-connection-on-Raspberry-Pi.html