Pour vérifier que ce n'est pas un problème de connexion ou de droits, essaye d'envoyer à la place :
Code : Tout sélectionner
export TABLETTE_IP="192.168.1.33"
rsh -p 2222 ${TABLETTE_IP} 'ls -l /sys'C'est un autre problème, ton android ne met pas à disposition les informations telles qu'on les attend.
Code : Tout sélectionner
pi@192.168.1.33:~$ rsh -p 2222 192.168.1.33 'ls -l /sys'
drwxr-xr-x root root 2019-11-02 10:44 block
drwxr-xr-x root root 2019-11-11 18:23 bootinfo
drwxr-xr-x root root 2019-11-02 10:44 bus
drwxr-xr-x root root 2019-11-02 10:44 class
drwxr-xr-x root root 2019-11-11 18:23 dev
drwxr-xr-x root root 2019-11-02 10:44 devices
drwxr-xr-x root root 2019-11-11 18:23 firmware
drwxr-xr-x root root 2019-11-02 10:44 fs
drwxr-xr-x root root 2019-11-02 10:44 kernel
drwxr-xr-x root root 2019-11-02 10:44 module
drwxr-xr-x root root 2019-11-11 18:23 mtk_rgu
drwxr-xr-x root root 2019-11-11 18:23 mtk_ssw
drwxr-xr-x root root 2019-11-11 18:23 mtuart
drwxr-xr-x root root 2019-11-02 10:44 power
drwxr-xr-x root root 2019-11-11 18:23 ptp
drwxr-xr-x root root 2019-11-11 18:23 sys_info
