all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: emacs-devel@gnu.org
Subject: Re: emacs hangs when changing network while sleeping
Date: Mon, 24 Jan 2011 12:15:03 -0600	[thread overview]
Message-ID: <877hducgns.fsf@lifelogs.com> (raw)
In-Reply-To: m339oi4gne.fsf@verona.se

On Mon, 24 Jan 2011 13:42:29 +0100 joakim@verona.se wrote: 

j> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>>> This happens for me too. I have the following workaround script.
>>> Basically it finds the ip of an open nntp session that is hanging due to
>>> local interface change, and makes a dummy lookalike interface on the
>>> loopback interface. Emacs is then able to determine that the interface
>>> is dead and can recover. 
>> 
>>> #/bin/sh
>>> `lsof -n|grep emacs|grep nntp|sed "s/.*TCP\ \\([^:]*\\):.*->\\([^:].*\\):.*/
>>> export a=\\1 export b=\\2/"`
>>> echo $a $b
>>> ifconfig lo:1 $a
>>> ifconfig lo:2 $b
>>> echo press enter when emacs is alive
>>> read
>>> ifconfig lo:1 down
>>> ifconfig lo:2 down
>> 
>> Could someone take it up to the gnutls guys to try and figure out what's
>> going on?

j> In my case I dont think gnutls is involved since I only have an
j> unencrypted connection to gmane.

Is there a way to test this without a laptop?

I'd rather not make it a GnuTLS issue if it happens with unencrypted
connections as well.

Ted




  parent reply	other threads:[~2011-01-24 18:15 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-22 12:05 emacs hangs when changing network while sleeping Rémi Letot
2011-01-22 23:46 ` joakim
2011-01-24  2:34   ` Stefan Monnier
2011-01-24 12:42     ` joakim
2011-01-24 16:34       ` Stefan Monnier
2011-01-24 18:37         ` joakim
2011-01-27 12:01           ` Rémi Letot
2011-01-24 18:15       ` Ted Zlatanov [this message]
2011-01-24 20:44         ` joakim
2011-01-24 21:29           ` Chad Brown
2011-01-24 22:07             ` joakim
2011-01-25  0:15               ` Rémi Letot
2011-01-24 16:27     ` Rémi Letot

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=877hducgns.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=emacs-devel@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.