View Single Post
Old 10-06-2025, 06:07 AM   #4
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 48,110
Karma: 174315444
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by kobotouch2711 View Post
I have renamed the ssh-disabled to ssh-enabled, rebooted, but still i get

Code:
--> ssh root@192.168.178.53
ssh: connect to host 192.168.178.53 port 22: Connection refused
Any further clues?

Also any clue, if I could get a serial connection via USB, to have a backup in case my WIFI on the devices crashes again. This might help debugging.
As long as I have WiFi enabled (I tend to use the Force WiFi ON in the Developer Options or as an option in NickelMenu), SSH works for me. Of course, this generally ends up with me noticing my battery dropping because I forgot to turn Force WiFi ON off.

I've added the 2 NM items below.

Code:
menu_item : main : Toggle SSH            : cmd_output     : 500: quiet: test -e /mnt/onboard/.kobo/ssh-disabled
      chain_failure  : skip              : 3
      chain_success  : cmd_spawn         : quiet  : mv /mnt/onboard/.kobo/ssh-disabled /mnt/onboard/.kobo/ssh-enabled
      chain_success  : dbg_toast         : SSH Enabled
      chain_always   : skip              : 2
      chain_failure  : cmd_spawn         : quiet  : mv /mnt/onboard/.kobo/ssh-enabled /mnt/onboard/.kobo/ssh-disabled
      chain_success  : dbg_toast         : SSH Disabled
      chain_always   :  power            : reboot
Code:
menu_item : main    : Force WiFi on      : nickel_setting  : toggle: force_wifi
     chain_success  : nickel_wifi        : autoconnect
Note that the display items for the SSH state are pretty much useless since they are not displayed long enough to be useful.

Last edited by DNSB; 10-06-2025 at 06:11 AM.
DNSB is offline   Reply With Quote