emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs hangs when changing network while sleeping


From: Ted Zlatanov
Subject: Re: emacs hangs when changing network while sleeping
Date: Mon, 24 Jan 2011 12:15:03 -0600
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

On Mon, 24 Jan 2011 13:42:29 +0100 address@hidden wrote: 

j> Stefan Monnier <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]