scripts
scripts copied to clipboard
repull: hangs on ssh transfer
As per title, while using the -r option, the script reports to me repull: Pulling '/filename', but never actually delivers.
In the folder, a socket file called remarkable-ssh is created, but the script never ends.
I tried it with moderately sized files (5 pages) as well as larger ones.
P.S. I currently have no way of trying it via USB.
Unfortunately I no longer posses a remarkable tablet, so until my v2 arrives, there's no easy way for me to maintain this repository at the moment.
It seems the web UI is set to listen on 10.11.99.1:80, and the USB interface is brought down / address is flushed when USB is not connected, so attempts at talking to that IP just hang :-/
This will probably need some hack at the system level, not on the scripts.
Note for future reference (i'll probably patch the script):
ip a add 10.11.99.1/32 dev lo
is sufficient to make the webUI work through SSH over WiFi when the Web interface is up but the USB cable disconnected.
i have added the line manually and it works until reboot. i'm no linux expert, but there is no /etc/network/interfaces file and this can be a hint for another tool, which configures the network interfaces. So i don't know how to set it static even if I reboot the remarkable.