I’m in Cuba and use my L5 with a local SIM and LTE datamobile as AP to Internet for my laptop. Works all fine. What I do miss is switch off the suspend mode (set to 2 minutes) when hotspot mode is on.
I’d know how to do this with gsettings from command line, the missing “link” is to run a shell script when hotspot is activated and vice versa. Any ideas?
Thanks for the hints, the NM has hook scripts and I have already sorted out how to do something on action up or down for the CONNECTION_IDHotSpot. Last problems are:
the gsettings commands like
$ gsettings get org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout
900
$ gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout 120
$ gsettings get org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout
120
do fine, when run from command line; when run from the hook script, not;
The values to be configured from the system dialog are stored somewhere else and not the same as from gsettings commands; this starts already with the fact that the system dialog has values in minutes while the gsettings allow seconds
the values set with gsettings seems to overule the values from the system dialog.
Maybe what you really want is to have the phone not suspend for a timeout after the last client disconnected.
Anyway, changing the configuration of the phone is in my opinion not the right way to go about it. I’d recommend something that doesn’t leave no traces after a reboot. For a script that could be something like gnome-session-inhibit.
Yes, the rel notes in Phosh 0.35.0 · Phosh states this. And 0.35.0 was released in January 2024. On my (uptodate) L5 I have version 0.32.0-1pureos1~byz1. Why mine is so old?
My workaround is always after tethering, SSH into my L5. But sometimes I forget to do so.
I think crimson with unofficial backports should have it or in dawn, both you will need to wait. Right now it works for me with debian trixie.
For tethering over cable, I use the coffee mode with phosh dropdown since it is not automatic.
Update: I meant mobian trixie, but for phosh versions both debian and mobian is same.
mobian is just a few patched packages on top of mobian, the most important change is linux kernel patches - once they are mainlined, we should be able to boot debian directly.