all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#13390: tramp-adb hanging forever
@ 2013-01-08 18:10 Thierry Volpiatto
  2013-01-08 21:36 ` Michael Albinus
  0 siblings, 1 reply; 25+ messages in thread
From: Thierry Volpiatto @ 2013-01-08 18:10 UTC (permalink / raw)
  To: 13390

Hi,

(require 'tramp-adb)
(setq tramp-adb-sdk-dir "~/share/android-sdk-linux")

M-x shell
adb connect 192.168.0.24:5555
=> connected to 192.168.0.24:5555
adb shell ls
=> works as expected.

[EVAL] (tramp-adb-parse-device-names nil)
=>((nil "192.168.0.24:5555")) ; OK

C-x C-f => find-file => /adb::/
Hang forever.
I am able though to C-g to exit.

With tramp-debug set to 6, nothing new or interesting popping up,
just hanging forever.

-- 
  Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 






^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#13390: tramp-adb hanging forever
  2013-01-08 18:10 bug#13390: tramp-adb hanging forever Thierry Volpiatto
@ 2013-01-08 21:36 ` Michael Albinus
  2013-01-08 21:53   ` Thierry Volpiatto
  0 siblings, 1 reply; 25+ messages in thread
From: Michael Albinus @ 2013-01-08 21:36 UTC (permalink / raw)
  To: Thierry Volpiatto; +Cc: 13390

Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:

> Hi,

Hi Thierry,

> (require 'tramp-adb)
> (setq tramp-adb-sdk-dir "~/share/android-sdk-linux")
>
> M-x shell
> adb connect 192.168.0.24:5555
> => connected to 192.168.0.24:5555
> adb shell ls
> => works as expected.

I would like to check it, but my limited Android know-how prevents me
from this. I'm not able to connect to (the WLAN address of) my Android
device:

--8<---------------cut here---------------start------------->8---
~/src/tramp> ~/src/android-sdk/platform-tools/adb connect 192.168.0.26
unable to connect to 192.168.0.26:5555
~/src/tramp> ping 192.168.0.26   PING 192.168.0.26 (192.168.0.26) 56(84) bytes of data.
64 bytes from 192.168.0.26: icmp_req=1 ttl=64 time=257 ms
--8<---------------cut here---------------end--------------->8---

USB access is OK, but that's not what we want to test. Is there
something one must prepare in order to run "adb connect" successfully?

Best regards, Michael.





^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#13390: tramp-adb hanging forever
  2013-01-08 21:36 ` Michael Albinus
@ 2013-01-08 21:53   ` Thierry Volpiatto
  2013-01-09  7:09     ` Michael Albinus
  0 siblings, 1 reply; 25+ messages in thread
From: Thierry Volpiatto @ 2013-01-08 21:53 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 13390

Hi Michael,

Michael Albinus <michael.albinus@gmx.de> writes:

> Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:
>
>> Hi,
>
> Hi Thierry,
>
>> (require 'tramp-adb)
>> (setq tramp-adb-sdk-dir "~/share/android-sdk-linux")
>>
>> M-x shell
>> adb connect 192.168.0.24:5555
>> => connected to 192.168.0.24:5555
>> adb shell ls
>> => works as expected.
>
> I would like to check it, but my limited Android know-how prevents me
> from this. I'm not able to connect to (the WLAN address of) my Android
> device:
>
> ~/src/tramp> ~/src/android-sdk/platform-tools/adb connect 192.168.0.26
> unable to connect to 192.168.0.26:5555
> ~/src/tramp> ping 192.168.0.26   PING 192.168.0.26 (192.168.0.26) 56(84) bytes of data.
> 64 bytes from 192.168.0.26: icmp_req=1 ttl=64 time=257 ms
>
> USB access is OK, but that's not what we want to test. Is there
> something one must prepare in order to run "adb connect" successfully?
Install adb wireless:
https://play.google.com/store/apps/details?id=siir.es.adbWireless&hl=en

Be sure wifi is enabled on your android device.

-- 
  Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 





^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#13390: tramp-adb hanging forever
  2013-01-08 21:53   ` Thierry Volpiatto
@ 2013-01-09  7:09     ` Michael Albinus
  2013-02-16 18:56       ` Michael Albinus
  0 siblings, 1 reply; 25+ messages in thread
From: Michael Albinus @ 2013-01-09  7:09 UTC (permalink / raw)
  To: Thierry Volpiatto; +Cc: 13390, Jürgen Hötzel

Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:

> Hi Michael,

Hi Thierry,

>> USB access is OK, but that's not what we want to test. Is there
>> something one must prepare in order to run "adb connect" successfully?
> Install adb wireless:
> https://play.google.com/store/apps/details?id=siir.es.adbWireless&hl=en

It says on the web page: "Rooted Phone Only!"

Sorry, but that's not an option for my Nexus S. I can't check your
problem.

Maybe Juergen is able to do something. Or you start to debug tramp-adb.el.

Best regards, Michael.





^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#13390: tramp-adb hanging forever
  2013-01-09  7:09     ` Michael Albinus
@ 2013-02-16 18:56       ` Michael Albinus
  2013-02-16 22:21         ` Thierry Volpiatto
                           ` (2 more replies)
  0 siblings, 3 replies; 25+ messages in thread
From: Michael Albinus @ 2013-02-16 18:56 UTC (permalink / raw)
  To: Thierry Volpiatto; +Cc: 13390

Michael Albinus <michael.albinus@gmx.de> writes:

> Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:
>
>> Hi Michael,

Hi Thierry,

>>> USB access is OK, but that's not what we want to test. Is there
>>> something one must prepare in order to run "adb connect" successfully?
>> Install adb wireless:
>> https://play.google.com/store/apps/details?id=siir.es.adbWireless&hl=en
>
> It says on the web page: "Rooted Phone Only!"
>
> Sorry, but that's not an option for my Nexus S. I can't check your
> problem.

I still have no chance to install adb wireless for the given reason. But
if you have installed also an sshd app on your device, you could check
any ssh-based Tramp method from now on. I've just tweaked Tramp to
support this; see the Tramp manual for setup hints.

It works fine for me with my Nexus S, running Android 4.1.2, and
SSHDroid 1.9.6.

Best regards, Michael.





^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#13390: tramp-adb hanging forever
  2013-02-16 18:56       ` Michael Albinus
@ 2013-02-16 22:21         ` Thierry Volpiatto
  2013-02-18 10:42         ` Thierry Volpiatto
  2013-02-18 10:53         ` Thierry Volpiatto
  2 siblings, 0 replies; 25+ messages in thread
From: Thierry Volpiatto @ 2013-02-16 22:21 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 13390

Hi Michael,

Michael Albinus <michael.albinus@gmx.de> writes:

> It works fine for me with my Nexus S, running Android 4.1.2, and
> SSHDroid 1.9.6.
Thanks, I will have a look as soon as possible.

-- 
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 





^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#13390: tramp-adb hanging forever
  2013-02-16 18:56       ` Michael Albinus
  2013-02-16 22:21         ` Thierry Volpiatto
@ 2013-02-18 10:42         ` Thierry Volpiatto
  2013-02-18 11:05           ` Michael Albinus
  2013-02-18 10:53         ` Thierry Volpiatto
  2 siblings, 1 reply; 25+ messages in thread
From: Thierry Volpiatto @ 2013-02-18 10:42 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 13390

Hi Michael,

Michael Albinus <michael.albinus@gmx.de> writes:

> Michael Albinus <michael.albinus@gmx.de> writes:
>
>> Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:
>>
>>> Hi Michael,
>
> Hi Thierry,
>
>>>> USB access is OK, but that's not what we want to test. Is there
>>>> something one must prepare in order to run "adb connect" successfully?
>>> Install adb wireless:
>>> https://play.google.com/store/apps/details?id=siir.es.adbWireless&hl=en
>>
>> It says on the web page: "Rooted Phone Only!"
>>
>> Sorry, but that's not an option for my Nexus S. I can't check your
>> problem.
>
> I still have no chance to install adb wireless for the given reason. But
> if you have installed also an sshd app on your device, you could check
> any ssh-based Tramp method from now on. I've just tweaked Tramp to
> support this; see the Tramp manual for setup hints.
>
> It works fine for me with my Nexus S, running Android 4.1.2, and
> SSHDroid 1.9.6.
I tried this morning with 'dropbear ssh server' and it didn't work
either from helm or using it normally from emacs -Q with `find-file'.

This is using from helm:

--8<---------------cut here---------------start------------->8---
;; GNU Emacs: 24.3.50.1 Tramp: 2.2.7-pre -*- mode: outline; -*-
11:26:07.962245 tramp-maybe-open-connection (3) # Opening connection for zte using ssh...
11:26:07.964061 tramp-maybe-open-connection (6) # /bin/sh -i
11:26:07.966402 tramp-wait-for-regexp (6) # 
env: can't execute '/bin/sh': No such file or directory
Connection to 192.168.0.24 closed.
#$ 
11:26:07.968048 tramp-maybe-open-connection (3) # Sending command `exec ssh   -o ControlPath=/tmp/tramp.187045lZ.%r@%h:%p -o ControlMaster=auto -o ControlPersist=no -e none zte'
11:26:07.968465 tramp-send-command (6) # exec ssh   -o ControlPath=/tmp/tramp.187045lZ.%r@%h:%p -o ControlMaster=auto -o ControlPersist=no -e none zte
11:26:07.969233 tramp-process-actions (3) # Waiting for prompts from remote shell
11:26:08.970712 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
11:26:08.971304 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
11:26:08.971829 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
11:26:08.972377 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
11:26:08.972953 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
11:26:08.973300 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
11:26:08.973619 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
11:26:08.973937 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
11:26:08.974249 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
11:26:08.974560 tramp-process-one-action (5) # Call `tramp-action-process-alive'
11:26:09.976225 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
11:26:09.976887 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
11:26:09.977413 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
11:26:09.977918 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
11:26:09.978361 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
11:26:09.978689 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
11:26:09.978996 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
11:26:09.979295 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
11:26:09.979597 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
11:26:09.979898 tramp-process-one-action (5) # Call `tramp-action-process-alive'
11:26:10.772655 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
11:26:10.773433 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
11:26:10.773832 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
11:26:10.774224 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
11:26:10.774547 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
11:26:10.774882 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
11:26:10.775196 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
11:26:10.775508 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
11:26:10.775809 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
11:26:10.776106 tramp-process-one-action (5) # Call `tramp-action-process-alive'
11:26:10.980523 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
11:26:10.981338 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
11:26:10.981835 tramp-process-one-action (5) # Call `tramp-action-password'
11:26:10.982187 tramp-action-password (3) # Sending password
11:26:10.983267 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
11:26:10.983689 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
11:26:10.984012 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
11:26:10.984345 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
11:26:10.984713 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
11:26:10.985041 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
11:26:10.985352 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
11:26:10.985654 tramp-process-one-action (5) # Call `tramp-action-process-alive'
11:26:10.986107 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
11:26:10.986434 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
11:26:10.986775 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
11:26:10.987110 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
11:26:10.987412 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
11:26:10.987715 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
11:26:10.988028 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
11:26:10.988336 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
11:26:10.988659 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
11:26:10.988971 tramp-process-one-action (5) # Call `tramp-action-process-alive'
11:26:11.480890 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
11:26:11.481811 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
11:26:11.482178 tramp-process-one-action (5) # Call `tramp-action-password'
11:26:11.482521 tramp-action-password (3) # Sending password
11:26:15.021031 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
11:26:15.021556 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
11:26:15.021911 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
11:26:15.022255 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
11:26:15.022586 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
11:26:15.022920 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
11:26:15.023236 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
11:26:15.023545 tramp-process-one-action (5) # Call `tramp-action-process-alive'
11:26:15.024005 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
11:26:15.024520 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
11:26:15.025106 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
11:26:15.025579 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
11:26:15.025899 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
11:26:15.026208 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
11:26:15.026518 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
11:26:15.026825 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
11:26:15.027122 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
11:26:15.027422 tramp-process-one-action (5) # Call `tramp-action-process-alive'
11:26:15.921017 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
11:26:15.921598 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
11:26:15.922128 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
11:26:15.922642 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
11:26:15.923066 tramp-process-one-action (5) # Call `tramp-action-succeed'
11:26:15.923417 tramp-process-actions (6) # 
Welcome to DropBear SSH Server II!
root@192.168.0.24's password: 
Permission denied, please try again.
root@192.168.0.24's password: 
-sh-3.2# 
11:26:15.923775 tramp-maybe-open-connection (3) # Found remote shell prompt on `zte'
11:26:15.924110 tramp-open-shell (5) # Opening remote shell `/bin/sh'...
11:26:15.924616 tramp-send-command (6) # exec env ENV='' PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3='' /bin/sh 
11:26:16.113692 tramp-process-sentinel (5) # Sentinel called: `*tramp/ssh zte*' `exited abnormally with code 127
'
11:26:16.114385 tramp-wait-for-regexp (1) # File error: Process has died
11:26:16.114826 tramp-wait-for-regexp (5) # Opening remote shell `/bin/sh'...done
11:26:16.115136 tramp-wait-for-regexp (3) # Opening connection for zte using ssh...done
11:32:32.782304 tramp-maybe-open-connection (3) # Opening connection for zte using ssh...
11:32:32.784282 tramp-maybe-open-connection (6) # /bin/sh -i
11:32:32.787418 tramp-wait-for-regexp (6) # 
env: can't execute '/bin/sh': No such file or directory
Connection to 192.168.0.24 closed.
#$ 
11:32:32.789182 tramp-maybe-open-connection (3) # Sending command `exec ssh   -o ControlPath=/tmp/tramp.18704Gwf.%r@%h:%p -o ControlMaster=auto -o ControlPersist=no -e none zte'
11:32:32.789538 tramp-send-command (6) # exec ssh   -o ControlPath=/tmp/tramp.18704Gwf.%r@%h:%p -o ControlMaster=auto -o ControlPersist=no -e none zte
11:32:32.790353 tramp-process-actions (3) # Waiting for prompts from remote shell
11:32:33.791681 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
11:32:33.792253 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
11:32:33.792884 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
11:32:33.793440 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
11:32:33.793892 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
11:32:33.794220 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
11:32:33.794527 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
11:32:33.794835 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
11:32:33.795132 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
11:32:33.795427 tramp-process-one-action (5) # Call `tramp-action-process-alive'
11:32:34.797081 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
11:32:34.797617 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
11:32:34.798099 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
11:32:34.798569 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
11:32:34.799011 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
11:32:34.799453 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
11:32:34.799810 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
11:32:34.800156 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
11:32:34.800505 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
11:32:34.800793 tramp-process-one-action (5) # Call `tramp-action-process-alive'
11:32:35.741593 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
11:32:35.742096 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
11:32:35.742442 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
11:32:35.742813 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
11:32:35.743121 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
11:32:35.743448 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
11:32:35.743748 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
11:32:35.744046 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
11:32:35.744331 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
11:32:35.744647 tramp-process-one-action (5) # Call `tramp-action-process-alive'
11:32:35.929807 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
11:32:35.930563 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
11:32:35.931080 tramp-process-one-action (5) # Call `tramp-action-password'
11:32:35.931537 tramp-action-password (3) # Sending password
11:32:35.932666 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
11:32:35.933083 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
11:32:35.933395 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
11:32:35.933718 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
11:32:35.934038 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
11:32:35.934348 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
11:32:35.934648 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
11:32:35.934944 tramp-process-one-action (5) # Call `tramp-action-process-alive'
11:32:35.935376 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
11:32:35.935693 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
11:32:35.936022 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
11:32:35.936358 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
11:32:35.936686 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
11:32:35.936983 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
11:32:35.937277 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
11:32:35.937573 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
11:32:35.937864 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
11:32:35.938147 tramp-process-one-action (5) # Call `tramp-action-process-alive'
11:32:36.432789 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
11:32:36.433584 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
11:32:36.434059 tramp-process-one-action (5) # Call `tramp-action-password'
11:32:36.434408 tramp-action-password (3) # Sending password
11:32:39.711657 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
11:32:39.712143 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
11:32:39.712521 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
11:32:39.712860 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
11:32:39.713199 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
11:32:39.713520 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
11:32:39.713823 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
11:32:39.714115 tramp-process-one-action (5) # Call `tramp-action-process-alive'
11:32:39.715018 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
11:32:39.715389 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
11:32:39.715825 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
11:32:39.716164 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
11:32:39.716503 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
11:32:39.716806 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
11:32:39.717102 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
11:32:39.717401 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
11:32:39.717693 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
11:32:39.717977 tramp-process-one-action (5) # Call `tramp-action-process-alive'
11:32:40.502221 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
11:32:40.502632 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
11:32:40.502966 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
11:32:40.503308 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
11:32:40.503606 tramp-process-one-action (5) # Call `tramp-action-succeed'
11:32:40.503929 tramp-process-actions (6) # 
Welcome to DropBear SSH Server II!
root@192.168.0.24's password: 
Permission denied, please try again.
root@192.168.0.24's password: 
-sh-3.2# 
11:32:40.504273 tramp-maybe-open-connection (3) # Found remote shell prompt on `zte'
11:32:40.504660 tramp-open-shell (5) # Opening remote shell `/bin/sh'...
11:32:40.505086 tramp-send-command (6) # exec env ENV='' PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3='' /bin/sh 
11:32:40.745276 tramp-process-sentinel (5) # Sentinel called: `*tramp/ssh zte*' `exited abnormally with code 127
'
11:32:40.745978 tramp-wait-for-regexp (1) # File error: Process has died
11:32:40.746397 tramp-wait-for-regexp (5) # Opening remote shell `/bin/sh'...done
11:32:40.746698 tramp-wait-for-regexp (3) # Opening connection for zte using ssh...done
11:32:47.574809 tramp-get-test-command (5) # Finding a suitable `test' command
11:32:47.575492 tramp-maybe-open-connection (3) # Opening connection for zte using ssh...
11:32:47.577278 tramp-maybe-open-connection (6) # /bin/sh -i
11:32:47.579443 tramp-wait-for-regexp (6) # 
env: can't execute '/bin/sh': No such file or directory
Connection to 192.168.0.24 closed.
#$ 
11:32:47.581272 tramp-maybe-open-connection (3) # Sending command `exec ssh   -o ControlPath=/tmp/tramp.18704T6l.%r@%h:%p -o ControlMaster=auto -o ControlPersist=no -e none zte'
11:32:47.581629 tramp-send-command (6) # exec ssh   -o ControlPath=/tmp/tramp.18704T6l.%r@%h:%p -o ControlMaster=auto -o ControlPersist=no -e none zte
11:32:47.582455 tramp-process-actions (3) # Waiting for prompts from remote shell
11:32:48.583793 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
11:32:48.584375 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
11:32:48.585164 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
11:32:48.585717 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
11:32:48.586041 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
11:32:48.586358 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
11:32:48.586670 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
11:32:48.586980 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
11:32:48.587299 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
11:32:48.587598 tramp-process-one-action (5) # Call `tramp-action-process-alive'
11:32:49.588834 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
11:32:49.589405 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
11:32:49.589905 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
11:32:49.590412 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
11:32:49.590874 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
11:32:49.591253 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
11:32:49.591571 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
11:32:49.591873 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
11:32:49.592160 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
11:32:49.592499 tramp-process-one-action (5) # Call `tramp-action-process-alive'
11:32:50.085383 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
11:32:50.086188 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
11:32:50.086582 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
11:32:50.086974 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
11:32:50.087331 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
11:32:50.087667 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
11:32:50.087986 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
11:32:50.088299 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
11:32:50.088703 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
11:32:50.089013 tramp-process-one-action (5) # Call `tramp-action-process-alive'
11:32:50.283008 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
11:32:50.283794 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
11:32:50.284301 tramp-process-one-action (5) # Call `tramp-action-password'
11:32:50.284748 tramp-action-password (3) # Sending password
11:32:50.285818 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
11:32:50.286239 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
11:32:50.286559 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
11:32:50.286890 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
11:32:50.287223 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
11:32:50.287547 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
11:32:50.287856 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
11:32:50.288159 tramp-process-one-action (5) # Call `tramp-action-process-alive'
11:32:50.288638 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
11:32:50.288971 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
11:32:50.289315 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
11:32:50.289649 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
11:32:50.289962 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
11:32:50.290269 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
11:32:50.290578 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
11:32:50.290886 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
11:32:50.291189 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
11:32:50.291482 tramp-process-one-action (5) # Call `tramp-action-process-alive'
11:32:50.817534 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
11:32:50.818348 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
11:32:50.818876 tramp-process-one-action (5) # Call `tramp-action-password'
11:32:50.819275 tramp-action-password (3) # Sending password
11:32:54.579579 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
11:32:54.580098 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
11:32:54.580550 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
11:32:54.580918 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
11:32:54.581252 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
11:32:54.581587 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
11:32:54.581904 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
11:32:54.582214 tramp-process-one-action (5) # Call `tramp-action-process-alive'
11:32:54.582661 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
11:32:54.582995 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
11:32:54.583343 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
11:32:54.583697 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
11:32:54.584006 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
11:32:54.584317 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
11:32:54.584655 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
11:32:54.584967 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
11:32:54.585269 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
11:32:54.585567 tramp-process-one-action (5) # Call `tramp-action-process-alive'
11:32:55.445108 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
11:32:55.445692 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
11:32:55.446211 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
11:32:55.446718 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
11:32:55.447054 tramp-process-one-action (5) # Call `tramp-action-succeed'
11:32:55.447397 tramp-process-actions (6) # 
Welcome to DropBear SSH Server II!
root@192.168.0.24's password: 
Permission denied, please try again.
root@192.168.0.24's password: 
-sh-3.2# 
11:32:55.447786 tramp-maybe-open-connection (3) # Found remote shell prompt on `zte'
11:32:55.448125 tramp-open-shell (5) # Opening remote shell `/bin/sh'...
11:32:55.448604 tramp-send-command (6) # exec env ENV='' PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3='' /bin/sh 
11:32:55.699619 tramp-process-sentinel (5) # Sentinel called: `*tramp/ssh zte*' `exited abnormally with code 127
'
11:32:55.700735 tramp-wait-for-regexp (1) # File error: Process has died
11:32:55.701319 tramp-wait-for-regexp (5) # Opening remote shell `/bin/sh'...done
11:32:55.701642 tramp-wait-for-regexp (3) # Opening connection for zte
using ssh...done
--8<---------------cut here---------------end--------------->8---

BTW 'scpc' method is no more working (hanging forever in host completion) connecting on another machine on my
LAN (not a mobile device).

Thanks.

-- 
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 





^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#13390: tramp-adb hanging forever
  2013-02-16 18:56       ` Michael Albinus
  2013-02-16 22:21         ` Thierry Volpiatto
  2013-02-18 10:42         ` Thierry Volpiatto
@ 2013-02-18 10:53         ` Thierry Volpiatto
  2013-02-18 11:02           ` Thierry Volpiatto
  2 siblings, 1 reply; 25+ messages in thread
From: Thierry Volpiatto @ 2013-02-18 10:53 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 13390

Michael Albinus <michael.albinus@gmx.de> writes:

> Michael Albinus <michael.albinus@gmx.de> writes:
>
>> Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:
>>
>>> Hi Michael,
>
> Hi Thierry,
>
>>>> USB access is OK, but that's not what we want to test. Is there
>>>> something one must prepare in order to run "adb connect" successfully?
>>> Install adb wireless:
>>> https://play.google.com/store/apps/details?id=siir.es.adbWireless&hl=en
>>
>> It says on the web page: "Rooted Phone Only!"
>>
>> Sorry, but that's not an option for my Nexus S. I can't check your
>> problem.
>
> I still have no chance to install adb wireless for the given reason. But
> if you have installed also an sshd app on your device, you could check
> any ssh-based Tramp method from now on. I've just tweaked Tramp to
> support this; see the Tramp manual for setup hints.
>
> It works fine for me with my Nexus S, running Android 4.1.2, and
> SSHDroid 1.9.6.
Same with sshdroid:
env no such file or directory /bin/sh.

-- 
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 





^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#13390: tramp-adb hanging forever
  2013-02-18 10:53         ` Thierry Volpiatto
@ 2013-02-18 11:02           ` Thierry Volpiatto
  0 siblings, 0 replies; 25+ messages in thread
From: Thierry Volpiatto @ 2013-02-18 11:02 UTC (permalink / raw)
  To: 13390

Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:

> Michael Albinus <michael.albinus@gmx.de> writes:
>
>> Michael Albinus <michael.albinus@gmx.de> writes:
>>
>>> Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:
>>>
>>>> Hi Michael,
>>
>> Hi Thierry,
>>
>>>>> USB access is OK, but that's not what we want to test. Is there
>>>>> something one must prepare in order to run "adb connect" successfully?
>>>> Install adb wireless:
>>>> https://play.google.com/store/apps/details?id=siir.es.adbWireless&hl=en
>>>
>>> It says on the web page: "Rooted Phone Only!"
>>>
>>> Sorry, but that's not an option for my Nexus S. I can't check your
>>> problem.
>>
>> I still have no chance to install adb wireless for the given reason. But
>> if you have installed also an sshd app on your device, you could check
>> any ssh-based Tramp method from now on. I've just tweaked Tramp to
>> support this; see the Tramp manual for setup hints.
>>
>> It works fine for me with my Nexus S, running Android 4.1.2, and
>> SSHDroid 1.9.6.
> Same with sshdroid:
> env no such file or directory /bin/sh.
'sh' is located on my phone at "/system/xbin/sh".

-- 
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 






^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#13390: tramp-adb hanging forever
  2013-02-18 10:42         ` Thierry Volpiatto
@ 2013-02-18 11:05           ` Michael Albinus
  2013-02-18 14:32             ` Thierry Volpiatto
  0 siblings, 1 reply; 25+ messages in thread
From: Michael Albinus @ 2013-02-18 11:05 UTC (permalink / raw)
  To: Thierry Volpiatto; +Cc: 13390

Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:

> Hi Michael,

Hi Thierry,

>> I still have no chance to install adb wireless for the given reason. But
>> if you have installed also an sshd app on your device, you could check
>> any ssh-based Tramp method from now on. I've just tweaked Tramp to
>> support this; see the Tramp manual for setup hints.
>>
>> It works fine for me with my Nexus S, running Android 4.1.2, and
>> SSHDroid 1.9.6.
> I tried this morning with 'dropbear ssh server' and it didn't work
> either from helm or using it normally from emacs -Q with `find-file'.
>
> 11:32:32.784282 tramp-maybe-open-connection (6) # /bin/sh -i
> 11:32:32.787418 tramp-wait-for-regexp (6) # 
> env: can't execute '/bin/sh': No such file or directory

/bin/sh does not exist on Android devices. That's why you need to
configure another shell. As I have said above: "I've just tweaked Tramp
to support this; see the Tramp manual for setup hints." Please do so :-)

> BTW 'scpc' method is no more working (hanging forever in host completion) connecting on another machine on my
> LAN (not a mobile device).

Yes. From etc/NEWS:

** Tramp
*** The connection methods "scpc" and "rsyncc" are discontinued.  The
ssh option "ControlMaster=auto" is set automatically in all ssh-based
methods, when possible.

> Thanks.

Best regards, Michael.





^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#13390: tramp-adb hanging forever
  2013-02-18 11:05           ` Michael Albinus
@ 2013-02-18 14:32             ` Thierry Volpiatto
  2013-02-18 14:37               ` Michael Albinus
  0 siblings, 1 reply; 25+ messages in thread
From: Thierry Volpiatto @ 2013-02-18 14:32 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 13390

Hi Michael,

Michael Albinus <michael.albinus@gmx.de> writes:

> Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:
>
>> Hi Michael,
>
> Hi Thierry,
>
>>> I still have no chance to install adb wireless for the given reason. But
>>> if you have installed also an sshd app on your device, you could check
>>> any ssh-based Tramp method from now on. I've just tweaked Tramp to
>>> support this; see the Tramp manual for setup hints.
>>>
>>> It works fine for me with my Nexus S, running Android 4.1.2, and
>>> SSHDroid 1.9.6.
>> I tried this morning with 'dropbear ssh server' and it didn't work
>> either from helm or using it normally from emacs -Q with `find-file'.
>>
>> 11:32:32.784282 tramp-maybe-open-connection (6) # /bin/sh -i
>> 11:32:32.787418 tramp-wait-for-regexp (6) # 
>> env: can't execute '/bin/sh': No such file or directory
>
> /bin/sh does not exist on Android devices. That's why you need to
> configure another shell. As I have said above: "I've just tweaked Tramp
> to support this; see the Tramp manual for setup hints." Please do so :-)
Thanks, but not working either playing with these settings.
I will try again later reinstalling sshdroid (I don't like it, too much
ads).


>> BTW 'scpc' method is no more working (hanging forever in host completion) connecting on another machine on my
>> LAN (not a mobile device).
>
> Yes. From etc/NEWS:
>
> ** Tramp
> *** The connection methods "scpc" and "rsyncc" are discontinued.

Ok thanks.

-- 
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 





^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#13390: tramp-adb hanging forever
  2013-02-18 14:32             ` Thierry Volpiatto
@ 2013-02-18 14:37               ` Michael Albinus
  2013-02-18 14:52                 ` Thierry Volpiatto
  0 siblings, 1 reply; 25+ messages in thread
From: Michael Albinus @ 2013-02-18 14:37 UTC (permalink / raw)
  To: Thierry Volpiatto; +Cc: 13390

Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:

> Hi Michael,

Hi Thierry,

>> /bin/sh does not exist on Android devices. That's why you need to
>> configure another shell. As I have said above: "I've just tweaked Tramp
>> to support this; see the Tramp manual for setup hints." Please do so :-)
> Thanks, but not working either playing with these settings.
> I will try again later reinstalling sshdroid (I don't like it, too much
> ads).

Send traces, level 6.

Which ssh implementation do you recommend for Android? I do not want to
recommend something which is not acceptable.

Best regards, Michael.





^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#13390: tramp-adb hanging forever
  2013-02-18 14:37               ` Michael Albinus
@ 2013-02-18 14:52                 ` Thierry Volpiatto
  2013-02-18 16:09                   ` Michael Albinus
  2013-02-18 16:14                   ` Thierry Volpiatto
  0 siblings, 2 replies; 25+ messages in thread
From: Thierry Volpiatto @ 2013-02-18 14:52 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 13390

Michael Albinus <michael.albinus@gmx.de> writes:

> Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:
>
>> Hi Michael,
>
> Hi Thierry,
>
>>> /bin/sh does not exist on Android devices. That's why you need to
>>> configure another shell. As I have said above: "I've just tweaked Tramp
>>> to support this; see the Tramp manual for setup hints." Please do so :-)
>> Thanks, but not working either playing with these settings.
>> I will try again later reinstalling sshdroid (I don't like it, too much
>> ads).
>
> Send traces, level 6.
(file-error \"`/system/bin/id -g ' does not return a valid Lisp expression: `uid=0(root) gid=0(root) groups=0(root)
'\")

Trace:

--8<---------------cut here---------------start------------->8---
;; GNU Emacs: 24.3.50.1 Tramp: 2.2.7-pre -*- mode: outline; -*-
15:39:06.329823 tramp-maybe-open-connection (3) # Opening connection for 192.168.0.24#2222 using ssh...
15:39:06.331566 tramp-maybe-open-connection (6) # /bin/sh -i
15:39:06.332828 tramp-wait-for-regexp (6) # 
#$ 
15:39:06.334452 tramp-maybe-open-connection (3) # Sending command `exec ssh  -p 2222 -o ControlPath=/tmp/tramp.29495cl1.%r@%h:%p -o ControlMaster=auto -o ControlPersist=no -e none 192.168.0.24'
15:39:06.334877 tramp-send-command (6) # exec ssh  -p 2222 -o ControlPath=/tmp/tramp.29495cl1.%r@%h:%p -o ControlMaster=auto -o ControlPersist=no -e none 192.168.0.24
15:39:06.335792 tramp-process-actions (3) # Waiting for prompts from remote shell
15:39:07.337277 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
15:39:07.337860 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
15:39:07.338393 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
15:39:07.338948 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
15:39:07.339433 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
15:39:07.339915 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
15:39:07.340246 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
15:39:07.340562 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
15:39:07.340875 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
15:39:07.341176 tramp-process-one-action (5) # Call `tramp-action-process-alive'
15:39:08.342844 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
15:39:08.343412 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
15:39:08.344037 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
15:39:08.344556 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
15:39:08.344977 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
15:39:08.345299 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
15:39:08.345611 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
15:39:08.345918 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
15:39:08.346218 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
15:39:08.346519 tramp-process-one-action (5) # Call `tramp-action-process-alive'
15:39:09.348187 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
15:39:09.348772 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
15:39:09.349294 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
15:39:09.349822 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
15:39:09.350299 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
15:39:09.350634 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
15:39:09.350944 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
15:39:09.351247 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
15:39:09.351543 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
15:39:09.351917 tramp-process-one-action (5) # Call `tramp-action-process-alive'
15:39:10.353592 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
15:39:10.354159 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
15:39:10.354688 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
15:39:10.355202 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
15:39:10.355736 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
15:39:10.356085 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
15:39:10.356403 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
15:39:10.356726 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
15:39:10.357023 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
15:39:10.357326 tramp-process-one-action (5) # Call `tramp-action-process-alive'
15:39:10.800135 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
15:39:10.801324 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
15:39:10.801765 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
15:39:10.802161 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
15:39:10.802481 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
15:39:10.802823 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
15:39:10.803143 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
15:39:10.803454 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
15:39:10.803832 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
15:39:10.804140 tramp-process-one-action (5) # Call `tramp-action-process-alive'
15:39:11.192347 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
15:39:11.193126 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
15:39:11.193497 tramp-process-one-action (5) # Call `tramp-action-password'
15:39:11.193848 tramp-action-password (3) # Sending password
15:39:11.197032 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
15:39:11.197674 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
15:39:11.198008 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
15:39:11.198335 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
15:39:11.198658 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
15:39:11.198978 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
15:39:11.199286 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
15:39:11.199594 tramp-process-one-action (5) # Call `tramp-action-process-alive'
15:39:11.199857 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
15:39:11.199967 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
15:39:11.200084 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
15:39:11.200220 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
15:39:11.200329 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
15:39:11.200427 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
15:39:11.200524 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
15:39:11.200622 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
15:39:11.200717 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
15:39:11.200812 tramp-process-one-action (5) # Call `tramp-action-process-alive'
15:39:11.815290 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
15:39:11.816208 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
15:39:11.816662 tramp-process-one-action (5) # Call `tramp-action-password'
15:39:11.817015 tramp-action-password (3) # Sending password
15:39:16.631170 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
15:39:16.631761 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
15:39:16.632120 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
15:39:16.632463 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
15:39:16.632811 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
15:39:16.633147 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
15:39:16.633462 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
15:39:16.633774 tramp-process-one-action (5) # Call `tramp-action-process-alive'
15:39:16.634224 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
15:39:16.634554 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
15:39:16.634900 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
15:39:16.635238 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
15:39:16.635543 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
15:39:16.635964 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
15:39:16.636292 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
15:39:16.636602 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
15:39:16.636908 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
15:39:16.637209 tramp-process-one-action (5) # Call `tramp-action-process-alive'
15:39:17.638886 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
15:39:17.639485 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
15:39:17.640093 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
15:39:17.640614 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
15:39:17.641025 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
15:39:17.641356 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
15:39:17.641676 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
15:39:17.641987 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
15:39:17.642295 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
15:39:17.642594 tramp-process-one-action (5) # Call `tramp-action-process-alive'
15:39:18.073668 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
15:39:18.074271 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
15:39:18.074818 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
15:39:18.075209 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
15:39:18.075526 tramp-process-one-action (5) # Call `tramp-action-succeed'
15:39:18.076023 tramp-process-actions (6) # 
Welcome to DropBear SSH Server II!
thierry@192.168.0.24's password: 
Permission denied, please try again.
thierry@192.168.0.24's password: 
-sh-3.2# 
15:39:18.076413 tramp-maybe-open-connection (3) # Found remote shell prompt on `192.168.0.24'
15:39:18.076751 tramp-open-shell (5) # Opening remote shell `/system/bin/sh'...
15:39:18.077213 tramp-send-command (6) # exec env ENV='' PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3='' /system/bin/sh 
15:39:18.467061 tramp-wait-for-regexp (6) # 
#$ 
15:39:18.468107 tramp-send-command (6) # PS1=\#\$\ 
15:39:18.859991 tramp-wait-for-regexp (6) # 
#$ 
15:39:18.860478 tramp-send-command (6) # PS2=''
15:39:19.252761 tramp-wait-for-regexp (6) # 
#$ 
15:39:19.253238 tramp-send-command (6) # PS3=''
15:39:19.646449 tramp-wait-for-regexp (6) # 
#$ 
15:39:19.647140 tramp-send-command (6) # PROMPT_COMMAND=''
15:39:20.039535 tramp-wait-for-regexp (6) # 
#$ 
15:39:20.040161 tramp-open-shell (5) # Opening remote shell `/system/bin/sh'...done
15:39:20.040675 tramp-open-connection-setup-interactive-shell (5) # Setting up remote shell environment
15:39:20.041115 tramp-send-command (6) # stty -inlcr -echo kill '^U' erase '^H'
15:39:20.402380 tramp-wait-for-regexp (6) # 
#$ 
15:39:20.403084 tramp-send-command (6) # echo foo
15:39:20.825731 tramp-wait-for-regexp (6) # 
foo
#$ 
15:39:20.826131 tramp-open-connection-setup-interactive-shell (5) # Setting shell prompt
15:39:20.826652 tramp-send-command (6) # PS1=///cd75dd09133d48f3a1970966969c4c9a\#\$
15:39:21.219358 tramp-wait-for-regexp (6) # 
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:21.220409 tramp-send-command (6) # PS2=''
15:39:21.612606 tramp-wait-for-regexp (6) # 
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:21.613468 tramp-send-command (6) # PS3=''
15:39:22.005842 tramp-wait-for-regexp (6) # 
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:22.006660 tramp-send-command (6) # PROMPT_COMMAND=''
15:39:22.399286 tramp-wait-for-regexp (6) # 
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:22.400220 tramp-open-connection-setup-interactive-shell (5) # Determining coding system
15:39:22.400778 tramp-send-command (6) # echo foo ; echo bar
15:39:22.792322 tramp-wait-for-regexp (6) # 
foo
bar
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:22.793199 tramp-open-connection-setup-interactive-shell (5) # Setting coding system to `utf-8-unix' and `utf-8-unix'
15:39:22.793670 tramp-send-command (6) # set +o vi +o emacs
15:39:23.185272 tramp-wait-for-regexp (6) # 
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:23.186003 tramp-open-connection-setup-interactive-shell (5) # Checking system information
15:39:23.186835 tramp-send-command (6) # echo \"`uname -sr`\" 2>/dev/null; echo tramp_exit_status $?
15:39:23.578908 tramp-wait-for-regexp (6) # 
"Linux 2.6.35.7-perf+"
tramp_exit_status 0
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:23.580072 tramp-open-connection-setup-interactive-shell (5) # Checking remote host type for `send-process-string' bug
15:39:23.580444 tramp-set-remote-path (5) # Setting $PATH environment variable
15:39:23.581118 tramp-send-command (6) # echo \"`getconf PATH 2>/dev/null`\" 2>/dev/null; echo tramp_exit_status $?
15:39:23.972302 tramp-wait-for-regexp (6) # 
""
tramp_exit_status 0
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:23.973720 tramp-send-command (6) # echo \"$PATH\" 2>/dev/null; echo tramp_exit_status $?
15:39:24.365757 tramp-wait-for-regexp (6) # 
"/sbin:/system/sbin:/system/bin:/system/xbin"
tramp_exit_status 0
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:24.368434 tramp-send-command (6) # test -d /sbin 2>/dev/null; echo tramp_exit_status $?
15:39:24.954681 tramp-wait-for-regexp (6) # 
tramp_exit_status 0
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:24.957946 tramp-send-command (6) # test -d /system/sbin 2>/dev/null; echo tramp_exit_status $?
15:39:25.544797 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:25.547600 tramp-send-command (6) # test -d /system/bin 2>/dev/null; echo tramp_exit_status $?
15:39:26.134353 tramp-wait-for-regexp (6) # 
tramp_exit_status 0
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:26.137374 tramp-send-command (6) # test -d /system/xbin 2>/dev/null; echo tramp_exit_status $?
15:39:26.724237 tramp-wait-for-regexp (6) # 
tramp_exit_status 0
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:26.726817 tramp-send-command (6) # test -d /bin 2>/dev/null; echo tramp_exit_status $?
15:39:27.313996 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:27.316787 tramp-send-command (6) # test -d /usr/bin 2>/dev/null; echo tramp_exit_status $?
15:39:27.904096 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:27.906949 tramp-send-command (6) # test -d /usr/sbin 2>/dev/null; echo tramp_exit_status $?
15:39:31.541601 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:31.544361 tramp-send-command (6) # test -d /usr/local/bin 2>/dev/null; echo tramp_exit_status $?
15:39:32.032989 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:32.035848 tramp-send-command (6) # test -d /usr/local/sbin 2>/dev/null; echo tramp_exit_status $?
15:39:32.622452 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:32.625324 tramp-send-command (6) # test -d /local/bin 2>/dev/null; echo tramp_exit_status $?
15:39:33.212339 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:33.215032 tramp-send-command (6) # test -d /local/freeware/bin 2>/dev/null; echo tramp_exit_status $?
15:39:33.802155 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:33.804570 tramp-send-command (6) # test -d /local/gnu/bin 2>/dev/null; echo tramp_exit_status $?
15:39:34.392083 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:34.394872 tramp-send-command (6) # test -d /usr/freeware/bin 2>/dev/null; echo tramp_exit_status $?
15:39:34.981919 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:34.984822 tramp-send-command (6) # test -d /usr/pkg/bin 2>/dev/null; echo tramp_exit_status $?
15:39:35.571500 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:35.574379 tramp-send-command (6) # test -d /usr/contrib/bin 2>/dev/null; echo tramp_exit_status $?
15:39:36.161336 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:36.163760 tramp-send-command (6) # test -d /opt/bin 2>/dev/null; echo tramp_exit_status $?
15:39:36.751217 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:36.754050 tramp-send-command (6) # test -d /opt/sbin 2>/dev/null; echo tramp_exit_status $?
15:39:37.341077 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:37.343380 tramp-send-command (6) # test -d /opt/local/bin 2>/dev/null; echo tramp_exit_status $?
15:39:37.930966 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:37.932531 tramp-send-command (6) # PATH=/sbin:/system/bin:/system/xbin; export PATH
15:39:38.323930 tramp-wait-for-regexp (6) # 
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:38.324703 tramp-send-command (6) # mesg n; biff n
15:39:38.717657 tramp-wait-for-regexp (6) # 
sh: biff: command not found
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:38.718875 tramp-send-command (6) # echo \"`tty`\" 2>/dev/null; echo tramp_exit_status $?
15:39:39.110592 tramp-wait-for-regexp (6) # 
sh: tty: command not found
""
tramp_exit_status 0
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:39.111769 tramp-open-connection-setup-interactive-shell (5) # Setting default environment
15:39:39.112426 tramp-send-command (6) # TMPDIR=$HOME/tmp; export TMPDIR
15:39:39.504046 tramp-wait-for-regexp (6) # 
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:39.504983 tramp-send-command (6) # HISTFILE=$HOME/.tramp_history; export HISTFILE
15:39:39.897396 tramp-wait-for-regexp (6) # 
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:39.898294 tramp-send-command (6) # HISTSIZE=1; export HISTSIZE
15:39:40.290319 tramp-wait-for-regexp (6) # 
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:40.291292 tramp-send-command (6) # LC_ALL=C; export LC_ALL
15:39:40.683606 tramp-wait-for-regexp (6) # 
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:40.684682 tramp-send-command (6) # TERM=dumb; export TERM
15:39:41.076735 tramp-wait-for-regexp (6) # 
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:41.077661 tramp-send-command (6) # EMACS=t; export EMACS
15:39:41.469950 tramp-wait-for-regexp (6) # 
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:41.470879 tramp-send-command (6) # INSIDE_EMACS='24.3.50.1,tramp:2.2.7-pre'; export INSIDE_EMACS
15:39:41.863375 tramp-wait-for-regexp (6) # 
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:41.864529 tramp-send-command (6) # PAGER=""; export PAGER
15:39:42.256584 tramp-wait-for-regexp (6) # 
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:42.257286 tramp-send-command (6) # unset correct autocorrect MAILPATH MAILCHECK MAIL HISTORY CDPATH
15:39:42.649572 tramp-wait-for-regexp (6) # 
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:42.650369 tramp-maybe-open-connection (3) # Opening connection for 192.168.0.24#2222 using ssh...done
15:39:42.650989 tramp-send-command (6) # test -d /data/local 2>/dev/null; echo tramp_exit_status $?
15:39:43.042515 tramp-wait-for-regexp (6) # 
tramp_exit_status 0
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:43.050703 tramp-send-command (6) # test -e /data/local 2>/dev/null; echo tramp_exit_status $?
15:39:43.632990 tramp-wait-for-regexp (6) # 
tramp_exit_status 0
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:43.635916 tramp-do-file-attributes-with-ls (5) # file attributes with ls: /data/local
15:39:43.636450 tramp-get-ls-command (5) # Finding a suitable `ls' command
15:39:43.637214 tramp-send-command (6) # (PS1= ; while read d; do if test -x $d/ls -a -f $d/ls; then echo tramp_executable $d/ls; break; fi; done <<'EOF'
/sbin
/system/bin
/system/xbin
EOF
)
15:39:44.222747 tramp-wait-for-regexp (6) # 
tramp_executable /system/xbin/ls
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:44.223980 tramp-send-command (6) # /system/xbin/ls -lnd / 2>/dev/null; echo tramp_exit_status $?
15:39:44.615982 tramp-wait-for-regexp (6) # 
drwxr-xr-x   14 0        0                0 Feb 16 21:57 [1;34m/[0m
tramp_exit_status 0
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:44.617252 tramp-send-command (6) # /system/xbin/ls --color=never -al /dev/null 2>/dev/null; echo tramp_exit_status $?
15:39:45.008828 tramp-wait-for-regexp (6) # 
crw-rw-rw-    1 0        0           1,   3 Feb 16 21:57 /dev/null
tramp_exit_status 0
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:45.010250 tramp-send-command (6) # (test -e /data/local || test -h /data/local) && /system/xbin/ls --color=never -ildn /data/local
15:39:45.401840 tramp-wait-for-regexp (6) # 
    273 drwxr-xr-x    1 2000     2000          2048 Feb 18 14:39 /data/local
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:45.402814 tramp-get-remote-id (5) # Finding POSIX `id' command
15:39:45.403713 tramp-send-command (6) # (PS1= ; while read d; do if test -x $d/id -a -f $d/id; then echo tramp_executable $d/id; break; fi; done <<'EOF'
/sbin
/system/bin
/system/xbin
EOF
)
15:39:45.795762 tramp-wait-for-regexp (6) # 
tramp_executable /system/bin/id
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:45.796639 tramp-send-command (6) # /system/bin/id -u 2>/dev/null; echo tramp_exit_status $?
15:39:46.188531 tramp-wait-for-regexp (6) # 
uid=0(root) gid=0(root) groups=0(root)
tramp_exit_status 0
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:46.189500 tramp-send-command (6) # /system/bin/id -g  2>/dev/null; echo tramp_exit_status $?
15:39:46.778728 tramp-wait-for-regexp (6) # 
uid=0(root) gid=0(root) groups=0(root)
tramp_exit_status 0
///cd75dd09133d48f3a1970966969c4c9a#$
15:39:46.779790 tramp-send-command-and-read (1) # File error: `/system/bin/id -g ' does not return a valid Lisp expression: `uid=0(root) gid=0(root) groups=0(root)
'--8<---------------cut here---------------end--------------->8---


I will send you a trace from emacs -Q soon, but looks like errors are
the same.

> Which ssh implementation do you recommend for Android?

I don't know, I am not android specialist, I have installed
DropBearServer2:

https://play.google.com/store/apps/details?id=me.shkschneider.dropbearserver2&hl=en

It is working fine and is not full of ads like sshdroid.

> I do not want to recommend something which is not acceptable.
>
> Best regards, Michael.

-- 
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 





^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#13390: tramp-adb hanging forever
  2013-02-18 14:52                 ` Thierry Volpiatto
@ 2013-02-18 16:09                   ` Michael Albinus
  2013-02-18 16:42                     ` Thierry Volpiatto
  2013-02-18 16:14                   ` Thierry Volpiatto
  1 sibling, 1 reply; 25+ messages in thread
From: Michael Albinus @ 2013-02-18 16:09 UTC (permalink / raw)
  To: Thierry Volpiatto; +Cc: 13390

Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:

Hi Thierry,

> 15:39:46.189500 tramp-send-command (6) # /system/bin/id -g 2>/dev/null; echo tramp_exit_status $?
> 15:39:46.778728 tramp-wait-for-regexp (6) # 
> uid=0(root) gid=0(root) groups=0(root)
> tramp_exit_status 0
> ///cd75dd09133d48f3a1970966969c4c9a#$
> 15:39:46.779790 tramp-send-command-and-read (1) # File error:
> /system/bin/id -g ' does not return a valid Lisp expression:
> uid=0(root) gid=0(root) groups=0(root)

Tramp expects, that "id -g" returns just a number. Your /system/bin/id
behaves differently.

During my tests I've found that several commands in /system/bin behave
not exactly as expected. Thats why I have recommended to use as shell
just "sh". In the case of SSHDroid this results in a shell which comes
with SSHDroid, and which behaves more regular.

Maybe you give it a try?

Best regards, Michael.





^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#13390: tramp-adb hanging forever
  2013-02-18 14:52                 ` Thierry Volpiatto
  2013-02-18 16:09                   ` Michael Albinus
@ 2013-02-18 16:14                   ` Thierry Volpiatto
  1 sibling, 0 replies; 25+ messages in thread
From: Thierry Volpiatto @ 2013-02-18 16:14 UTC (permalink / raw)
  To: 13390


Hi Michael, here the backtrace from emacs -Q, with minimal settings:

--8<---------------cut here---------------start------------->8---
(when (require 'tramp)
  (add-to-list 'tramp-connection-properties
	       (list (regexp-quote "192.168.0.24") "remote-shell" "/system/bin/sh"))
  (add-to-list 'tramp-remote-path 'tramp-own-remote-path)
  (add-to-list 'tramp-remote-process-environment "TMPDIR=$HOME/tmp"))

(setq tramp-verbose 6)
--8<---------------cut here---------------end--------------->8---

The server on device is dropbear server.

> I will send you a trace from emacs -Q soon, but looks like errors are
> the same.

--8<---------------cut here---------------start------------->8---
;; GNU Emacs: 24.3.50.1 Tramp: 2.2.7-pre -*- mode: outline; -*-
17:07:08.497841 tramp-maybe-open-connection (3) # Opening connection for 192.168.0.24#2222 using ssh...
17:07:08.500636 tramp-maybe-open-connection (6) # /bin/sh -i
17:07:08.501796 tramp-wait-for-regexp (6) # 
#$ 
17:07:08.527589 tramp-maybe-open-connection (3) # Sending command `exec ssh  -p 2222 -o ControlPath=/tmp/tramp.1666_uw.%r@%h:%p -o ControlMaster=auto -o ControlPersist=no -e none 192.168.0.24'
17:07:08.527840 tramp-send-command (6) # exec ssh  -p 2222 -o ControlPath=/tmp/tramp.1666_uw.%r@%h:%p -o ControlMaster=auto -o ControlPersist=no -e none 192.168.0.24
17:07:08.528293 tramp-process-actions (3) # Waiting for prompts from remote shell
17:07:09.529669 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
17:07:09.530158 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
17:07:09.530605 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
17:07:09.531057 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
17:07:09.531526 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
17:07:09.532153 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
17:07:09.532846 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
17:07:09.533244 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
17:07:09.533535 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
17:07:09.533814 tramp-process-one-action (5) # Call `tramp-action-process-alive'
17:07:10.535549 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
17:07:10.536202 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
17:07:10.536646 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
17:07:10.537072 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
17:07:10.537466 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
17:07:10.537766 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
17:07:10.538054 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
17:07:10.538336 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
17:07:10.538608 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
17:07:10.538882 tramp-process-one-action (5) # Call `tramp-action-process-alive'
17:07:11.539863 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
17:07:11.540546 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
17:07:11.540990 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
17:07:11.541423 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
17:07:11.541800 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
17:07:11.542182 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
17:07:11.542609 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
17:07:11.542955 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
17:07:11.543232 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
17:07:11.543510 tramp-process-one-action (5) # Call `tramp-action-process-alive'
17:07:12.544432 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
17:07:12.544906 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
17:07:12.545326 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
17:07:12.545745 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
17:07:12.546134 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
17:07:12.546508 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
17:07:12.546886 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
17:07:12.547274 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
17:07:12.547774 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
17:07:12.548116 tramp-process-one-action (5) # Call `tramp-action-process-alive'
17:07:13.438306 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
17:07:13.438896 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
17:07:13.439345 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
17:07:13.439893 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
17:07:13.440228 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
17:07:13.440536 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
17:07:13.440820 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
17:07:13.441110 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
17:07:13.441381 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
17:07:13.441658 tramp-process-one-action (5) # Call `tramp-action-process-alive'
17:07:13.831108 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
17:07:13.831881 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
17:07:13.832332 tramp-process-one-action (5) # Call `tramp-action-password'
17:07:13.833135 tramp-action-password (3) # Sending password
17:07:13.836913 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
17:07:13.837327 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
17:07:13.837630 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
17:07:13.837943 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
17:07:13.838251 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
17:07:13.838551 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
17:07:13.838839 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
17:07:13.839126 tramp-process-one-action (5) # Call `tramp-action-process-alive'
17:07:13.839939 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
17:07:13.840255 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
17:07:13.840581 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
17:07:13.840900 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
17:07:13.841185 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
17:07:13.841470 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
17:07:13.841764 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
17:07:13.842047 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
17:07:13.842325 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
17:07:13.842604 tramp-process-one-action (5) # Call `tramp-action-process-alive'
17:07:14.462229 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
17:07:14.462839 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
17:07:14.463159 tramp-process-one-action (5) # Call `tramp-action-password'
17:07:14.463806 tramp-action-password (3) # Sending password
17:07:20.568808 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
17:07:20.569304 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
17:07:20.569625 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
17:07:20.569937 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
17:07:20.570260 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
17:07:20.570564 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
17:07:20.570854 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
17:07:20.571144 tramp-process-one-action (5) # Call `tramp-action-process-alive'
17:07:20.572183 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
17:07:20.572630 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
17:07:20.572978 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
17:07:20.573299 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
17:07:20.573588 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
17:07:20.573880 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
17:07:20.574168 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
17:07:20.574462 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
17:07:20.574740 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
17:07:20.575017 tramp-process-one-action (5) # Call `tramp-action-process-alive'
17:07:21.575909 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
17:07:21.576442 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
17:07:21.577051 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
17:07:21.577407 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
17:07:21.577694 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%>
]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
17:07:21.577983 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
17:07:21.578273 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
17:07:21.578559 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
17:07:21.578834 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
17:07:21.579117 tramp-process-one-action (5) # Call `tramp-action-process-alive'
17:07:22.088978 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
17:07:22.089483 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
17:07:22.089951 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
17:07:22.090401 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
17:07:22.090804 tramp-process-one-action (5) # Call `tramp-action-succeed'
17:07:22.091185 tramp-process-actions (6) # 
Welcome to DropBear SSH Server II!
thierry@192.168.0.24's password: 
Permission denied, please try again.
thierry@192.168.0.24's password: 
-sh-3.2# 
17:07:22.092617 tramp-maybe-open-connection (3) # Found remote shell prompt on `192.168.0.24'
17:07:22.092941 tramp-open-shell (5) # Opening remote shell `/system/bin/sh'...
17:07:22.093423 tramp-send-command (6) # exec env ENV='' PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3='' /system/bin/sh 
17:07:22.482268 tramp-wait-for-regexp (6) # 
#$ 
17:07:22.483025 tramp-send-command (6) # PS1=\#\$\ 
17:07:22.875139 tramp-wait-for-regexp (6) # 
#$ 
17:07:22.875585 tramp-send-command (6) # PS2=''
17:07:23.268152 tramp-wait-for-regexp (6) # 
#$ 
17:07:23.268727 tramp-send-command (6) # PS3=''
17:07:23.661381 tramp-wait-for-regexp (6) # 
#$ 
17:07:23.662027 tramp-send-command (6) # PROMPT_COMMAND=''
17:07:24.054676 tramp-wait-for-regexp (6) # 
#$ 
17:07:24.077590 tramp-open-shell (5) # Opening remote shell `/system/bin/sh'...done
17:07:24.077712 tramp-open-connection-setup-interactive-shell (5) # Setting up remote shell environment
17:07:24.077833 tramp-send-command (6) # stty -inlcr -echo kill '^U' erase '^H'
17:07:24.644143 tramp-wait-for-regexp (6) # 
#$ 
17:07:24.644445 tramp-send-command (6) # echo foo
17:07:25.037586 tramp-wait-for-regexp (6) # 
foo
#$ 
17:07:25.037792 tramp-open-connection-setup-interactive-shell (5) # Setting shell prompt
17:07:25.038018 tramp-send-command (6) # PS1=///9438227436be04d7188a7bf65fe79808\#\$
17:07:25.405679 tramp-wait-for-regexp (6) # 
///9438227436be04d7188a7bf65fe79808#$
17:07:25.405942 tramp-send-command (6) # PS2=''
17:07:25.824131 tramp-wait-for-regexp (6) # 
///9438227436be04d7188a7bf65fe79808#$
17:07:25.824949 tramp-send-command (6) # PS3=''
17:07:26.217500 tramp-wait-for-regexp (6) # 
///9438227436be04d7188a7bf65fe79808#$
17:07:26.218347 tramp-send-command (6) # PROMPT_COMMAND=''
17:07:26.610431 tramp-wait-for-regexp (6) # 
///9438227436be04d7188a7bf65fe79808#$
17:07:26.611036 tramp-open-connection-setup-interactive-shell (5) # Determining coding system
17:07:26.611499 tramp-send-command (6) # echo foo ; echo bar
17:07:27.004187 tramp-wait-for-regexp (6) # 
foo
bar
///9438227436be04d7188a7bf65fe79808#$
17:07:27.004738 tramp-open-connection-setup-interactive-shell (5) # Setting coding system to `utf-8-unix' and `utf-8-unix'
17:07:27.005085 tramp-send-command (6) # set +o vi +o emacs
17:07:27.397292 tramp-wait-for-regexp (6) # 
///9438227436be04d7188a7bf65fe79808#$
17:07:27.397901 tramp-open-connection-setup-interactive-shell (5) # Checking system information
17:07:27.398604 tramp-send-command (6) # echo \"`uname -sr`\" 2>/dev/null; echo tramp_exit_status $?
17:07:27.790441 tramp-wait-for-regexp (6) # 
"Linux 2.6.35.7-perf+"
tramp_exit_status 0
///9438227436be04d7188a7bf65fe79808#$
17:07:27.791313 tramp-open-connection-setup-interactive-shell (5) # Checking remote host type for `send-process-string' bug
17:07:27.791829 tramp-set-remote-path (5) # Setting $PATH environment variable
17:07:27.792489 tramp-send-command (6) # echo \"`getconf PATH 2>/dev/null`\" 2>/dev/null; echo tramp_exit_status $?
17:07:28.380391 tramp-wait-for-regexp (6) # 
""
tramp_exit_status 0
///9438227436be04d7188a7bf65fe79808#$
17:07:28.381524 tramp-send-command (6) # echo \"$PATH\" 2>/dev/null; echo tramp_exit_status $?
17:07:28.773665 tramp-wait-for-regexp (6) # 
"/sbin:/system/sbin:/system/bin:/system/xbin"
tramp_exit_status 0
///9438227436be04d7188a7bf65fe79808#$
17:07:28.776118 tramp-get-test-command (5) # Finding a suitable `test' command
17:07:28.776676 tramp-send-command (6) # test 0 2>/dev/null; echo tramp_exit_status $?
17:07:29.362955 tramp-wait-for-regexp (6) # 
tramp_exit_status 0
///9438227436be04d7188a7bf65fe79808#$
17:07:29.364205 tramp-send-command (6) # test -d /sbin 2>/dev/null; echo tramp_exit_status $?
17:07:29.756463 tramp-wait-for-regexp (6) # 
tramp_exit_status 0
///9438227436be04d7188a7bf65fe79808#$
17:07:29.759033 tramp-send-command (6) # test -d /system/sbin 2>/dev/null; echo tramp_exit_status $?
17:07:30.345961 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///9438227436be04d7188a7bf65fe79808#$
17:07:30.348629 tramp-send-command (6) # test -d /system/bin 2>/dev/null; echo tramp_exit_status $?
17:07:30.935684 tramp-wait-for-regexp (6) # 
tramp_exit_status 0
///9438227436be04d7188a7bf65fe79808#$
17:07:30.937790 tramp-send-command (6) # test -d /system/xbin 2>/dev/null; echo tramp_exit_status $?
17:07:31.329264 tramp-wait-for-regexp (6) # 
tramp_exit_status 0
///9438227436be04d7188a7bf65fe79808#$
17:07:31.331407 tramp-send-command (6) # test -d /bin 2>/dev/null; echo tramp_exit_status $?
17:07:31.918966 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///9438227436be04d7188a7bf65fe79808#$
17:07:31.921509 tramp-send-command (6) # test -d /usr/bin 2>/dev/null; echo tramp_exit_status $?
17:07:32.508751 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///9438227436be04d7188a7bf65fe79808#$
17:07:32.511369 tramp-send-command (6) # test -d /usr/sbin 2>/dev/null; echo tramp_exit_status $?
17:07:33.099085 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///9438227436be04d7188a7bf65fe79808#$
17:07:33.101725 tramp-send-command (6) # test -d /usr/local/bin 2>/dev/null; echo tramp_exit_status $?
17:07:33.688292 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///9438227436be04d7188a7bf65fe79808#$
17:07:33.690803 tramp-send-command (6) # test -d /usr/local/sbin 2>/dev/null; echo tramp_exit_status $?
17:07:34.278317 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///9438227436be04d7188a7bf65fe79808#$
17:07:34.280930 tramp-send-command (6) # test -d /local/bin 2>/dev/null; echo tramp_exit_status $?
17:07:34.868121 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///9438227436be04d7188a7bf65fe79808#$
17:07:34.870376 tramp-send-command (6) # test -d /local/freeware/bin 2>/dev/null; echo tramp_exit_status $?
17:07:35.406252 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///9438227436be04d7188a7bf65fe79808#$
17:07:35.408904 tramp-send-command (6) # test -d /local/gnu/bin 2>/dev/null; echo tramp_exit_status $?
17:07:35.851094 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///9438227436be04d7188a7bf65fe79808#$
17:07:35.853813 tramp-send-command (6) # test -d /usr/freeware/bin 2>/dev/null; echo tramp_exit_status $?
17:07:36.441141 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///9438227436be04d7188a7bf65fe79808#$
17:07:36.443876 tramp-send-command (6) # test -d /usr/pkg/bin 2>/dev/null; echo tramp_exit_status $?
17:07:37.030793 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///9438227436be04d7188a7bf65fe79808#$
17:07:37.033460 tramp-send-command (6) # test -d /usr/contrib/bin 2>/dev/null; echo tramp_exit_status $?
17:07:37.620593 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///9438227436be04d7188a7bf65fe79808#$
17:07:37.623294 tramp-send-command (6) # test -d /opt/bin 2>/dev/null; echo tramp_exit_status $?
17:07:38.209959 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///9438227436be04d7188a7bf65fe79808#$
17:07:38.212158 tramp-send-command (6) # test -d /opt/sbin 2>/dev/null; echo tramp_exit_status $?
17:07:38.604255 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///9438227436be04d7188a7bf65fe79808#$
17:07:38.624696 tramp-send-command (6) # test -d /opt/local/bin 2>/dev/null; echo tramp_exit_status $?
17:07:39.193656 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///9438227436be04d7188a7bf65fe79808#$
17:07:39.194742 tramp-send-command (6) # PATH=/sbin:/system/bin:/system/xbin; export PATH
17:07:39.586602 tramp-wait-for-regexp (6) # 
///9438227436be04d7188a7bf65fe79808#$
17:07:39.587734 tramp-send-command (6) # /system/bin/sh --version
17:07:39.980098 tramp-wait-for-regexp (6) # 
GNU bash, version 3.2.0(7)-release (arm-none-linux-gnueabi)
Copyright (C) 2005 Free Software Foundation, Inc.
///9438227436be04d7188a7bf65fe79808#$
17:07:39.980860 tramp-send-command (6) # mesg n; biff n
17:07:40.373505 tramp-wait-for-regexp (6) # 
sh: biff: command not found
///9438227436be04d7188a7bf65fe79808#$
17:07:40.374488 tramp-send-command (6) # echo \"`tty`\" 2>/dev/null; echo tramp_exit_status $?
17:07:40.766859 tramp-wait-for-regexp (6) # 
sh: tty: command not found
""
tramp_exit_status 0
///9438227436be04d7188a7bf65fe79808#$
17:07:40.767876 tramp-open-connection-setup-interactive-shell (5) # Setting default environment
17:07:40.768395 tramp-send-command (6) # TMPDIR=$HOME/tmp; export TMPDIR
17:07:41.159563 tramp-wait-for-regexp (6) # 
///9438227436be04d7188a7bf65fe79808#$
17:07:41.160482 tramp-send-command (6) # HISTFILE=$HOME/.tramp_history; export HISTFILE
17:07:41.552612 tramp-wait-for-regexp (6) # 
///9438227436be04d7188a7bf65fe79808#$
17:07:41.553326 tramp-send-command (6) # HISTSIZE=1; export HISTSIZE
17:07:41.946179 tramp-wait-for-regexp (6) # 
///9438227436be04d7188a7bf65fe79808#$
17:07:41.946910 tramp-send-command (6) # LC_ALL=C; export LC_ALL
17:07:42.339026 tramp-wait-for-regexp (6) # 
///9438227436be04d7188a7bf65fe79808#$
17:07:42.339872 tramp-send-command (6) # TERM=dumb; export TERM
17:07:42.732265 tramp-wait-for-regexp (6) # 
///9438227436be04d7188a7bf65fe79808#$
17:07:42.732850 tramp-send-command (6) # EMACS=t; export EMACS
17:07:43.125491 tramp-wait-for-regexp (6) # 
///9438227436be04d7188a7bf65fe79808#$
17:07:43.126233 tramp-send-command (6) # INSIDE_EMACS='24.3.50.1,tramp:2.2.7-pre'; export INSIDE_EMACS
17:07:43.518521 tramp-wait-for-regexp (6) # 
///9438227436be04d7188a7bf65fe79808#$
17:07:43.519165 tramp-send-command (6) # PAGER=""; export PAGER
17:07:43.911756 tramp-wait-for-regexp (6) # 
///9438227436be04d7188a7bf65fe79808#$
17:07:43.912523 tramp-send-command (6) # unset correct autocorrect MAILPATH MAILCHECK MAIL HISTORY CDPATH
17:07:44.305528 tramp-wait-for-regexp (6) # 
///9438227436be04d7188a7bf65fe79808#$
17:07:44.306797 tramp-maybe-open-connection (3) # Opening connection for 192.168.0.24#2222 using ssh...done
17:07:44.307222 tramp-send-command (6) # cd ~; pwd
17:07:44.698797 tramp-wait-for-regexp (6) # 
/data/local
///9438227436be04d7188a7bf65fe79808#$
17:07:44.700521 tramp-get-file-exists-command (5) # Finding command to check if file exists
17:07:44.701236 tramp-send-command (6) # test -e / 2>/dev/null; echo tramp_exit_status $?
17:07:45.288365 tramp-wait-for-regexp (6) # 
tramp_exit_status 0
///9438227436be04d7188a7bf65fe79808#$
17:07:45.289428 tramp-send-command (6) # test -e /\ this\ file\ does\ not\ exist\  2>/dev/null; echo tramp_exit_status $?
17:07:45.681904 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///9438227436be04d7188a7bf65fe79808#$
17:07:45.683014 tramp-send-command (6) # test -e /data/local/ 2>/dev/null; echo tramp_exit_status $?
17:07:46.074948 tramp-wait-for-regexp (6) # 
tramp_exit_status 0
///9438227436be04d7188a7bf65fe79808#$
17:07:46.079164 tramp-send-command (6) # test -d /data/local 2>/dev/null; echo tramp_exit_status $?
17:07:46.664383 tramp-wait-for-regexp (6) # 
tramp_exit_status 0
///9438227436be04d7188a7bf65fe79808#$
17:07:46.703476 tramp-get-ls-command-with-dired (5) # Checking, whether `ls --dired' works
17:07:46.703762 tramp-get-ls-command (5) # Finding a suitable `ls' command
17:07:46.704325 tramp-send-command (6) # (PS1= ; while read d; do if test -x $d/ls -a -f $d/ls; then echo tramp_executable $d/ls; break; fi; done <<'EOF'
/sbin
/system/bin
/system/xbin
EOF
)
17:07:47.254653 tramp-wait-for-regexp (6) # 
tramp_executable /system/xbin/ls
///9438227436be04d7188a7bf65fe79808#$
17:07:47.255569 tramp-send-command (6) # /system/xbin/ls -lnd / 2>/dev/null; echo tramp_exit_status $?
17:07:47.647227 tramp-wait-for-regexp (6) # 
drwxr-xr-x   14 0        0                0 Feb 16 21:57 [1;34m/[0m
tramp_exit_status 0
///9438227436be04d7188a7bf65fe79808#$
17:07:47.647961 tramp-send-command (6) # /system/xbin/ls --color=never -al /dev/null 2>/dev/null; echo tramp_exit_status $?
17:07:48.040953 tramp-wait-for-regexp (6) # 
crw-rw-rw-    1 0        0           1,   3 Feb 16 21:57 /dev/null
tramp_exit_status 0
///9438227436be04d7188a7bf65fe79808#$
17:07:48.041893 tramp-send-command (6) # /system/xbin/ls --color=never --dired -al /dev/null 2>/dev/null; echo tramp_exit_status $?
17:07:48.434163 tramp-wait-for-regexp (6) # 
tramp_exit_status 1
///9438227436be04d7188a7bf65fe79808#$
17:07:48.434798 tramp-sh-handle-insert-directory (4) # Inserting directory `ls -al /ssh:192.168.0.24#2222:/data/local/', wildcard no, fulldir yes
17:07:48.435380 tramp-send-command (6) # /system/xbin/ls --color=never -al /data/local/. 2>/dev/null
17:07:48.827240 tramp-wait-for-regexp (6) # 
total 3569
drwxr-xr-x    1 2000     2000          2048 Feb 18 16:07 .
drwxrwx--x    1 1000     1000          2048 Feb 16 21:57 ..
-rw-------    1 0        0             2889 Feb 18 16:07 .bash_history
-rw-------    1 0        0               58 Feb 18 16:04 .tramp_history
-rw-r--r--    1 0        0          3644484 Aug  1  2008 bootanimation.zip
-rw-r--r--    1 0        0                0 Aug  1  2008 placeholder
drwxrwx--x    1 2000     2000          2048 Feb 18 14:21 tmp
///9438227436be04d7188a7bf65fe79808#$
17:07:48.832415 tramp-get-remote-stat (5) # Finding a suitable `stat' command
17:07:48.832966 tramp-send-command (6) # which \stat | wc -w
17:07:49.417310 tramp-wait-for-regexp (6) # 
1
///9438227436be04d7188a7bf65fe79808#$
17:07:49.418095 tramp-send-command (6) # \stat -c '("%N" %s)' / 2>/dev/null; echo tramp_exit_status $?
17:07:49.810326 tramp-wait-for-regexp (6) # 
("/" 0)
tramp_exit_status 0
///9438227436be04d7188a7bf65fe79808#$
17:07:49.811061 tramp-get-remote-perl (5) # Finding a suitable `perl' command
17:07:49.811751 tramp-send-command (6) # which \perl5 | wc -w
17:07:50.204122 tramp-wait-for-regexp (6) # 
0
///9438227436be04d7188a7bf65fe79808#$
17:07:50.204919 tramp-send-command (6) # (PS1= ; while read d; do if test -x $d/perl5 -a -f $d/perl5; then echo tramp_executable $d/perl5; break; fi; done <<'EOF'
/sbin
/system/bin
/system/xbin
EOF
)
17:07:50.597589 tramp-wait-for-regexp (6) # 
///9438227436be04d7188a7bf65fe79808#$
17:07:50.598463 tramp-send-command (6) # which \perl | wc -w
17:07:50.989638 tramp-wait-for-regexp (6) # 
0
///9438227436be04d7188a7bf65fe79808#$
17:07:50.990266 tramp-send-command (6) # (PS1= ; while read d; do if test -x $d/perl -a -f $d/perl; then echo tramp_executable $d/perl; break; fi; done <<'EOF'
/sbin
/system/bin
/system/xbin
EOF
)
17:07:51.383187 tramp-wait-for-regexp (6) # 
///9438227436be04d7188a7bf65fe79808#$
17:07:51.383772 tramp-do-file-attributes-with-ls (5) # file attributes with ls: /data/local/
17:07:51.384515 tramp-send-command (6) # (test -e /data/local/ || test -h /data/local/) && /system/xbin/ls --color=never -ildn /data/local/
17:07:51.776095 tramp-wait-for-regexp (6) # 
    273 drwxr-xr-x    1 2000     2000          2048 Feb 18 16:07 /data/local/
///9438227436be04d7188a7bf65fe79808#$
17:07:51.776615 tramp-get-remote-id (5) # Finding POSIX `id' command
17:07:51.777113 tramp-send-command (6) # (PS1= ; while read d; do if test -x $d/id -a -f $d/id; then echo tramp_executable $d/id; break; fi; done <<'EOF'
/sbin
/system/bin
/system/xbin
EOF
)
17:07:52.169826 tramp-wait-for-regexp (6) # 
tramp_executable /system/bin/id
///9438227436be04d7188a7bf65fe79808#$
17:07:52.170610 tramp-send-command (6) # /system/bin/id -u 2>/dev/null; echo tramp_exit_status $?
17:07:52.562949 tramp-wait-for-regexp (6) # 
uid=0(root) gid=0(root) groups=0(root)
tramp_exit_status 0
///9438227436be04d7188a7bf65fe79808#$
17:07:52.563977 tramp-send-command (6) # /system/bin/id -g  2>/dev/null; echo tramp_exit_status $?
17:07:52.956359 tramp-wait-for-regexp (6) # 
uid=0(root) gid=0(root) groups=0(root)
tramp_exit_status 0
///9438227436be04d7188a7bf65fe79808#$
17:07:52.957071 tramp-send-command-and-read (1) # File error: `/system/bin/id -g ' does not return a valid Lisp expression: `uid=0(root) gid=0(root) groups=0(root)
'--8<---------------cut here---------------end--------------->8---


-- 
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 






^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#13390: tramp-adb hanging forever
  2013-02-18 16:09                   ` Michael Albinus
@ 2013-02-18 16:42                     ` Thierry Volpiatto
  2013-02-18 17:54                       ` Michael Albinus
  0 siblings, 1 reply; 25+ messages in thread
From: Thierry Volpiatto @ 2013-02-18 16:42 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 13390

Hi Michael,

Michael Albinus <michael.albinus@gmx.de> writes:

> Tramp expects, that "id -g" returns just a number. Your /system/bin/id
> behaves differently.
>
> During my tests I've found that several commands in /system/bin behave
> not exactly as expected. Thats why I have recommended to use as shell
> just "sh". In the case of SSHDroid this results in a shell which comes
> with SSHDroid, and which behaves more regular.
>
> Maybe you give it a try?
Same without specifying the path of "sh":

Tramp: Sending command `exec ssh  -p 2222 -o ControlPath=/tmp/tramp.2399kbl.%r@%h:%p -o ControlMaster=auto -o ControlPersist=no -e none 192.168.0.24'
Tramp: Found remote shell prompt on `192.168.0.24'
Tramp: Opening connection for 192.168.0.24#2222 using ssh...done
byte-code: `/system/bin/id -g ' does not return a valid Lisp expression: `uid=0(root) gid=0(root) groups=0(root)

And when I run "id -g" from a shell connected to device, I have indeed
same result:

,----
| thierry@dell-14z:~/tmp/emacs-savanah-git$ ssh zte
| Welcome to DropBear SSH Server II!
| root@192.168.0.24's password: 
| -sh-3.2# id -g
| uid=0(root) gid=0(root) groups=0(root)
`----

But indeed it seem there is different implementation of command "id":

,----
| thierry@dell-14z:~/tmp/emacs-savanah-git$ ssh zte
| Welcome to DropBear SSH Server II!
| root@192.168.0.24's password: 
| -sh-3.2# /system/xbin/id -g
| 0
| -sh-3.2# /system/bin/id -g 
| uid=0(root) gid=0(root) groups=0(root)
`----


-- 
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 





^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#13390: tramp-adb hanging forever
  2013-02-18 16:42                     ` Thierry Volpiatto
@ 2013-02-18 17:54                       ` Michael Albinus
  2013-02-18 18:18                         ` Thierry Volpiatto
  0 siblings, 1 reply; 25+ messages in thread
From: Michael Albinus @ 2013-02-18 17:54 UTC (permalink / raw)
  To: Thierry Volpiatto; +Cc: 13390

Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:

> Hi Michael,

Hi Thierry,

>
> Michael Albinus <michael.albinus@gmx.de> writes:
>
>> Tramp expects, that "id -g" returns just a number. Your /system/bin/id
>> behaves differently.
>>
>> During my tests I've found that several commands in /system/bin behave
>> not exactly as expected. Thats why I have recommended to use as shell
>> just "sh". In the case of SSHDroid this results in a shell which comes
>> with SSHDroid, and which behaves more regular.
>>
>> Maybe you give it a try?
> Same without specifying the path of "sh":

I was speaking about SSHDroid ...

> But indeed it seem there is different implementation of command "id":
>
> ,----
> | thierry@dell-14z:~/tmp/emacs-savanah-git$ ssh zte
> | Welcome to DropBear SSH Server II!
> | root@192.168.0.24's password: 
> | -sh-3.2# /system/xbin/id -g
> | 0
> | -sh-3.2# /system/bin/id -g 
> | uid=0(root) gid=0(root) groups=0(root)
> `----

The rearrange `tramp-remote-path' that /system/xbin comes before
/system/bin.

Best regards, Michael.





^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#13390: tramp-adb hanging forever
  2013-02-18 17:54                       ` Michael Albinus
@ 2013-02-18 18:18                         ` Thierry Volpiatto
  2013-02-18 18:26                           ` Michael Albinus
  0 siblings, 1 reply; 25+ messages in thread
From: Thierry Volpiatto @ 2013-02-18 18:18 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 13390

Michael Albinus <michael.albinus@gmx.de> writes:

> Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:
>
>> Hi Michael,
>
> Hi Thierry,
>
>>
>> Michael Albinus <michael.albinus@gmx.de> writes:
>>
>>> Tramp expects, that "id -g" returns just a number. Your /system/bin/id
>>> behaves differently.
>>>
>>> During my tests I've found that several commands in /system/bin behave
>>> not exactly as expected. Thats why I have recommended to use as shell
>>> just "sh". In the case of SSHDroid this results in a shell which comes
>>> with SSHDroid, and which behaves more regular.
>>>
>>> Maybe you give it a try?
>> Same without specifying the path of "sh":
>
> I was speaking about SSHDroid ...
Ok I will try with sshDroid.

>> But indeed it seem there is different implementation of command "id":
>>
>> ,----
>> | thierry@dell-14z:~/tmp/emacs-savanah-git$ ssh zte
>> | Welcome to DropBear SSH Server II!
>> | root@192.168.0.24's password: 
>> | -sh-3.2# /system/xbin/id -g
>> | 0
>> | -sh-3.2# /system/bin/id -g 
>> | uid=0(root) gid=0(root) groups=0(root)
>> `----
>
> The rearrange `tramp-remote-path' that /system/xbin comes before
> /system/bin.
I saw that in log yes, how can I make tramp using
PATH=/sbin:/system/xbin:/system/bin
instead of:
18:40:29.282486 tramp-send-command (6) # PATH=/sbin:/system/bin:/system/xbin; export PATH


-- 
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 





^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#13390: tramp-adb hanging forever
  2013-02-18 18:18                         ` Thierry Volpiatto
@ 2013-02-18 18:26                           ` Michael Albinus
  2013-02-18 18:39                             ` Thierry Volpiatto
  0 siblings, 1 reply; 25+ messages in thread
From: Michael Albinus @ 2013-02-18 18:26 UTC (permalink / raw)
  To: Thierry Volpiatto; +Cc: 13390

Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:

> I saw that in log yes, how can I make tramp using
> PATH=/sbin:/system/xbin:/system/bin
> instead of:
> 18:40:29.282486 tramp-send-command (6) #
> PATH=/sbin:/system/bin:/system/xbin; export PATH

(tramp-cleanup-all-connections)
(add-to-list 'tramp-remote-path "/sbin")
(add-to-list 'tramp-remote-path "/system/xbin")

The cleanup is because Tramp remembers connection properties, like the
remote path.

Best regards, Michael.





^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#13390: tramp-adb hanging forever
  2013-02-18 18:26                           ` Michael Albinus
@ 2013-02-18 18:39                             ` Thierry Volpiatto
  2013-02-18 18:50                               ` Michael Albinus
  0 siblings, 1 reply; 25+ messages in thread
From: Thierry Volpiatto @ 2013-02-18 18:39 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 13390

Hi Michael,

Michael Albinus <michael.albinus@gmx.de> writes:

> Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:
>
>> I saw that in log yes, how can I make tramp using
>> PATH=/sbin:/system/xbin:/system/bin
>> instead of:
>> 18:40:29.282486 tramp-send-command (6) #
>> PATH=/sbin:/system/bin:/system/xbin; export PATH
>
> (tramp-cleanup-all-connections)
> (add-to-list 'tramp-remote-path "/sbin")
> (add-to-list 'tramp-remote-path "/system/xbin")
>
> The cleanup is because Tramp remembers connection properties, like the
> remote path.

Ok it worked with SSHDroid and these settings:

(add-to-list 'tramp-connection-properties
     	     (list (regexp-quote "192.168.0.24") "remote-shell" "sh"))
(add-to-list 'tramp-remote-path 'tramp-own-remote-path)
(push "/system/xbin" tramp-remote-path)
(add-to-list 'tramp-remote-process-environment "TMPDIR=$HOME/tmp")

I will try now back with dropbear with same settings.

Thanks.

-- 
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 





^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#13390: tramp-adb hanging forever
  2013-02-18 18:39                             ` Thierry Volpiatto
@ 2013-02-18 18:50                               ` Michael Albinus
  2013-02-18 19:02                                 ` Thierry Volpiatto
  0 siblings, 1 reply; 25+ messages in thread
From: Michael Albinus @ 2013-02-18 18:50 UTC (permalink / raw)
  To: Thierry Volpiatto; +Cc: 13390

Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:

> Hi Michael,

Hi Thierry,

> Ok it worked with SSHDroid and these settings:
>
> (add-to-list 'tramp-connection-properties
>      	     (list (regexp-quote "192.168.0.24") "remote-shell" "sh"))
> (add-to-list 'tramp-remote-path 'tramp-own-remote-path)
> (push "/system/xbin" tramp-remote-path)
> (add-to-list 'tramp-remote-process-environment "TMPDIR=$HOME/tmp")
>
> I will try now back with dropbear with same settings.

Great!

I guess we can close now this ticket. I will still help you in finding
your settings, here or on the tramp-devel ML.

If you have proposals for improving the docs, just tell me. I'm not so
familiar with Android, I'm mainly an ordinary user.

> Thanks.

Best regards, Michael.





^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#13390: tramp-adb hanging forever
  2013-02-18 18:50                               ` Michael Albinus
@ 2013-02-18 19:02                                 ` Thierry Volpiatto
  2013-02-18 19:26                                   ` Michael Albinus
  0 siblings, 1 reply; 25+ messages in thread
From: Thierry Volpiatto @ 2013-02-18 19:02 UTC (permalink / raw)
  To: 13390

Michael Albinus <michael.albinus@gmx.de> writes:

> Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:
>
>> Hi Michael,
>
> Hi Thierry,
>
>> Ok it worked with SSHDroid and these settings:
>>
>> (add-to-list 'tramp-connection-properties
>>      	     (list (regexp-quote "192.168.0.24") "remote-shell" "sh"))
>> (add-to-list 'tramp-remote-path 'tramp-own-remote-path)
>> (push "/system/xbin" tramp-remote-path)
>> (add-to-list 'tramp-remote-process-environment "TMPDIR=$HOME/tmp")
>>
>> I will try now back with dropbear with same settings.
>
> Great!
>
> I guess we can close now this ticket. I will still help you in finding
> your settings, here or on the tramp-devel ML.
Ok thanks ;-)

Just notice that if I create an entry (e.g zte) in ~/.ssh/config I still
have an error when using "/ssh:zte:":

(file-error \"Process has died\")

I must use the plain path "/ssh:root@192.168.0.24#2222:"

> If you have proposals for improving the docs, just tell me.

Ok, don't know for now, just playing with it.

> I'm not so familiar with Android, I'm mainly an ordinary user.
Same for me ;-)

-- 
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 






^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#13390: tramp-adb hanging forever
  2013-02-18 19:02                                 ` Thierry Volpiatto
@ 2013-02-18 19:26                                   ` Michael Albinus
  2013-02-18 19:40                                     ` Thierry Volpiatto
  0 siblings, 1 reply; 25+ messages in thread
From: Michael Albinus @ 2013-02-18 19:26 UTC (permalink / raw)
  To: Thierry Volpiatto; +Cc: 13390

Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:

> Just notice that if I create an entry (e.g zte) in ~/.ssh/config I still
> have an error when using "/ssh:zte:":
>
> (file-error \"Process has died\")
>
> I must use the plain path "/ssh:root@192.168.0.24#2222:"

Send traces (level 6), and show the entry in ~/.ssh/config. Btw, during
my tests with SSHDroid it was not necessary to specify a user.

Best regards, Michael.





^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#13390: tramp-adb hanging forever
  2013-02-18 19:26                                   ` Michael Albinus
@ 2013-02-18 19:40                                     ` Thierry Volpiatto
  2013-02-18 19:48                                       ` Michael Albinus
  0 siblings, 1 reply; 25+ messages in thread
From: Thierry Volpiatto @ 2013-02-18 19:40 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 13390

Michael Albinus <michael.albinus@gmx.de> writes:

> Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:
>
>> Just notice that if I create an entry (e.g zte) in ~/.ssh/config I still
>> have an error when using "/ssh:zte:":
>>
>> (file-error \"Process has died\")
>>
>> I must use the plain path "/ssh:root@192.168.0.24#2222:"
>
> Send traces (level 6), and show the entry in ~/.ssh/config. Btw, during
> my tests with SSHDroid it was not necessary to specify a user.
Ok.

Also did you try copying files ?
Looks like permissions are not preserved.

Probably we could stop discussing this here and open a new thread on e.g
tramp.devel ?

-- 
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 





^ permalink raw reply	[flat|nested] 25+ messages in thread

* bug#13390: tramp-adb hanging forever
  2013-02-18 19:40                                     ` Thierry Volpiatto
@ 2013-02-18 19:48                                       ` Michael Albinus
  0 siblings, 0 replies; 25+ messages in thread
From: Michael Albinus @ 2013-02-18 19:48 UTC (permalink / raw)
  To: Thierry Volpiatto; +Cc: 13390-done

Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:

> Probably we could stop discussing this here and open a new thread on e.g
> tramp.devel ?

Yep. I'm closing this bug.

Best regards, Michael





^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2013-02-18 19:48 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-08 18:10 bug#13390: tramp-adb hanging forever Thierry Volpiatto
2013-01-08 21:36 ` Michael Albinus
2013-01-08 21:53   ` Thierry Volpiatto
2013-01-09  7:09     ` Michael Albinus
2013-02-16 18:56       ` Michael Albinus
2013-02-16 22:21         ` Thierry Volpiatto
2013-02-18 10:42         ` Thierry Volpiatto
2013-02-18 11:05           ` Michael Albinus
2013-02-18 14:32             ` Thierry Volpiatto
2013-02-18 14:37               ` Michael Albinus
2013-02-18 14:52                 ` Thierry Volpiatto
2013-02-18 16:09                   ` Michael Albinus
2013-02-18 16:42                     ` Thierry Volpiatto
2013-02-18 17:54                       ` Michael Albinus
2013-02-18 18:18                         ` Thierry Volpiatto
2013-02-18 18:26                           ` Michael Albinus
2013-02-18 18:39                             ` Thierry Volpiatto
2013-02-18 18:50                               ` Michael Albinus
2013-02-18 19:02                                 ` Thierry Volpiatto
2013-02-18 19:26                                   ` Michael Albinus
2013-02-18 19:40                                     ` Thierry Volpiatto
2013-02-18 19:48                                       ` Michael Albinus
2013-02-18 16:14                   ` Thierry Volpiatto
2013-02-18 10:53         ` Thierry Volpiatto
2013-02-18 11:02           ` Thierry Volpiatto

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.