all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: <tomas@tuxteam.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Strange tramp behaviour when using a mobile access point
Date: Mon, 21 Nov 2016 21:20:32 +0100	[thread overview]
Message-ID: <20161121202032.GA27769@tuxteam.de> (raw)
In-Reply-To: <874m30dave.fsf@free.fr>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Nov 21, 2016 at 06:02:45PM +0100, Julien Cubizolles wrote:
> I'm using tramp to connect to a ftp server (ftpperso.free.fr). It works
> fine from my home computer, using through a landline.
> 
> When commuting by train, I have:
> * my mobile phone (Android) providing a wifi access point
> * my laptop using this wifi connection
> I can access then access the ftp server in a web browser but tramp gives
> me a never ending list of:
> 
> Opening FTP connection to ftpperso.free.fr...done
> Logging in as user mylogin@ftpperso.free.fr...done
> Getting PWD...done
> Doing CD...done
> Listing /ftp:ftpperso.free.fr:/... [2 times]
> Opening FTP connection to ftpperso.free.fr...done
> Logging in as user mylogin@ftpperso.free.fr...done
> Getting PWD...done
> Doing CD...done
> 
> and never connects.

It looks as if the data connection from ftp isn't coming back (by default,
ftp opens a second connection to transfer the data to you, that would be
the case for the results of the `ls' command). This can happen if you are
behind an NAT: unless the NAT takes special measures, the connection
request will end up nowhere.

Try setting the variable `ange-ftp-try-passive-mode' to t (you can set
this variable through `configure'. Perhaps it helps.

Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlgzVxAACgkQBcgs9XrR2kbOawCeOhQekb+Wju7cl+TuM/UJZf8t
3dMAn0/7yfz6Llxf1TA7KIGWT7yz+eFq
=vJ2z
-----END PGP SIGNATURE-----



      reply	other threads:[~2016-11-21 20:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-21 17:02 Strange tramp behaviour when using a mobile access point Julien Cubizolles
2016-11-21 20:20 ` tomas [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161121202032.GA27769@tuxteam.de \
    --to=tomas@tuxteam.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.